100597 lines
3.3 MiB
100597 lines
3.3 MiB
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
|
|
|
|
package schema
|
|
|
|
import (
|
|
"bytes"
|
|
"context"
|
|
"errors"
|
|
"fmt"
|
|
"strconv"
|
|
"sync"
|
|
"sync/atomic"
|
|
"time"
|
|
|
|
"github.com/99designs/gqlgen/graphql"
|
|
"github.com/99designs/gqlgen/graphql/introspection"
|
|
gqlparser "github.com/vektah/gqlparser/v2"
|
|
"github.com/vektah/gqlparser/v2/ast"
|
|
"go.probo.inc/probo/pkg/coredata"
|
|
"go.probo.inc/probo/pkg/gid"
|
|
"go.probo.inc/probo/pkg/mail"
|
|
"go.probo.inc/probo/pkg/page"
|
|
"go.probo.inc/probo/pkg/server/api/console/v1/types"
|
|
"go.probo.inc/probo/pkg/server/gqlutils/types/bigint"
|
|
"go.probo.inc/probo/pkg/server/gqlutils/types/cursor"
|
|
gid1 "go.probo.inc/probo/pkg/server/gqlutils/types/gid"
|
|
mail1 "go.probo.inc/probo/pkg/server/gqlutils/types/mail"
|
|
)
|
|
|
|
// region ************************** generated!.gotpl **************************
|
|
|
|
// NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
|
|
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema {
|
|
return &executableSchema{
|
|
schema: cfg.Schema,
|
|
resolvers: cfg.Resolvers,
|
|
directives: cfg.Directives,
|
|
complexity: cfg.Complexity,
|
|
}
|
|
}
|
|
|
|
type Config struct {
|
|
Schema *ast.Schema
|
|
Resolvers ResolverRoot
|
|
Directives DirectiveRoot
|
|
Complexity ComplexityRoot
|
|
}
|
|
|
|
type ResolverRoot interface {
|
|
Asset() AssetResolver
|
|
AssetConnection() AssetConnectionResolver
|
|
Audit() AuditResolver
|
|
AuditConnection() AuditConnectionResolver
|
|
ContinualImprovement() ContinualImprovementResolver
|
|
ContinualImprovementConnection() ContinualImprovementConnectionResolver
|
|
Control() ControlResolver
|
|
ControlConnection() ControlConnectionResolver
|
|
CustomDomain() CustomDomainResolver
|
|
DataProtectionImpactAssessment() DataProtectionImpactAssessmentResolver
|
|
DataProtectionImpactAssessmentConnection() DataProtectionImpactAssessmentConnectionResolver
|
|
Datum() DatumResolver
|
|
DatumConnection() DatumConnectionResolver
|
|
Document() DocumentResolver
|
|
DocumentConnection() DocumentConnectionResolver
|
|
DocumentVersion() DocumentVersionResolver
|
|
DocumentVersionSignature() DocumentVersionSignatureResolver
|
|
Evidence() EvidenceResolver
|
|
EvidenceConnection() EvidenceConnectionResolver
|
|
File() FileResolver
|
|
Framework() FrameworkResolver
|
|
FrameworkConnection() FrameworkConnectionResolver
|
|
Measure() MeasureResolver
|
|
MeasureConnection() MeasureConnectionResolver
|
|
Meeting() MeetingResolver
|
|
MeetingConnection() MeetingConnectionResolver
|
|
Mutation() MutationResolver
|
|
Nonconformity() NonconformityResolver
|
|
NonconformityConnection() NonconformityConnectionResolver
|
|
Obligation() ObligationResolver
|
|
ObligationConnection() ObligationConnectionResolver
|
|
Organization() OrganizationResolver
|
|
People() PeopleResolver
|
|
PeopleConnection() PeopleConnectionResolver
|
|
ProcessingActivity() ProcessingActivityResolver
|
|
ProcessingActivityConnection() ProcessingActivityConnectionResolver
|
|
Query() QueryResolver
|
|
Report() ReportResolver
|
|
RightsRequest() RightsRequestResolver
|
|
RightsRequestConnection() RightsRequestConnectionResolver
|
|
Risk() RiskResolver
|
|
RiskConnection() RiskConnectionResolver
|
|
SignableDocument() SignableDocumentResolver
|
|
Snapshot() SnapshotResolver
|
|
SnapshotConnection() SnapshotConnectionResolver
|
|
StateOfApplicability() StateOfApplicabilityResolver
|
|
StateOfApplicabilityConnection() StateOfApplicabilityConnectionResolver
|
|
StateOfApplicabilityControl() StateOfApplicabilityControlResolver
|
|
Task() TaskResolver
|
|
TaskConnection() TaskConnectionResolver
|
|
TransferImpactAssessment() TransferImpactAssessmentResolver
|
|
TransferImpactAssessmentConnection() TransferImpactAssessmentConnectionResolver
|
|
TrustCenter() TrustCenterResolver
|
|
TrustCenterAccess() TrustCenterAccessResolver
|
|
TrustCenterDocumentAccess() TrustCenterDocumentAccessResolver
|
|
TrustCenterDocumentAccessConnection() TrustCenterDocumentAccessConnectionResolver
|
|
TrustCenterFile() TrustCenterFileResolver
|
|
TrustCenterFileConnection() TrustCenterFileConnectionResolver
|
|
TrustCenterReference() TrustCenterReferenceResolver
|
|
TrustCenterReferenceConnection() TrustCenterReferenceConnectionResolver
|
|
Vendor() VendorResolver
|
|
VendorBusinessAssociateAgreement() VendorBusinessAssociateAgreementResolver
|
|
VendorComplianceReport() VendorComplianceReportResolver
|
|
VendorConnection() VendorConnectionResolver
|
|
VendorContact() VendorContactResolver
|
|
VendorDataPrivacyAgreement() VendorDataPrivacyAgreementResolver
|
|
VendorRiskAssessment() VendorRiskAssessmentResolver
|
|
VendorService() VendorServiceResolver
|
|
Viewer() ViewerResolver
|
|
}
|
|
|
|
type DirectiveRoot struct {
|
|
}
|
|
|
|
type ComplexityRoot struct {
|
|
AssessVendorPayload struct {
|
|
Vendor func(childComplexity int) int
|
|
}
|
|
|
|
Asset struct {
|
|
Amount func(childComplexity int) int
|
|
AssetType func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
DataTypesStored func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Owner func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
SnapshotID func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
Vendors func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorOrderBy) int
|
|
}
|
|
|
|
AssetConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
AssetEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
Audit struct {
|
|
Controls func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) int
|
|
CreatedAt func(childComplexity int) int
|
|
Framework func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
Report func(childComplexity int) int
|
|
ReportURL func(childComplexity int) int
|
|
State func(childComplexity int) int
|
|
TrustCenterVisibility func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
ValidFrom func(childComplexity int) int
|
|
ValidUntil func(childComplexity int) int
|
|
}
|
|
|
|
AuditConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
AuditEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
AvailableStateOfApplicabilityControl struct {
|
|
Applicability func(childComplexity int) int
|
|
BestPractice func(childComplexity int) int
|
|
Contractual func(childComplexity int) int
|
|
ControlID func(childComplexity int) int
|
|
FrameworkID func(childComplexity int) int
|
|
FrameworkName func(childComplexity int) int
|
|
Justification func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
OrganizationID func(childComplexity int) int
|
|
Regulatory func(childComplexity int) int
|
|
RiskAssessment func(childComplexity int) int
|
|
SectionTitle func(childComplexity int) int
|
|
StateOfApplicabilityID func(childComplexity int) int
|
|
}
|
|
|
|
BulkDeleteDocumentsPayload struct {
|
|
DeletedDocumentIds func(childComplexity int) int
|
|
}
|
|
|
|
BulkExportDocumentsPayload struct {
|
|
ExportJobID func(childComplexity int) int
|
|
}
|
|
|
|
BulkPublishDocumentVersionsPayload struct {
|
|
DocumentEdges func(childComplexity int) int
|
|
DocumentVersionEdges func(childComplexity int) int
|
|
}
|
|
|
|
BulkRequestSignaturesPayload struct {
|
|
DocumentVersionSignatureEdges func(childComplexity int) int
|
|
}
|
|
|
|
CancelSignatureRequestPayload struct {
|
|
DeletedDocumentVersionSignatureID func(childComplexity int) int
|
|
}
|
|
|
|
ContinualImprovement struct {
|
|
CreatedAt func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Owner func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
Priority func(childComplexity int) int
|
|
ReferenceID func(childComplexity int) int
|
|
SnapshotID func(childComplexity int) int
|
|
Source func(childComplexity int) int
|
|
SourceID func(childComplexity int) int
|
|
Status func(childComplexity int) int
|
|
TargetDate func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
ContinualImprovementConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
ContinualImprovementEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
Control struct {
|
|
Audits func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.AuditOrderBy) int
|
|
BestPractice func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
Documents func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DocumentOrderBy, filter *types.DocumentFilter) int
|
|
ExclusionJustification func(childComplexity int) int
|
|
Framework func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Measures func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.MeasureOrderBy, filter *types.MeasureFilter) int
|
|
Name func(childComplexity int) int
|
|
Obligations func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ObligationOrderBy, filter *types.ObligationFilter) int
|
|
Organization func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
SectionTitle func(childComplexity int) int
|
|
Snapshots func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.SnapshotOrderBy) int
|
|
StateOfApplicabilityControls func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.StateOfApplicabilityOrderBy) int
|
|
Status func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
ControlConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
ControlEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
CreateAssetPayload struct {
|
|
AssetEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateAuditPayload struct {
|
|
AuditEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateContinualImprovementPayload struct {
|
|
ContinualImprovementEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateControlAuditMappingPayload struct {
|
|
AuditEdge func(childComplexity int) int
|
|
ControlEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateControlDocumentMappingPayload struct {
|
|
ControlEdge func(childComplexity int) int
|
|
DocumentEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateControlMeasureMappingPayload struct {
|
|
ControlEdge func(childComplexity int) int
|
|
MeasureEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateControlObligationMappingPayload struct {
|
|
ControlEdge func(childComplexity int) int
|
|
ObligationEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateControlPayload struct {
|
|
ControlEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateControlSnapshotMappingPayload struct {
|
|
ControlEdge func(childComplexity int) int
|
|
SnapshotEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateCustomDomainPayload struct {
|
|
CustomDomain func(childComplexity int) int
|
|
}
|
|
|
|
CreateDataProtectionImpactAssessmentPayload struct {
|
|
DataProtectionImpactAssessment func(childComplexity int) int
|
|
}
|
|
|
|
CreateDatumPayload struct {
|
|
DatumEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateDocumentPayload struct {
|
|
DocumentEdge func(childComplexity int) int
|
|
DocumentVersionEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateDraftDocumentVersionPayload struct {
|
|
DocumentVersionEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateFrameworkPayload struct {
|
|
FrameworkEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateMeasurePayload struct {
|
|
MeasureEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateMeetingPayload struct {
|
|
MeetingEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateNonconformityPayload struct {
|
|
NonconformityEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateObligationPayload struct {
|
|
ObligationEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreatePeoplePayload struct {
|
|
PeopleEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateProcessingActivityPayload struct {
|
|
ProcessingActivityEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateRightsRequestPayload struct {
|
|
RightsRequestEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateRiskDocumentMappingPayload struct {
|
|
DocumentEdge func(childComplexity int) int
|
|
RiskEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateRiskMeasureMappingPayload struct {
|
|
MeasureEdge func(childComplexity int) int
|
|
RiskEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateRiskObligationMappingPayload struct {
|
|
ObligationEdge func(childComplexity int) int
|
|
RiskEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateRiskPayload struct {
|
|
RiskEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateSnapshotPayload struct {
|
|
SnapshotEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateStateOfApplicabilityControlMappingPayload struct {
|
|
StateOfApplicabilityControlEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateStateOfApplicabilityPayload struct {
|
|
StateOfApplicabilityEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateTaskPayload struct {
|
|
TaskEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateTransferImpactAssessmentPayload struct {
|
|
TransferImpactAssessment func(childComplexity int) int
|
|
}
|
|
|
|
CreateTrustCenterAccessPayload struct {
|
|
TrustCenterAccessEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateTrustCenterFilePayload struct {
|
|
TrustCenterFileEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateTrustCenterReferencePayload struct {
|
|
TrustCenterReferenceEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateVendorContactPayload struct {
|
|
VendorContactEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateVendorPayload struct {
|
|
VendorEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateVendorRiskAssessmentPayload struct {
|
|
VendorRiskAssessmentEdge func(childComplexity int) int
|
|
}
|
|
|
|
CreateVendorServicePayload struct {
|
|
VendorServiceEdge func(childComplexity int) int
|
|
}
|
|
|
|
CustomDomain struct {
|
|
CreatedAt func(childComplexity int) int
|
|
DNSRecords func(childComplexity int) int
|
|
Domain func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
SslExpiresAt func(childComplexity int) int
|
|
SslStatus func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
DNSRecordInstruction struct {
|
|
Name func(childComplexity int) int
|
|
Purpose func(childComplexity int) int
|
|
TTL func(childComplexity int) int
|
|
Type func(childComplexity int) int
|
|
Value func(childComplexity int) int
|
|
}
|
|
|
|
DataProtectionImpactAssessment struct {
|
|
CreatedAt func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Mitigations func(childComplexity int) int
|
|
NecessityAndProportionality func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
PotentialRisk func(childComplexity int) int
|
|
ProcessingActivity func(childComplexity int) int
|
|
ResidualRisk func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
DataProtectionImpactAssessmentConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
DataProtectionImpactAssessmentEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
Datum struct {
|
|
CreatedAt func(childComplexity int) int
|
|
DataClassification func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Owner func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
SnapshotID func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
Vendors func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorOrderBy) int
|
|
}
|
|
|
|
DatumConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
DatumEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
DeleteAssetPayload struct {
|
|
DeletedAssetID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteAuditPayload struct {
|
|
DeletedAuditID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteAuditReportPayload struct {
|
|
Audit func(childComplexity int) int
|
|
}
|
|
|
|
DeleteContinualImprovementPayload struct {
|
|
DeletedContinualImprovementID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteControlAuditMappingPayload struct {
|
|
DeletedAuditID func(childComplexity int) int
|
|
DeletedControlID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteControlDocumentMappingPayload struct {
|
|
DeletedControlID func(childComplexity int) int
|
|
DeletedDocumentID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteControlMeasureMappingPayload struct {
|
|
DeletedControlID func(childComplexity int) int
|
|
DeletedMeasureID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteControlObligationMappingPayload struct {
|
|
DeletedControlID func(childComplexity int) int
|
|
DeletedObligationID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteControlPayload struct {
|
|
DeletedControlID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteControlSnapshotMappingPayload struct {
|
|
DeletedControlID func(childComplexity int) int
|
|
DeletedSnapshotID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteCustomDomainPayload struct {
|
|
DeletedCustomDomainID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteDataProtectionImpactAssessmentPayload struct {
|
|
DeletedDataProtectionImpactAssessmentID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteDatumPayload struct {
|
|
DeletedDatumID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteDocumentPayload struct {
|
|
DeletedDocumentID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteDraftDocumentVersionPayload struct {
|
|
DeletedDocumentVersionID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteEvidencePayload struct {
|
|
DeletedEvidenceID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteFrameworkPayload struct {
|
|
DeletedFrameworkID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteMeasurePayload struct {
|
|
DeletedMeasureID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteMeetingPayload struct {
|
|
DeletedMeetingID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteNonconformityPayload struct {
|
|
DeletedNonconformityID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteObligationPayload struct {
|
|
DeletedObligationID func(childComplexity int) int
|
|
}
|
|
|
|
DeletePeoplePayload struct {
|
|
DeletedPeopleID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteProcessingActivityPayload struct {
|
|
DeletedProcessingActivityID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteRightsRequestPayload struct {
|
|
DeletedRightsRequestID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteRiskDocumentMappingPayload struct {
|
|
DeletedDocumentID func(childComplexity int) int
|
|
DeletedRiskID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteRiskMeasureMappingPayload struct {
|
|
DeletedMeasureID func(childComplexity int) int
|
|
DeletedRiskID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteRiskObligationMappingPayload struct {
|
|
DeletedObligationID func(childComplexity int) int
|
|
DeletedRiskID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteRiskPayload struct {
|
|
DeletedRiskID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteSnapshotPayload struct {
|
|
DeletedSnapshotID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteStateOfApplicabilityControlMappingPayload struct {
|
|
DeletedControlID func(childComplexity int) int
|
|
DeletedStateOfApplicabilityControlID func(childComplexity int) int
|
|
DeletedStateOfApplicabilityID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteStateOfApplicabilityPayload struct {
|
|
DeletedStateOfApplicabilityID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteTaskPayload struct {
|
|
DeletedTaskID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteTransferImpactAssessmentPayload struct {
|
|
DeletedTransferImpactAssessmentID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteTrustCenterAccessPayload struct {
|
|
DeletedTrustCenterAccessID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteTrustCenterFilePayload struct {
|
|
DeletedTrustCenterFileID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteTrustCenterNDAPayload struct {
|
|
TrustCenter func(childComplexity int) int
|
|
}
|
|
|
|
DeleteTrustCenterReferencePayload struct {
|
|
DeletedTrustCenterReferenceID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteVendorBusinessAssociateAgreementPayload struct {
|
|
DeletedVendorID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteVendorComplianceReportPayload struct {
|
|
DeletedVendorComplianceReportID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteVendorContactPayload struct {
|
|
DeletedVendorContactID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteVendorDataPrivacyAgreementPayload struct {
|
|
DeletedVendorID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteVendorPayload struct {
|
|
DeletedVendorID func(childComplexity int) int
|
|
}
|
|
|
|
DeleteVendorServicePayload struct {
|
|
DeletedVendorServiceID func(childComplexity int) int
|
|
}
|
|
|
|
Document struct {
|
|
Classification func(childComplexity int) int
|
|
Controls func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) int
|
|
CreatedAt func(childComplexity int) int
|
|
CurrentPublishedVersion func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
DocumentType func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Owner func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
Title func(childComplexity int) int
|
|
TrustCenterVisibility func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
Versions func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DocumentVersionOrderBy, filter *types.DocumentVersionFilter) int
|
|
}
|
|
|
|
DocumentConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
DocumentEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
DocumentVersion struct {
|
|
Changelog func(childComplexity int) int
|
|
Classification func(childComplexity int) int
|
|
Content func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
Document func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Owner func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
PublishedAt func(childComplexity int) int
|
|
Signatures func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DocumentVersionSignatureOrder, filter *types.DocumentVersionSignatureFilter) int
|
|
Signed func(childComplexity int) int
|
|
Status func(childComplexity int) int
|
|
Title func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
Version func(childComplexity int) int
|
|
}
|
|
|
|
DocumentVersionConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
}
|
|
|
|
DocumentVersionEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
DocumentVersionSignature struct {
|
|
CreatedAt func(childComplexity int) int
|
|
DocumentVersion func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
RequestedAt func(childComplexity int) int
|
|
SignedAt func(childComplexity int) int
|
|
SignedBy func(childComplexity int) int
|
|
State func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
DocumentVersionSignatureConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
}
|
|
|
|
DocumentVersionSignatureEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
Evidence struct {
|
|
CreatedAt func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
File func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Measure func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
Size func(childComplexity int) int
|
|
State func(childComplexity int) int
|
|
Task func(childComplexity int) int
|
|
Type func(childComplexity int) int
|
|
URL func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
EvidenceConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
EvidenceEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
ExportDataProtectionImpactAssessmentsPDFPayload struct {
|
|
Data func(childComplexity int) int
|
|
}
|
|
|
|
ExportDocumentVersionPDFPayload struct {
|
|
Data func(childComplexity int) int
|
|
}
|
|
|
|
ExportFrameworkPayload struct {
|
|
ExportJobID func(childComplexity int) int
|
|
}
|
|
|
|
ExportProcessingActivitiesPDFPayload struct {
|
|
Data func(childComplexity int) int
|
|
}
|
|
|
|
ExportSignableDocumentVersionPDFPayload struct {
|
|
Data func(childComplexity int) int
|
|
}
|
|
|
|
ExportStateOfApplicabilityPDFPayload struct {
|
|
Data func(childComplexity int) int
|
|
}
|
|
|
|
ExportTransferImpactAssessmentsPDFPayload struct {
|
|
Data func(childComplexity int) int
|
|
}
|
|
|
|
File struct {
|
|
CreatedAt func(childComplexity int) int
|
|
DownloadURL func(childComplexity int) int
|
|
FileName func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
MimeType func(childComplexity int) int
|
|
Size func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
Framework struct {
|
|
Controls func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) int
|
|
CreatedAt func(childComplexity int) int
|
|
DarkLogoURL func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
LightLogoURL func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
FrameworkConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
FrameworkEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
GenerateDocumentChangelogPayload struct {
|
|
Changelog func(childComplexity int) int
|
|
}
|
|
|
|
GenerateFrameworkStateOfApplicabilityPayload struct {
|
|
Data func(childComplexity int) int
|
|
}
|
|
|
|
GetTrustCenterFilePayload struct {
|
|
TrustCenterFile func(childComplexity int) int
|
|
}
|
|
|
|
ImportFrameworkPayload struct {
|
|
FrameworkEdge func(childComplexity int) int
|
|
}
|
|
|
|
ImportMeasurePayload struct {
|
|
MeasureEdges func(childComplexity int) int
|
|
}
|
|
|
|
Measure struct {
|
|
Category func(childComplexity int) int
|
|
Controls func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) int
|
|
CreatedAt func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
Evidences func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.EvidenceOrderBy) int
|
|
ID func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
Risks func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.RiskOrderBy, filter *types.RiskFilter) int
|
|
State func(childComplexity int) int
|
|
Tasks func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.TaskOrderBy) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
MeasureConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
MeasureEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
Meeting struct {
|
|
Attendees func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
Date func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Minutes func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
MeetingConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
MeetingEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
Mutation struct {
|
|
AssessVendor func(childComplexity int, input types.AssessVendorInput) int
|
|
BulkDeleteDocuments func(childComplexity int, input types.BulkDeleteDocumentsInput) int
|
|
BulkExportDocuments func(childComplexity int, input types.BulkExportDocumentsInput) int
|
|
BulkPublishDocumentVersions func(childComplexity int, input types.BulkPublishDocumentVersionsInput) int
|
|
BulkRequestSignatures func(childComplexity int, input types.BulkRequestSignaturesInput) int
|
|
CancelSignatureRequest func(childComplexity int, input types.CancelSignatureRequestInput) int
|
|
CreateAsset func(childComplexity int, input types.CreateAssetInput) int
|
|
CreateAudit func(childComplexity int, input types.CreateAuditInput) int
|
|
CreateContinualImprovement func(childComplexity int, input types.CreateContinualImprovementInput) int
|
|
CreateControl func(childComplexity int, input types.CreateControlInput) int
|
|
CreateControlAuditMapping func(childComplexity int, input types.CreateControlAuditMappingInput) int
|
|
CreateControlDocumentMapping func(childComplexity int, input types.CreateControlDocumentMappingInput) int
|
|
CreateControlMeasureMapping func(childComplexity int, input types.CreateControlMeasureMappingInput) int
|
|
CreateControlObligationMapping func(childComplexity int, input types.CreateControlObligationMappingInput) int
|
|
CreateControlSnapshotMapping func(childComplexity int, input types.CreateControlSnapshotMappingInput) int
|
|
CreateCustomDomain func(childComplexity int, input types.CreateCustomDomainInput) int
|
|
CreateDataProtectionImpactAssessment func(childComplexity int, input types.CreateDataProtectionImpactAssessmentInput) int
|
|
CreateDatum func(childComplexity int, input types.CreateDatumInput) int
|
|
CreateDocument func(childComplexity int, input types.CreateDocumentInput) int
|
|
CreateDraftDocumentVersion func(childComplexity int, input types.CreateDraftDocumentVersionInput) int
|
|
CreateFramework func(childComplexity int, input types.CreateFrameworkInput) int
|
|
CreateMeasure func(childComplexity int, input types.CreateMeasureInput) int
|
|
CreateMeeting func(childComplexity int, input types.CreateMeetingInput) int
|
|
CreateNonconformity func(childComplexity int, input types.CreateNonconformityInput) int
|
|
CreateObligation func(childComplexity int, input types.CreateObligationInput) int
|
|
CreatePeople func(childComplexity int, input types.CreatePeopleInput) int
|
|
CreateProcessingActivity func(childComplexity int, input types.CreateProcessingActivityInput) int
|
|
CreateRightsRequest func(childComplexity int, input types.CreateRightsRequestInput) int
|
|
CreateRisk func(childComplexity int, input types.CreateRiskInput) int
|
|
CreateRiskDocumentMapping func(childComplexity int, input types.CreateRiskDocumentMappingInput) int
|
|
CreateRiskMeasureMapping func(childComplexity int, input types.CreateRiskMeasureMappingInput) int
|
|
CreateRiskObligationMapping func(childComplexity int, input types.CreateRiskObligationMappingInput) int
|
|
CreateSnapshot func(childComplexity int, input types.CreateSnapshotInput) int
|
|
CreateStateOfApplicability func(childComplexity int, input types.CreateStateOfApplicabilityInput) int
|
|
CreateStateOfApplicabilityControlMapping func(childComplexity int, input types.CreateStateOfApplicabilityControlMappingInput) int
|
|
CreateTask func(childComplexity int, input types.CreateTaskInput) int
|
|
CreateTransferImpactAssessment func(childComplexity int, input types.CreateTransferImpactAssessmentInput) int
|
|
CreateTrustCenterAccess func(childComplexity int, input types.CreateTrustCenterAccessInput) int
|
|
CreateTrustCenterFile func(childComplexity int, input types.CreateTrustCenterFileInput) int
|
|
CreateTrustCenterReference func(childComplexity int, input types.CreateTrustCenterReferenceInput) int
|
|
CreateVendor func(childComplexity int, input types.CreateVendorInput) int
|
|
CreateVendorContact func(childComplexity int, input types.CreateVendorContactInput) int
|
|
CreateVendorRiskAssessment func(childComplexity int, input types.CreateVendorRiskAssessmentInput) int
|
|
CreateVendorService func(childComplexity int, input types.CreateVendorServiceInput) int
|
|
DeleteAsset func(childComplexity int, input types.DeleteAssetInput) int
|
|
DeleteAudit func(childComplexity int, input types.DeleteAuditInput) int
|
|
DeleteAuditReport func(childComplexity int, input types.DeleteAuditReportInput) int
|
|
DeleteContinualImprovement func(childComplexity int, input types.DeleteContinualImprovementInput) int
|
|
DeleteControl func(childComplexity int, input types.DeleteControlInput) int
|
|
DeleteControlAuditMapping func(childComplexity int, input types.DeleteControlAuditMappingInput) int
|
|
DeleteControlDocumentMapping func(childComplexity int, input types.DeleteControlDocumentMappingInput) int
|
|
DeleteControlMeasureMapping func(childComplexity int, input types.DeleteControlMeasureMappingInput) int
|
|
DeleteControlObligationMapping func(childComplexity int, input types.DeleteControlObligationMappingInput) int
|
|
DeleteControlSnapshotMapping func(childComplexity int, input types.DeleteControlSnapshotMappingInput) int
|
|
DeleteCustomDomain func(childComplexity int, input types.DeleteCustomDomainInput) int
|
|
DeleteDataProtectionImpactAssessment func(childComplexity int, input types.DeleteDataProtectionImpactAssessmentInput) int
|
|
DeleteDatum func(childComplexity int, input types.DeleteDatumInput) int
|
|
DeleteDocument func(childComplexity int, input types.DeleteDocumentInput) int
|
|
DeleteDraftDocumentVersion func(childComplexity int, input types.DeleteDraftDocumentVersionInput) int
|
|
DeleteEvidence func(childComplexity int, input types.DeleteEvidenceInput) int
|
|
DeleteFramework func(childComplexity int, input types.DeleteFrameworkInput) int
|
|
DeleteMeasure func(childComplexity int, input types.DeleteMeasureInput) int
|
|
DeleteMeeting func(childComplexity int, input types.DeleteMeetingInput) int
|
|
DeleteNonconformity func(childComplexity int, input types.DeleteNonconformityInput) int
|
|
DeleteObligation func(childComplexity int, input types.DeleteObligationInput) int
|
|
DeletePeople func(childComplexity int, input types.DeletePeopleInput) int
|
|
DeleteProcessingActivity func(childComplexity int, input types.DeleteProcessingActivityInput) int
|
|
DeleteRightsRequest func(childComplexity int, input types.DeleteRightsRequestInput) int
|
|
DeleteRisk func(childComplexity int, input types.DeleteRiskInput) int
|
|
DeleteRiskDocumentMapping func(childComplexity int, input types.DeleteRiskDocumentMappingInput) int
|
|
DeleteRiskMeasureMapping func(childComplexity int, input types.DeleteRiskMeasureMappingInput) int
|
|
DeleteRiskObligationMapping func(childComplexity int, input types.DeleteRiskObligationMappingInput) int
|
|
DeleteSnapshot func(childComplexity int, input types.DeleteSnapshotInput) int
|
|
DeleteStateOfApplicability func(childComplexity int, input types.DeleteStateOfApplicabilityInput) int
|
|
DeleteStateOfApplicabilityControlMapping func(childComplexity int, input types.DeleteStateOfApplicabilityControlMappingInput) int
|
|
DeleteTask func(childComplexity int, input types.DeleteTaskInput) int
|
|
DeleteTransferImpactAssessment func(childComplexity int, input types.DeleteTransferImpactAssessmentInput) int
|
|
DeleteTrustCenterAccess func(childComplexity int, input types.DeleteTrustCenterAccessInput) int
|
|
DeleteTrustCenterFile func(childComplexity int, input types.DeleteTrustCenterFileInput) int
|
|
DeleteTrustCenterNda func(childComplexity int, input types.DeleteTrustCenterNDAInput) int
|
|
DeleteTrustCenterReference func(childComplexity int, input types.DeleteTrustCenterReferenceInput) int
|
|
DeleteVendor func(childComplexity int, input types.DeleteVendorInput) int
|
|
DeleteVendorBusinessAssociateAgreement func(childComplexity int, input types.DeleteVendorBusinessAssociateAgreementInput) int
|
|
DeleteVendorComplianceReport func(childComplexity int, input types.DeleteVendorComplianceReportInput) int
|
|
DeleteVendorContact func(childComplexity int, input types.DeleteVendorContactInput) int
|
|
DeleteVendorDataPrivacyAgreement func(childComplexity int, input types.DeleteVendorDataPrivacyAgreementInput) int
|
|
DeleteVendorService func(childComplexity int, input types.DeleteVendorServiceInput) int
|
|
ExportDataProtectionImpactAssessmentsPDF func(childComplexity int, input types.ExportDataProtectionImpactAssessmentsPDFInput) int
|
|
ExportDocumentVersionPDF func(childComplexity int, input types.ExportDocumentVersionPDFInput) int
|
|
ExportFramework func(childComplexity int, input types.ExportFrameworkInput) int
|
|
ExportProcessingActivitiesPDF func(childComplexity int, input types.ExportProcessingActivitiesPDFInput) int
|
|
ExportSignableVersionDocumentPDF func(childComplexity int, input types.ExportSignableDocumentVersionPDFInput) int
|
|
ExportStateOfApplicabilityPDF func(childComplexity int, input types.ExportStateOfApplicabilityPDFInput) int
|
|
ExportTransferImpactAssessmentsPDF func(childComplexity int, input types.ExportTransferImpactAssessmentsPDFInput) int
|
|
GenerateDocumentChangelog func(childComplexity int, input types.GenerateDocumentChangelogInput) int
|
|
GenerateFrameworkStateOfApplicability func(childComplexity int, input types.GenerateFrameworkStateOfApplicabilityInput) int
|
|
GetTrustCenterFile func(childComplexity int, input types.GetTrustCenterFileInput) int
|
|
ImportFramework func(childComplexity int, input types.ImportFrameworkInput) int
|
|
ImportMeasure func(childComplexity int, input types.ImportMeasureInput) int
|
|
PublishDocumentVersion func(childComplexity int, input types.PublishDocumentVersionInput) int
|
|
RequestSignature func(childComplexity int, input types.RequestSignatureInput) int
|
|
SendSigningNotifications func(childComplexity int, input types.SendSigningNotificationsInput) int
|
|
SignDocument func(childComplexity int, input types.SignDocumentInput) int
|
|
UpdateAsset func(childComplexity int, input types.UpdateAssetInput) int
|
|
UpdateAudit func(childComplexity int, input types.UpdateAuditInput) int
|
|
UpdateContinualImprovement func(childComplexity int, input types.UpdateContinualImprovementInput) int
|
|
UpdateControl func(childComplexity int, input types.UpdateControlInput) int
|
|
UpdateDataProtectionImpactAssessment func(childComplexity int, input types.UpdateDataProtectionImpactAssessmentInput) int
|
|
UpdateDatum func(childComplexity int, input types.UpdateDatumInput) int
|
|
UpdateDocument func(childComplexity int, input types.UpdateDocumentInput) int
|
|
UpdateDocumentVersion func(childComplexity int, input types.UpdateDocumentVersionInput) int
|
|
UpdateFramework func(childComplexity int, input types.UpdateFrameworkInput) int
|
|
UpdateMeasure func(childComplexity int, input types.UpdateMeasureInput) int
|
|
UpdateMeeting func(childComplexity int, input types.UpdateMeetingInput) int
|
|
UpdateNonconformity func(childComplexity int, input types.UpdateNonconformityInput) int
|
|
UpdateObligation func(childComplexity int, input types.UpdateObligationInput) int
|
|
UpdateOrganizationContext func(childComplexity int, input types.UpdateOrganizationContextInput) int
|
|
UpdatePeople func(childComplexity int, input types.UpdatePeopleInput) int
|
|
UpdateProcessingActivity func(childComplexity int, input types.UpdateProcessingActivityInput) int
|
|
UpdateRightsRequest func(childComplexity int, input types.UpdateRightsRequestInput) int
|
|
UpdateRisk func(childComplexity int, input types.UpdateRiskInput) int
|
|
UpdateStateOfApplicability func(childComplexity int, input types.UpdateStateOfApplicabilityInput) int
|
|
UpdateTask func(childComplexity int, input types.UpdateTaskInput) int
|
|
UpdateTransferImpactAssessment func(childComplexity int, input types.UpdateTransferImpactAssessmentInput) int
|
|
UpdateTrustCenter func(childComplexity int, input types.UpdateTrustCenterInput) int
|
|
UpdateTrustCenterAccess func(childComplexity int, input types.UpdateTrustCenterAccessInput) int
|
|
UpdateTrustCenterFile func(childComplexity int, input types.UpdateTrustCenterFileInput) int
|
|
UpdateTrustCenterReference func(childComplexity int, input types.UpdateTrustCenterReferenceInput) int
|
|
UpdateVendor func(childComplexity int, input types.UpdateVendorInput) int
|
|
UpdateVendorBusinessAssociateAgreement func(childComplexity int, input types.UpdateVendorBusinessAssociateAgreementInput) int
|
|
UpdateVendorContact func(childComplexity int, input types.UpdateVendorContactInput) int
|
|
UpdateVendorDataPrivacyAgreement func(childComplexity int, input types.UpdateVendorDataPrivacyAgreementInput) int
|
|
UpdateVendorService func(childComplexity int, input types.UpdateVendorServiceInput) int
|
|
UploadAuditReport func(childComplexity int, input types.UploadAuditReportInput) int
|
|
UploadMeasureEvidence func(childComplexity int, input types.UploadMeasureEvidenceInput) int
|
|
UploadTrustCenterNda func(childComplexity int, input types.UploadTrustCenterNDAInput) int
|
|
UploadVendorBusinessAssociateAgreement func(childComplexity int, input types.UploadVendorBusinessAssociateAgreementInput) int
|
|
UploadVendorComplianceReport func(childComplexity int, input types.UploadVendorComplianceReportInput) int
|
|
UploadVendorDataPrivacyAgreement func(childComplexity int, input types.UploadVendorDataPrivacyAgreementInput) int
|
|
}
|
|
|
|
Nonconformity struct {
|
|
Audit func(childComplexity int) int
|
|
CorrectiveAction func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
DateIdentified func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
DueDate func(childComplexity int) int
|
|
EffectivenessCheck func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Owner func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
ReferenceID func(childComplexity int) int
|
|
RootCause func(childComplexity int) int
|
|
SnapshotID func(childComplexity int) int
|
|
Status func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
NonconformityConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
NonconformityEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
Obligation struct {
|
|
ActionsToBeImplemented func(childComplexity int) int
|
|
Area func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
DueDate func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
LastReviewDate func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Owner func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
Regulator func(childComplexity int) int
|
|
Requirement func(childComplexity int) int
|
|
SnapshotID func(childComplexity int) int
|
|
Source func(childComplexity int) int
|
|
SourceID func(childComplexity int) int
|
|
Status func(childComplexity int) int
|
|
Type func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
ObligationConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
ObligationEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
Organization struct {
|
|
Assets func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.AssetOrderBy, filter *types.AssetFilter) int
|
|
Audits func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.AuditOrderBy) int
|
|
Context func(childComplexity int) int
|
|
ContinualImprovements func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ContinualImprovementOrderBy, filter *types.ContinualImprovementFilter) int
|
|
Controls func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) int
|
|
CreatedAt func(childComplexity int) int
|
|
CustomDomain func(childComplexity int) int
|
|
Data func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DatumOrderBy, filter *types.DatumFilter) int
|
|
DataProtectionImpactAssessments func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DataProtectionImpactAssessmentOrderBy, filter *types.DataProtectionImpactAssessmentFilter) int
|
|
Description func(childComplexity int) int
|
|
Documents func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DocumentOrderBy, filter *types.DocumentFilter) int
|
|
Email func(childComplexity int) int
|
|
Frameworks func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.FrameworkOrderBy) int
|
|
HeadquarterAddress func(childComplexity int) int
|
|
HorizontalLogoURL func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
LogoURL func(childComplexity int) int
|
|
Measures func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.MeasureOrderBy, filter *types.MeasureFilter) int
|
|
Meetings func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.MeetingOrderBy) int
|
|
Name func(childComplexity int) int
|
|
Nonconformities func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.NonconformityOrderBy, filter *types.NonconformityFilter) int
|
|
Obligations func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ObligationOrderBy, filter *types.ObligationFilter) int
|
|
Peoples func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.PeopleOrderBy, filter *types.PeopleFilter) int
|
|
Permission func(childComplexity int, action string) int
|
|
ProcessingActivities func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ProcessingActivityOrderBy, filter *types.ProcessingActivityFilter) int
|
|
RightsRequests func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.RightsRequestOrderBy) int
|
|
Risks func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.RiskOrderBy, filter *types.RiskFilter) int
|
|
SlackConnections func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey) int
|
|
Snapshots func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.SnapshotOrderBy) int
|
|
StatesOfApplicability func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.StateOfApplicabilityOrderBy, filter *types.StateOfApplicabilityFilter) int
|
|
Tasks func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.TaskOrderBy) int
|
|
TransferImpactAssessments func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.TransferImpactAssessmentOrderBy, filter *types.TransferImpactAssessmentFilter) int
|
|
TrustCenter func(childComplexity int) int
|
|
TrustCenterFiles func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.OrderBy[coredata.TrustCenterFileOrderField]) int
|
|
UpdatedAt func(childComplexity int) int
|
|
Vendors func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorOrderBy, filter *types.VendorFilter) int
|
|
WebsiteURL func(childComplexity int) int
|
|
}
|
|
|
|
OrganizationContext struct {
|
|
OrganizationID func(childComplexity int) int
|
|
Summary func(childComplexity int) int
|
|
}
|
|
|
|
PageInfo struct {
|
|
EndCursor func(childComplexity int) int
|
|
HasNextPage func(childComplexity int) int
|
|
HasPreviousPage func(childComplexity int) int
|
|
StartCursor func(childComplexity int) int
|
|
}
|
|
|
|
People struct {
|
|
AdditionalEmailAddresses func(childComplexity int) int
|
|
ContractEndDate func(childComplexity int) int
|
|
ContractStartDate func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
FullName func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Kind func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
Position func(childComplexity int) int
|
|
PrimaryEmailAddress func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
PeopleConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
PeopleEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
ProcessingActivity struct {
|
|
ConsentEvidenceLink func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
DataProtectionImpactAssessment func(childComplexity int) int
|
|
DataProtectionImpactAssessmentNeeded func(childComplexity int) int
|
|
DataProtectionOfficer func(childComplexity int) int
|
|
DataSubjectCategory func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
InternationalTransfers func(childComplexity int) int
|
|
LastReviewDate func(childComplexity int) int
|
|
LawfulBasis func(childComplexity int) int
|
|
Location func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
NextReviewDate func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
PersonalDataCategory func(childComplexity int) int
|
|
Purpose func(childComplexity int) int
|
|
Recipients func(childComplexity int) int
|
|
RetentionPeriod func(childComplexity int) int
|
|
Role func(childComplexity int) int
|
|
SecurityMeasures func(childComplexity int) int
|
|
SnapshotID func(childComplexity int) int
|
|
SourceID func(childComplexity int) int
|
|
SpecialOrCriminalData func(childComplexity int) int
|
|
TransferImpactAssessment func(childComplexity int) int
|
|
TransferImpactAssessmentNeeded func(childComplexity int) int
|
|
TransferSafeguards func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
Vendors func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorOrderBy) int
|
|
}
|
|
|
|
ProcessingActivityConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
ProcessingActivityEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
PublishDocumentVersionPayload struct {
|
|
Document func(childComplexity int) int
|
|
DocumentVersion func(childComplexity int) int
|
|
}
|
|
|
|
Query struct {
|
|
Node func(childComplexity int, id gid.GID) int
|
|
Viewer func(childComplexity int) int
|
|
}
|
|
|
|
Report struct {
|
|
Audit func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
DownloadURL func(childComplexity int) int
|
|
Filename func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
MimeType func(childComplexity int) int
|
|
ObjectKey func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
Size func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
RequestSignaturePayload struct {
|
|
DocumentVersionSignatureEdge func(childComplexity int) int
|
|
}
|
|
|
|
RightsRequest struct {
|
|
ActionTaken func(childComplexity int) int
|
|
Contact func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
DataSubject func(childComplexity int) int
|
|
Deadline func(childComplexity int) int
|
|
Details func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
RequestState func(childComplexity int) int
|
|
RequestType func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
RightsRequestConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
RightsRequestEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
Risk struct {
|
|
Category func(childComplexity int) int
|
|
Controls func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) int
|
|
CreatedAt func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
Documents func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DocumentOrderBy, filter *types.DocumentFilter) int
|
|
ID func(childComplexity int) int
|
|
InherentImpact func(childComplexity int) int
|
|
InherentLikelihood func(childComplexity int) int
|
|
InherentRiskScore func(childComplexity int) int
|
|
Measures func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.MeasureOrderBy, filter *types.MeasureFilter) int
|
|
Name func(childComplexity int) int
|
|
Note func(childComplexity int) int
|
|
Obligations func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ObligationOrderBy, filter *types.ObligationFilter) int
|
|
Organization func(childComplexity int) int
|
|
Owner func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
ResidualImpact func(childComplexity int) int
|
|
ResidualLikelihood func(childComplexity int) int
|
|
ResidualRiskScore func(childComplexity int) int
|
|
SnapshotID func(childComplexity int) int
|
|
Treatment func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
RiskConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
RiskEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
SendSigningNotificationsPayload struct {
|
|
Success func(childComplexity int) int
|
|
}
|
|
|
|
SignDocumentPayload struct {
|
|
DocumentVersionSignature func(childComplexity int) int
|
|
}
|
|
|
|
SignableDocument struct {
|
|
Classification func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
DocumentType func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Signed func(childComplexity int) int
|
|
Title func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
Versions func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DocumentVersionOrderBy, filter *types.DocumentVersionFilter) int
|
|
}
|
|
|
|
SignableDocumentConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
}
|
|
|
|
SignableDocumentEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
SlackConnection struct {
|
|
Channel func(childComplexity int) int
|
|
ChannelID func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
SlackConnectionConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
}
|
|
|
|
SlackConnectionEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
Snapshot struct {
|
|
Controls func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) int
|
|
CreatedAt func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
Type func(childComplexity int) int
|
|
}
|
|
|
|
SnapshotConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
SnapshotEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
StateOfApplicability struct {
|
|
AvailableControls func(childComplexity int) int
|
|
Controls func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) int
|
|
CreatedAt func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Owner func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
SnapshotID func(childComplexity int) int
|
|
SourceID func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
StateOfApplicabilityConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
StateOfApplicabilityControl struct {
|
|
Applicability func(childComplexity int) int
|
|
ControlID func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Justification func(childComplexity int) int
|
|
StateOfApplicability func(childComplexity int) int
|
|
StateOfApplicabilityID func(childComplexity int) int
|
|
}
|
|
|
|
StateOfApplicabilityControlConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
StateOfApplicabilityControlEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
StateOfApplicabilityEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
Task struct {
|
|
AssignedTo func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
Deadline func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
Evidences func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.EvidenceOrderBy) int
|
|
ID func(childComplexity int) int
|
|
Measure func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
State func(childComplexity int) int
|
|
TimeEstimate func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
TaskConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
TaskEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
TransferImpactAssessment struct {
|
|
CreatedAt func(childComplexity int) int
|
|
DataSubjects func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
LegalMechanism func(childComplexity int) int
|
|
LocalLawRisk func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
ProcessingActivity func(childComplexity int) int
|
|
SupplementaryMeasures func(childComplexity int) int
|
|
Transfer func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
TransferImpactAssessmentConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
TransferImpactAssessmentEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenter struct {
|
|
Accesses func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.OrderBy[coredata.TrustCenterAccessOrderField]) int
|
|
Active func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
NdaFileName func(childComplexity int) int
|
|
NdaFileURL func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
References func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.OrderBy[coredata.TrustCenterReferenceOrderField]) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenterAccess struct {
|
|
Active func(childComplexity int) int
|
|
ActiveCount func(childComplexity int) int
|
|
AvailableDocumentAccesses func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.OrderBy[coredata.TrustCenterDocumentAccessOrderField]) int
|
|
CreatedAt func(childComplexity int) int
|
|
Email func(childComplexity int) int
|
|
HasAcceptedNonDisclosureAgreement func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
LastTokenExpiresAt func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
PendingRequestCount func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenterAccessConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenterAccessEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenterConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenterDocumentAccess struct {
|
|
Document func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Report func(childComplexity int) int
|
|
Status func(childComplexity int) int
|
|
TrustCenterFile func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenterDocumentAccessConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenterDocumentAccessEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenterEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenterFile struct {
|
|
Category func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
FileURL func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
TrustCenterVisibility func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenterFileConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenterFileEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenterReference struct {
|
|
CreatedAt func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
LogoURL func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
Rank func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
WebsiteURL func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenterReferenceConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
TrustCenterReferenceEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
UpdateAssetPayload struct {
|
|
Asset func(childComplexity int) int
|
|
}
|
|
|
|
UpdateAuditPayload struct {
|
|
Audit func(childComplexity int) int
|
|
}
|
|
|
|
UpdateContinualImprovementPayload struct {
|
|
ContinualImprovement func(childComplexity int) int
|
|
}
|
|
|
|
UpdateControlPayload struct {
|
|
Control func(childComplexity int) int
|
|
}
|
|
|
|
UpdateDataProtectionImpactAssessmentPayload struct {
|
|
DataProtectionImpactAssessment func(childComplexity int) int
|
|
}
|
|
|
|
UpdateDatumPayload struct {
|
|
Datum func(childComplexity int) int
|
|
}
|
|
|
|
UpdateDocumentPayload struct {
|
|
Document func(childComplexity int) int
|
|
}
|
|
|
|
UpdateDocumentVersionPayload struct {
|
|
DocumentVersion func(childComplexity int) int
|
|
}
|
|
|
|
UpdateFrameworkPayload struct {
|
|
Framework func(childComplexity int) int
|
|
}
|
|
|
|
UpdateMeasurePayload struct {
|
|
Measure func(childComplexity int) int
|
|
}
|
|
|
|
UpdateMeetingPayload struct {
|
|
Meeting func(childComplexity int) int
|
|
}
|
|
|
|
UpdateNonconformityPayload struct {
|
|
Nonconformity func(childComplexity int) int
|
|
}
|
|
|
|
UpdateObligationPayload struct {
|
|
Obligation func(childComplexity int) int
|
|
}
|
|
|
|
UpdateOrganizationContextPayload struct {
|
|
Context func(childComplexity int) int
|
|
}
|
|
|
|
UpdatePeoplePayload struct {
|
|
People func(childComplexity int) int
|
|
}
|
|
|
|
UpdateProcessingActivityPayload struct {
|
|
ProcessingActivity func(childComplexity int) int
|
|
}
|
|
|
|
UpdateRightsRequestPayload struct {
|
|
RightsRequest func(childComplexity int) int
|
|
}
|
|
|
|
UpdateRiskPayload struct {
|
|
Risk func(childComplexity int) int
|
|
}
|
|
|
|
UpdateStateOfApplicabilityPayload struct {
|
|
StateOfApplicability func(childComplexity int) int
|
|
}
|
|
|
|
UpdateTaskPayload struct {
|
|
Task func(childComplexity int) int
|
|
}
|
|
|
|
UpdateTransferImpactAssessmentPayload struct {
|
|
TransferImpactAssessment func(childComplexity int) int
|
|
}
|
|
|
|
UpdateTrustCenterAccessPayload struct {
|
|
TrustCenterAccess func(childComplexity int) int
|
|
}
|
|
|
|
UpdateTrustCenterFilePayload struct {
|
|
TrustCenterFile func(childComplexity int) int
|
|
}
|
|
|
|
UpdateTrustCenterPayload struct {
|
|
TrustCenter func(childComplexity int) int
|
|
}
|
|
|
|
UpdateTrustCenterReferencePayload struct {
|
|
TrustCenterReference func(childComplexity int) int
|
|
}
|
|
|
|
UpdateVendorBusinessAssociateAgreementPayload struct {
|
|
VendorBusinessAssociateAgreement func(childComplexity int) int
|
|
}
|
|
|
|
UpdateVendorContactPayload struct {
|
|
VendorContact func(childComplexity int) int
|
|
}
|
|
|
|
UpdateVendorDataPrivacyAgreementPayload struct {
|
|
VendorDataPrivacyAgreement func(childComplexity int) int
|
|
}
|
|
|
|
UpdateVendorPayload struct {
|
|
Vendor func(childComplexity int) int
|
|
}
|
|
|
|
UpdateVendorServicePayload struct {
|
|
VendorService func(childComplexity int) int
|
|
}
|
|
|
|
UploadAuditReportPayload struct {
|
|
Audit func(childComplexity int) int
|
|
}
|
|
|
|
UploadMeasureEvidencePayload struct {
|
|
EvidenceEdge func(childComplexity int) int
|
|
}
|
|
|
|
UploadTrustCenterNDAPayload struct {
|
|
TrustCenter func(childComplexity int) int
|
|
}
|
|
|
|
UploadVendorBusinessAssociateAgreementPayload struct {
|
|
VendorBusinessAssociateAgreement func(childComplexity int) int
|
|
}
|
|
|
|
UploadVendorComplianceReportPayload struct {
|
|
VendorComplianceReportEdge func(childComplexity int) int
|
|
}
|
|
|
|
UploadVendorDataPrivacyAgreementPayload struct {
|
|
VendorDataPrivacyAgreement func(childComplexity int) int
|
|
}
|
|
|
|
Vendor struct {
|
|
BusinessAssociateAgreement func(childComplexity int) int
|
|
BusinessAssociateAgreementURL func(childComplexity int) int
|
|
BusinessOwner func(childComplexity int) int
|
|
Category func(childComplexity int) int
|
|
Certifications func(childComplexity int) int
|
|
ComplianceReports func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorComplianceReportOrderBy) int
|
|
Contacts func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorContactOrderBy) int
|
|
Countries func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
DataPrivacyAgreement func(childComplexity int) int
|
|
DataProcessingAgreementURL func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
HeadquarterAddress func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
LegalName func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
Organization func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
PrivacyPolicyURL func(childComplexity int) int
|
|
RiskAssessments func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorRiskAssessmentOrder) int
|
|
SecurityOwner func(childComplexity int) int
|
|
SecurityPageURL func(childComplexity int) int
|
|
ServiceLevelAgreementURL func(childComplexity int) int
|
|
Services func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorServiceOrderBy) int
|
|
ShowOnTrustCenter func(childComplexity int) int
|
|
SnapshotID func(childComplexity int) int
|
|
StatusPageURL func(childComplexity int) int
|
|
SubprocessorsListURL func(childComplexity int) int
|
|
TermsOfServiceURL func(childComplexity int) int
|
|
TrustPageURL func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
WebsiteURL func(childComplexity int) int
|
|
}
|
|
|
|
VendorBusinessAssociateAgreement struct {
|
|
CreatedAt func(childComplexity int) int
|
|
FileName func(childComplexity int) int
|
|
FileSize func(childComplexity int) int
|
|
FileURL func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
UpdatedAt func(childComplexity int) int
|
|
ValidFrom func(childComplexity int) int
|
|
ValidUntil func(childComplexity int) int
|
|
Vendor func(childComplexity int) int
|
|
}
|
|
|
|
VendorComplianceReport struct {
|
|
CreatedAt func(childComplexity int) int
|
|
File func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
ReportDate func(childComplexity int) int
|
|
ReportName func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
ValidUntil func(childComplexity int) int
|
|
Vendor func(childComplexity int) int
|
|
}
|
|
|
|
VendorComplianceReportConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
}
|
|
|
|
VendorComplianceReportEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
VendorConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
TotalCount func(childComplexity int) int
|
|
}
|
|
|
|
VendorContact struct {
|
|
CreatedAt func(childComplexity int) int
|
|
Email func(childComplexity int) int
|
|
FullName func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
Phone func(childComplexity int) int
|
|
Role func(childComplexity int) int
|
|
UpdatedAt func(childComplexity int) int
|
|
Vendor func(childComplexity int) int
|
|
}
|
|
|
|
VendorContactConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
}
|
|
|
|
VendorContactEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
VendorDataPrivacyAgreement struct {
|
|
CreatedAt func(childComplexity int) int
|
|
FileName func(childComplexity int) int
|
|
FileSize func(childComplexity int) int
|
|
FileURL func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
UpdatedAt func(childComplexity int) int
|
|
ValidFrom func(childComplexity int) int
|
|
ValidUntil func(childComplexity int) int
|
|
Vendor func(childComplexity int) int
|
|
}
|
|
|
|
VendorEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
VendorRiskAssessment struct {
|
|
BusinessImpact func(childComplexity int) int
|
|
CreatedAt func(childComplexity int) int
|
|
DataSensitivity func(childComplexity int) int
|
|
ExpiresAt func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Notes func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
UpdatedAt func(childComplexity int) int
|
|
Vendor func(childComplexity int) int
|
|
}
|
|
|
|
VendorRiskAssessmentConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
}
|
|
|
|
VendorRiskAssessmentEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
VendorService struct {
|
|
CreatedAt func(childComplexity int) int
|
|
Description func(childComplexity int) int
|
|
ID func(childComplexity int) int
|
|
Name func(childComplexity int) int
|
|
Permission func(childComplexity int, action string) int
|
|
UpdatedAt func(childComplexity int) int
|
|
Vendor func(childComplexity int) int
|
|
}
|
|
|
|
VendorServiceConnection struct {
|
|
Edges func(childComplexity int) int
|
|
PageInfo func(childComplexity int) int
|
|
}
|
|
|
|
VendorServiceEdge struct {
|
|
Cursor func(childComplexity int) int
|
|
Node func(childComplexity int) int
|
|
}
|
|
|
|
Viewer struct {
|
|
ID func(childComplexity int) int
|
|
SignableDocument func(childComplexity int, id gid.GID) int
|
|
SignableDocuments func(childComplexity int, organizationID gid.GID, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DocumentOrderBy) int
|
|
}
|
|
}
|
|
|
|
type AssetResolver interface {
|
|
Owner(ctx context.Context, obj *types.Asset) (*types.People, error)
|
|
Vendors(ctx context.Context, obj *types.Asset, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorOrderBy) (*types.VendorConnection, error)
|
|
|
|
Organization(ctx context.Context, obj *types.Asset) (*types.Organization, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Asset, action string) (bool, error)
|
|
}
|
|
type AssetConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.AssetConnection) (int, error)
|
|
}
|
|
type AuditResolver interface {
|
|
Organization(ctx context.Context, obj *types.Audit) (*types.Organization, error)
|
|
Framework(ctx context.Context, obj *types.Audit) (*types.Framework, error)
|
|
|
|
Report(ctx context.Context, obj *types.Audit) (*types.Report, error)
|
|
ReportURL(ctx context.Context, obj *types.Audit) (*string, error)
|
|
|
|
Controls(ctx context.Context, obj *types.Audit, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) (*types.ControlConnection, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Audit, action string) (bool, error)
|
|
}
|
|
type AuditConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.AuditConnection) (int, error)
|
|
}
|
|
type ContinualImprovementResolver interface {
|
|
Organization(ctx context.Context, obj *types.ContinualImprovement) (*types.Organization, error)
|
|
|
|
Owner(ctx context.Context, obj *types.ContinualImprovement) (*types.People, error)
|
|
|
|
Permission(ctx context.Context, obj *types.ContinualImprovement, action string) (bool, error)
|
|
}
|
|
type ContinualImprovementConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.ContinualImprovementConnection) (int, error)
|
|
}
|
|
type ControlResolver interface {
|
|
Organization(ctx context.Context, obj *types.Control) (*types.Organization, error)
|
|
|
|
Framework(ctx context.Context, obj *types.Control) (*types.Framework, error)
|
|
Measures(ctx context.Context, obj *types.Control, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.MeasureOrderBy, filter *types.MeasureFilter) (*types.MeasureConnection, error)
|
|
Documents(ctx context.Context, obj *types.Control, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DocumentOrderBy, filter *types.DocumentFilter) (*types.DocumentConnection, error)
|
|
Audits(ctx context.Context, obj *types.Control, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.AuditOrderBy) (*types.AuditConnection, error)
|
|
Obligations(ctx context.Context, obj *types.Control, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ObligationOrderBy, filter *types.ObligationFilter) (*types.ObligationConnection, error)
|
|
Snapshots(ctx context.Context, obj *types.Control, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.SnapshotOrderBy) (*types.SnapshotConnection, error)
|
|
StateOfApplicabilityControls(ctx context.Context, obj *types.Control, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.StateOfApplicabilityOrderBy) (*types.StateOfApplicabilityControlConnection, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Control, action string) (bool, error)
|
|
}
|
|
type ControlConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.ControlConnection) (int, error)
|
|
}
|
|
type CustomDomainResolver interface {
|
|
Permission(ctx context.Context, obj *types.CustomDomain, action string) (bool, error)
|
|
}
|
|
type DataProtectionImpactAssessmentResolver interface {
|
|
ProcessingActivity(ctx context.Context, obj *types.DataProtectionImpactAssessment) (*types.ProcessingActivity, error)
|
|
Organization(ctx context.Context, obj *types.DataProtectionImpactAssessment) (*types.Organization, error)
|
|
|
|
Permission(ctx context.Context, obj *types.DataProtectionImpactAssessment, action string) (bool, error)
|
|
}
|
|
type DataProtectionImpactAssessmentConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.DataProtectionImpactAssessmentConnection) (int, error)
|
|
}
|
|
type DatumResolver interface {
|
|
Owner(ctx context.Context, obj *types.Datum) (*types.People, error)
|
|
Vendors(ctx context.Context, obj *types.Datum, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorOrderBy) (*types.VendorConnection, error)
|
|
Organization(ctx context.Context, obj *types.Datum) (*types.Organization, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Datum, action string) (bool, error)
|
|
}
|
|
type DatumConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.DatumConnection) (int, error)
|
|
}
|
|
type DocumentResolver interface {
|
|
Owner(ctx context.Context, obj *types.Document) (*types.People, error)
|
|
Organization(ctx context.Context, obj *types.Document) (*types.Organization, error)
|
|
Versions(ctx context.Context, obj *types.Document, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DocumentVersionOrderBy, filter *types.DocumentVersionFilter) (*types.DocumentVersionConnection, error)
|
|
Controls(ctx context.Context, obj *types.Document, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) (*types.ControlConnection, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Document, action string) (bool, error)
|
|
}
|
|
type DocumentConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.DocumentConnection) (int, error)
|
|
}
|
|
type DocumentVersionResolver interface {
|
|
Document(ctx context.Context, obj *types.DocumentVersion) (*types.Document, error)
|
|
|
|
Owner(ctx context.Context, obj *types.DocumentVersion) (*types.People, error)
|
|
Signatures(ctx context.Context, obj *types.DocumentVersion, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DocumentVersionSignatureOrder, filter *types.DocumentVersionSignatureFilter) (*types.DocumentVersionSignatureConnection, error)
|
|
Signed(ctx context.Context, obj *types.DocumentVersion) (bool, error)
|
|
|
|
Permission(ctx context.Context, obj *types.DocumentVersion, action string) (bool, error)
|
|
}
|
|
type DocumentVersionSignatureResolver interface {
|
|
DocumentVersion(ctx context.Context, obj *types.DocumentVersionSignature) (*types.DocumentVersion, error)
|
|
|
|
SignedBy(ctx context.Context, obj *types.DocumentVersionSignature) (*types.People, error)
|
|
|
|
Permission(ctx context.Context, obj *types.DocumentVersionSignature, action string) (bool, error)
|
|
}
|
|
type EvidenceResolver interface {
|
|
File(ctx context.Context, obj *types.Evidence) (*types.File, error)
|
|
|
|
Task(ctx context.Context, obj *types.Evidence) (*types.Task, error)
|
|
Measure(ctx context.Context, obj *types.Evidence) (*types.Measure, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Evidence, action string) (bool, error)
|
|
}
|
|
type EvidenceConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.EvidenceConnection) (int, error)
|
|
}
|
|
type FileResolver interface {
|
|
DownloadURL(ctx context.Context, obj *types.File) (string, error)
|
|
}
|
|
type FrameworkResolver interface {
|
|
Organization(ctx context.Context, obj *types.Framework) (*types.Organization, error)
|
|
Controls(ctx context.Context, obj *types.Framework, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) (*types.ControlConnection, error)
|
|
LightLogoURL(ctx context.Context, obj *types.Framework) (*string, error)
|
|
DarkLogoURL(ctx context.Context, obj *types.Framework) (*string, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Framework, action string) (bool, error)
|
|
}
|
|
type FrameworkConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.FrameworkConnection) (int, error)
|
|
}
|
|
type MeasureResolver interface {
|
|
Evidences(ctx context.Context, obj *types.Measure, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.EvidenceOrderBy) (*types.EvidenceConnection, error)
|
|
Tasks(ctx context.Context, obj *types.Measure, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.TaskOrderBy) (*types.TaskConnection, error)
|
|
Risks(ctx context.Context, obj *types.Measure, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.RiskOrderBy, filter *types.RiskFilter) (*types.RiskConnection, error)
|
|
Controls(ctx context.Context, obj *types.Measure, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) (*types.ControlConnection, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Measure, action string) (bool, error)
|
|
}
|
|
type MeasureConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.MeasureConnection) (int, error)
|
|
}
|
|
type MeetingResolver interface {
|
|
Attendees(ctx context.Context, obj *types.Meeting) ([]*types.People, error)
|
|
Organization(ctx context.Context, obj *types.Meeting) (*types.Organization, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Meeting, action string) (bool, error)
|
|
}
|
|
type MeetingConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.MeetingConnection) (int, error)
|
|
}
|
|
type MutationResolver interface {
|
|
UpdateOrganizationContext(ctx context.Context, input types.UpdateOrganizationContextInput) (*types.UpdateOrganizationContextPayload, error)
|
|
UpdateTrustCenter(ctx context.Context, input types.UpdateTrustCenterInput) (*types.UpdateTrustCenterPayload, error)
|
|
UploadTrustCenterNda(ctx context.Context, input types.UploadTrustCenterNDAInput) (*types.UploadTrustCenterNDAPayload, error)
|
|
DeleteTrustCenterNda(ctx context.Context, input types.DeleteTrustCenterNDAInput) (*types.DeleteTrustCenterNDAPayload, error)
|
|
CreateTrustCenterAccess(ctx context.Context, input types.CreateTrustCenterAccessInput) (*types.CreateTrustCenterAccessPayload, error)
|
|
UpdateTrustCenterAccess(ctx context.Context, input types.UpdateTrustCenterAccessInput) (*types.UpdateTrustCenterAccessPayload, error)
|
|
DeleteTrustCenterAccess(ctx context.Context, input types.DeleteTrustCenterAccessInput) (*types.DeleteTrustCenterAccessPayload, error)
|
|
CreateTrustCenterReference(ctx context.Context, input types.CreateTrustCenterReferenceInput) (*types.CreateTrustCenterReferencePayload, error)
|
|
UpdateTrustCenterReference(ctx context.Context, input types.UpdateTrustCenterReferenceInput) (*types.UpdateTrustCenterReferencePayload, error)
|
|
DeleteTrustCenterReference(ctx context.Context, input types.DeleteTrustCenterReferenceInput) (*types.DeleteTrustCenterReferencePayload, error)
|
|
CreateTrustCenterFile(ctx context.Context, input types.CreateTrustCenterFileInput) (*types.CreateTrustCenterFilePayload, error)
|
|
UpdateTrustCenterFile(ctx context.Context, input types.UpdateTrustCenterFileInput) (*types.UpdateTrustCenterFilePayload, error)
|
|
GetTrustCenterFile(ctx context.Context, input types.GetTrustCenterFileInput) (*types.GetTrustCenterFilePayload, error)
|
|
DeleteTrustCenterFile(ctx context.Context, input types.DeleteTrustCenterFileInput) (*types.DeleteTrustCenterFilePayload, error)
|
|
CreatePeople(ctx context.Context, input types.CreatePeopleInput) (*types.CreatePeoplePayload, error)
|
|
UpdatePeople(ctx context.Context, input types.UpdatePeopleInput) (*types.UpdatePeoplePayload, error)
|
|
DeletePeople(ctx context.Context, input types.DeletePeopleInput) (*types.DeletePeoplePayload, error)
|
|
CreateVendor(ctx context.Context, input types.CreateVendorInput) (*types.CreateVendorPayload, error)
|
|
UpdateVendor(ctx context.Context, input types.UpdateVendorInput) (*types.UpdateVendorPayload, error)
|
|
DeleteVendor(ctx context.Context, input types.DeleteVendorInput) (*types.DeleteVendorPayload, error)
|
|
CreateVendorContact(ctx context.Context, input types.CreateVendorContactInput) (*types.CreateVendorContactPayload, error)
|
|
UpdateVendorContact(ctx context.Context, input types.UpdateVendorContactInput) (*types.UpdateVendorContactPayload, error)
|
|
DeleteVendorContact(ctx context.Context, input types.DeleteVendorContactInput) (*types.DeleteVendorContactPayload, error)
|
|
CreateVendorService(ctx context.Context, input types.CreateVendorServiceInput) (*types.CreateVendorServicePayload, error)
|
|
UpdateVendorService(ctx context.Context, input types.UpdateVendorServiceInput) (*types.UpdateVendorServicePayload, error)
|
|
DeleteVendorService(ctx context.Context, input types.DeleteVendorServiceInput) (*types.DeleteVendorServicePayload, error)
|
|
CreateFramework(ctx context.Context, input types.CreateFrameworkInput) (*types.CreateFrameworkPayload, error)
|
|
UpdateFramework(ctx context.Context, input types.UpdateFrameworkInput) (*types.UpdateFrameworkPayload, error)
|
|
ImportFramework(ctx context.Context, input types.ImportFrameworkInput) (*types.ImportFrameworkPayload, error)
|
|
DeleteFramework(ctx context.Context, input types.DeleteFrameworkInput) (*types.DeleteFrameworkPayload, error)
|
|
GenerateFrameworkStateOfApplicability(ctx context.Context, input types.GenerateFrameworkStateOfApplicabilityInput) (*types.GenerateFrameworkStateOfApplicabilityPayload, error)
|
|
ExportFramework(ctx context.Context, input types.ExportFrameworkInput) (*types.ExportFrameworkPayload, error)
|
|
CreateControl(ctx context.Context, input types.CreateControlInput) (*types.CreateControlPayload, error)
|
|
UpdateControl(ctx context.Context, input types.UpdateControlInput) (*types.UpdateControlPayload, error)
|
|
DeleteControl(ctx context.Context, input types.DeleteControlInput) (*types.DeleteControlPayload, error)
|
|
CreateMeasure(ctx context.Context, input types.CreateMeasureInput) (*types.CreateMeasurePayload, error)
|
|
UpdateMeasure(ctx context.Context, input types.UpdateMeasureInput) (*types.UpdateMeasurePayload, error)
|
|
ImportMeasure(ctx context.Context, input types.ImportMeasureInput) (*types.ImportMeasurePayload, error)
|
|
DeleteMeasure(ctx context.Context, input types.DeleteMeasureInput) (*types.DeleteMeasurePayload, error)
|
|
CreateControlMeasureMapping(ctx context.Context, input types.CreateControlMeasureMappingInput) (*types.CreateControlMeasureMappingPayload, error)
|
|
CreateControlDocumentMapping(ctx context.Context, input types.CreateControlDocumentMappingInput) (*types.CreateControlDocumentMappingPayload, error)
|
|
DeleteControlMeasureMapping(ctx context.Context, input types.DeleteControlMeasureMappingInput) (*types.DeleteControlMeasureMappingPayload, error)
|
|
DeleteControlDocumentMapping(ctx context.Context, input types.DeleteControlDocumentMappingInput) (*types.DeleteControlDocumentMappingPayload, error)
|
|
CreateStateOfApplicabilityControlMapping(ctx context.Context, input types.CreateStateOfApplicabilityControlMappingInput) (*types.CreateStateOfApplicabilityControlMappingPayload, error)
|
|
DeleteStateOfApplicabilityControlMapping(ctx context.Context, input types.DeleteStateOfApplicabilityControlMappingInput) (*types.DeleteStateOfApplicabilityControlMappingPayload, error)
|
|
CreateControlAuditMapping(ctx context.Context, input types.CreateControlAuditMappingInput) (*types.CreateControlAuditMappingPayload, error)
|
|
DeleteControlAuditMapping(ctx context.Context, input types.DeleteControlAuditMappingInput) (*types.DeleteControlAuditMappingPayload, error)
|
|
CreateControlObligationMapping(ctx context.Context, input types.CreateControlObligationMappingInput) (*types.CreateControlObligationMappingPayload, error)
|
|
DeleteControlObligationMapping(ctx context.Context, input types.DeleteControlObligationMappingInput) (*types.DeleteControlObligationMappingPayload, error)
|
|
CreateControlSnapshotMapping(ctx context.Context, input types.CreateControlSnapshotMappingInput) (*types.CreateControlSnapshotMappingPayload, error)
|
|
DeleteControlSnapshotMapping(ctx context.Context, input types.DeleteControlSnapshotMappingInput) (*types.DeleteControlSnapshotMappingPayload, error)
|
|
CreateTask(ctx context.Context, input types.CreateTaskInput) (*types.CreateTaskPayload, error)
|
|
UpdateTask(ctx context.Context, input types.UpdateTaskInput) (*types.UpdateTaskPayload, error)
|
|
DeleteTask(ctx context.Context, input types.DeleteTaskInput) (*types.DeleteTaskPayload, error)
|
|
CreateRisk(ctx context.Context, input types.CreateRiskInput) (*types.CreateRiskPayload, error)
|
|
UpdateRisk(ctx context.Context, input types.UpdateRiskInput) (*types.UpdateRiskPayload, error)
|
|
DeleteRisk(ctx context.Context, input types.DeleteRiskInput) (*types.DeleteRiskPayload, error)
|
|
CreateRiskMeasureMapping(ctx context.Context, input types.CreateRiskMeasureMappingInput) (*types.CreateRiskMeasureMappingPayload, error)
|
|
DeleteRiskMeasureMapping(ctx context.Context, input types.DeleteRiskMeasureMappingInput) (*types.DeleteRiskMeasureMappingPayload, error)
|
|
CreateRiskDocumentMapping(ctx context.Context, input types.CreateRiskDocumentMappingInput) (*types.CreateRiskDocumentMappingPayload, error)
|
|
DeleteRiskDocumentMapping(ctx context.Context, input types.DeleteRiskDocumentMappingInput) (*types.DeleteRiskDocumentMappingPayload, error)
|
|
CreateRiskObligationMapping(ctx context.Context, input types.CreateRiskObligationMappingInput) (*types.CreateRiskObligationMappingPayload, error)
|
|
DeleteRiskObligationMapping(ctx context.Context, input types.DeleteRiskObligationMappingInput) (*types.DeleteRiskObligationMappingPayload, error)
|
|
DeleteEvidence(ctx context.Context, input types.DeleteEvidenceInput) (*types.DeleteEvidencePayload, error)
|
|
UploadMeasureEvidence(ctx context.Context, input types.UploadMeasureEvidenceInput) (*types.UploadMeasureEvidencePayload, error)
|
|
UploadVendorComplianceReport(ctx context.Context, input types.UploadVendorComplianceReportInput) (*types.UploadVendorComplianceReportPayload, error)
|
|
DeleteVendorComplianceReport(ctx context.Context, input types.DeleteVendorComplianceReportInput) (*types.DeleteVendorComplianceReportPayload, error)
|
|
UploadVendorBusinessAssociateAgreement(ctx context.Context, input types.UploadVendorBusinessAssociateAgreementInput) (*types.UploadVendorBusinessAssociateAgreementPayload, error)
|
|
UpdateVendorBusinessAssociateAgreement(ctx context.Context, input types.UpdateVendorBusinessAssociateAgreementInput) (*types.UpdateVendorBusinessAssociateAgreementPayload, error)
|
|
DeleteVendorBusinessAssociateAgreement(ctx context.Context, input types.DeleteVendorBusinessAssociateAgreementInput) (*types.DeleteVendorBusinessAssociateAgreementPayload, error)
|
|
UploadVendorDataPrivacyAgreement(ctx context.Context, input types.UploadVendorDataPrivacyAgreementInput) (*types.UploadVendorDataPrivacyAgreementPayload, error)
|
|
UpdateVendorDataPrivacyAgreement(ctx context.Context, input types.UpdateVendorDataPrivacyAgreementInput) (*types.UpdateVendorDataPrivacyAgreementPayload, error)
|
|
DeleteVendorDataPrivacyAgreement(ctx context.Context, input types.DeleteVendorDataPrivacyAgreementInput) (*types.DeleteVendorDataPrivacyAgreementPayload, error)
|
|
CreateDocument(ctx context.Context, input types.CreateDocumentInput) (*types.CreateDocumentPayload, error)
|
|
UpdateDocument(ctx context.Context, input types.UpdateDocumentInput) (*types.UpdateDocumentPayload, error)
|
|
DeleteDocument(ctx context.Context, input types.DeleteDocumentInput) (*types.DeleteDocumentPayload, error)
|
|
CreateMeeting(ctx context.Context, input types.CreateMeetingInput) (*types.CreateMeetingPayload, error)
|
|
UpdateMeeting(ctx context.Context, input types.UpdateMeetingInput) (*types.UpdateMeetingPayload, error)
|
|
DeleteMeeting(ctx context.Context, input types.DeleteMeetingInput) (*types.DeleteMeetingPayload, error)
|
|
CreateStateOfApplicability(ctx context.Context, input types.CreateStateOfApplicabilityInput) (*types.CreateStateOfApplicabilityPayload, error)
|
|
UpdateStateOfApplicability(ctx context.Context, input types.UpdateStateOfApplicabilityInput) (*types.UpdateStateOfApplicabilityPayload, error)
|
|
DeleteStateOfApplicability(ctx context.Context, input types.DeleteStateOfApplicabilityInput) (*types.DeleteStateOfApplicabilityPayload, error)
|
|
ExportStateOfApplicabilityPDF(ctx context.Context, input types.ExportStateOfApplicabilityPDFInput) (*types.ExportStateOfApplicabilityPDFPayload, error)
|
|
PublishDocumentVersion(ctx context.Context, input types.PublishDocumentVersionInput) (*types.PublishDocumentVersionPayload, error)
|
|
BulkPublishDocumentVersions(ctx context.Context, input types.BulkPublishDocumentVersionsInput) (*types.BulkPublishDocumentVersionsPayload, error)
|
|
BulkDeleteDocuments(ctx context.Context, input types.BulkDeleteDocumentsInput) (*types.BulkDeleteDocumentsPayload, error)
|
|
BulkExportDocuments(ctx context.Context, input types.BulkExportDocumentsInput) (*types.BulkExportDocumentsPayload, error)
|
|
GenerateDocumentChangelog(ctx context.Context, input types.GenerateDocumentChangelogInput) (*types.GenerateDocumentChangelogPayload, error)
|
|
CreateDraftDocumentVersion(ctx context.Context, input types.CreateDraftDocumentVersionInput) (*types.CreateDraftDocumentVersionPayload, error)
|
|
DeleteDraftDocumentVersion(ctx context.Context, input types.DeleteDraftDocumentVersionInput) (*types.DeleteDraftDocumentVersionPayload, error)
|
|
UpdateDocumentVersion(ctx context.Context, input types.UpdateDocumentVersionInput) (*types.UpdateDocumentVersionPayload, error)
|
|
RequestSignature(ctx context.Context, input types.RequestSignatureInput) (*types.RequestSignaturePayload, error)
|
|
BulkRequestSignatures(ctx context.Context, input types.BulkRequestSignaturesInput) (*types.BulkRequestSignaturesPayload, error)
|
|
SendSigningNotifications(ctx context.Context, input types.SendSigningNotificationsInput) (*types.SendSigningNotificationsPayload, error)
|
|
CancelSignatureRequest(ctx context.Context, input types.CancelSignatureRequestInput) (*types.CancelSignatureRequestPayload, error)
|
|
SignDocument(ctx context.Context, input types.SignDocumentInput) (*types.SignDocumentPayload, error)
|
|
ExportDocumentVersionPDF(ctx context.Context, input types.ExportDocumentVersionPDFInput) (*types.ExportDocumentVersionPDFPayload, error)
|
|
ExportSignableVersionDocumentPDF(ctx context.Context, input types.ExportSignableDocumentVersionPDFInput) (*types.ExportSignableDocumentVersionPDFPayload, error)
|
|
ExportProcessingActivitiesPDF(ctx context.Context, input types.ExportProcessingActivitiesPDFInput) (*types.ExportProcessingActivitiesPDFPayload, error)
|
|
ExportDataProtectionImpactAssessmentsPDF(ctx context.Context, input types.ExportDataProtectionImpactAssessmentsPDFInput) (*types.ExportDataProtectionImpactAssessmentsPDFPayload, error)
|
|
ExportTransferImpactAssessmentsPDF(ctx context.Context, input types.ExportTransferImpactAssessmentsPDFInput) (*types.ExportTransferImpactAssessmentsPDFPayload, error)
|
|
CreateVendorRiskAssessment(ctx context.Context, input types.CreateVendorRiskAssessmentInput) (*types.CreateVendorRiskAssessmentPayload, error)
|
|
AssessVendor(ctx context.Context, input types.AssessVendorInput) (*types.AssessVendorPayload, error)
|
|
CreateAsset(ctx context.Context, input types.CreateAssetInput) (*types.CreateAssetPayload, error)
|
|
UpdateAsset(ctx context.Context, input types.UpdateAssetInput) (*types.UpdateAssetPayload, error)
|
|
DeleteAsset(ctx context.Context, input types.DeleteAssetInput) (*types.DeleteAssetPayload, error)
|
|
CreateDatum(ctx context.Context, input types.CreateDatumInput) (*types.CreateDatumPayload, error)
|
|
UpdateDatum(ctx context.Context, input types.UpdateDatumInput) (*types.UpdateDatumPayload, error)
|
|
DeleteDatum(ctx context.Context, input types.DeleteDatumInput) (*types.DeleteDatumPayload, error)
|
|
CreateAudit(ctx context.Context, input types.CreateAuditInput) (*types.CreateAuditPayload, error)
|
|
UpdateAudit(ctx context.Context, input types.UpdateAuditInput) (*types.UpdateAuditPayload, error)
|
|
DeleteAudit(ctx context.Context, input types.DeleteAuditInput) (*types.DeleteAuditPayload, error)
|
|
UploadAuditReport(ctx context.Context, input types.UploadAuditReportInput) (*types.UploadAuditReportPayload, error)
|
|
DeleteAuditReport(ctx context.Context, input types.DeleteAuditReportInput) (*types.DeleteAuditReportPayload, error)
|
|
CreateNonconformity(ctx context.Context, input types.CreateNonconformityInput) (*types.CreateNonconformityPayload, error)
|
|
UpdateNonconformity(ctx context.Context, input types.UpdateNonconformityInput) (*types.UpdateNonconformityPayload, error)
|
|
DeleteNonconformity(ctx context.Context, input types.DeleteNonconformityInput) (*types.DeleteNonconformityPayload, error)
|
|
CreateObligation(ctx context.Context, input types.CreateObligationInput) (*types.CreateObligationPayload, error)
|
|
UpdateObligation(ctx context.Context, input types.UpdateObligationInput) (*types.UpdateObligationPayload, error)
|
|
DeleteObligation(ctx context.Context, input types.DeleteObligationInput) (*types.DeleteObligationPayload, error)
|
|
CreateContinualImprovement(ctx context.Context, input types.CreateContinualImprovementInput) (*types.CreateContinualImprovementPayload, error)
|
|
UpdateContinualImprovement(ctx context.Context, input types.UpdateContinualImprovementInput) (*types.UpdateContinualImprovementPayload, error)
|
|
DeleteContinualImprovement(ctx context.Context, input types.DeleteContinualImprovementInput) (*types.DeleteContinualImprovementPayload, error)
|
|
CreateRightsRequest(ctx context.Context, input types.CreateRightsRequestInput) (*types.CreateRightsRequestPayload, error)
|
|
UpdateRightsRequest(ctx context.Context, input types.UpdateRightsRequestInput) (*types.UpdateRightsRequestPayload, error)
|
|
DeleteRightsRequest(ctx context.Context, input types.DeleteRightsRequestInput) (*types.DeleteRightsRequestPayload, error)
|
|
CreateProcessingActivity(ctx context.Context, input types.CreateProcessingActivityInput) (*types.CreateProcessingActivityPayload, error)
|
|
UpdateProcessingActivity(ctx context.Context, input types.UpdateProcessingActivityInput) (*types.UpdateProcessingActivityPayload, error)
|
|
DeleteProcessingActivity(ctx context.Context, input types.DeleteProcessingActivityInput) (*types.DeleteProcessingActivityPayload, error)
|
|
CreateDataProtectionImpactAssessment(ctx context.Context, input types.CreateDataProtectionImpactAssessmentInput) (*types.CreateDataProtectionImpactAssessmentPayload, error)
|
|
UpdateDataProtectionImpactAssessment(ctx context.Context, input types.UpdateDataProtectionImpactAssessmentInput) (*types.UpdateDataProtectionImpactAssessmentPayload, error)
|
|
DeleteDataProtectionImpactAssessment(ctx context.Context, input types.DeleteDataProtectionImpactAssessmentInput) (*types.DeleteDataProtectionImpactAssessmentPayload, error)
|
|
CreateTransferImpactAssessment(ctx context.Context, input types.CreateTransferImpactAssessmentInput) (*types.CreateTransferImpactAssessmentPayload, error)
|
|
UpdateTransferImpactAssessment(ctx context.Context, input types.UpdateTransferImpactAssessmentInput) (*types.UpdateTransferImpactAssessmentPayload, error)
|
|
DeleteTransferImpactAssessment(ctx context.Context, input types.DeleteTransferImpactAssessmentInput) (*types.DeleteTransferImpactAssessmentPayload, error)
|
|
CreateSnapshot(ctx context.Context, input types.CreateSnapshotInput) (*types.CreateSnapshotPayload, error)
|
|
DeleteSnapshot(ctx context.Context, input types.DeleteSnapshotInput) (*types.DeleteSnapshotPayload, error)
|
|
CreateCustomDomain(ctx context.Context, input types.CreateCustomDomainInput) (*types.CreateCustomDomainPayload, error)
|
|
DeleteCustomDomain(ctx context.Context, input types.DeleteCustomDomainInput) (*types.DeleteCustomDomainPayload, error)
|
|
}
|
|
type NonconformityResolver interface {
|
|
Organization(ctx context.Context, obj *types.Nonconformity) (*types.Organization, error)
|
|
|
|
Audit(ctx context.Context, obj *types.Nonconformity) (*types.Audit, error)
|
|
|
|
Owner(ctx context.Context, obj *types.Nonconformity) (*types.People, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Nonconformity, action string) (bool, error)
|
|
}
|
|
type NonconformityConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.NonconformityConnection) (int, error)
|
|
}
|
|
type ObligationResolver interface {
|
|
Organization(ctx context.Context, obj *types.Obligation) (*types.Organization, error)
|
|
|
|
Owner(ctx context.Context, obj *types.Obligation) (*types.People, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Obligation, action string) (bool, error)
|
|
}
|
|
type ObligationConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.ObligationConnection) (int, error)
|
|
}
|
|
type OrganizationResolver interface {
|
|
LogoURL(ctx context.Context, obj *types.Organization) (*string, error)
|
|
HorizontalLogoURL(ctx context.Context, obj *types.Organization) (*string, error)
|
|
|
|
Context(ctx context.Context, obj *types.Organization) (*types.OrganizationContext, error)
|
|
SlackConnections(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey) (*types.SlackConnectionConnection, error)
|
|
Frameworks(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.FrameworkOrderBy) (*types.FrameworkConnection, error)
|
|
Controls(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) (*types.ControlConnection, error)
|
|
Vendors(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorOrderBy, filter *types.VendorFilter) (*types.VendorConnection, error)
|
|
Peoples(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.PeopleOrderBy, filter *types.PeopleFilter) (*types.PeopleConnection, error)
|
|
Documents(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DocumentOrderBy, filter *types.DocumentFilter) (*types.DocumentConnection, error)
|
|
Meetings(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.MeetingOrderBy) (*types.MeetingConnection, error)
|
|
StatesOfApplicability(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.StateOfApplicabilityOrderBy, filter *types.StateOfApplicabilityFilter) (*types.StateOfApplicabilityConnection, error)
|
|
Measures(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.MeasureOrderBy, filter *types.MeasureFilter) (*types.MeasureConnection, error)
|
|
Risks(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.RiskOrderBy, filter *types.RiskFilter) (*types.RiskConnection, error)
|
|
Tasks(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.TaskOrderBy) (*types.TaskConnection, error)
|
|
Assets(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.AssetOrderBy, filter *types.AssetFilter) (*types.AssetConnection, error)
|
|
Data(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DatumOrderBy, filter *types.DatumFilter) (*types.DatumConnection, error)
|
|
Audits(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.AuditOrderBy) (*types.AuditConnection, error)
|
|
Nonconformities(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.NonconformityOrderBy, filter *types.NonconformityFilter) (*types.NonconformityConnection, error)
|
|
Obligations(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ObligationOrderBy, filter *types.ObligationFilter) (*types.ObligationConnection, error)
|
|
ContinualImprovements(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ContinualImprovementOrderBy, filter *types.ContinualImprovementFilter) (*types.ContinualImprovementConnection, error)
|
|
RightsRequests(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.RightsRequestOrderBy) (*types.RightsRequestConnection, error)
|
|
ProcessingActivities(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ProcessingActivityOrderBy, filter *types.ProcessingActivityFilter) (*types.ProcessingActivityConnection, error)
|
|
DataProtectionImpactAssessments(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DataProtectionImpactAssessmentOrderBy, filter *types.DataProtectionImpactAssessmentFilter) (*types.DataProtectionImpactAssessmentConnection, error)
|
|
TransferImpactAssessments(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.TransferImpactAssessmentOrderBy, filter *types.TransferImpactAssessmentFilter) (*types.TransferImpactAssessmentConnection, error)
|
|
Snapshots(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.SnapshotOrderBy) (*types.SnapshotConnection, error)
|
|
TrustCenterFiles(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.OrderBy[coredata.TrustCenterFileOrderField]) (*types.TrustCenterFileConnection, error)
|
|
TrustCenter(ctx context.Context, obj *types.Organization) (*types.TrustCenter, error)
|
|
CustomDomain(ctx context.Context, obj *types.Organization) (*types.CustomDomain, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Organization, action string) (bool, error)
|
|
}
|
|
type PeopleResolver interface {
|
|
Permission(ctx context.Context, obj *types.People, action string) (bool, error)
|
|
}
|
|
type PeopleConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.PeopleConnection) (int, error)
|
|
}
|
|
type ProcessingActivityResolver interface {
|
|
Organization(ctx context.Context, obj *types.ProcessingActivity) (*types.Organization, error)
|
|
|
|
DataProtectionOfficer(ctx context.Context, obj *types.ProcessingActivity) (*types.People, error)
|
|
Vendors(ctx context.Context, obj *types.ProcessingActivity, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorOrderBy) (*types.VendorConnection, error)
|
|
DataProtectionImpactAssessment(ctx context.Context, obj *types.ProcessingActivity) (*types.DataProtectionImpactAssessment, error)
|
|
TransferImpactAssessment(ctx context.Context, obj *types.ProcessingActivity) (*types.TransferImpactAssessment, error)
|
|
|
|
Permission(ctx context.Context, obj *types.ProcessingActivity, action string) (bool, error)
|
|
}
|
|
type ProcessingActivityConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.ProcessingActivityConnection) (int, error)
|
|
}
|
|
type QueryResolver interface {
|
|
Node(ctx context.Context, id gid.GID) (types.Node, error)
|
|
Viewer(ctx context.Context) (*types.Viewer, error)
|
|
}
|
|
type ReportResolver interface {
|
|
DownloadURL(ctx context.Context, obj *types.Report) (*string, error)
|
|
|
|
Audit(ctx context.Context, obj *types.Report) (*types.Audit, error)
|
|
Permission(ctx context.Context, obj *types.Report, action string) (bool, error)
|
|
}
|
|
type RightsRequestResolver interface {
|
|
Organization(ctx context.Context, obj *types.RightsRequest) (*types.Organization, error)
|
|
|
|
Permission(ctx context.Context, obj *types.RightsRequest, action string) (bool, error)
|
|
}
|
|
type RightsRequestConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.RightsRequestConnection) (int, error)
|
|
}
|
|
type RiskResolver interface {
|
|
Owner(ctx context.Context, obj *types.Risk) (*types.People, error)
|
|
Organization(ctx context.Context, obj *types.Risk) (*types.Organization, error)
|
|
Measures(ctx context.Context, obj *types.Risk, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.MeasureOrderBy, filter *types.MeasureFilter) (*types.MeasureConnection, error)
|
|
Documents(ctx context.Context, obj *types.Risk, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DocumentOrderBy, filter *types.DocumentFilter) (*types.DocumentConnection, error)
|
|
Controls(ctx context.Context, obj *types.Risk, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) (*types.ControlConnection, error)
|
|
Obligations(ctx context.Context, obj *types.Risk, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ObligationOrderBy, filter *types.ObligationFilter) (*types.ObligationConnection, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Risk, action string) (bool, error)
|
|
}
|
|
type RiskConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.RiskConnection) (int, error)
|
|
}
|
|
type SignableDocumentResolver interface {
|
|
Signed(ctx context.Context, obj *types.SignableDocument) (bool, error)
|
|
Versions(ctx context.Context, obj *types.SignableDocument, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DocumentVersionOrderBy, filter *types.DocumentVersionFilter) (*types.DocumentVersionConnection, error)
|
|
}
|
|
type SnapshotResolver interface {
|
|
Organization(ctx context.Context, obj *types.Snapshot) (*types.Organization, error)
|
|
|
|
Controls(ctx context.Context, obj *types.Snapshot, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) (*types.ControlConnection, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Snapshot, action string) (bool, error)
|
|
}
|
|
type SnapshotConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.SnapshotConnection) (int, error)
|
|
}
|
|
type StateOfApplicabilityResolver interface {
|
|
Organization(ctx context.Context, obj *types.StateOfApplicability) (*types.Organization, error)
|
|
Owner(ctx context.Context, obj *types.StateOfApplicability) (*types.People, error)
|
|
|
|
Controls(ctx context.Context, obj *types.StateOfApplicability, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ControlOrderBy, filter *types.ControlFilter) (*types.ControlConnection, error)
|
|
AvailableControls(ctx context.Context, obj *types.StateOfApplicability) ([]*types.AvailableStateOfApplicabilityControl, error)
|
|
Permission(ctx context.Context, obj *types.StateOfApplicability, action string) (bool, error)
|
|
}
|
|
type StateOfApplicabilityConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.StateOfApplicabilityConnection) (int, error)
|
|
}
|
|
type StateOfApplicabilityControlResolver interface {
|
|
StateOfApplicability(ctx context.Context, obj *types.StateOfApplicabilityControl) (*types.StateOfApplicability, error)
|
|
}
|
|
type TaskResolver interface {
|
|
AssignedTo(ctx context.Context, obj *types.Task) (*types.People, error)
|
|
Organization(ctx context.Context, obj *types.Task) (*types.Organization, error)
|
|
Measure(ctx context.Context, obj *types.Task) (*types.Measure, error)
|
|
Evidences(ctx context.Context, obj *types.Task, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.EvidenceOrderBy) (*types.EvidenceConnection, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Task, action string) (bool, error)
|
|
}
|
|
type TaskConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.TaskConnection) (int, error)
|
|
}
|
|
type TransferImpactAssessmentResolver interface {
|
|
ProcessingActivity(ctx context.Context, obj *types.TransferImpactAssessment) (*types.ProcessingActivity, error)
|
|
Organization(ctx context.Context, obj *types.TransferImpactAssessment) (*types.Organization, error)
|
|
|
|
Permission(ctx context.Context, obj *types.TransferImpactAssessment, action string) (bool, error)
|
|
}
|
|
type TransferImpactAssessmentConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.TransferImpactAssessmentConnection) (int, error)
|
|
}
|
|
type TrustCenterResolver interface {
|
|
NdaFileURL(ctx context.Context, obj *types.TrustCenter) (*string, error)
|
|
|
|
Organization(ctx context.Context, obj *types.TrustCenter) (*types.Organization, error)
|
|
Accesses(ctx context.Context, obj *types.TrustCenter, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.OrderBy[coredata.TrustCenterAccessOrderField]) (*types.TrustCenterAccessConnection, error)
|
|
References(ctx context.Context, obj *types.TrustCenter, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.OrderBy[coredata.TrustCenterReferenceOrderField]) (*types.TrustCenterReferenceConnection, error)
|
|
Permission(ctx context.Context, obj *types.TrustCenter, action string) (bool, error)
|
|
}
|
|
type TrustCenterAccessResolver interface {
|
|
PendingRequestCount(ctx context.Context, obj *types.TrustCenterAccess) (int, error)
|
|
ActiveCount(ctx context.Context, obj *types.TrustCenterAccess) (int, error)
|
|
AvailableDocumentAccesses(ctx context.Context, obj *types.TrustCenterAccess, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.OrderBy[coredata.TrustCenterDocumentAccessOrderField]) (*types.TrustCenterDocumentAccessConnection, error)
|
|
Permission(ctx context.Context, obj *types.TrustCenterAccess, action string) (bool, error)
|
|
}
|
|
type TrustCenterDocumentAccessResolver interface {
|
|
Document(ctx context.Context, obj *types.TrustCenterDocumentAccess) (*types.Document, error)
|
|
Report(ctx context.Context, obj *types.TrustCenterDocumentAccess) (*types.Report, error)
|
|
TrustCenterFile(ctx context.Context, obj *types.TrustCenterDocumentAccess) (*types.TrustCenterFile, error)
|
|
}
|
|
type TrustCenterDocumentAccessConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.TrustCenterDocumentAccessConnection) (int, error)
|
|
}
|
|
type TrustCenterFileResolver interface {
|
|
FileURL(ctx context.Context, obj *types.TrustCenterFile) (string, error)
|
|
|
|
Organization(ctx context.Context, obj *types.TrustCenterFile) (*types.Organization, error)
|
|
Permission(ctx context.Context, obj *types.TrustCenterFile, action string) (bool, error)
|
|
}
|
|
type TrustCenterFileConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.TrustCenterFileConnection) (int, error)
|
|
}
|
|
type TrustCenterReferenceResolver interface {
|
|
LogoURL(ctx context.Context, obj *types.TrustCenterReference) (string, error)
|
|
|
|
Permission(ctx context.Context, obj *types.TrustCenterReference, action string) (bool, error)
|
|
}
|
|
type TrustCenterReferenceConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.TrustCenterReferenceConnection) (int, error)
|
|
}
|
|
type VendorResolver interface {
|
|
Organization(ctx context.Context, obj *types.Vendor) (*types.Organization, error)
|
|
ComplianceReports(ctx context.Context, obj *types.Vendor, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorComplianceReportOrderBy) (*types.VendorComplianceReportConnection, error)
|
|
BusinessAssociateAgreement(ctx context.Context, obj *types.Vendor) (*types.VendorBusinessAssociateAgreement, error)
|
|
DataPrivacyAgreement(ctx context.Context, obj *types.Vendor) (*types.VendorDataPrivacyAgreement, error)
|
|
Contacts(ctx context.Context, obj *types.Vendor, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorContactOrderBy) (*types.VendorContactConnection, error)
|
|
Services(ctx context.Context, obj *types.Vendor, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorServiceOrderBy) (*types.VendorServiceConnection, error)
|
|
RiskAssessments(ctx context.Context, obj *types.Vendor, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.VendorRiskAssessmentOrder) (*types.VendorRiskAssessmentConnection, error)
|
|
BusinessOwner(ctx context.Context, obj *types.Vendor) (*types.People, error)
|
|
SecurityOwner(ctx context.Context, obj *types.Vendor) (*types.People, error)
|
|
|
|
Permission(ctx context.Context, obj *types.Vendor, action string) (bool, error)
|
|
}
|
|
type VendorBusinessAssociateAgreementResolver interface {
|
|
Vendor(ctx context.Context, obj *types.VendorBusinessAssociateAgreement) (*types.Vendor, error)
|
|
|
|
FileURL(ctx context.Context, obj *types.VendorBusinessAssociateAgreement) (string, error)
|
|
|
|
Permission(ctx context.Context, obj *types.VendorBusinessAssociateAgreement, action string) (bool, error)
|
|
}
|
|
type VendorComplianceReportResolver interface {
|
|
Vendor(ctx context.Context, obj *types.VendorComplianceReport) (*types.Vendor, error)
|
|
|
|
File(ctx context.Context, obj *types.VendorComplianceReport) (*types.File, error)
|
|
|
|
Permission(ctx context.Context, obj *types.VendorComplianceReport, action string) (bool, error)
|
|
}
|
|
type VendorConnectionResolver interface {
|
|
TotalCount(ctx context.Context, obj *types.VendorConnection) (int, error)
|
|
}
|
|
type VendorContactResolver interface {
|
|
Vendor(ctx context.Context, obj *types.VendorContact) (*types.Vendor, error)
|
|
|
|
Permission(ctx context.Context, obj *types.VendorContact, action string) (bool, error)
|
|
}
|
|
type VendorDataPrivacyAgreementResolver interface {
|
|
Vendor(ctx context.Context, obj *types.VendorDataPrivacyAgreement) (*types.Vendor, error)
|
|
|
|
FileURL(ctx context.Context, obj *types.VendorDataPrivacyAgreement) (string, error)
|
|
|
|
Permission(ctx context.Context, obj *types.VendorDataPrivacyAgreement, action string) (bool, error)
|
|
}
|
|
type VendorRiskAssessmentResolver interface {
|
|
Vendor(ctx context.Context, obj *types.VendorRiskAssessment) (*types.Vendor, error)
|
|
|
|
Permission(ctx context.Context, obj *types.VendorRiskAssessment, action string) (bool, error)
|
|
}
|
|
type VendorServiceResolver interface {
|
|
Vendor(ctx context.Context, obj *types.VendorService) (*types.Vendor, error)
|
|
|
|
Permission(ctx context.Context, obj *types.VendorService, action string) (bool, error)
|
|
}
|
|
type ViewerResolver interface {
|
|
SignableDocuments(ctx context.Context, obj *types.Viewer, organizationID gid.GID, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.DocumentOrderBy) (*types.SignableDocumentConnection, error)
|
|
SignableDocument(ctx context.Context, obj *types.Viewer, id gid.GID) (*types.SignableDocument, error)
|
|
}
|
|
|
|
type executableSchema struct {
|
|
schema *ast.Schema
|
|
resolvers ResolverRoot
|
|
directives DirectiveRoot
|
|
complexity ComplexityRoot
|
|
}
|
|
|
|
func (e *executableSchema) Schema() *ast.Schema {
|
|
if e.schema != nil {
|
|
return e.schema
|
|
}
|
|
return parsedSchema
|
|
}
|
|
|
|
func (e *executableSchema) Complexity(ctx context.Context, typeName, field string, childComplexity int, rawArgs map[string]any) (int, bool) {
|
|
ec := executionContext{nil, e, 0, 0, nil}
|
|
_ = ec
|
|
switch typeName + "." + field {
|
|
|
|
case "AssessVendorPayload.vendor":
|
|
if e.complexity.AssessVendorPayload.Vendor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AssessVendorPayload.Vendor(childComplexity), true
|
|
|
|
case "Asset.amount":
|
|
if e.complexity.Asset.Amount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Asset.Amount(childComplexity), true
|
|
case "Asset.assetType":
|
|
if e.complexity.Asset.AssetType == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Asset.AssetType(childComplexity), true
|
|
case "Asset.createdAt":
|
|
if e.complexity.Asset.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Asset.CreatedAt(childComplexity), true
|
|
case "Asset.dataTypesStored":
|
|
if e.complexity.Asset.DataTypesStored == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Asset.DataTypesStored(childComplexity), true
|
|
case "Asset.id":
|
|
if e.complexity.Asset.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Asset.ID(childComplexity), true
|
|
case "Asset.name":
|
|
if e.complexity.Asset.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Asset.Name(childComplexity), true
|
|
case "Asset.organization":
|
|
if e.complexity.Asset.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Asset.Organization(childComplexity), true
|
|
case "Asset.owner":
|
|
if e.complexity.Asset.Owner == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Asset.Owner(childComplexity), true
|
|
case "Asset.permission":
|
|
if e.complexity.Asset.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Asset_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Asset.Permission(childComplexity, args["action"].(string)), true
|
|
case "Asset.snapshotId":
|
|
if e.complexity.Asset.SnapshotID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Asset.SnapshotID(childComplexity), true
|
|
case "Asset.updatedAt":
|
|
if e.complexity.Asset.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Asset.UpdatedAt(childComplexity), true
|
|
case "Asset.vendors":
|
|
if e.complexity.Asset.Vendors == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Asset_vendors_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Asset.Vendors(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.VendorOrderBy)), true
|
|
|
|
case "AssetConnection.edges":
|
|
if e.complexity.AssetConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AssetConnection.Edges(childComplexity), true
|
|
case "AssetConnection.pageInfo":
|
|
if e.complexity.AssetConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AssetConnection.PageInfo(childComplexity), true
|
|
case "AssetConnection.totalCount":
|
|
if e.complexity.AssetConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AssetConnection.TotalCount(childComplexity), true
|
|
|
|
case "AssetEdge.cursor":
|
|
if e.complexity.AssetEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AssetEdge.Cursor(childComplexity), true
|
|
case "AssetEdge.node":
|
|
if e.complexity.AssetEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AssetEdge.Node(childComplexity), true
|
|
|
|
case "Audit.controls":
|
|
if e.complexity.Audit.Controls == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Audit_controls_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Audit.Controls(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.ControlOrderBy), args["filter"].(*types.ControlFilter)), true
|
|
case "Audit.createdAt":
|
|
if e.complexity.Audit.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Audit.CreatedAt(childComplexity), true
|
|
case "Audit.framework":
|
|
if e.complexity.Audit.Framework == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Audit.Framework(childComplexity), true
|
|
case "Audit.id":
|
|
if e.complexity.Audit.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Audit.ID(childComplexity), true
|
|
case "Audit.name":
|
|
if e.complexity.Audit.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Audit.Name(childComplexity), true
|
|
case "Audit.organization":
|
|
if e.complexity.Audit.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Audit.Organization(childComplexity), true
|
|
case "Audit.permission":
|
|
if e.complexity.Audit.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Audit_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Audit.Permission(childComplexity, args["action"].(string)), true
|
|
case "Audit.report":
|
|
if e.complexity.Audit.Report == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Audit.Report(childComplexity), true
|
|
case "Audit.reportUrl":
|
|
if e.complexity.Audit.ReportURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Audit.ReportURL(childComplexity), true
|
|
case "Audit.state":
|
|
if e.complexity.Audit.State == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Audit.State(childComplexity), true
|
|
case "Audit.trustCenterVisibility":
|
|
if e.complexity.Audit.TrustCenterVisibility == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Audit.TrustCenterVisibility(childComplexity), true
|
|
case "Audit.updatedAt":
|
|
if e.complexity.Audit.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Audit.UpdatedAt(childComplexity), true
|
|
case "Audit.validFrom":
|
|
if e.complexity.Audit.ValidFrom == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Audit.ValidFrom(childComplexity), true
|
|
case "Audit.validUntil":
|
|
if e.complexity.Audit.ValidUntil == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Audit.ValidUntil(childComplexity), true
|
|
|
|
case "AuditConnection.edges":
|
|
if e.complexity.AuditConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AuditConnection.Edges(childComplexity), true
|
|
case "AuditConnection.pageInfo":
|
|
if e.complexity.AuditConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AuditConnection.PageInfo(childComplexity), true
|
|
case "AuditConnection.totalCount":
|
|
if e.complexity.AuditConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AuditConnection.TotalCount(childComplexity), true
|
|
|
|
case "AuditEdge.cursor":
|
|
if e.complexity.AuditEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AuditEdge.Cursor(childComplexity), true
|
|
case "AuditEdge.node":
|
|
if e.complexity.AuditEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AuditEdge.Node(childComplexity), true
|
|
|
|
case "AvailableStateOfApplicabilityControl.applicability":
|
|
if e.complexity.AvailableStateOfApplicabilityControl.Applicability == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AvailableStateOfApplicabilityControl.Applicability(childComplexity), true
|
|
case "AvailableStateOfApplicabilityControl.bestPractice":
|
|
if e.complexity.AvailableStateOfApplicabilityControl.BestPractice == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AvailableStateOfApplicabilityControl.BestPractice(childComplexity), true
|
|
case "AvailableStateOfApplicabilityControl.contractual":
|
|
if e.complexity.AvailableStateOfApplicabilityControl.Contractual == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AvailableStateOfApplicabilityControl.Contractual(childComplexity), true
|
|
case "AvailableStateOfApplicabilityControl.controlId":
|
|
if e.complexity.AvailableStateOfApplicabilityControl.ControlID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AvailableStateOfApplicabilityControl.ControlID(childComplexity), true
|
|
case "AvailableStateOfApplicabilityControl.frameworkId":
|
|
if e.complexity.AvailableStateOfApplicabilityControl.FrameworkID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AvailableStateOfApplicabilityControl.FrameworkID(childComplexity), true
|
|
case "AvailableStateOfApplicabilityControl.frameworkName":
|
|
if e.complexity.AvailableStateOfApplicabilityControl.FrameworkName == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AvailableStateOfApplicabilityControl.FrameworkName(childComplexity), true
|
|
case "AvailableStateOfApplicabilityControl.justification":
|
|
if e.complexity.AvailableStateOfApplicabilityControl.Justification == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AvailableStateOfApplicabilityControl.Justification(childComplexity), true
|
|
case "AvailableStateOfApplicabilityControl.name":
|
|
if e.complexity.AvailableStateOfApplicabilityControl.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AvailableStateOfApplicabilityControl.Name(childComplexity), true
|
|
case "AvailableStateOfApplicabilityControl.organizationId":
|
|
if e.complexity.AvailableStateOfApplicabilityControl.OrganizationID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AvailableStateOfApplicabilityControl.OrganizationID(childComplexity), true
|
|
case "AvailableStateOfApplicabilityControl.regulatory":
|
|
if e.complexity.AvailableStateOfApplicabilityControl.Regulatory == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AvailableStateOfApplicabilityControl.Regulatory(childComplexity), true
|
|
case "AvailableStateOfApplicabilityControl.riskAssessment":
|
|
if e.complexity.AvailableStateOfApplicabilityControl.RiskAssessment == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AvailableStateOfApplicabilityControl.RiskAssessment(childComplexity), true
|
|
case "AvailableStateOfApplicabilityControl.sectionTitle":
|
|
if e.complexity.AvailableStateOfApplicabilityControl.SectionTitle == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AvailableStateOfApplicabilityControl.SectionTitle(childComplexity), true
|
|
case "AvailableStateOfApplicabilityControl.stateOfApplicabilityId":
|
|
if e.complexity.AvailableStateOfApplicabilityControl.StateOfApplicabilityID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.AvailableStateOfApplicabilityControl.StateOfApplicabilityID(childComplexity), true
|
|
|
|
case "BulkDeleteDocumentsPayload.deletedDocumentIds":
|
|
if e.complexity.BulkDeleteDocumentsPayload.DeletedDocumentIds == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.BulkDeleteDocumentsPayload.DeletedDocumentIds(childComplexity), true
|
|
|
|
case "BulkExportDocumentsPayload.exportJobId":
|
|
if e.complexity.BulkExportDocumentsPayload.ExportJobID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.BulkExportDocumentsPayload.ExportJobID(childComplexity), true
|
|
|
|
case "BulkPublishDocumentVersionsPayload.documentEdges":
|
|
if e.complexity.BulkPublishDocumentVersionsPayload.DocumentEdges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.BulkPublishDocumentVersionsPayload.DocumentEdges(childComplexity), true
|
|
case "BulkPublishDocumentVersionsPayload.documentVersionEdges":
|
|
if e.complexity.BulkPublishDocumentVersionsPayload.DocumentVersionEdges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.BulkPublishDocumentVersionsPayload.DocumentVersionEdges(childComplexity), true
|
|
|
|
case "BulkRequestSignaturesPayload.documentVersionSignatureEdges":
|
|
if e.complexity.BulkRequestSignaturesPayload.DocumentVersionSignatureEdges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.BulkRequestSignaturesPayload.DocumentVersionSignatureEdges(childComplexity), true
|
|
|
|
case "CancelSignatureRequestPayload.deletedDocumentVersionSignatureId":
|
|
if e.complexity.CancelSignatureRequestPayload.DeletedDocumentVersionSignatureID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CancelSignatureRequestPayload.DeletedDocumentVersionSignatureID(childComplexity), true
|
|
|
|
case "ContinualImprovement.createdAt":
|
|
if e.complexity.ContinualImprovement.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovement.CreatedAt(childComplexity), true
|
|
case "ContinualImprovement.description":
|
|
if e.complexity.ContinualImprovement.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovement.Description(childComplexity), true
|
|
case "ContinualImprovement.id":
|
|
if e.complexity.ContinualImprovement.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovement.ID(childComplexity), true
|
|
case "ContinualImprovement.organization":
|
|
if e.complexity.ContinualImprovement.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovement.Organization(childComplexity), true
|
|
case "ContinualImprovement.owner":
|
|
if e.complexity.ContinualImprovement.Owner == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovement.Owner(childComplexity), true
|
|
case "ContinualImprovement.permission":
|
|
if e.complexity.ContinualImprovement.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_ContinualImprovement_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.ContinualImprovement.Permission(childComplexity, args["action"].(string)), true
|
|
case "ContinualImprovement.priority":
|
|
if e.complexity.ContinualImprovement.Priority == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovement.Priority(childComplexity), true
|
|
case "ContinualImprovement.referenceId":
|
|
if e.complexity.ContinualImprovement.ReferenceID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovement.ReferenceID(childComplexity), true
|
|
case "ContinualImprovement.snapshotId":
|
|
if e.complexity.ContinualImprovement.SnapshotID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovement.SnapshotID(childComplexity), true
|
|
case "ContinualImprovement.source":
|
|
if e.complexity.ContinualImprovement.Source == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovement.Source(childComplexity), true
|
|
case "ContinualImprovement.sourceId":
|
|
if e.complexity.ContinualImprovement.SourceID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovement.SourceID(childComplexity), true
|
|
case "ContinualImprovement.status":
|
|
if e.complexity.ContinualImprovement.Status == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovement.Status(childComplexity), true
|
|
case "ContinualImprovement.targetDate":
|
|
if e.complexity.ContinualImprovement.TargetDate == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovement.TargetDate(childComplexity), true
|
|
case "ContinualImprovement.updatedAt":
|
|
if e.complexity.ContinualImprovement.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovement.UpdatedAt(childComplexity), true
|
|
|
|
case "ContinualImprovementConnection.edges":
|
|
if e.complexity.ContinualImprovementConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovementConnection.Edges(childComplexity), true
|
|
case "ContinualImprovementConnection.pageInfo":
|
|
if e.complexity.ContinualImprovementConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovementConnection.PageInfo(childComplexity), true
|
|
case "ContinualImprovementConnection.totalCount":
|
|
if e.complexity.ContinualImprovementConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovementConnection.TotalCount(childComplexity), true
|
|
|
|
case "ContinualImprovementEdge.cursor":
|
|
if e.complexity.ContinualImprovementEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovementEdge.Cursor(childComplexity), true
|
|
case "ContinualImprovementEdge.node":
|
|
if e.complexity.ContinualImprovementEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ContinualImprovementEdge.Node(childComplexity), true
|
|
|
|
case "Control.audits":
|
|
if e.complexity.Control.Audits == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Control_audits_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Control.Audits(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.AuditOrderBy)), true
|
|
case "Control.bestPractice":
|
|
if e.complexity.Control.BestPractice == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Control.BestPractice(childComplexity), true
|
|
case "Control.createdAt":
|
|
if e.complexity.Control.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Control.CreatedAt(childComplexity), true
|
|
case "Control.description":
|
|
if e.complexity.Control.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Control.Description(childComplexity), true
|
|
case "Control.documents":
|
|
if e.complexity.Control.Documents == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Control_documents_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Control.Documents(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.DocumentOrderBy), args["filter"].(*types.DocumentFilter)), true
|
|
case "Control.exclusionJustification":
|
|
if e.complexity.Control.ExclusionJustification == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Control.ExclusionJustification(childComplexity), true
|
|
case "Control.framework":
|
|
if e.complexity.Control.Framework == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Control.Framework(childComplexity), true
|
|
case "Control.id":
|
|
if e.complexity.Control.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Control.ID(childComplexity), true
|
|
case "Control.measures":
|
|
if e.complexity.Control.Measures == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Control_measures_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Control.Measures(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.MeasureOrderBy), args["filter"].(*types.MeasureFilter)), true
|
|
case "Control.name":
|
|
if e.complexity.Control.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Control.Name(childComplexity), true
|
|
case "Control.obligations":
|
|
if e.complexity.Control.Obligations == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Control_obligations_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Control.Obligations(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.ObligationOrderBy), args["filter"].(*types.ObligationFilter)), true
|
|
case "Control.organization":
|
|
if e.complexity.Control.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Control.Organization(childComplexity), true
|
|
case "Control.permission":
|
|
if e.complexity.Control.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Control_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Control.Permission(childComplexity, args["action"].(string)), true
|
|
case "Control.sectionTitle":
|
|
if e.complexity.Control.SectionTitle == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Control.SectionTitle(childComplexity), true
|
|
case "Control.snapshots":
|
|
if e.complexity.Control.Snapshots == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Control_snapshots_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Control.Snapshots(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.SnapshotOrderBy)), true
|
|
case "Control.stateOfApplicabilityControls":
|
|
if e.complexity.Control.StateOfApplicabilityControls == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Control_stateOfApplicabilityControls_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Control.StateOfApplicabilityControls(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.StateOfApplicabilityOrderBy)), true
|
|
case "Control.status":
|
|
if e.complexity.Control.Status == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Control.Status(childComplexity), true
|
|
case "Control.updatedAt":
|
|
if e.complexity.Control.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Control.UpdatedAt(childComplexity), true
|
|
|
|
case "ControlConnection.edges":
|
|
if e.complexity.ControlConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ControlConnection.Edges(childComplexity), true
|
|
case "ControlConnection.pageInfo":
|
|
if e.complexity.ControlConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ControlConnection.PageInfo(childComplexity), true
|
|
case "ControlConnection.totalCount":
|
|
if e.complexity.ControlConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ControlConnection.TotalCount(childComplexity), true
|
|
|
|
case "ControlEdge.cursor":
|
|
if e.complexity.ControlEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ControlEdge.Cursor(childComplexity), true
|
|
case "ControlEdge.node":
|
|
if e.complexity.ControlEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ControlEdge.Node(childComplexity), true
|
|
|
|
case "CreateAssetPayload.assetEdge":
|
|
if e.complexity.CreateAssetPayload.AssetEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateAssetPayload.AssetEdge(childComplexity), true
|
|
|
|
case "CreateAuditPayload.auditEdge":
|
|
if e.complexity.CreateAuditPayload.AuditEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateAuditPayload.AuditEdge(childComplexity), true
|
|
|
|
case "CreateContinualImprovementPayload.continualImprovementEdge":
|
|
if e.complexity.CreateContinualImprovementPayload.ContinualImprovementEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateContinualImprovementPayload.ContinualImprovementEdge(childComplexity), true
|
|
|
|
case "CreateControlAuditMappingPayload.auditEdge":
|
|
if e.complexity.CreateControlAuditMappingPayload.AuditEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateControlAuditMappingPayload.AuditEdge(childComplexity), true
|
|
case "CreateControlAuditMappingPayload.controlEdge":
|
|
if e.complexity.CreateControlAuditMappingPayload.ControlEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateControlAuditMappingPayload.ControlEdge(childComplexity), true
|
|
|
|
case "CreateControlDocumentMappingPayload.controlEdge":
|
|
if e.complexity.CreateControlDocumentMappingPayload.ControlEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateControlDocumentMappingPayload.ControlEdge(childComplexity), true
|
|
case "CreateControlDocumentMappingPayload.documentEdge":
|
|
if e.complexity.CreateControlDocumentMappingPayload.DocumentEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateControlDocumentMappingPayload.DocumentEdge(childComplexity), true
|
|
|
|
case "CreateControlMeasureMappingPayload.controlEdge":
|
|
if e.complexity.CreateControlMeasureMappingPayload.ControlEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateControlMeasureMappingPayload.ControlEdge(childComplexity), true
|
|
case "CreateControlMeasureMappingPayload.measureEdge":
|
|
if e.complexity.CreateControlMeasureMappingPayload.MeasureEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateControlMeasureMappingPayload.MeasureEdge(childComplexity), true
|
|
|
|
case "CreateControlObligationMappingPayload.controlEdge":
|
|
if e.complexity.CreateControlObligationMappingPayload.ControlEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateControlObligationMappingPayload.ControlEdge(childComplexity), true
|
|
case "CreateControlObligationMappingPayload.obligationEdge":
|
|
if e.complexity.CreateControlObligationMappingPayload.ObligationEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateControlObligationMappingPayload.ObligationEdge(childComplexity), true
|
|
|
|
case "CreateControlPayload.controlEdge":
|
|
if e.complexity.CreateControlPayload.ControlEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateControlPayload.ControlEdge(childComplexity), true
|
|
|
|
case "CreateControlSnapshotMappingPayload.controlEdge":
|
|
if e.complexity.CreateControlSnapshotMappingPayload.ControlEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateControlSnapshotMappingPayload.ControlEdge(childComplexity), true
|
|
case "CreateControlSnapshotMappingPayload.snapshotEdge":
|
|
if e.complexity.CreateControlSnapshotMappingPayload.SnapshotEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateControlSnapshotMappingPayload.SnapshotEdge(childComplexity), true
|
|
|
|
case "CreateCustomDomainPayload.customDomain":
|
|
if e.complexity.CreateCustomDomainPayload.CustomDomain == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateCustomDomainPayload.CustomDomain(childComplexity), true
|
|
|
|
case "CreateDataProtectionImpactAssessmentPayload.dataProtectionImpactAssessment":
|
|
if e.complexity.CreateDataProtectionImpactAssessmentPayload.DataProtectionImpactAssessment == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateDataProtectionImpactAssessmentPayload.DataProtectionImpactAssessment(childComplexity), true
|
|
|
|
case "CreateDatumPayload.datumEdge":
|
|
if e.complexity.CreateDatumPayload.DatumEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateDatumPayload.DatumEdge(childComplexity), true
|
|
|
|
case "CreateDocumentPayload.documentEdge":
|
|
if e.complexity.CreateDocumentPayload.DocumentEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateDocumentPayload.DocumentEdge(childComplexity), true
|
|
case "CreateDocumentPayload.documentVersionEdge":
|
|
if e.complexity.CreateDocumentPayload.DocumentVersionEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateDocumentPayload.DocumentVersionEdge(childComplexity), true
|
|
|
|
case "CreateDraftDocumentVersionPayload.documentVersionEdge":
|
|
if e.complexity.CreateDraftDocumentVersionPayload.DocumentVersionEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateDraftDocumentVersionPayload.DocumentVersionEdge(childComplexity), true
|
|
|
|
case "CreateFrameworkPayload.frameworkEdge":
|
|
if e.complexity.CreateFrameworkPayload.FrameworkEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateFrameworkPayload.FrameworkEdge(childComplexity), true
|
|
|
|
case "CreateMeasurePayload.measureEdge":
|
|
if e.complexity.CreateMeasurePayload.MeasureEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateMeasurePayload.MeasureEdge(childComplexity), true
|
|
|
|
case "CreateMeetingPayload.meetingEdge":
|
|
if e.complexity.CreateMeetingPayload.MeetingEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateMeetingPayload.MeetingEdge(childComplexity), true
|
|
|
|
case "CreateNonconformityPayload.nonconformityEdge":
|
|
if e.complexity.CreateNonconformityPayload.NonconformityEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateNonconformityPayload.NonconformityEdge(childComplexity), true
|
|
|
|
case "CreateObligationPayload.obligationEdge":
|
|
if e.complexity.CreateObligationPayload.ObligationEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateObligationPayload.ObligationEdge(childComplexity), true
|
|
|
|
case "CreatePeoplePayload.peopleEdge":
|
|
if e.complexity.CreatePeoplePayload.PeopleEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreatePeoplePayload.PeopleEdge(childComplexity), true
|
|
|
|
case "CreateProcessingActivityPayload.processingActivityEdge":
|
|
if e.complexity.CreateProcessingActivityPayload.ProcessingActivityEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateProcessingActivityPayload.ProcessingActivityEdge(childComplexity), true
|
|
|
|
case "CreateRightsRequestPayload.rightsRequestEdge":
|
|
if e.complexity.CreateRightsRequestPayload.RightsRequestEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateRightsRequestPayload.RightsRequestEdge(childComplexity), true
|
|
|
|
case "CreateRiskDocumentMappingPayload.documentEdge":
|
|
if e.complexity.CreateRiskDocumentMappingPayload.DocumentEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateRiskDocumentMappingPayload.DocumentEdge(childComplexity), true
|
|
case "CreateRiskDocumentMappingPayload.riskEdge":
|
|
if e.complexity.CreateRiskDocumentMappingPayload.RiskEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateRiskDocumentMappingPayload.RiskEdge(childComplexity), true
|
|
|
|
case "CreateRiskMeasureMappingPayload.measureEdge":
|
|
if e.complexity.CreateRiskMeasureMappingPayload.MeasureEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateRiskMeasureMappingPayload.MeasureEdge(childComplexity), true
|
|
case "CreateRiskMeasureMappingPayload.riskEdge":
|
|
if e.complexity.CreateRiskMeasureMappingPayload.RiskEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateRiskMeasureMappingPayload.RiskEdge(childComplexity), true
|
|
|
|
case "CreateRiskObligationMappingPayload.obligationEdge":
|
|
if e.complexity.CreateRiskObligationMappingPayload.ObligationEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateRiskObligationMappingPayload.ObligationEdge(childComplexity), true
|
|
case "CreateRiskObligationMappingPayload.riskEdge":
|
|
if e.complexity.CreateRiskObligationMappingPayload.RiskEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateRiskObligationMappingPayload.RiskEdge(childComplexity), true
|
|
|
|
case "CreateRiskPayload.riskEdge":
|
|
if e.complexity.CreateRiskPayload.RiskEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateRiskPayload.RiskEdge(childComplexity), true
|
|
|
|
case "CreateSnapshotPayload.snapshotEdge":
|
|
if e.complexity.CreateSnapshotPayload.SnapshotEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateSnapshotPayload.SnapshotEdge(childComplexity), true
|
|
|
|
case "CreateStateOfApplicabilityControlMappingPayload.stateOfApplicabilityControlEdge":
|
|
if e.complexity.CreateStateOfApplicabilityControlMappingPayload.StateOfApplicabilityControlEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateStateOfApplicabilityControlMappingPayload.StateOfApplicabilityControlEdge(childComplexity), true
|
|
|
|
case "CreateStateOfApplicabilityPayload.stateOfApplicabilityEdge":
|
|
if e.complexity.CreateStateOfApplicabilityPayload.StateOfApplicabilityEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateStateOfApplicabilityPayload.StateOfApplicabilityEdge(childComplexity), true
|
|
|
|
case "CreateTaskPayload.taskEdge":
|
|
if e.complexity.CreateTaskPayload.TaskEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateTaskPayload.TaskEdge(childComplexity), true
|
|
|
|
case "CreateTransferImpactAssessmentPayload.transferImpactAssessment":
|
|
if e.complexity.CreateTransferImpactAssessmentPayload.TransferImpactAssessment == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateTransferImpactAssessmentPayload.TransferImpactAssessment(childComplexity), true
|
|
|
|
case "CreateTrustCenterAccessPayload.trustCenterAccessEdge":
|
|
if e.complexity.CreateTrustCenterAccessPayload.TrustCenterAccessEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateTrustCenterAccessPayload.TrustCenterAccessEdge(childComplexity), true
|
|
|
|
case "CreateTrustCenterFilePayload.trustCenterFileEdge":
|
|
if e.complexity.CreateTrustCenterFilePayload.TrustCenterFileEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateTrustCenterFilePayload.TrustCenterFileEdge(childComplexity), true
|
|
|
|
case "CreateTrustCenterReferencePayload.trustCenterReferenceEdge":
|
|
if e.complexity.CreateTrustCenterReferencePayload.TrustCenterReferenceEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateTrustCenterReferencePayload.TrustCenterReferenceEdge(childComplexity), true
|
|
|
|
case "CreateVendorContactPayload.vendorContactEdge":
|
|
if e.complexity.CreateVendorContactPayload.VendorContactEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateVendorContactPayload.VendorContactEdge(childComplexity), true
|
|
|
|
case "CreateVendorPayload.vendorEdge":
|
|
if e.complexity.CreateVendorPayload.VendorEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateVendorPayload.VendorEdge(childComplexity), true
|
|
|
|
case "CreateVendorRiskAssessmentPayload.vendorRiskAssessmentEdge":
|
|
if e.complexity.CreateVendorRiskAssessmentPayload.VendorRiskAssessmentEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateVendorRiskAssessmentPayload.VendorRiskAssessmentEdge(childComplexity), true
|
|
|
|
case "CreateVendorServicePayload.vendorServiceEdge":
|
|
if e.complexity.CreateVendorServicePayload.VendorServiceEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CreateVendorServicePayload.VendorServiceEdge(childComplexity), true
|
|
|
|
case "CustomDomain.createdAt":
|
|
if e.complexity.CustomDomain.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CustomDomain.CreatedAt(childComplexity), true
|
|
case "CustomDomain.dnsRecords":
|
|
if e.complexity.CustomDomain.DNSRecords == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CustomDomain.DNSRecords(childComplexity), true
|
|
case "CustomDomain.domain":
|
|
if e.complexity.CustomDomain.Domain == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CustomDomain.Domain(childComplexity), true
|
|
case "CustomDomain.id":
|
|
if e.complexity.CustomDomain.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CustomDomain.ID(childComplexity), true
|
|
case "CustomDomain.organization":
|
|
if e.complexity.CustomDomain.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CustomDomain.Organization(childComplexity), true
|
|
case "CustomDomain.permission":
|
|
if e.complexity.CustomDomain.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_CustomDomain_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.CustomDomain.Permission(childComplexity, args["action"].(string)), true
|
|
case "CustomDomain.sslExpiresAt":
|
|
if e.complexity.CustomDomain.SslExpiresAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CustomDomain.SslExpiresAt(childComplexity), true
|
|
case "CustomDomain.sslStatus":
|
|
if e.complexity.CustomDomain.SslStatus == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CustomDomain.SslStatus(childComplexity), true
|
|
case "CustomDomain.updatedAt":
|
|
if e.complexity.CustomDomain.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.CustomDomain.UpdatedAt(childComplexity), true
|
|
|
|
case "DNSRecordInstruction.name":
|
|
if e.complexity.DNSRecordInstruction.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DNSRecordInstruction.Name(childComplexity), true
|
|
case "DNSRecordInstruction.purpose":
|
|
if e.complexity.DNSRecordInstruction.Purpose == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DNSRecordInstruction.Purpose(childComplexity), true
|
|
case "DNSRecordInstruction.ttl":
|
|
if e.complexity.DNSRecordInstruction.TTL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DNSRecordInstruction.TTL(childComplexity), true
|
|
case "DNSRecordInstruction.type":
|
|
if e.complexity.DNSRecordInstruction.Type == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DNSRecordInstruction.Type(childComplexity), true
|
|
case "DNSRecordInstruction.value":
|
|
if e.complexity.DNSRecordInstruction.Value == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DNSRecordInstruction.Value(childComplexity), true
|
|
|
|
case "DataProtectionImpactAssessment.createdAt":
|
|
if e.complexity.DataProtectionImpactAssessment.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessment.CreatedAt(childComplexity), true
|
|
case "DataProtectionImpactAssessment.description":
|
|
if e.complexity.DataProtectionImpactAssessment.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessment.Description(childComplexity), true
|
|
case "DataProtectionImpactAssessment.id":
|
|
if e.complexity.DataProtectionImpactAssessment.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessment.ID(childComplexity), true
|
|
case "DataProtectionImpactAssessment.mitigations":
|
|
if e.complexity.DataProtectionImpactAssessment.Mitigations == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessment.Mitigations(childComplexity), true
|
|
case "DataProtectionImpactAssessment.necessityAndProportionality":
|
|
if e.complexity.DataProtectionImpactAssessment.NecessityAndProportionality == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessment.NecessityAndProportionality(childComplexity), true
|
|
case "DataProtectionImpactAssessment.organization":
|
|
if e.complexity.DataProtectionImpactAssessment.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessment.Organization(childComplexity), true
|
|
case "DataProtectionImpactAssessment.permission":
|
|
if e.complexity.DataProtectionImpactAssessment.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_DataProtectionImpactAssessment_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessment.Permission(childComplexity, args["action"].(string)), true
|
|
case "DataProtectionImpactAssessment.potentialRisk":
|
|
if e.complexity.DataProtectionImpactAssessment.PotentialRisk == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessment.PotentialRisk(childComplexity), true
|
|
case "DataProtectionImpactAssessment.processingActivity":
|
|
if e.complexity.DataProtectionImpactAssessment.ProcessingActivity == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessment.ProcessingActivity(childComplexity), true
|
|
case "DataProtectionImpactAssessment.residualRisk":
|
|
if e.complexity.DataProtectionImpactAssessment.ResidualRisk == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessment.ResidualRisk(childComplexity), true
|
|
case "DataProtectionImpactAssessment.updatedAt":
|
|
if e.complexity.DataProtectionImpactAssessment.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessment.UpdatedAt(childComplexity), true
|
|
|
|
case "DataProtectionImpactAssessmentConnection.edges":
|
|
if e.complexity.DataProtectionImpactAssessmentConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessmentConnection.Edges(childComplexity), true
|
|
case "DataProtectionImpactAssessmentConnection.pageInfo":
|
|
if e.complexity.DataProtectionImpactAssessmentConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessmentConnection.PageInfo(childComplexity), true
|
|
case "DataProtectionImpactAssessmentConnection.totalCount":
|
|
if e.complexity.DataProtectionImpactAssessmentConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessmentConnection.TotalCount(childComplexity), true
|
|
|
|
case "DataProtectionImpactAssessmentEdge.cursor":
|
|
if e.complexity.DataProtectionImpactAssessmentEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessmentEdge.Cursor(childComplexity), true
|
|
case "DataProtectionImpactAssessmentEdge.node":
|
|
if e.complexity.DataProtectionImpactAssessmentEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DataProtectionImpactAssessmentEdge.Node(childComplexity), true
|
|
|
|
case "Datum.createdAt":
|
|
if e.complexity.Datum.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Datum.CreatedAt(childComplexity), true
|
|
case "Datum.dataClassification":
|
|
if e.complexity.Datum.DataClassification == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Datum.DataClassification(childComplexity), true
|
|
case "Datum.id":
|
|
if e.complexity.Datum.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Datum.ID(childComplexity), true
|
|
case "Datum.name":
|
|
if e.complexity.Datum.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Datum.Name(childComplexity), true
|
|
case "Datum.organization":
|
|
if e.complexity.Datum.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Datum.Organization(childComplexity), true
|
|
case "Datum.owner":
|
|
if e.complexity.Datum.Owner == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Datum.Owner(childComplexity), true
|
|
case "Datum.permission":
|
|
if e.complexity.Datum.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Datum_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Datum.Permission(childComplexity, args["action"].(string)), true
|
|
case "Datum.snapshotId":
|
|
if e.complexity.Datum.SnapshotID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Datum.SnapshotID(childComplexity), true
|
|
case "Datum.updatedAt":
|
|
if e.complexity.Datum.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Datum.UpdatedAt(childComplexity), true
|
|
case "Datum.vendors":
|
|
if e.complexity.Datum.Vendors == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Datum_vendors_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Datum.Vendors(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.VendorOrderBy)), true
|
|
|
|
case "DatumConnection.edges":
|
|
if e.complexity.DatumConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DatumConnection.Edges(childComplexity), true
|
|
case "DatumConnection.pageInfo":
|
|
if e.complexity.DatumConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DatumConnection.PageInfo(childComplexity), true
|
|
case "DatumConnection.totalCount":
|
|
if e.complexity.DatumConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DatumConnection.TotalCount(childComplexity), true
|
|
|
|
case "DatumEdge.cursor":
|
|
if e.complexity.DatumEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DatumEdge.Cursor(childComplexity), true
|
|
case "DatumEdge.node":
|
|
if e.complexity.DatumEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DatumEdge.Node(childComplexity), true
|
|
|
|
case "DeleteAssetPayload.deletedAssetId":
|
|
if e.complexity.DeleteAssetPayload.DeletedAssetID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteAssetPayload.DeletedAssetID(childComplexity), true
|
|
|
|
case "DeleteAuditPayload.deletedAuditId":
|
|
if e.complexity.DeleteAuditPayload.DeletedAuditID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteAuditPayload.DeletedAuditID(childComplexity), true
|
|
|
|
case "DeleteAuditReportPayload.audit":
|
|
if e.complexity.DeleteAuditReportPayload.Audit == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteAuditReportPayload.Audit(childComplexity), true
|
|
|
|
case "DeleteContinualImprovementPayload.deletedContinualImprovementId":
|
|
if e.complexity.DeleteContinualImprovementPayload.DeletedContinualImprovementID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteContinualImprovementPayload.DeletedContinualImprovementID(childComplexity), true
|
|
|
|
case "DeleteControlAuditMappingPayload.deletedAuditId":
|
|
if e.complexity.DeleteControlAuditMappingPayload.DeletedAuditID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteControlAuditMappingPayload.DeletedAuditID(childComplexity), true
|
|
case "DeleteControlAuditMappingPayload.deletedControlId":
|
|
if e.complexity.DeleteControlAuditMappingPayload.DeletedControlID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteControlAuditMappingPayload.DeletedControlID(childComplexity), true
|
|
|
|
case "DeleteControlDocumentMappingPayload.deletedControlId":
|
|
if e.complexity.DeleteControlDocumentMappingPayload.DeletedControlID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteControlDocumentMappingPayload.DeletedControlID(childComplexity), true
|
|
case "DeleteControlDocumentMappingPayload.deletedDocumentId":
|
|
if e.complexity.DeleteControlDocumentMappingPayload.DeletedDocumentID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteControlDocumentMappingPayload.DeletedDocumentID(childComplexity), true
|
|
|
|
case "DeleteControlMeasureMappingPayload.deletedControlId":
|
|
if e.complexity.DeleteControlMeasureMappingPayload.DeletedControlID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteControlMeasureMappingPayload.DeletedControlID(childComplexity), true
|
|
case "DeleteControlMeasureMappingPayload.deletedMeasureId":
|
|
if e.complexity.DeleteControlMeasureMappingPayload.DeletedMeasureID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteControlMeasureMappingPayload.DeletedMeasureID(childComplexity), true
|
|
|
|
case "DeleteControlObligationMappingPayload.deletedControlId":
|
|
if e.complexity.DeleteControlObligationMappingPayload.DeletedControlID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteControlObligationMappingPayload.DeletedControlID(childComplexity), true
|
|
case "DeleteControlObligationMappingPayload.deletedObligationId":
|
|
if e.complexity.DeleteControlObligationMappingPayload.DeletedObligationID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteControlObligationMappingPayload.DeletedObligationID(childComplexity), true
|
|
|
|
case "DeleteControlPayload.deletedControlId":
|
|
if e.complexity.DeleteControlPayload.DeletedControlID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteControlPayload.DeletedControlID(childComplexity), true
|
|
|
|
case "DeleteControlSnapshotMappingPayload.deletedControlId":
|
|
if e.complexity.DeleteControlSnapshotMappingPayload.DeletedControlID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteControlSnapshotMappingPayload.DeletedControlID(childComplexity), true
|
|
case "DeleteControlSnapshotMappingPayload.deletedSnapshotId":
|
|
if e.complexity.DeleteControlSnapshotMappingPayload.DeletedSnapshotID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteControlSnapshotMappingPayload.DeletedSnapshotID(childComplexity), true
|
|
|
|
case "DeleteCustomDomainPayload.deletedCustomDomainId":
|
|
if e.complexity.DeleteCustomDomainPayload.DeletedCustomDomainID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteCustomDomainPayload.DeletedCustomDomainID(childComplexity), true
|
|
|
|
case "DeleteDataProtectionImpactAssessmentPayload.deletedDataProtectionImpactAssessmentId":
|
|
if e.complexity.DeleteDataProtectionImpactAssessmentPayload.DeletedDataProtectionImpactAssessmentID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteDataProtectionImpactAssessmentPayload.DeletedDataProtectionImpactAssessmentID(childComplexity), true
|
|
|
|
case "DeleteDatumPayload.deletedDatumId":
|
|
if e.complexity.DeleteDatumPayload.DeletedDatumID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteDatumPayload.DeletedDatumID(childComplexity), true
|
|
|
|
case "DeleteDocumentPayload.deletedDocumentId":
|
|
if e.complexity.DeleteDocumentPayload.DeletedDocumentID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteDocumentPayload.DeletedDocumentID(childComplexity), true
|
|
|
|
case "DeleteDraftDocumentVersionPayload.deletedDocumentVersionId":
|
|
if e.complexity.DeleteDraftDocumentVersionPayload.DeletedDocumentVersionID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteDraftDocumentVersionPayload.DeletedDocumentVersionID(childComplexity), true
|
|
|
|
case "DeleteEvidencePayload.deletedEvidenceId":
|
|
if e.complexity.DeleteEvidencePayload.DeletedEvidenceID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteEvidencePayload.DeletedEvidenceID(childComplexity), true
|
|
|
|
case "DeleteFrameworkPayload.deletedFrameworkId":
|
|
if e.complexity.DeleteFrameworkPayload.DeletedFrameworkID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteFrameworkPayload.DeletedFrameworkID(childComplexity), true
|
|
|
|
case "DeleteMeasurePayload.deletedMeasureId":
|
|
if e.complexity.DeleteMeasurePayload.DeletedMeasureID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteMeasurePayload.DeletedMeasureID(childComplexity), true
|
|
|
|
case "DeleteMeetingPayload.deletedMeetingId":
|
|
if e.complexity.DeleteMeetingPayload.DeletedMeetingID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteMeetingPayload.DeletedMeetingID(childComplexity), true
|
|
|
|
case "DeleteNonconformityPayload.deletedNonconformityId":
|
|
if e.complexity.DeleteNonconformityPayload.DeletedNonconformityID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteNonconformityPayload.DeletedNonconformityID(childComplexity), true
|
|
|
|
case "DeleteObligationPayload.deletedObligationId":
|
|
if e.complexity.DeleteObligationPayload.DeletedObligationID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteObligationPayload.DeletedObligationID(childComplexity), true
|
|
|
|
case "DeletePeoplePayload.deletedPeopleId":
|
|
if e.complexity.DeletePeoplePayload.DeletedPeopleID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeletePeoplePayload.DeletedPeopleID(childComplexity), true
|
|
|
|
case "DeleteProcessingActivityPayload.deletedProcessingActivityId":
|
|
if e.complexity.DeleteProcessingActivityPayload.DeletedProcessingActivityID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteProcessingActivityPayload.DeletedProcessingActivityID(childComplexity), true
|
|
|
|
case "DeleteRightsRequestPayload.deletedRightsRequestId":
|
|
if e.complexity.DeleteRightsRequestPayload.DeletedRightsRequestID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteRightsRequestPayload.DeletedRightsRequestID(childComplexity), true
|
|
|
|
case "DeleteRiskDocumentMappingPayload.deletedDocumentId":
|
|
if e.complexity.DeleteRiskDocumentMappingPayload.DeletedDocumentID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteRiskDocumentMappingPayload.DeletedDocumentID(childComplexity), true
|
|
case "DeleteRiskDocumentMappingPayload.deletedRiskId":
|
|
if e.complexity.DeleteRiskDocumentMappingPayload.DeletedRiskID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteRiskDocumentMappingPayload.DeletedRiskID(childComplexity), true
|
|
|
|
case "DeleteRiskMeasureMappingPayload.deletedMeasureId":
|
|
if e.complexity.DeleteRiskMeasureMappingPayload.DeletedMeasureID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteRiskMeasureMappingPayload.DeletedMeasureID(childComplexity), true
|
|
case "DeleteRiskMeasureMappingPayload.deletedRiskId":
|
|
if e.complexity.DeleteRiskMeasureMappingPayload.DeletedRiskID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteRiskMeasureMappingPayload.DeletedRiskID(childComplexity), true
|
|
|
|
case "DeleteRiskObligationMappingPayload.deletedObligationId":
|
|
if e.complexity.DeleteRiskObligationMappingPayload.DeletedObligationID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteRiskObligationMappingPayload.DeletedObligationID(childComplexity), true
|
|
case "DeleteRiskObligationMappingPayload.deletedRiskId":
|
|
if e.complexity.DeleteRiskObligationMappingPayload.DeletedRiskID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteRiskObligationMappingPayload.DeletedRiskID(childComplexity), true
|
|
|
|
case "DeleteRiskPayload.deletedRiskId":
|
|
if e.complexity.DeleteRiskPayload.DeletedRiskID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteRiskPayload.DeletedRiskID(childComplexity), true
|
|
|
|
case "DeleteSnapshotPayload.deletedSnapshotId":
|
|
if e.complexity.DeleteSnapshotPayload.DeletedSnapshotID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteSnapshotPayload.DeletedSnapshotID(childComplexity), true
|
|
|
|
case "DeleteStateOfApplicabilityControlMappingPayload.deletedControlId":
|
|
if e.complexity.DeleteStateOfApplicabilityControlMappingPayload.DeletedControlID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteStateOfApplicabilityControlMappingPayload.DeletedControlID(childComplexity), true
|
|
case "DeleteStateOfApplicabilityControlMappingPayload.deletedStateOfApplicabilityControlId":
|
|
if e.complexity.DeleteStateOfApplicabilityControlMappingPayload.DeletedStateOfApplicabilityControlID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteStateOfApplicabilityControlMappingPayload.DeletedStateOfApplicabilityControlID(childComplexity), true
|
|
case "DeleteStateOfApplicabilityControlMappingPayload.deletedStateOfApplicabilityId":
|
|
if e.complexity.DeleteStateOfApplicabilityControlMappingPayload.DeletedStateOfApplicabilityID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteStateOfApplicabilityControlMappingPayload.DeletedStateOfApplicabilityID(childComplexity), true
|
|
|
|
case "DeleteStateOfApplicabilityPayload.deletedStateOfApplicabilityId":
|
|
if e.complexity.DeleteStateOfApplicabilityPayload.DeletedStateOfApplicabilityID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteStateOfApplicabilityPayload.DeletedStateOfApplicabilityID(childComplexity), true
|
|
|
|
case "DeleteTaskPayload.deletedTaskId":
|
|
if e.complexity.DeleteTaskPayload.DeletedTaskID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteTaskPayload.DeletedTaskID(childComplexity), true
|
|
|
|
case "DeleteTransferImpactAssessmentPayload.deletedTransferImpactAssessmentId":
|
|
if e.complexity.DeleteTransferImpactAssessmentPayload.DeletedTransferImpactAssessmentID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteTransferImpactAssessmentPayload.DeletedTransferImpactAssessmentID(childComplexity), true
|
|
|
|
case "DeleteTrustCenterAccessPayload.deletedTrustCenterAccessId":
|
|
if e.complexity.DeleteTrustCenterAccessPayload.DeletedTrustCenterAccessID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteTrustCenterAccessPayload.DeletedTrustCenterAccessID(childComplexity), true
|
|
|
|
case "DeleteTrustCenterFilePayload.deletedTrustCenterFileId":
|
|
if e.complexity.DeleteTrustCenterFilePayload.DeletedTrustCenterFileID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteTrustCenterFilePayload.DeletedTrustCenterFileID(childComplexity), true
|
|
|
|
case "DeleteTrustCenterNDAPayload.trustCenter":
|
|
if e.complexity.DeleteTrustCenterNDAPayload.TrustCenter == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteTrustCenterNDAPayload.TrustCenter(childComplexity), true
|
|
|
|
case "DeleteTrustCenterReferencePayload.deletedTrustCenterReferenceId":
|
|
if e.complexity.DeleteTrustCenterReferencePayload.DeletedTrustCenterReferenceID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteTrustCenterReferencePayload.DeletedTrustCenterReferenceID(childComplexity), true
|
|
|
|
case "DeleteVendorBusinessAssociateAgreementPayload.deletedVendorId":
|
|
if e.complexity.DeleteVendorBusinessAssociateAgreementPayload.DeletedVendorID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteVendorBusinessAssociateAgreementPayload.DeletedVendorID(childComplexity), true
|
|
|
|
case "DeleteVendorComplianceReportPayload.deletedVendorComplianceReportId":
|
|
if e.complexity.DeleteVendorComplianceReportPayload.DeletedVendorComplianceReportID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteVendorComplianceReportPayload.DeletedVendorComplianceReportID(childComplexity), true
|
|
|
|
case "DeleteVendorContactPayload.deletedVendorContactId":
|
|
if e.complexity.DeleteVendorContactPayload.DeletedVendorContactID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteVendorContactPayload.DeletedVendorContactID(childComplexity), true
|
|
|
|
case "DeleteVendorDataPrivacyAgreementPayload.deletedVendorId":
|
|
if e.complexity.DeleteVendorDataPrivacyAgreementPayload.DeletedVendorID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteVendorDataPrivacyAgreementPayload.DeletedVendorID(childComplexity), true
|
|
|
|
case "DeleteVendorPayload.deletedVendorId":
|
|
if e.complexity.DeleteVendorPayload.DeletedVendorID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteVendorPayload.DeletedVendorID(childComplexity), true
|
|
|
|
case "DeleteVendorServicePayload.deletedVendorServiceId":
|
|
if e.complexity.DeleteVendorServicePayload.DeletedVendorServiceID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DeleteVendorServicePayload.DeletedVendorServiceID(childComplexity), true
|
|
|
|
case "Document.classification":
|
|
if e.complexity.Document.Classification == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Document.Classification(childComplexity), true
|
|
case "Document.controls":
|
|
if e.complexity.Document.Controls == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Document_controls_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Document.Controls(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.ControlOrderBy), args["filter"].(*types.ControlFilter)), true
|
|
case "Document.createdAt":
|
|
if e.complexity.Document.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Document.CreatedAt(childComplexity), true
|
|
case "Document.currentPublishedVersion":
|
|
if e.complexity.Document.CurrentPublishedVersion == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Document.CurrentPublishedVersion(childComplexity), true
|
|
case "Document.description":
|
|
if e.complexity.Document.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Document.Description(childComplexity), true
|
|
case "Document.documentType":
|
|
if e.complexity.Document.DocumentType == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Document.DocumentType(childComplexity), true
|
|
case "Document.id":
|
|
if e.complexity.Document.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Document.ID(childComplexity), true
|
|
case "Document.organization":
|
|
if e.complexity.Document.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Document.Organization(childComplexity), true
|
|
case "Document.owner":
|
|
if e.complexity.Document.Owner == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Document.Owner(childComplexity), true
|
|
case "Document.permission":
|
|
if e.complexity.Document.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Document_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Document.Permission(childComplexity, args["action"].(string)), true
|
|
case "Document.title":
|
|
if e.complexity.Document.Title == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Document.Title(childComplexity), true
|
|
case "Document.trustCenterVisibility":
|
|
if e.complexity.Document.TrustCenterVisibility == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Document.TrustCenterVisibility(childComplexity), true
|
|
case "Document.updatedAt":
|
|
if e.complexity.Document.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Document.UpdatedAt(childComplexity), true
|
|
case "Document.versions":
|
|
if e.complexity.Document.Versions == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Document_versions_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Document.Versions(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.DocumentVersionOrderBy), args["filter"].(*types.DocumentVersionFilter)), true
|
|
|
|
case "DocumentConnection.edges":
|
|
if e.complexity.DocumentConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentConnection.Edges(childComplexity), true
|
|
case "DocumentConnection.pageInfo":
|
|
if e.complexity.DocumentConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentConnection.PageInfo(childComplexity), true
|
|
case "DocumentConnection.totalCount":
|
|
if e.complexity.DocumentConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentConnection.TotalCount(childComplexity), true
|
|
|
|
case "DocumentEdge.cursor":
|
|
if e.complexity.DocumentEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentEdge.Cursor(childComplexity), true
|
|
case "DocumentEdge.node":
|
|
if e.complexity.DocumentEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentEdge.Node(childComplexity), true
|
|
|
|
case "DocumentVersion.changelog":
|
|
if e.complexity.DocumentVersion.Changelog == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.Changelog(childComplexity), true
|
|
case "DocumentVersion.classification":
|
|
if e.complexity.DocumentVersion.Classification == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.Classification(childComplexity), true
|
|
case "DocumentVersion.content":
|
|
if e.complexity.DocumentVersion.Content == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.Content(childComplexity), true
|
|
case "DocumentVersion.createdAt":
|
|
if e.complexity.DocumentVersion.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.CreatedAt(childComplexity), true
|
|
case "DocumentVersion.document":
|
|
if e.complexity.DocumentVersion.Document == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.Document(childComplexity), true
|
|
case "DocumentVersion.id":
|
|
if e.complexity.DocumentVersion.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.ID(childComplexity), true
|
|
case "DocumentVersion.owner":
|
|
if e.complexity.DocumentVersion.Owner == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.Owner(childComplexity), true
|
|
case "DocumentVersion.permission":
|
|
if e.complexity.DocumentVersion.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_DocumentVersion_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.Permission(childComplexity, args["action"].(string)), true
|
|
case "DocumentVersion.publishedAt":
|
|
if e.complexity.DocumentVersion.PublishedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.PublishedAt(childComplexity), true
|
|
case "DocumentVersion.signatures":
|
|
if e.complexity.DocumentVersion.Signatures == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_DocumentVersion_signatures_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.Signatures(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.DocumentVersionSignatureOrder), args["filter"].(*types.DocumentVersionSignatureFilter)), true
|
|
case "DocumentVersion.signed":
|
|
if e.complexity.DocumentVersion.Signed == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.Signed(childComplexity), true
|
|
case "DocumentVersion.status":
|
|
if e.complexity.DocumentVersion.Status == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.Status(childComplexity), true
|
|
case "DocumentVersion.title":
|
|
if e.complexity.DocumentVersion.Title == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.Title(childComplexity), true
|
|
case "DocumentVersion.updatedAt":
|
|
if e.complexity.DocumentVersion.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.UpdatedAt(childComplexity), true
|
|
case "DocumentVersion.version":
|
|
if e.complexity.DocumentVersion.Version == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersion.Version(childComplexity), true
|
|
|
|
case "DocumentVersionConnection.edges":
|
|
if e.complexity.DocumentVersionConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionConnection.Edges(childComplexity), true
|
|
case "DocumentVersionConnection.pageInfo":
|
|
if e.complexity.DocumentVersionConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionConnection.PageInfo(childComplexity), true
|
|
|
|
case "DocumentVersionEdge.cursor":
|
|
if e.complexity.DocumentVersionEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionEdge.Cursor(childComplexity), true
|
|
case "DocumentVersionEdge.node":
|
|
if e.complexity.DocumentVersionEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionEdge.Node(childComplexity), true
|
|
|
|
case "DocumentVersionSignature.createdAt":
|
|
if e.complexity.DocumentVersionSignature.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionSignature.CreatedAt(childComplexity), true
|
|
case "DocumentVersionSignature.documentVersion":
|
|
if e.complexity.DocumentVersionSignature.DocumentVersion == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionSignature.DocumentVersion(childComplexity), true
|
|
case "DocumentVersionSignature.id":
|
|
if e.complexity.DocumentVersionSignature.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionSignature.ID(childComplexity), true
|
|
case "DocumentVersionSignature.permission":
|
|
if e.complexity.DocumentVersionSignature.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_DocumentVersionSignature_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.DocumentVersionSignature.Permission(childComplexity, args["action"].(string)), true
|
|
case "DocumentVersionSignature.requestedAt":
|
|
if e.complexity.DocumentVersionSignature.RequestedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionSignature.RequestedAt(childComplexity), true
|
|
case "DocumentVersionSignature.signedAt":
|
|
if e.complexity.DocumentVersionSignature.SignedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionSignature.SignedAt(childComplexity), true
|
|
case "DocumentVersionSignature.signedBy":
|
|
if e.complexity.DocumentVersionSignature.SignedBy == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionSignature.SignedBy(childComplexity), true
|
|
case "DocumentVersionSignature.state":
|
|
if e.complexity.DocumentVersionSignature.State == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionSignature.State(childComplexity), true
|
|
case "DocumentVersionSignature.updatedAt":
|
|
if e.complexity.DocumentVersionSignature.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionSignature.UpdatedAt(childComplexity), true
|
|
|
|
case "DocumentVersionSignatureConnection.edges":
|
|
if e.complexity.DocumentVersionSignatureConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionSignatureConnection.Edges(childComplexity), true
|
|
case "DocumentVersionSignatureConnection.pageInfo":
|
|
if e.complexity.DocumentVersionSignatureConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionSignatureConnection.PageInfo(childComplexity), true
|
|
|
|
case "DocumentVersionSignatureEdge.cursor":
|
|
if e.complexity.DocumentVersionSignatureEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionSignatureEdge.Cursor(childComplexity), true
|
|
case "DocumentVersionSignatureEdge.node":
|
|
if e.complexity.DocumentVersionSignatureEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.DocumentVersionSignatureEdge.Node(childComplexity), true
|
|
|
|
case "Evidence.createdAt":
|
|
if e.complexity.Evidence.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Evidence.CreatedAt(childComplexity), true
|
|
case "Evidence.description":
|
|
if e.complexity.Evidence.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Evidence.Description(childComplexity), true
|
|
case "Evidence.file":
|
|
if e.complexity.Evidence.File == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Evidence.File(childComplexity), true
|
|
case "Evidence.id":
|
|
if e.complexity.Evidence.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Evidence.ID(childComplexity), true
|
|
case "Evidence.measure":
|
|
if e.complexity.Evidence.Measure == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Evidence.Measure(childComplexity), true
|
|
case "Evidence.permission":
|
|
if e.complexity.Evidence.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Evidence_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Evidence.Permission(childComplexity, args["action"].(string)), true
|
|
case "Evidence.size":
|
|
if e.complexity.Evidence.Size == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Evidence.Size(childComplexity), true
|
|
case "Evidence.state":
|
|
if e.complexity.Evidence.State == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Evidence.State(childComplexity), true
|
|
case "Evidence.task":
|
|
if e.complexity.Evidence.Task == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Evidence.Task(childComplexity), true
|
|
case "Evidence.type":
|
|
if e.complexity.Evidence.Type == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Evidence.Type(childComplexity), true
|
|
case "Evidence.url":
|
|
if e.complexity.Evidence.URL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Evidence.URL(childComplexity), true
|
|
case "Evidence.updatedAt":
|
|
if e.complexity.Evidence.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Evidence.UpdatedAt(childComplexity), true
|
|
|
|
case "EvidenceConnection.edges":
|
|
if e.complexity.EvidenceConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.EvidenceConnection.Edges(childComplexity), true
|
|
case "EvidenceConnection.pageInfo":
|
|
if e.complexity.EvidenceConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.EvidenceConnection.PageInfo(childComplexity), true
|
|
case "EvidenceConnection.totalCount":
|
|
if e.complexity.EvidenceConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.EvidenceConnection.TotalCount(childComplexity), true
|
|
|
|
case "EvidenceEdge.cursor":
|
|
if e.complexity.EvidenceEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.EvidenceEdge.Cursor(childComplexity), true
|
|
case "EvidenceEdge.node":
|
|
if e.complexity.EvidenceEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.EvidenceEdge.Node(childComplexity), true
|
|
|
|
case "ExportDataProtectionImpactAssessmentsPDFPayload.data":
|
|
if e.complexity.ExportDataProtectionImpactAssessmentsPDFPayload.Data == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ExportDataProtectionImpactAssessmentsPDFPayload.Data(childComplexity), true
|
|
|
|
case "ExportDocumentVersionPDFPayload.data":
|
|
if e.complexity.ExportDocumentVersionPDFPayload.Data == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ExportDocumentVersionPDFPayload.Data(childComplexity), true
|
|
|
|
case "ExportFrameworkPayload.exportJobId":
|
|
if e.complexity.ExportFrameworkPayload.ExportJobID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ExportFrameworkPayload.ExportJobID(childComplexity), true
|
|
|
|
case "ExportProcessingActivitiesPDFPayload.data":
|
|
if e.complexity.ExportProcessingActivitiesPDFPayload.Data == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ExportProcessingActivitiesPDFPayload.Data(childComplexity), true
|
|
|
|
case "ExportSignableDocumentVersionPDFPayload.data":
|
|
if e.complexity.ExportSignableDocumentVersionPDFPayload.Data == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ExportSignableDocumentVersionPDFPayload.Data(childComplexity), true
|
|
|
|
case "ExportStateOfApplicabilityPDFPayload.data":
|
|
if e.complexity.ExportStateOfApplicabilityPDFPayload.Data == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ExportStateOfApplicabilityPDFPayload.Data(childComplexity), true
|
|
|
|
case "ExportTransferImpactAssessmentsPDFPayload.data":
|
|
if e.complexity.ExportTransferImpactAssessmentsPDFPayload.Data == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ExportTransferImpactAssessmentsPDFPayload.Data(childComplexity), true
|
|
|
|
case "File.createdAt":
|
|
if e.complexity.File.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.File.CreatedAt(childComplexity), true
|
|
case "File.downloadUrl":
|
|
if e.complexity.File.DownloadURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.File.DownloadURL(childComplexity), true
|
|
case "File.fileName":
|
|
if e.complexity.File.FileName == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.File.FileName(childComplexity), true
|
|
case "File.id":
|
|
if e.complexity.File.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.File.ID(childComplexity), true
|
|
case "File.mimeType":
|
|
if e.complexity.File.MimeType == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.File.MimeType(childComplexity), true
|
|
case "File.size":
|
|
if e.complexity.File.Size == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.File.Size(childComplexity), true
|
|
case "File.updatedAt":
|
|
if e.complexity.File.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.File.UpdatedAt(childComplexity), true
|
|
|
|
case "Framework.controls":
|
|
if e.complexity.Framework.Controls == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Framework_controls_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Framework.Controls(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.ControlOrderBy), args["filter"].(*types.ControlFilter)), true
|
|
case "Framework.createdAt":
|
|
if e.complexity.Framework.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Framework.CreatedAt(childComplexity), true
|
|
case "Framework.darkLogoURL":
|
|
if e.complexity.Framework.DarkLogoURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Framework.DarkLogoURL(childComplexity), true
|
|
case "Framework.description":
|
|
if e.complexity.Framework.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Framework.Description(childComplexity), true
|
|
case "Framework.id":
|
|
if e.complexity.Framework.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Framework.ID(childComplexity), true
|
|
case "Framework.lightLogoURL":
|
|
if e.complexity.Framework.LightLogoURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Framework.LightLogoURL(childComplexity), true
|
|
case "Framework.name":
|
|
if e.complexity.Framework.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Framework.Name(childComplexity), true
|
|
case "Framework.organization":
|
|
if e.complexity.Framework.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Framework.Organization(childComplexity), true
|
|
case "Framework.permission":
|
|
if e.complexity.Framework.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Framework_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Framework.Permission(childComplexity, args["action"].(string)), true
|
|
case "Framework.updatedAt":
|
|
if e.complexity.Framework.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Framework.UpdatedAt(childComplexity), true
|
|
|
|
case "FrameworkConnection.edges":
|
|
if e.complexity.FrameworkConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.FrameworkConnection.Edges(childComplexity), true
|
|
case "FrameworkConnection.pageInfo":
|
|
if e.complexity.FrameworkConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.FrameworkConnection.PageInfo(childComplexity), true
|
|
case "FrameworkConnection.totalCount":
|
|
if e.complexity.FrameworkConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.FrameworkConnection.TotalCount(childComplexity), true
|
|
|
|
case "FrameworkEdge.cursor":
|
|
if e.complexity.FrameworkEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.FrameworkEdge.Cursor(childComplexity), true
|
|
case "FrameworkEdge.node":
|
|
if e.complexity.FrameworkEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.FrameworkEdge.Node(childComplexity), true
|
|
|
|
case "GenerateDocumentChangelogPayload.changelog":
|
|
if e.complexity.GenerateDocumentChangelogPayload.Changelog == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.GenerateDocumentChangelogPayload.Changelog(childComplexity), true
|
|
|
|
case "GenerateFrameworkStateOfApplicabilityPayload.data":
|
|
if e.complexity.GenerateFrameworkStateOfApplicabilityPayload.Data == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.GenerateFrameworkStateOfApplicabilityPayload.Data(childComplexity), true
|
|
|
|
case "GetTrustCenterFilePayload.trustCenterFile":
|
|
if e.complexity.GetTrustCenterFilePayload.TrustCenterFile == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.GetTrustCenterFilePayload.TrustCenterFile(childComplexity), true
|
|
|
|
case "ImportFrameworkPayload.frameworkEdge":
|
|
if e.complexity.ImportFrameworkPayload.FrameworkEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ImportFrameworkPayload.FrameworkEdge(childComplexity), true
|
|
|
|
case "ImportMeasurePayload.measureEdges":
|
|
if e.complexity.ImportMeasurePayload.MeasureEdges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ImportMeasurePayload.MeasureEdges(childComplexity), true
|
|
|
|
case "Measure.category":
|
|
if e.complexity.Measure.Category == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Measure.Category(childComplexity), true
|
|
case "Measure.controls":
|
|
if e.complexity.Measure.Controls == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Measure_controls_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Measure.Controls(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.ControlOrderBy), args["filter"].(*types.ControlFilter)), true
|
|
case "Measure.createdAt":
|
|
if e.complexity.Measure.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Measure.CreatedAt(childComplexity), true
|
|
case "Measure.description":
|
|
if e.complexity.Measure.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Measure.Description(childComplexity), true
|
|
case "Measure.evidences":
|
|
if e.complexity.Measure.Evidences == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Measure_evidences_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Measure.Evidences(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.EvidenceOrderBy)), true
|
|
case "Measure.id":
|
|
if e.complexity.Measure.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Measure.ID(childComplexity), true
|
|
case "Measure.name":
|
|
if e.complexity.Measure.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Measure.Name(childComplexity), true
|
|
case "Measure.permission":
|
|
if e.complexity.Measure.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Measure_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Measure.Permission(childComplexity, args["action"].(string)), true
|
|
case "Measure.risks":
|
|
if e.complexity.Measure.Risks == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Measure_risks_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Measure.Risks(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.RiskOrderBy), args["filter"].(*types.RiskFilter)), true
|
|
case "Measure.state":
|
|
if e.complexity.Measure.State == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Measure.State(childComplexity), true
|
|
case "Measure.tasks":
|
|
if e.complexity.Measure.Tasks == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Measure_tasks_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Measure.Tasks(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.TaskOrderBy)), true
|
|
case "Measure.updatedAt":
|
|
if e.complexity.Measure.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Measure.UpdatedAt(childComplexity), true
|
|
|
|
case "MeasureConnection.edges":
|
|
if e.complexity.MeasureConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.MeasureConnection.Edges(childComplexity), true
|
|
case "MeasureConnection.pageInfo":
|
|
if e.complexity.MeasureConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.MeasureConnection.PageInfo(childComplexity), true
|
|
case "MeasureConnection.totalCount":
|
|
if e.complexity.MeasureConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.MeasureConnection.TotalCount(childComplexity), true
|
|
|
|
case "MeasureEdge.cursor":
|
|
if e.complexity.MeasureEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.MeasureEdge.Cursor(childComplexity), true
|
|
case "MeasureEdge.node":
|
|
if e.complexity.MeasureEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.MeasureEdge.Node(childComplexity), true
|
|
|
|
case "Meeting.attendees":
|
|
if e.complexity.Meeting.Attendees == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Meeting.Attendees(childComplexity), true
|
|
case "Meeting.createdAt":
|
|
if e.complexity.Meeting.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Meeting.CreatedAt(childComplexity), true
|
|
case "Meeting.date":
|
|
if e.complexity.Meeting.Date == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Meeting.Date(childComplexity), true
|
|
case "Meeting.id":
|
|
if e.complexity.Meeting.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Meeting.ID(childComplexity), true
|
|
case "Meeting.minutes":
|
|
if e.complexity.Meeting.Minutes == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Meeting.Minutes(childComplexity), true
|
|
case "Meeting.name":
|
|
if e.complexity.Meeting.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Meeting.Name(childComplexity), true
|
|
case "Meeting.organization":
|
|
if e.complexity.Meeting.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Meeting.Organization(childComplexity), true
|
|
case "Meeting.permission":
|
|
if e.complexity.Meeting.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Meeting_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Meeting.Permission(childComplexity, args["action"].(string)), true
|
|
case "Meeting.updatedAt":
|
|
if e.complexity.Meeting.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Meeting.UpdatedAt(childComplexity), true
|
|
|
|
case "MeetingConnection.edges":
|
|
if e.complexity.MeetingConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.MeetingConnection.Edges(childComplexity), true
|
|
case "MeetingConnection.pageInfo":
|
|
if e.complexity.MeetingConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.MeetingConnection.PageInfo(childComplexity), true
|
|
case "MeetingConnection.totalCount":
|
|
if e.complexity.MeetingConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.MeetingConnection.TotalCount(childComplexity), true
|
|
|
|
case "MeetingEdge.cursor":
|
|
if e.complexity.MeetingEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.MeetingEdge.Cursor(childComplexity), true
|
|
case "MeetingEdge.node":
|
|
if e.complexity.MeetingEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.MeetingEdge.Node(childComplexity), true
|
|
|
|
case "Mutation.assessVendor":
|
|
if e.complexity.Mutation.AssessVendor == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_assessVendor_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.AssessVendor(childComplexity, args["input"].(types.AssessVendorInput)), true
|
|
case "Mutation.bulkDeleteDocuments":
|
|
if e.complexity.Mutation.BulkDeleteDocuments == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_bulkDeleteDocuments_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.BulkDeleteDocuments(childComplexity, args["input"].(types.BulkDeleteDocumentsInput)), true
|
|
case "Mutation.bulkExportDocuments":
|
|
if e.complexity.Mutation.BulkExportDocuments == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_bulkExportDocuments_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.BulkExportDocuments(childComplexity, args["input"].(types.BulkExportDocumentsInput)), true
|
|
case "Mutation.bulkPublishDocumentVersions":
|
|
if e.complexity.Mutation.BulkPublishDocumentVersions == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_bulkPublishDocumentVersions_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.BulkPublishDocumentVersions(childComplexity, args["input"].(types.BulkPublishDocumentVersionsInput)), true
|
|
case "Mutation.bulkRequestSignatures":
|
|
if e.complexity.Mutation.BulkRequestSignatures == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_bulkRequestSignatures_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.BulkRequestSignatures(childComplexity, args["input"].(types.BulkRequestSignaturesInput)), true
|
|
case "Mutation.cancelSignatureRequest":
|
|
if e.complexity.Mutation.CancelSignatureRequest == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_cancelSignatureRequest_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CancelSignatureRequest(childComplexity, args["input"].(types.CancelSignatureRequestInput)), true
|
|
case "Mutation.createAsset":
|
|
if e.complexity.Mutation.CreateAsset == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createAsset_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateAsset(childComplexity, args["input"].(types.CreateAssetInput)), true
|
|
case "Mutation.createAudit":
|
|
if e.complexity.Mutation.CreateAudit == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createAudit_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateAudit(childComplexity, args["input"].(types.CreateAuditInput)), true
|
|
case "Mutation.createContinualImprovement":
|
|
if e.complexity.Mutation.CreateContinualImprovement == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createContinualImprovement_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateContinualImprovement(childComplexity, args["input"].(types.CreateContinualImprovementInput)), true
|
|
case "Mutation.createControl":
|
|
if e.complexity.Mutation.CreateControl == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createControl_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateControl(childComplexity, args["input"].(types.CreateControlInput)), true
|
|
case "Mutation.createControlAuditMapping":
|
|
if e.complexity.Mutation.CreateControlAuditMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createControlAuditMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateControlAuditMapping(childComplexity, args["input"].(types.CreateControlAuditMappingInput)), true
|
|
case "Mutation.createControlDocumentMapping":
|
|
if e.complexity.Mutation.CreateControlDocumentMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createControlDocumentMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateControlDocumentMapping(childComplexity, args["input"].(types.CreateControlDocumentMappingInput)), true
|
|
case "Mutation.createControlMeasureMapping":
|
|
if e.complexity.Mutation.CreateControlMeasureMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createControlMeasureMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateControlMeasureMapping(childComplexity, args["input"].(types.CreateControlMeasureMappingInput)), true
|
|
case "Mutation.createControlObligationMapping":
|
|
if e.complexity.Mutation.CreateControlObligationMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createControlObligationMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateControlObligationMapping(childComplexity, args["input"].(types.CreateControlObligationMappingInput)), true
|
|
case "Mutation.createControlSnapshotMapping":
|
|
if e.complexity.Mutation.CreateControlSnapshotMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createControlSnapshotMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateControlSnapshotMapping(childComplexity, args["input"].(types.CreateControlSnapshotMappingInput)), true
|
|
case "Mutation.createCustomDomain":
|
|
if e.complexity.Mutation.CreateCustomDomain == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createCustomDomain_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateCustomDomain(childComplexity, args["input"].(types.CreateCustomDomainInput)), true
|
|
case "Mutation.createDataProtectionImpactAssessment":
|
|
if e.complexity.Mutation.CreateDataProtectionImpactAssessment == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createDataProtectionImpactAssessment_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateDataProtectionImpactAssessment(childComplexity, args["input"].(types.CreateDataProtectionImpactAssessmentInput)), true
|
|
case "Mutation.createDatum":
|
|
if e.complexity.Mutation.CreateDatum == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createDatum_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateDatum(childComplexity, args["input"].(types.CreateDatumInput)), true
|
|
case "Mutation.createDocument":
|
|
if e.complexity.Mutation.CreateDocument == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createDocument_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateDocument(childComplexity, args["input"].(types.CreateDocumentInput)), true
|
|
case "Mutation.createDraftDocumentVersion":
|
|
if e.complexity.Mutation.CreateDraftDocumentVersion == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createDraftDocumentVersion_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateDraftDocumentVersion(childComplexity, args["input"].(types.CreateDraftDocumentVersionInput)), true
|
|
case "Mutation.createFramework":
|
|
if e.complexity.Mutation.CreateFramework == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createFramework_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateFramework(childComplexity, args["input"].(types.CreateFrameworkInput)), true
|
|
case "Mutation.createMeasure":
|
|
if e.complexity.Mutation.CreateMeasure == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createMeasure_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateMeasure(childComplexity, args["input"].(types.CreateMeasureInput)), true
|
|
case "Mutation.createMeeting":
|
|
if e.complexity.Mutation.CreateMeeting == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createMeeting_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateMeeting(childComplexity, args["input"].(types.CreateMeetingInput)), true
|
|
case "Mutation.createNonconformity":
|
|
if e.complexity.Mutation.CreateNonconformity == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createNonconformity_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateNonconformity(childComplexity, args["input"].(types.CreateNonconformityInput)), true
|
|
case "Mutation.createObligation":
|
|
if e.complexity.Mutation.CreateObligation == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createObligation_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateObligation(childComplexity, args["input"].(types.CreateObligationInput)), true
|
|
case "Mutation.createPeople":
|
|
if e.complexity.Mutation.CreatePeople == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createPeople_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreatePeople(childComplexity, args["input"].(types.CreatePeopleInput)), true
|
|
case "Mutation.createProcessingActivity":
|
|
if e.complexity.Mutation.CreateProcessingActivity == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createProcessingActivity_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateProcessingActivity(childComplexity, args["input"].(types.CreateProcessingActivityInput)), true
|
|
case "Mutation.createRightsRequest":
|
|
if e.complexity.Mutation.CreateRightsRequest == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createRightsRequest_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateRightsRequest(childComplexity, args["input"].(types.CreateRightsRequestInput)), true
|
|
case "Mutation.createRisk":
|
|
if e.complexity.Mutation.CreateRisk == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createRisk_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateRisk(childComplexity, args["input"].(types.CreateRiskInput)), true
|
|
case "Mutation.createRiskDocumentMapping":
|
|
if e.complexity.Mutation.CreateRiskDocumentMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createRiskDocumentMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateRiskDocumentMapping(childComplexity, args["input"].(types.CreateRiskDocumentMappingInput)), true
|
|
case "Mutation.createRiskMeasureMapping":
|
|
if e.complexity.Mutation.CreateRiskMeasureMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createRiskMeasureMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateRiskMeasureMapping(childComplexity, args["input"].(types.CreateRiskMeasureMappingInput)), true
|
|
case "Mutation.createRiskObligationMapping":
|
|
if e.complexity.Mutation.CreateRiskObligationMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createRiskObligationMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateRiskObligationMapping(childComplexity, args["input"].(types.CreateRiskObligationMappingInput)), true
|
|
case "Mutation.createSnapshot":
|
|
if e.complexity.Mutation.CreateSnapshot == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createSnapshot_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateSnapshot(childComplexity, args["input"].(types.CreateSnapshotInput)), true
|
|
case "Mutation.createStateOfApplicability":
|
|
if e.complexity.Mutation.CreateStateOfApplicability == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createStateOfApplicability_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateStateOfApplicability(childComplexity, args["input"].(types.CreateStateOfApplicabilityInput)), true
|
|
case "Mutation.createStateOfApplicabilityControlMapping":
|
|
if e.complexity.Mutation.CreateStateOfApplicabilityControlMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createStateOfApplicabilityControlMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateStateOfApplicabilityControlMapping(childComplexity, args["input"].(types.CreateStateOfApplicabilityControlMappingInput)), true
|
|
case "Mutation.createTask":
|
|
if e.complexity.Mutation.CreateTask == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createTask_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateTask(childComplexity, args["input"].(types.CreateTaskInput)), true
|
|
case "Mutation.createTransferImpactAssessment":
|
|
if e.complexity.Mutation.CreateTransferImpactAssessment == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createTransferImpactAssessment_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateTransferImpactAssessment(childComplexity, args["input"].(types.CreateTransferImpactAssessmentInput)), true
|
|
case "Mutation.createTrustCenterAccess":
|
|
if e.complexity.Mutation.CreateTrustCenterAccess == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createTrustCenterAccess_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateTrustCenterAccess(childComplexity, args["input"].(types.CreateTrustCenterAccessInput)), true
|
|
case "Mutation.createTrustCenterFile":
|
|
if e.complexity.Mutation.CreateTrustCenterFile == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createTrustCenterFile_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateTrustCenterFile(childComplexity, args["input"].(types.CreateTrustCenterFileInput)), true
|
|
case "Mutation.createTrustCenterReference":
|
|
if e.complexity.Mutation.CreateTrustCenterReference == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createTrustCenterReference_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateTrustCenterReference(childComplexity, args["input"].(types.CreateTrustCenterReferenceInput)), true
|
|
case "Mutation.createVendor":
|
|
if e.complexity.Mutation.CreateVendor == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createVendor_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateVendor(childComplexity, args["input"].(types.CreateVendorInput)), true
|
|
case "Mutation.createVendorContact":
|
|
if e.complexity.Mutation.CreateVendorContact == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createVendorContact_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateVendorContact(childComplexity, args["input"].(types.CreateVendorContactInput)), true
|
|
case "Mutation.createVendorRiskAssessment":
|
|
if e.complexity.Mutation.CreateVendorRiskAssessment == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createVendorRiskAssessment_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateVendorRiskAssessment(childComplexity, args["input"].(types.CreateVendorRiskAssessmentInput)), true
|
|
case "Mutation.createVendorService":
|
|
if e.complexity.Mutation.CreateVendorService == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_createVendorService_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.CreateVendorService(childComplexity, args["input"].(types.CreateVendorServiceInput)), true
|
|
case "Mutation.deleteAsset":
|
|
if e.complexity.Mutation.DeleteAsset == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteAsset_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteAsset(childComplexity, args["input"].(types.DeleteAssetInput)), true
|
|
case "Mutation.deleteAudit":
|
|
if e.complexity.Mutation.DeleteAudit == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteAudit_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteAudit(childComplexity, args["input"].(types.DeleteAuditInput)), true
|
|
case "Mutation.deleteAuditReport":
|
|
if e.complexity.Mutation.DeleteAuditReport == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteAuditReport_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteAuditReport(childComplexity, args["input"].(types.DeleteAuditReportInput)), true
|
|
case "Mutation.deleteContinualImprovement":
|
|
if e.complexity.Mutation.DeleteContinualImprovement == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteContinualImprovement_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteContinualImprovement(childComplexity, args["input"].(types.DeleteContinualImprovementInput)), true
|
|
case "Mutation.deleteControl":
|
|
if e.complexity.Mutation.DeleteControl == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteControl_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteControl(childComplexity, args["input"].(types.DeleteControlInput)), true
|
|
case "Mutation.deleteControlAuditMapping":
|
|
if e.complexity.Mutation.DeleteControlAuditMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteControlAuditMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteControlAuditMapping(childComplexity, args["input"].(types.DeleteControlAuditMappingInput)), true
|
|
case "Mutation.deleteControlDocumentMapping":
|
|
if e.complexity.Mutation.DeleteControlDocumentMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteControlDocumentMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteControlDocumentMapping(childComplexity, args["input"].(types.DeleteControlDocumentMappingInput)), true
|
|
case "Mutation.deleteControlMeasureMapping":
|
|
if e.complexity.Mutation.DeleteControlMeasureMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteControlMeasureMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteControlMeasureMapping(childComplexity, args["input"].(types.DeleteControlMeasureMappingInput)), true
|
|
case "Mutation.deleteControlObligationMapping":
|
|
if e.complexity.Mutation.DeleteControlObligationMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteControlObligationMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteControlObligationMapping(childComplexity, args["input"].(types.DeleteControlObligationMappingInput)), true
|
|
case "Mutation.deleteControlSnapshotMapping":
|
|
if e.complexity.Mutation.DeleteControlSnapshotMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteControlSnapshotMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteControlSnapshotMapping(childComplexity, args["input"].(types.DeleteControlSnapshotMappingInput)), true
|
|
case "Mutation.deleteCustomDomain":
|
|
if e.complexity.Mutation.DeleteCustomDomain == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteCustomDomain_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteCustomDomain(childComplexity, args["input"].(types.DeleteCustomDomainInput)), true
|
|
case "Mutation.deleteDataProtectionImpactAssessment":
|
|
if e.complexity.Mutation.DeleteDataProtectionImpactAssessment == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteDataProtectionImpactAssessment_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteDataProtectionImpactAssessment(childComplexity, args["input"].(types.DeleteDataProtectionImpactAssessmentInput)), true
|
|
case "Mutation.deleteDatum":
|
|
if e.complexity.Mutation.DeleteDatum == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteDatum_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteDatum(childComplexity, args["input"].(types.DeleteDatumInput)), true
|
|
case "Mutation.deleteDocument":
|
|
if e.complexity.Mutation.DeleteDocument == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteDocument_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteDocument(childComplexity, args["input"].(types.DeleteDocumentInput)), true
|
|
case "Mutation.deleteDraftDocumentVersion":
|
|
if e.complexity.Mutation.DeleteDraftDocumentVersion == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteDraftDocumentVersion_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteDraftDocumentVersion(childComplexity, args["input"].(types.DeleteDraftDocumentVersionInput)), true
|
|
case "Mutation.deleteEvidence":
|
|
if e.complexity.Mutation.DeleteEvidence == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteEvidence_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteEvidence(childComplexity, args["input"].(types.DeleteEvidenceInput)), true
|
|
case "Mutation.deleteFramework":
|
|
if e.complexity.Mutation.DeleteFramework == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteFramework_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteFramework(childComplexity, args["input"].(types.DeleteFrameworkInput)), true
|
|
case "Mutation.deleteMeasure":
|
|
if e.complexity.Mutation.DeleteMeasure == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteMeasure_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteMeasure(childComplexity, args["input"].(types.DeleteMeasureInput)), true
|
|
case "Mutation.deleteMeeting":
|
|
if e.complexity.Mutation.DeleteMeeting == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteMeeting_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteMeeting(childComplexity, args["input"].(types.DeleteMeetingInput)), true
|
|
case "Mutation.deleteNonconformity":
|
|
if e.complexity.Mutation.DeleteNonconformity == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteNonconformity_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteNonconformity(childComplexity, args["input"].(types.DeleteNonconformityInput)), true
|
|
case "Mutation.deleteObligation":
|
|
if e.complexity.Mutation.DeleteObligation == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteObligation_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteObligation(childComplexity, args["input"].(types.DeleteObligationInput)), true
|
|
case "Mutation.deletePeople":
|
|
if e.complexity.Mutation.DeletePeople == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deletePeople_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeletePeople(childComplexity, args["input"].(types.DeletePeopleInput)), true
|
|
case "Mutation.deleteProcessingActivity":
|
|
if e.complexity.Mutation.DeleteProcessingActivity == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteProcessingActivity_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteProcessingActivity(childComplexity, args["input"].(types.DeleteProcessingActivityInput)), true
|
|
case "Mutation.deleteRightsRequest":
|
|
if e.complexity.Mutation.DeleteRightsRequest == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteRightsRequest_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteRightsRequest(childComplexity, args["input"].(types.DeleteRightsRequestInput)), true
|
|
case "Mutation.deleteRisk":
|
|
if e.complexity.Mutation.DeleteRisk == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteRisk_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteRisk(childComplexity, args["input"].(types.DeleteRiskInput)), true
|
|
case "Mutation.deleteRiskDocumentMapping":
|
|
if e.complexity.Mutation.DeleteRiskDocumentMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteRiskDocumentMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteRiskDocumentMapping(childComplexity, args["input"].(types.DeleteRiskDocumentMappingInput)), true
|
|
case "Mutation.deleteRiskMeasureMapping":
|
|
if e.complexity.Mutation.DeleteRiskMeasureMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteRiskMeasureMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteRiskMeasureMapping(childComplexity, args["input"].(types.DeleteRiskMeasureMappingInput)), true
|
|
case "Mutation.deleteRiskObligationMapping":
|
|
if e.complexity.Mutation.DeleteRiskObligationMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteRiskObligationMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteRiskObligationMapping(childComplexity, args["input"].(types.DeleteRiskObligationMappingInput)), true
|
|
case "Mutation.deleteSnapshot":
|
|
if e.complexity.Mutation.DeleteSnapshot == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteSnapshot_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteSnapshot(childComplexity, args["input"].(types.DeleteSnapshotInput)), true
|
|
case "Mutation.deleteStateOfApplicability":
|
|
if e.complexity.Mutation.DeleteStateOfApplicability == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteStateOfApplicability_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteStateOfApplicability(childComplexity, args["input"].(types.DeleteStateOfApplicabilityInput)), true
|
|
case "Mutation.deleteStateOfApplicabilityControlMapping":
|
|
if e.complexity.Mutation.DeleteStateOfApplicabilityControlMapping == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteStateOfApplicabilityControlMapping_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteStateOfApplicabilityControlMapping(childComplexity, args["input"].(types.DeleteStateOfApplicabilityControlMappingInput)), true
|
|
case "Mutation.deleteTask":
|
|
if e.complexity.Mutation.DeleteTask == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteTask_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteTask(childComplexity, args["input"].(types.DeleteTaskInput)), true
|
|
case "Mutation.deleteTransferImpactAssessment":
|
|
if e.complexity.Mutation.DeleteTransferImpactAssessment == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteTransferImpactAssessment_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteTransferImpactAssessment(childComplexity, args["input"].(types.DeleteTransferImpactAssessmentInput)), true
|
|
case "Mutation.deleteTrustCenterAccess":
|
|
if e.complexity.Mutation.DeleteTrustCenterAccess == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteTrustCenterAccess_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteTrustCenterAccess(childComplexity, args["input"].(types.DeleteTrustCenterAccessInput)), true
|
|
case "Mutation.deleteTrustCenterFile":
|
|
if e.complexity.Mutation.DeleteTrustCenterFile == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteTrustCenterFile_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteTrustCenterFile(childComplexity, args["input"].(types.DeleteTrustCenterFileInput)), true
|
|
case "Mutation.deleteTrustCenterNDA":
|
|
if e.complexity.Mutation.DeleteTrustCenterNda == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteTrustCenterNDA_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteTrustCenterNda(childComplexity, args["input"].(types.DeleteTrustCenterNDAInput)), true
|
|
case "Mutation.deleteTrustCenterReference":
|
|
if e.complexity.Mutation.DeleteTrustCenterReference == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteTrustCenterReference_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteTrustCenterReference(childComplexity, args["input"].(types.DeleteTrustCenterReferenceInput)), true
|
|
case "Mutation.deleteVendor":
|
|
if e.complexity.Mutation.DeleteVendor == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteVendor_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteVendor(childComplexity, args["input"].(types.DeleteVendorInput)), true
|
|
case "Mutation.deleteVendorBusinessAssociateAgreement":
|
|
if e.complexity.Mutation.DeleteVendorBusinessAssociateAgreement == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteVendorBusinessAssociateAgreement_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteVendorBusinessAssociateAgreement(childComplexity, args["input"].(types.DeleteVendorBusinessAssociateAgreementInput)), true
|
|
case "Mutation.deleteVendorComplianceReport":
|
|
if e.complexity.Mutation.DeleteVendorComplianceReport == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteVendorComplianceReport_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteVendorComplianceReport(childComplexity, args["input"].(types.DeleteVendorComplianceReportInput)), true
|
|
case "Mutation.deleteVendorContact":
|
|
if e.complexity.Mutation.DeleteVendorContact == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteVendorContact_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteVendorContact(childComplexity, args["input"].(types.DeleteVendorContactInput)), true
|
|
case "Mutation.deleteVendorDataPrivacyAgreement":
|
|
if e.complexity.Mutation.DeleteVendorDataPrivacyAgreement == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteVendorDataPrivacyAgreement_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteVendorDataPrivacyAgreement(childComplexity, args["input"].(types.DeleteVendorDataPrivacyAgreementInput)), true
|
|
case "Mutation.deleteVendorService":
|
|
if e.complexity.Mutation.DeleteVendorService == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_deleteVendorService_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.DeleteVendorService(childComplexity, args["input"].(types.DeleteVendorServiceInput)), true
|
|
case "Mutation.exportDataProtectionImpactAssessmentsPDF":
|
|
if e.complexity.Mutation.ExportDataProtectionImpactAssessmentsPDF == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_exportDataProtectionImpactAssessmentsPDF_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.ExportDataProtectionImpactAssessmentsPDF(childComplexity, args["input"].(types.ExportDataProtectionImpactAssessmentsPDFInput)), true
|
|
case "Mutation.exportDocumentVersionPDF":
|
|
if e.complexity.Mutation.ExportDocumentVersionPDF == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_exportDocumentVersionPDF_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.ExportDocumentVersionPDF(childComplexity, args["input"].(types.ExportDocumentVersionPDFInput)), true
|
|
case "Mutation.exportFramework":
|
|
if e.complexity.Mutation.ExportFramework == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_exportFramework_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.ExportFramework(childComplexity, args["input"].(types.ExportFrameworkInput)), true
|
|
case "Mutation.exportProcessingActivitiesPDF":
|
|
if e.complexity.Mutation.ExportProcessingActivitiesPDF == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_exportProcessingActivitiesPDF_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.ExportProcessingActivitiesPDF(childComplexity, args["input"].(types.ExportProcessingActivitiesPDFInput)), true
|
|
case "Mutation.exportSignableVersionDocumentPDF":
|
|
if e.complexity.Mutation.ExportSignableVersionDocumentPDF == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_exportSignableVersionDocumentPDF_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.ExportSignableVersionDocumentPDF(childComplexity, args["input"].(types.ExportSignableDocumentVersionPDFInput)), true
|
|
case "Mutation.exportStateOfApplicabilityPDF":
|
|
if e.complexity.Mutation.ExportStateOfApplicabilityPDF == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_exportStateOfApplicabilityPDF_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.ExportStateOfApplicabilityPDF(childComplexity, args["input"].(types.ExportStateOfApplicabilityPDFInput)), true
|
|
case "Mutation.exportTransferImpactAssessmentsPDF":
|
|
if e.complexity.Mutation.ExportTransferImpactAssessmentsPDF == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_exportTransferImpactAssessmentsPDF_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.ExportTransferImpactAssessmentsPDF(childComplexity, args["input"].(types.ExportTransferImpactAssessmentsPDFInput)), true
|
|
case "Mutation.generateDocumentChangelog":
|
|
if e.complexity.Mutation.GenerateDocumentChangelog == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_generateDocumentChangelog_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.GenerateDocumentChangelog(childComplexity, args["input"].(types.GenerateDocumentChangelogInput)), true
|
|
case "Mutation.generateFrameworkStateOfApplicability":
|
|
if e.complexity.Mutation.GenerateFrameworkStateOfApplicability == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_generateFrameworkStateOfApplicability_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.GenerateFrameworkStateOfApplicability(childComplexity, args["input"].(types.GenerateFrameworkStateOfApplicabilityInput)), true
|
|
case "Mutation.getTrustCenterFile":
|
|
if e.complexity.Mutation.GetTrustCenterFile == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_getTrustCenterFile_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.GetTrustCenterFile(childComplexity, args["input"].(types.GetTrustCenterFileInput)), true
|
|
case "Mutation.importFramework":
|
|
if e.complexity.Mutation.ImportFramework == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_importFramework_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.ImportFramework(childComplexity, args["input"].(types.ImportFrameworkInput)), true
|
|
case "Mutation.importMeasure":
|
|
if e.complexity.Mutation.ImportMeasure == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_importMeasure_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.ImportMeasure(childComplexity, args["input"].(types.ImportMeasureInput)), true
|
|
case "Mutation.publishDocumentVersion":
|
|
if e.complexity.Mutation.PublishDocumentVersion == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_publishDocumentVersion_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.PublishDocumentVersion(childComplexity, args["input"].(types.PublishDocumentVersionInput)), true
|
|
case "Mutation.requestSignature":
|
|
if e.complexity.Mutation.RequestSignature == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_requestSignature_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.RequestSignature(childComplexity, args["input"].(types.RequestSignatureInput)), true
|
|
case "Mutation.sendSigningNotifications":
|
|
if e.complexity.Mutation.SendSigningNotifications == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_sendSigningNotifications_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.SendSigningNotifications(childComplexity, args["input"].(types.SendSigningNotificationsInput)), true
|
|
case "Mutation.signDocument":
|
|
if e.complexity.Mutation.SignDocument == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_signDocument_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.SignDocument(childComplexity, args["input"].(types.SignDocumentInput)), true
|
|
case "Mutation.updateAsset":
|
|
if e.complexity.Mutation.UpdateAsset == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateAsset_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateAsset(childComplexity, args["input"].(types.UpdateAssetInput)), true
|
|
case "Mutation.updateAudit":
|
|
if e.complexity.Mutation.UpdateAudit == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateAudit_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateAudit(childComplexity, args["input"].(types.UpdateAuditInput)), true
|
|
case "Mutation.updateContinualImprovement":
|
|
if e.complexity.Mutation.UpdateContinualImprovement == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateContinualImprovement_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateContinualImprovement(childComplexity, args["input"].(types.UpdateContinualImprovementInput)), true
|
|
case "Mutation.updateControl":
|
|
if e.complexity.Mutation.UpdateControl == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateControl_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateControl(childComplexity, args["input"].(types.UpdateControlInput)), true
|
|
case "Mutation.updateDataProtectionImpactAssessment":
|
|
if e.complexity.Mutation.UpdateDataProtectionImpactAssessment == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateDataProtectionImpactAssessment_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateDataProtectionImpactAssessment(childComplexity, args["input"].(types.UpdateDataProtectionImpactAssessmentInput)), true
|
|
case "Mutation.updateDatum":
|
|
if e.complexity.Mutation.UpdateDatum == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateDatum_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateDatum(childComplexity, args["input"].(types.UpdateDatumInput)), true
|
|
case "Mutation.updateDocument":
|
|
if e.complexity.Mutation.UpdateDocument == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateDocument_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateDocument(childComplexity, args["input"].(types.UpdateDocumentInput)), true
|
|
case "Mutation.updateDocumentVersion":
|
|
if e.complexity.Mutation.UpdateDocumentVersion == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateDocumentVersion_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateDocumentVersion(childComplexity, args["input"].(types.UpdateDocumentVersionInput)), true
|
|
case "Mutation.updateFramework":
|
|
if e.complexity.Mutation.UpdateFramework == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateFramework_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateFramework(childComplexity, args["input"].(types.UpdateFrameworkInput)), true
|
|
case "Mutation.updateMeasure":
|
|
if e.complexity.Mutation.UpdateMeasure == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateMeasure_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateMeasure(childComplexity, args["input"].(types.UpdateMeasureInput)), true
|
|
case "Mutation.updateMeeting":
|
|
if e.complexity.Mutation.UpdateMeeting == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateMeeting_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateMeeting(childComplexity, args["input"].(types.UpdateMeetingInput)), true
|
|
case "Mutation.updateNonconformity":
|
|
if e.complexity.Mutation.UpdateNonconformity == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateNonconformity_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateNonconformity(childComplexity, args["input"].(types.UpdateNonconformityInput)), true
|
|
case "Mutation.updateObligation":
|
|
if e.complexity.Mutation.UpdateObligation == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateObligation_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateObligation(childComplexity, args["input"].(types.UpdateObligationInput)), true
|
|
case "Mutation.updateOrganizationContext":
|
|
if e.complexity.Mutation.UpdateOrganizationContext == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateOrganizationContext_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateOrganizationContext(childComplexity, args["input"].(types.UpdateOrganizationContextInput)), true
|
|
case "Mutation.updatePeople":
|
|
if e.complexity.Mutation.UpdatePeople == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updatePeople_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdatePeople(childComplexity, args["input"].(types.UpdatePeopleInput)), true
|
|
case "Mutation.updateProcessingActivity":
|
|
if e.complexity.Mutation.UpdateProcessingActivity == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateProcessingActivity_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateProcessingActivity(childComplexity, args["input"].(types.UpdateProcessingActivityInput)), true
|
|
case "Mutation.updateRightsRequest":
|
|
if e.complexity.Mutation.UpdateRightsRequest == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateRightsRequest_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateRightsRequest(childComplexity, args["input"].(types.UpdateRightsRequestInput)), true
|
|
case "Mutation.updateRisk":
|
|
if e.complexity.Mutation.UpdateRisk == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateRisk_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateRisk(childComplexity, args["input"].(types.UpdateRiskInput)), true
|
|
case "Mutation.updateStateOfApplicability":
|
|
if e.complexity.Mutation.UpdateStateOfApplicability == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateStateOfApplicability_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateStateOfApplicability(childComplexity, args["input"].(types.UpdateStateOfApplicabilityInput)), true
|
|
case "Mutation.updateTask":
|
|
if e.complexity.Mutation.UpdateTask == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateTask_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateTask(childComplexity, args["input"].(types.UpdateTaskInput)), true
|
|
case "Mutation.updateTransferImpactAssessment":
|
|
if e.complexity.Mutation.UpdateTransferImpactAssessment == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateTransferImpactAssessment_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateTransferImpactAssessment(childComplexity, args["input"].(types.UpdateTransferImpactAssessmentInput)), true
|
|
case "Mutation.updateTrustCenter":
|
|
if e.complexity.Mutation.UpdateTrustCenter == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateTrustCenter_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateTrustCenter(childComplexity, args["input"].(types.UpdateTrustCenterInput)), true
|
|
case "Mutation.updateTrustCenterAccess":
|
|
if e.complexity.Mutation.UpdateTrustCenterAccess == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateTrustCenterAccess_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateTrustCenterAccess(childComplexity, args["input"].(types.UpdateTrustCenterAccessInput)), true
|
|
case "Mutation.updateTrustCenterFile":
|
|
if e.complexity.Mutation.UpdateTrustCenterFile == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateTrustCenterFile_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateTrustCenterFile(childComplexity, args["input"].(types.UpdateTrustCenterFileInput)), true
|
|
case "Mutation.updateTrustCenterReference":
|
|
if e.complexity.Mutation.UpdateTrustCenterReference == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateTrustCenterReference_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateTrustCenterReference(childComplexity, args["input"].(types.UpdateTrustCenterReferenceInput)), true
|
|
case "Mutation.updateVendor":
|
|
if e.complexity.Mutation.UpdateVendor == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateVendor_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateVendor(childComplexity, args["input"].(types.UpdateVendorInput)), true
|
|
case "Mutation.updateVendorBusinessAssociateAgreement":
|
|
if e.complexity.Mutation.UpdateVendorBusinessAssociateAgreement == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateVendorBusinessAssociateAgreement_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateVendorBusinessAssociateAgreement(childComplexity, args["input"].(types.UpdateVendorBusinessAssociateAgreementInput)), true
|
|
case "Mutation.updateVendorContact":
|
|
if e.complexity.Mutation.UpdateVendorContact == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateVendorContact_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateVendorContact(childComplexity, args["input"].(types.UpdateVendorContactInput)), true
|
|
case "Mutation.updateVendorDataPrivacyAgreement":
|
|
if e.complexity.Mutation.UpdateVendorDataPrivacyAgreement == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateVendorDataPrivacyAgreement_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateVendorDataPrivacyAgreement(childComplexity, args["input"].(types.UpdateVendorDataPrivacyAgreementInput)), true
|
|
case "Mutation.updateVendorService":
|
|
if e.complexity.Mutation.UpdateVendorService == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_updateVendorService_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UpdateVendorService(childComplexity, args["input"].(types.UpdateVendorServiceInput)), true
|
|
case "Mutation.uploadAuditReport":
|
|
if e.complexity.Mutation.UploadAuditReport == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_uploadAuditReport_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UploadAuditReport(childComplexity, args["input"].(types.UploadAuditReportInput)), true
|
|
case "Mutation.uploadMeasureEvidence":
|
|
if e.complexity.Mutation.UploadMeasureEvidence == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_uploadMeasureEvidence_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UploadMeasureEvidence(childComplexity, args["input"].(types.UploadMeasureEvidenceInput)), true
|
|
case "Mutation.uploadTrustCenterNDA":
|
|
if e.complexity.Mutation.UploadTrustCenterNda == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_uploadTrustCenterNDA_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UploadTrustCenterNda(childComplexity, args["input"].(types.UploadTrustCenterNDAInput)), true
|
|
case "Mutation.uploadVendorBusinessAssociateAgreement":
|
|
if e.complexity.Mutation.UploadVendorBusinessAssociateAgreement == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_uploadVendorBusinessAssociateAgreement_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UploadVendorBusinessAssociateAgreement(childComplexity, args["input"].(types.UploadVendorBusinessAssociateAgreementInput)), true
|
|
case "Mutation.uploadVendorComplianceReport":
|
|
if e.complexity.Mutation.UploadVendorComplianceReport == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_uploadVendorComplianceReport_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UploadVendorComplianceReport(childComplexity, args["input"].(types.UploadVendorComplianceReportInput)), true
|
|
case "Mutation.uploadVendorDataPrivacyAgreement":
|
|
if e.complexity.Mutation.UploadVendorDataPrivacyAgreement == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Mutation_uploadVendorDataPrivacyAgreement_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Mutation.UploadVendorDataPrivacyAgreement(childComplexity, args["input"].(types.UploadVendorDataPrivacyAgreementInput)), true
|
|
|
|
case "Nonconformity.audit":
|
|
if e.complexity.Nonconformity.Audit == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.Audit(childComplexity), true
|
|
case "Nonconformity.correctiveAction":
|
|
if e.complexity.Nonconformity.CorrectiveAction == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.CorrectiveAction(childComplexity), true
|
|
case "Nonconformity.createdAt":
|
|
if e.complexity.Nonconformity.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.CreatedAt(childComplexity), true
|
|
case "Nonconformity.dateIdentified":
|
|
if e.complexity.Nonconformity.DateIdentified == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.DateIdentified(childComplexity), true
|
|
case "Nonconformity.description":
|
|
if e.complexity.Nonconformity.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.Description(childComplexity), true
|
|
case "Nonconformity.dueDate":
|
|
if e.complexity.Nonconformity.DueDate == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.DueDate(childComplexity), true
|
|
case "Nonconformity.effectivenessCheck":
|
|
if e.complexity.Nonconformity.EffectivenessCheck == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.EffectivenessCheck(childComplexity), true
|
|
case "Nonconformity.id":
|
|
if e.complexity.Nonconformity.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.ID(childComplexity), true
|
|
case "Nonconformity.organization":
|
|
if e.complexity.Nonconformity.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.Organization(childComplexity), true
|
|
case "Nonconformity.owner":
|
|
if e.complexity.Nonconformity.Owner == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.Owner(childComplexity), true
|
|
case "Nonconformity.permission":
|
|
if e.complexity.Nonconformity.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Nonconformity_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Nonconformity.Permission(childComplexity, args["action"].(string)), true
|
|
case "Nonconformity.referenceId":
|
|
if e.complexity.Nonconformity.ReferenceID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.ReferenceID(childComplexity), true
|
|
case "Nonconformity.rootCause":
|
|
if e.complexity.Nonconformity.RootCause == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.RootCause(childComplexity), true
|
|
case "Nonconformity.snapshotId":
|
|
if e.complexity.Nonconformity.SnapshotID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.SnapshotID(childComplexity), true
|
|
case "Nonconformity.status":
|
|
if e.complexity.Nonconformity.Status == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.Status(childComplexity), true
|
|
case "Nonconformity.updatedAt":
|
|
if e.complexity.Nonconformity.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Nonconformity.UpdatedAt(childComplexity), true
|
|
|
|
case "NonconformityConnection.edges":
|
|
if e.complexity.NonconformityConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.NonconformityConnection.Edges(childComplexity), true
|
|
case "NonconformityConnection.pageInfo":
|
|
if e.complexity.NonconformityConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.NonconformityConnection.PageInfo(childComplexity), true
|
|
case "NonconformityConnection.totalCount":
|
|
if e.complexity.NonconformityConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.NonconformityConnection.TotalCount(childComplexity), true
|
|
|
|
case "NonconformityEdge.cursor":
|
|
if e.complexity.NonconformityEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.NonconformityEdge.Cursor(childComplexity), true
|
|
case "NonconformityEdge.node":
|
|
if e.complexity.NonconformityEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.NonconformityEdge.Node(childComplexity), true
|
|
|
|
case "Obligation.actionsToBeImplemented":
|
|
if e.complexity.Obligation.ActionsToBeImplemented == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.ActionsToBeImplemented(childComplexity), true
|
|
case "Obligation.area":
|
|
if e.complexity.Obligation.Area == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.Area(childComplexity), true
|
|
case "Obligation.createdAt":
|
|
if e.complexity.Obligation.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.CreatedAt(childComplexity), true
|
|
case "Obligation.dueDate":
|
|
if e.complexity.Obligation.DueDate == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.DueDate(childComplexity), true
|
|
case "Obligation.id":
|
|
if e.complexity.Obligation.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.ID(childComplexity), true
|
|
case "Obligation.lastReviewDate":
|
|
if e.complexity.Obligation.LastReviewDate == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.LastReviewDate(childComplexity), true
|
|
case "Obligation.organization":
|
|
if e.complexity.Obligation.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.Organization(childComplexity), true
|
|
case "Obligation.owner":
|
|
if e.complexity.Obligation.Owner == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.Owner(childComplexity), true
|
|
case "Obligation.permission":
|
|
if e.complexity.Obligation.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Obligation_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Obligation.Permission(childComplexity, args["action"].(string)), true
|
|
case "Obligation.regulator":
|
|
if e.complexity.Obligation.Regulator == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.Regulator(childComplexity), true
|
|
case "Obligation.requirement":
|
|
if e.complexity.Obligation.Requirement == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.Requirement(childComplexity), true
|
|
case "Obligation.snapshotId":
|
|
if e.complexity.Obligation.SnapshotID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.SnapshotID(childComplexity), true
|
|
case "Obligation.source":
|
|
if e.complexity.Obligation.Source == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.Source(childComplexity), true
|
|
case "Obligation.sourceId":
|
|
if e.complexity.Obligation.SourceID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.SourceID(childComplexity), true
|
|
case "Obligation.status":
|
|
if e.complexity.Obligation.Status == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.Status(childComplexity), true
|
|
case "Obligation.type":
|
|
if e.complexity.Obligation.Type == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.Type(childComplexity), true
|
|
case "Obligation.updatedAt":
|
|
if e.complexity.Obligation.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Obligation.UpdatedAt(childComplexity), true
|
|
|
|
case "ObligationConnection.edges":
|
|
if e.complexity.ObligationConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ObligationConnection.Edges(childComplexity), true
|
|
case "ObligationConnection.pageInfo":
|
|
if e.complexity.ObligationConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ObligationConnection.PageInfo(childComplexity), true
|
|
case "ObligationConnection.totalCount":
|
|
if e.complexity.ObligationConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ObligationConnection.TotalCount(childComplexity), true
|
|
|
|
case "ObligationEdge.cursor":
|
|
if e.complexity.ObligationEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ObligationEdge.Cursor(childComplexity), true
|
|
case "ObligationEdge.node":
|
|
if e.complexity.ObligationEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ObligationEdge.Node(childComplexity), true
|
|
|
|
case "Organization.assets":
|
|
if e.complexity.Organization.Assets == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_assets_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Assets(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.AssetOrderBy), args["filter"].(*types.AssetFilter)), true
|
|
case "Organization.audits":
|
|
if e.complexity.Organization.Audits == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_audits_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Audits(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.AuditOrderBy)), true
|
|
case "Organization.context":
|
|
if e.complexity.Organization.Context == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Organization.Context(childComplexity), true
|
|
case "Organization.continualImprovements":
|
|
if e.complexity.Organization.ContinualImprovements == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_continualImprovements_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.ContinualImprovements(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.ContinualImprovementOrderBy), args["filter"].(*types.ContinualImprovementFilter)), true
|
|
case "Organization.controls":
|
|
if e.complexity.Organization.Controls == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_controls_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Controls(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.ControlOrderBy), args["filter"].(*types.ControlFilter)), true
|
|
case "Organization.createdAt":
|
|
if e.complexity.Organization.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Organization.CreatedAt(childComplexity), true
|
|
case "Organization.customDomain":
|
|
if e.complexity.Organization.CustomDomain == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Organization.CustomDomain(childComplexity), true
|
|
case "Organization.data":
|
|
if e.complexity.Organization.Data == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_data_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Data(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.DatumOrderBy), args["filter"].(*types.DatumFilter)), true
|
|
case "Organization.dataProtectionImpactAssessments":
|
|
if e.complexity.Organization.DataProtectionImpactAssessments == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_dataProtectionImpactAssessments_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.DataProtectionImpactAssessments(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.DataProtectionImpactAssessmentOrderBy), args["filter"].(*types.DataProtectionImpactAssessmentFilter)), true
|
|
case "Organization.description":
|
|
if e.complexity.Organization.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Organization.Description(childComplexity), true
|
|
case "Organization.documents":
|
|
if e.complexity.Organization.Documents == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_documents_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Documents(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.DocumentOrderBy), args["filter"].(*types.DocumentFilter)), true
|
|
case "Organization.email":
|
|
if e.complexity.Organization.Email == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Organization.Email(childComplexity), true
|
|
case "Organization.frameworks":
|
|
if e.complexity.Organization.Frameworks == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_frameworks_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Frameworks(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.FrameworkOrderBy)), true
|
|
case "Organization.headquarterAddress":
|
|
if e.complexity.Organization.HeadquarterAddress == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Organization.HeadquarterAddress(childComplexity), true
|
|
case "Organization.horizontalLogoUrl":
|
|
if e.complexity.Organization.HorizontalLogoURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Organization.HorizontalLogoURL(childComplexity), true
|
|
case "Organization.id":
|
|
if e.complexity.Organization.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Organization.ID(childComplexity), true
|
|
case "Organization.logoUrl":
|
|
if e.complexity.Organization.LogoURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Organization.LogoURL(childComplexity), true
|
|
case "Organization.measures":
|
|
if e.complexity.Organization.Measures == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_measures_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Measures(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.MeasureOrderBy), args["filter"].(*types.MeasureFilter)), true
|
|
case "Organization.meetings":
|
|
if e.complexity.Organization.Meetings == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_meetings_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Meetings(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.MeetingOrderBy)), true
|
|
case "Organization.name":
|
|
if e.complexity.Organization.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Organization.Name(childComplexity), true
|
|
case "Organization.nonconformities":
|
|
if e.complexity.Organization.Nonconformities == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_nonconformities_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Nonconformities(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.NonconformityOrderBy), args["filter"].(*types.NonconformityFilter)), true
|
|
case "Organization.obligations":
|
|
if e.complexity.Organization.Obligations == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_obligations_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Obligations(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.ObligationOrderBy), args["filter"].(*types.ObligationFilter)), true
|
|
case "Organization.peoples":
|
|
if e.complexity.Organization.Peoples == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_peoples_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Peoples(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.PeopleOrderBy), args["filter"].(*types.PeopleFilter)), true
|
|
case "Organization.permission":
|
|
if e.complexity.Organization.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Permission(childComplexity, args["action"].(string)), true
|
|
case "Organization.processingActivities":
|
|
if e.complexity.Organization.ProcessingActivities == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_processingActivities_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.ProcessingActivities(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.ProcessingActivityOrderBy), args["filter"].(*types.ProcessingActivityFilter)), true
|
|
case "Organization.rightsRequests":
|
|
if e.complexity.Organization.RightsRequests == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_rightsRequests_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.RightsRequests(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.RightsRequestOrderBy)), true
|
|
case "Organization.risks":
|
|
if e.complexity.Organization.Risks == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_risks_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Risks(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.RiskOrderBy), args["filter"].(*types.RiskFilter)), true
|
|
case "Organization.slackConnections":
|
|
if e.complexity.Organization.SlackConnections == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_slackConnections_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.SlackConnections(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey)), true
|
|
case "Organization.snapshots":
|
|
if e.complexity.Organization.Snapshots == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_snapshots_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Snapshots(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.SnapshotOrderBy)), true
|
|
case "Organization.statesOfApplicability":
|
|
if e.complexity.Organization.StatesOfApplicability == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_statesOfApplicability_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.StatesOfApplicability(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.StateOfApplicabilityOrderBy), args["filter"].(*types.StateOfApplicabilityFilter)), true
|
|
case "Organization.tasks":
|
|
if e.complexity.Organization.Tasks == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_tasks_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Tasks(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.TaskOrderBy)), true
|
|
case "Organization.transferImpactAssessments":
|
|
if e.complexity.Organization.TransferImpactAssessments == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_transferImpactAssessments_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.TransferImpactAssessments(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.TransferImpactAssessmentOrderBy), args["filter"].(*types.TransferImpactAssessmentFilter)), true
|
|
case "Organization.trustCenter":
|
|
if e.complexity.Organization.TrustCenter == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Organization.TrustCenter(childComplexity), true
|
|
case "Organization.trustCenterFiles":
|
|
if e.complexity.Organization.TrustCenterFiles == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_trustCenterFiles_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.TrustCenterFiles(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.OrderBy[coredata.TrustCenterFileOrderField])), true
|
|
case "Organization.updatedAt":
|
|
if e.complexity.Organization.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Organization.UpdatedAt(childComplexity), true
|
|
case "Organization.vendors":
|
|
if e.complexity.Organization.Vendors == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Organization_vendors_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Organization.Vendors(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.VendorOrderBy), args["filter"].(*types.VendorFilter)), true
|
|
case "Organization.websiteUrl":
|
|
if e.complexity.Organization.WebsiteURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Organization.WebsiteURL(childComplexity), true
|
|
|
|
case "OrganizationContext.organizationId":
|
|
if e.complexity.OrganizationContext.OrganizationID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.OrganizationContext.OrganizationID(childComplexity), true
|
|
case "OrganizationContext.summary":
|
|
if e.complexity.OrganizationContext.Summary == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.OrganizationContext.Summary(childComplexity), true
|
|
|
|
case "PageInfo.endCursor":
|
|
if e.complexity.PageInfo.EndCursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.PageInfo.EndCursor(childComplexity), true
|
|
case "PageInfo.hasNextPage":
|
|
if e.complexity.PageInfo.HasNextPage == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.PageInfo.HasNextPage(childComplexity), true
|
|
case "PageInfo.hasPreviousPage":
|
|
if e.complexity.PageInfo.HasPreviousPage == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.PageInfo.HasPreviousPage(childComplexity), true
|
|
case "PageInfo.startCursor":
|
|
if e.complexity.PageInfo.StartCursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.PageInfo.StartCursor(childComplexity), true
|
|
|
|
case "People.additionalEmailAddresses":
|
|
if e.complexity.People.AdditionalEmailAddresses == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.People.AdditionalEmailAddresses(childComplexity), true
|
|
case "People.contractEndDate":
|
|
if e.complexity.People.ContractEndDate == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.People.ContractEndDate(childComplexity), true
|
|
case "People.contractStartDate":
|
|
if e.complexity.People.ContractStartDate == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.People.ContractStartDate(childComplexity), true
|
|
case "People.createdAt":
|
|
if e.complexity.People.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.People.CreatedAt(childComplexity), true
|
|
case "People.fullName":
|
|
if e.complexity.People.FullName == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.People.FullName(childComplexity), true
|
|
case "People.id":
|
|
if e.complexity.People.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.People.ID(childComplexity), true
|
|
case "People.kind":
|
|
if e.complexity.People.Kind == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.People.Kind(childComplexity), true
|
|
case "People.permission":
|
|
if e.complexity.People.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_People_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.People.Permission(childComplexity, args["action"].(string)), true
|
|
case "People.position":
|
|
if e.complexity.People.Position == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.People.Position(childComplexity), true
|
|
case "People.primaryEmailAddress":
|
|
if e.complexity.People.PrimaryEmailAddress == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.People.PrimaryEmailAddress(childComplexity), true
|
|
case "People.updatedAt":
|
|
if e.complexity.People.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.People.UpdatedAt(childComplexity), true
|
|
|
|
case "PeopleConnection.edges":
|
|
if e.complexity.PeopleConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.PeopleConnection.Edges(childComplexity), true
|
|
case "PeopleConnection.pageInfo":
|
|
if e.complexity.PeopleConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.PeopleConnection.PageInfo(childComplexity), true
|
|
case "PeopleConnection.totalCount":
|
|
if e.complexity.PeopleConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.PeopleConnection.TotalCount(childComplexity), true
|
|
|
|
case "PeopleEdge.cursor":
|
|
if e.complexity.PeopleEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.PeopleEdge.Cursor(childComplexity), true
|
|
case "PeopleEdge.node":
|
|
if e.complexity.PeopleEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.PeopleEdge.Node(childComplexity), true
|
|
|
|
case "ProcessingActivity.consentEvidenceLink":
|
|
if e.complexity.ProcessingActivity.ConsentEvidenceLink == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.ConsentEvidenceLink(childComplexity), true
|
|
case "ProcessingActivity.createdAt":
|
|
if e.complexity.ProcessingActivity.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.CreatedAt(childComplexity), true
|
|
case "ProcessingActivity.dataProtectionImpactAssessment":
|
|
if e.complexity.ProcessingActivity.DataProtectionImpactAssessment == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.DataProtectionImpactAssessment(childComplexity), true
|
|
case "ProcessingActivity.dataProtectionImpactAssessmentNeeded":
|
|
if e.complexity.ProcessingActivity.DataProtectionImpactAssessmentNeeded == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.DataProtectionImpactAssessmentNeeded(childComplexity), true
|
|
case "ProcessingActivity.dataProtectionOfficer":
|
|
if e.complexity.ProcessingActivity.DataProtectionOfficer == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.DataProtectionOfficer(childComplexity), true
|
|
case "ProcessingActivity.dataSubjectCategory":
|
|
if e.complexity.ProcessingActivity.DataSubjectCategory == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.DataSubjectCategory(childComplexity), true
|
|
case "ProcessingActivity.id":
|
|
if e.complexity.ProcessingActivity.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.ID(childComplexity), true
|
|
case "ProcessingActivity.internationalTransfers":
|
|
if e.complexity.ProcessingActivity.InternationalTransfers == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.InternationalTransfers(childComplexity), true
|
|
case "ProcessingActivity.lastReviewDate":
|
|
if e.complexity.ProcessingActivity.LastReviewDate == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.LastReviewDate(childComplexity), true
|
|
case "ProcessingActivity.lawfulBasis":
|
|
if e.complexity.ProcessingActivity.LawfulBasis == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.LawfulBasis(childComplexity), true
|
|
case "ProcessingActivity.location":
|
|
if e.complexity.ProcessingActivity.Location == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.Location(childComplexity), true
|
|
case "ProcessingActivity.name":
|
|
if e.complexity.ProcessingActivity.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.Name(childComplexity), true
|
|
case "ProcessingActivity.nextReviewDate":
|
|
if e.complexity.ProcessingActivity.NextReviewDate == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.NextReviewDate(childComplexity), true
|
|
case "ProcessingActivity.organization":
|
|
if e.complexity.ProcessingActivity.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.Organization(childComplexity), true
|
|
case "ProcessingActivity.permission":
|
|
if e.complexity.ProcessingActivity.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_ProcessingActivity_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.Permission(childComplexity, args["action"].(string)), true
|
|
case "ProcessingActivity.personalDataCategory":
|
|
if e.complexity.ProcessingActivity.PersonalDataCategory == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.PersonalDataCategory(childComplexity), true
|
|
case "ProcessingActivity.purpose":
|
|
if e.complexity.ProcessingActivity.Purpose == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.Purpose(childComplexity), true
|
|
case "ProcessingActivity.recipients":
|
|
if e.complexity.ProcessingActivity.Recipients == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.Recipients(childComplexity), true
|
|
case "ProcessingActivity.retentionPeriod":
|
|
if e.complexity.ProcessingActivity.RetentionPeriod == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.RetentionPeriod(childComplexity), true
|
|
case "ProcessingActivity.role":
|
|
if e.complexity.ProcessingActivity.Role == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.Role(childComplexity), true
|
|
case "ProcessingActivity.securityMeasures":
|
|
if e.complexity.ProcessingActivity.SecurityMeasures == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.SecurityMeasures(childComplexity), true
|
|
case "ProcessingActivity.snapshotId":
|
|
if e.complexity.ProcessingActivity.SnapshotID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.SnapshotID(childComplexity), true
|
|
case "ProcessingActivity.sourceId":
|
|
if e.complexity.ProcessingActivity.SourceID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.SourceID(childComplexity), true
|
|
case "ProcessingActivity.specialOrCriminalData":
|
|
if e.complexity.ProcessingActivity.SpecialOrCriminalData == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.SpecialOrCriminalData(childComplexity), true
|
|
case "ProcessingActivity.transferImpactAssessment":
|
|
if e.complexity.ProcessingActivity.TransferImpactAssessment == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.TransferImpactAssessment(childComplexity), true
|
|
case "ProcessingActivity.transferImpactAssessmentNeeded":
|
|
if e.complexity.ProcessingActivity.TransferImpactAssessmentNeeded == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.TransferImpactAssessmentNeeded(childComplexity), true
|
|
case "ProcessingActivity.transferSafeguards":
|
|
if e.complexity.ProcessingActivity.TransferSafeguards == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.TransferSafeguards(childComplexity), true
|
|
case "ProcessingActivity.updatedAt":
|
|
if e.complexity.ProcessingActivity.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.UpdatedAt(childComplexity), true
|
|
case "ProcessingActivity.vendors":
|
|
if e.complexity.ProcessingActivity.Vendors == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_ProcessingActivity_vendors_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.ProcessingActivity.Vendors(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.VendorOrderBy)), true
|
|
|
|
case "ProcessingActivityConnection.edges":
|
|
if e.complexity.ProcessingActivityConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivityConnection.Edges(childComplexity), true
|
|
case "ProcessingActivityConnection.pageInfo":
|
|
if e.complexity.ProcessingActivityConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivityConnection.PageInfo(childComplexity), true
|
|
case "ProcessingActivityConnection.totalCount":
|
|
if e.complexity.ProcessingActivityConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivityConnection.TotalCount(childComplexity), true
|
|
|
|
case "ProcessingActivityEdge.cursor":
|
|
if e.complexity.ProcessingActivityEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivityEdge.Cursor(childComplexity), true
|
|
case "ProcessingActivityEdge.node":
|
|
if e.complexity.ProcessingActivityEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.ProcessingActivityEdge.Node(childComplexity), true
|
|
|
|
case "PublishDocumentVersionPayload.document":
|
|
if e.complexity.PublishDocumentVersionPayload.Document == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.PublishDocumentVersionPayload.Document(childComplexity), true
|
|
case "PublishDocumentVersionPayload.documentVersion":
|
|
if e.complexity.PublishDocumentVersionPayload.DocumentVersion == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.PublishDocumentVersionPayload.DocumentVersion(childComplexity), true
|
|
|
|
case "Query.node":
|
|
if e.complexity.Query.Node == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Query_node_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Query.Node(childComplexity, args["id"].(gid.GID)), true
|
|
case "Query.viewer":
|
|
if e.complexity.Query.Viewer == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Query.Viewer(childComplexity), true
|
|
|
|
case "Report.audit":
|
|
if e.complexity.Report.Audit == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Report.Audit(childComplexity), true
|
|
case "Report.createdAt":
|
|
if e.complexity.Report.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Report.CreatedAt(childComplexity), true
|
|
case "Report.downloadUrl":
|
|
if e.complexity.Report.DownloadURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Report.DownloadURL(childComplexity), true
|
|
case "Report.filename":
|
|
if e.complexity.Report.Filename == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Report.Filename(childComplexity), true
|
|
case "Report.id":
|
|
if e.complexity.Report.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Report.ID(childComplexity), true
|
|
case "Report.mimeType":
|
|
if e.complexity.Report.MimeType == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Report.MimeType(childComplexity), true
|
|
case "Report.objectKey":
|
|
if e.complexity.Report.ObjectKey == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Report.ObjectKey(childComplexity), true
|
|
case "Report.permission":
|
|
if e.complexity.Report.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Report_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Report.Permission(childComplexity, args["action"].(string)), true
|
|
case "Report.size":
|
|
if e.complexity.Report.Size == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Report.Size(childComplexity), true
|
|
case "Report.updatedAt":
|
|
if e.complexity.Report.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Report.UpdatedAt(childComplexity), true
|
|
|
|
case "RequestSignaturePayload.documentVersionSignatureEdge":
|
|
if e.complexity.RequestSignaturePayload.DocumentVersionSignatureEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RequestSignaturePayload.DocumentVersionSignatureEdge(childComplexity), true
|
|
|
|
case "RightsRequest.actionTaken":
|
|
if e.complexity.RightsRequest.ActionTaken == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequest.ActionTaken(childComplexity), true
|
|
case "RightsRequest.contact":
|
|
if e.complexity.RightsRequest.Contact == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequest.Contact(childComplexity), true
|
|
case "RightsRequest.createdAt":
|
|
if e.complexity.RightsRequest.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequest.CreatedAt(childComplexity), true
|
|
case "RightsRequest.dataSubject":
|
|
if e.complexity.RightsRequest.DataSubject == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequest.DataSubject(childComplexity), true
|
|
case "RightsRequest.deadline":
|
|
if e.complexity.RightsRequest.Deadline == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequest.Deadline(childComplexity), true
|
|
case "RightsRequest.details":
|
|
if e.complexity.RightsRequest.Details == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequest.Details(childComplexity), true
|
|
case "RightsRequest.id":
|
|
if e.complexity.RightsRequest.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequest.ID(childComplexity), true
|
|
case "RightsRequest.organization":
|
|
if e.complexity.RightsRequest.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequest.Organization(childComplexity), true
|
|
case "RightsRequest.permission":
|
|
if e.complexity.RightsRequest.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_RightsRequest_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.RightsRequest.Permission(childComplexity, args["action"].(string)), true
|
|
case "RightsRequest.requestState":
|
|
if e.complexity.RightsRequest.RequestState == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequest.RequestState(childComplexity), true
|
|
case "RightsRequest.requestType":
|
|
if e.complexity.RightsRequest.RequestType == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequest.RequestType(childComplexity), true
|
|
case "RightsRequest.updatedAt":
|
|
if e.complexity.RightsRequest.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequest.UpdatedAt(childComplexity), true
|
|
|
|
case "RightsRequestConnection.edges":
|
|
if e.complexity.RightsRequestConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequestConnection.Edges(childComplexity), true
|
|
case "RightsRequestConnection.pageInfo":
|
|
if e.complexity.RightsRequestConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequestConnection.PageInfo(childComplexity), true
|
|
case "RightsRequestConnection.totalCount":
|
|
if e.complexity.RightsRequestConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequestConnection.TotalCount(childComplexity), true
|
|
|
|
case "RightsRequestEdge.cursor":
|
|
if e.complexity.RightsRequestEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequestEdge.Cursor(childComplexity), true
|
|
case "RightsRequestEdge.node":
|
|
if e.complexity.RightsRequestEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RightsRequestEdge.Node(childComplexity), true
|
|
|
|
case "Risk.category":
|
|
if e.complexity.Risk.Category == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.Category(childComplexity), true
|
|
case "Risk.controls":
|
|
if e.complexity.Risk.Controls == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Risk_controls_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Risk.Controls(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.ControlOrderBy), args["filter"].(*types.ControlFilter)), true
|
|
case "Risk.createdAt":
|
|
if e.complexity.Risk.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.CreatedAt(childComplexity), true
|
|
case "Risk.description":
|
|
if e.complexity.Risk.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.Description(childComplexity), true
|
|
case "Risk.documents":
|
|
if e.complexity.Risk.Documents == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Risk_documents_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Risk.Documents(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.DocumentOrderBy), args["filter"].(*types.DocumentFilter)), true
|
|
case "Risk.id":
|
|
if e.complexity.Risk.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.ID(childComplexity), true
|
|
case "Risk.inherentImpact":
|
|
if e.complexity.Risk.InherentImpact == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.InherentImpact(childComplexity), true
|
|
case "Risk.inherentLikelihood":
|
|
if e.complexity.Risk.InherentLikelihood == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.InherentLikelihood(childComplexity), true
|
|
case "Risk.inherentRiskScore":
|
|
if e.complexity.Risk.InherentRiskScore == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.InherentRiskScore(childComplexity), true
|
|
case "Risk.measures":
|
|
if e.complexity.Risk.Measures == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Risk_measures_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Risk.Measures(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.MeasureOrderBy), args["filter"].(*types.MeasureFilter)), true
|
|
case "Risk.name":
|
|
if e.complexity.Risk.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.Name(childComplexity), true
|
|
case "Risk.note":
|
|
if e.complexity.Risk.Note == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.Note(childComplexity), true
|
|
case "Risk.obligations":
|
|
if e.complexity.Risk.Obligations == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Risk_obligations_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Risk.Obligations(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.ObligationOrderBy), args["filter"].(*types.ObligationFilter)), true
|
|
case "Risk.organization":
|
|
if e.complexity.Risk.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.Organization(childComplexity), true
|
|
case "Risk.owner":
|
|
if e.complexity.Risk.Owner == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.Owner(childComplexity), true
|
|
case "Risk.permission":
|
|
if e.complexity.Risk.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Risk_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Risk.Permission(childComplexity, args["action"].(string)), true
|
|
case "Risk.residualImpact":
|
|
if e.complexity.Risk.ResidualImpact == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.ResidualImpact(childComplexity), true
|
|
case "Risk.residualLikelihood":
|
|
if e.complexity.Risk.ResidualLikelihood == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.ResidualLikelihood(childComplexity), true
|
|
case "Risk.residualRiskScore":
|
|
if e.complexity.Risk.ResidualRiskScore == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.ResidualRiskScore(childComplexity), true
|
|
case "Risk.snapshotId":
|
|
if e.complexity.Risk.SnapshotID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.SnapshotID(childComplexity), true
|
|
case "Risk.treatment":
|
|
if e.complexity.Risk.Treatment == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.Treatment(childComplexity), true
|
|
case "Risk.updatedAt":
|
|
if e.complexity.Risk.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Risk.UpdatedAt(childComplexity), true
|
|
|
|
case "RiskConnection.edges":
|
|
if e.complexity.RiskConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RiskConnection.Edges(childComplexity), true
|
|
case "RiskConnection.pageInfo":
|
|
if e.complexity.RiskConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RiskConnection.PageInfo(childComplexity), true
|
|
case "RiskConnection.totalCount":
|
|
if e.complexity.RiskConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RiskConnection.TotalCount(childComplexity), true
|
|
|
|
case "RiskEdge.cursor":
|
|
if e.complexity.RiskEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RiskEdge.Cursor(childComplexity), true
|
|
case "RiskEdge.node":
|
|
if e.complexity.RiskEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.RiskEdge.Node(childComplexity), true
|
|
|
|
case "SendSigningNotificationsPayload.success":
|
|
if e.complexity.SendSigningNotificationsPayload.Success == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SendSigningNotificationsPayload.Success(childComplexity), true
|
|
|
|
case "SignDocumentPayload.documentVersionSignature":
|
|
if e.complexity.SignDocumentPayload.DocumentVersionSignature == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SignDocumentPayload.DocumentVersionSignature(childComplexity), true
|
|
|
|
case "SignableDocument.classification":
|
|
if e.complexity.SignableDocument.Classification == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SignableDocument.Classification(childComplexity), true
|
|
case "SignableDocument.createdAt":
|
|
if e.complexity.SignableDocument.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SignableDocument.CreatedAt(childComplexity), true
|
|
case "SignableDocument.description":
|
|
if e.complexity.SignableDocument.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SignableDocument.Description(childComplexity), true
|
|
case "SignableDocument.documentType":
|
|
if e.complexity.SignableDocument.DocumentType == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SignableDocument.DocumentType(childComplexity), true
|
|
case "SignableDocument.id":
|
|
if e.complexity.SignableDocument.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SignableDocument.ID(childComplexity), true
|
|
case "SignableDocument.signed":
|
|
if e.complexity.SignableDocument.Signed == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SignableDocument.Signed(childComplexity), true
|
|
case "SignableDocument.title":
|
|
if e.complexity.SignableDocument.Title == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SignableDocument.Title(childComplexity), true
|
|
case "SignableDocument.updatedAt":
|
|
if e.complexity.SignableDocument.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SignableDocument.UpdatedAt(childComplexity), true
|
|
case "SignableDocument.versions":
|
|
if e.complexity.SignableDocument.Versions == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_SignableDocument_versions_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.SignableDocument.Versions(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.DocumentVersionOrderBy), args["filter"].(*types.DocumentVersionFilter)), true
|
|
|
|
case "SignableDocumentConnection.edges":
|
|
if e.complexity.SignableDocumentConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SignableDocumentConnection.Edges(childComplexity), true
|
|
case "SignableDocumentConnection.pageInfo":
|
|
if e.complexity.SignableDocumentConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SignableDocumentConnection.PageInfo(childComplexity), true
|
|
|
|
case "SignableDocumentEdge.cursor":
|
|
if e.complexity.SignableDocumentEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SignableDocumentEdge.Cursor(childComplexity), true
|
|
case "SignableDocumentEdge.node":
|
|
if e.complexity.SignableDocumentEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SignableDocumentEdge.Node(childComplexity), true
|
|
|
|
case "SlackConnection.channel":
|
|
if e.complexity.SlackConnection.Channel == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SlackConnection.Channel(childComplexity), true
|
|
case "SlackConnection.channelId":
|
|
if e.complexity.SlackConnection.ChannelID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SlackConnection.ChannelID(childComplexity), true
|
|
case "SlackConnection.createdAt":
|
|
if e.complexity.SlackConnection.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SlackConnection.CreatedAt(childComplexity), true
|
|
case "SlackConnection.id":
|
|
if e.complexity.SlackConnection.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SlackConnection.ID(childComplexity), true
|
|
case "SlackConnection.updatedAt":
|
|
if e.complexity.SlackConnection.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SlackConnection.UpdatedAt(childComplexity), true
|
|
|
|
case "SlackConnectionConnection.edges":
|
|
if e.complexity.SlackConnectionConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SlackConnectionConnection.Edges(childComplexity), true
|
|
case "SlackConnectionConnection.pageInfo":
|
|
if e.complexity.SlackConnectionConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SlackConnectionConnection.PageInfo(childComplexity), true
|
|
|
|
case "SlackConnectionEdge.cursor":
|
|
if e.complexity.SlackConnectionEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SlackConnectionEdge.Cursor(childComplexity), true
|
|
case "SlackConnectionEdge.node":
|
|
if e.complexity.SlackConnectionEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SlackConnectionEdge.Node(childComplexity), true
|
|
|
|
case "Snapshot.controls":
|
|
if e.complexity.Snapshot.Controls == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Snapshot_controls_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Snapshot.Controls(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.ControlOrderBy), args["filter"].(*types.ControlFilter)), true
|
|
case "Snapshot.createdAt":
|
|
if e.complexity.Snapshot.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Snapshot.CreatedAt(childComplexity), true
|
|
case "Snapshot.description":
|
|
if e.complexity.Snapshot.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Snapshot.Description(childComplexity), true
|
|
case "Snapshot.id":
|
|
if e.complexity.Snapshot.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Snapshot.ID(childComplexity), true
|
|
case "Snapshot.name":
|
|
if e.complexity.Snapshot.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Snapshot.Name(childComplexity), true
|
|
case "Snapshot.organization":
|
|
if e.complexity.Snapshot.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Snapshot.Organization(childComplexity), true
|
|
case "Snapshot.permission":
|
|
if e.complexity.Snapshot.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Snapshot_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Snapshot.Permission(childComplexity, args["action"].(string)), true
|
|
case "Snapshot.type":
|
|
if e.complexity.Snapshot.Type == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Snapshot.Type(childComplexity), true
|
|
|
|
case "SnapshotConnection.edges":
|
|
if e.complexity.SnapshotConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SnapshotConnection.Edges(childComplexity), true
|
|
case "SnapshotConnection.pageInfo":
|
|
if e.complexity.SnapshotConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SnapshotConnection.PageInfo(childComplexity), true
|
|
case "SnapshotConnection.totalCount":
|
|
if e.complexity.SnapshotConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SnapshotConnection.TotalCount(childComplexity), true
|
|
|
|
case "SnapshotEdge.cursor":
|
|
if e.complexity.SnapshotEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SnapshotEdge.Cursor(childComplexity), true
|
|
case "SnapshotEdge.node":
|
|
if e.complexity.SnapshotEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.SnapshotEdge.Node(childComplexity), true
|
|
|
|
case "StateOfApplicability.availableControls":
|
|
if e.complexity.StateOfApplicability.AvailableControls == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicability.AvailableControls(childComplexity), true
|
|
case "StateOfApplicability.controls":
|
|
if e.complexity.StateOfApplicability.Controls == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_StateOfApplicability_controls_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.StateOfApplicability.Controls(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.ControlOrderBy), args["filter"].(*types.ControlFilter)), true
|
|
case "StateOfApplicability.createdAt":
|
|
if e.complexity.StateOfApplicability.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicability.CreatedAt(childComplexity), true
|
|
case "StateOfApplicability.id":
|
|
if e.complexity.StateOfApplicability.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicability.ID(childComplexity), true
|
|
case "StateOfApplicability.name":
|
|
if e.complexity.StateOfApplicability.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicability.Name(childComplexity), true
|
|
case "StateOfApplicability.organization":
|
|
if e.complexity.StateOfApplicability.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicability.Organization(childComplexity), true
|
|
case "StateOfApplicability.owner":
|
|
if e.complexity.StateOfApplicability.Owner == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicability.Owner(childComplexity), true
|
|
case "StateOfApplicability.permission":
|
|
if e.complexity.StateOfApplicability.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_StateOfApplicability_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.StateOfApplicability.Permission(childComplexity, args["action"].(string)), true
|
|
case "StateOfApplicability.snapshotId":
|
|
if e.complexity.StateOfApplicability.SnapshotID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicability.SnapshotID(childComplexity), true
|
|
case "StateOfApplicability.sourceId":
|
|
if e.complexity.StateOfApplicability.SourceID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicability.SourceID(childComplexity), true
|
|
case "StateOfApplicability.updatedAt":
|
|
if e.complexity.StateOfApplicability.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicability.UpdatedAt(childComplexity), true
|
|
|
|
case "StateOfApplicabilityConnection.edges":
|
|
if e.complexity.StateOfApplicabilityConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityConnection.Edges(childComplexity), true
|
|
case "StateOfApplicabilityConnection.pageInfo":
|
|
if e.complexity.StateOfApplicabilityConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityConnection.PageInfo(childComplexity), true
|
|
case "StateOfApplicabilityConnection.totalCount":
|
|
if e.complexity.StateOfApplicabilityConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityConnection.TotalCount(childComplexity), true
|
|
|
|
case "StateOfApplicabilityControl.applicability":
|
|
if e.complexity.StateOfApplicabilityControl.Applicability == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityControl.Applicability(childComplexity), true
|
|
case "StateOfApplicabilityControl.controlId":
|
|
if e.complexity.StateOfApplicabilityControl.ControlID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityControl.ControlID(childComplexity), true
|
|
case "StateOfApplicabilityControl.id":
|
|
if e.complexity.StateOfApplicabilityControl.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityControl.ID(childComplexity), true
|
|
case "StateOfApplicabilityControl.justification":
|
|
if e.complexity.StateOfApplicabilityControl.Justification == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityControl.Justification(childComplexity), true
|
|
case "StateOfApplicabilityControl.stateOfApplicability":
|
|
if e.complexity.StateOfApplicabilityControl.StateOfApplicability == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityControl.StateOfApplicability(childComplexity), true
|
|
case "StateOfApplicabilityControl.stateOfApplicabilityId":
|
|
if e.complexity.StateOfApplicabilityControl.StateOfApplicabilityID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityControl.StateOfApplicabilityID(childComplexity), true
|
|
|
|
case "StateOfApplicabilityControlConnection.edges":
|
|
if e.complexity.StateOfApplicabilityControlConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityControlConnection.Edges(childComplexity), true
|
|
case "StateOfApplicabilityControlConnection.pageInfo":
|
|
if e.complexity.StateOfApplicabilityControlConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityControlConnection.PageInfo(childComplexity), true
|
|
case "StateOfApplicabilityControlConnection.totalCount":
|
|
if e.complexity.StateOfApplicabilityControlConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityControlConnection.TotalCount(childComplexity), true
|
|
|
|
case "StateOfApplicabilityControlEdge.cursor":
|
|
if e.complexity.StateOfApplicabilityControlEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityControlEdge.Cursor(childComplexity), true
|
|
case "StateOfApplicabilityControlEdge.node":
|
|
if e.complexity.StateOfApplicabilityControlEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityControlEdge.Node(childComplexity), true
|
|
|
|
case "StateOfApplicabilityEdge.cursor":
|
|
if e.complexity.StateOfApplicabilityEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityEdge.Cursor(childComplexity), true
|
|
case "StateOfApplicabilityEdge.node":
|
|
if e.complexity.StateOfApplicabilityEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.StateOfApplicabilityEdge.Node(childComplexity), true
|
|
|
|
case "Task.assignedTo":
|
|
if e.complexity.Task.AssignedTo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Task.AssignedTo(childComplexity), true
|
|
case "Task.createdAt":
|
|
if e.complexity.Task.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Task.CreatedAt(childComplexity), true
|
|
case "Task.deadline":
|
|
if e.complexity.Task.Deadline == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Task.Deadline(childComplexity), true
|
|
case "Task.description":
|
|
if e.complexity.Task.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Task.Description(childComplexity), true
|
|
case "Task.evidences":
|
|
if e.complexity.Task.Evidences == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Task_evidences_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Task.Evidences(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.EvidenceOrderBy)), true
|
|
case "Task.id":
|
|
if e.complexity.Task.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Task.ID(childComplexity), true
|
|
case "Task.measure":
|
|
if e.complexity.Task.Measure == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Task.Measure(childComplexity), true
|
|
case "Task.name":
|
|
if e.complexity.Task.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Task.Name(childComplexity), true
|
|
case "Task.organization":
|
|
if e.complexity.Task.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Task.Organization(childComplexity), true
|
|
case "Task.permission":
|
|
if e.complexity.Task.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Task_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Task.Permission(childComplexity, args["action"].(string)), true
|
|
case "Task.state":
|
|
if e.complexity.Task.State == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Task.State(childComplexity), true
|
|
case "Task.timeEstimate":
|
|
if e.complexity.Task.TimeEstimate == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Task.TimeEstimate(childComplexity), true
|
|
case "Task.updatedAt":
|
|
if e.complexity.Task.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Task.UpdatedAt(childComplexity), true
|
|
|
|
case "TaskConnection.edges":
|
|
if e.complexity.TaskConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TaskConnection.Edges(childComplexity), true
|
|
case "TaskConnection.pageInfo":
|
|
if e.complexity.TaskConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TaskConnection.PageInfo(childComplexity), true
|
|
case "TaskConnection.totalCount":
|
|
if e.complexity.TaskConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TaskConnection.TotalCount(childComplexity), true
|
|
|
|
case "TaskEdge.cursor":
|
|
if e.complexity.TaskEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TaskEdge.Cursor(childComplexity), true
|
|
case "TaskEdge.node":
|
|
if e.complexity.TaskEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TaskEdge.Node(childComplexity), true
|
|
|
|
case "TransferImpactAssessment.createdAt":
|
|
if e.complexity.TransferImpactAssessment.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessment.CreatedAt(childComplexity), true
|
|
case "TransferImpactAssessment.dataSubjects":
|
|
if e.complexity.TransferImpactAssessment.DataSubjects == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessment.DataSubjects(childComplexity), true
|
|
case "TransferImpactAssessment.id":
|
|
if e.complexity.TransferImpactAssessment.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessment.ID(childComplexity), true
|
|
case "TransferImpactAssessment.legalMechanism":
|
|
if e.complexity.TransferImpactAssessment.LegalMechanism == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessment.LegalMechanism(childComplexity), true
|
|
case "TransferImpactAssessment.localLawRisk":
|
|
if e.complexity.TransferImpactAssessment.LocalLawRisk == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessment.LocalLawRisk(childComplexity), true
|
|
case "TransferImpactAssessment.organization":
|
|
if e.complexity.TransferImpactAssessment.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessment.Organization(childComplexity), true
|
|
case "TransferImpactAssessment.permission":
|
|
if e.complexity.TransferImpactAssessment.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_TransferImpactAssessment_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessment.Permission(childComplexity, args["action"].(string)), true
|
|
case "TransferImpactAssessment.processingActivity":
|
|
if e.complexity.TransferImpactAssessment.ProcessingActivity == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessment.ProcessingActivity(childComplexity), true
|
|
case "TransferImpactAssessment.supplementaryMeasures":
|
|
if e.complexity.TransferImpactAssessment.SupplementaryMeasures == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessment.SupplementaryMeasures(childComplexity), true
|
|
case "TransferImpactAssessment.transfer":
|
|
if e.complexity.TransferImpactAssessment.Transfer == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessment.Transfer(childComplexity), true
|
|
case "TransferImpactAssessment.updatedAt":
|
|
if e.complexity.TransferImpactAssessment.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessment.UpdatedAt(childComplexity), true
|
|
|
|
case "TransferImpactAssessmentConnection.edges":
|
|
if e.complexity.TransferImpactAssessmentConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessmentConnection.Edges(childComplexity), true
|
|
case "TransferImpactAssessmentConnection.pageInfo":
|
|
if e.complexity.TransferImpactAssessmentConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessmentConnection.PageInfo(childComplexity), true
|
|
case "TransferImpactAssessmentConnection.totalCount":
|
|
if e.complexity.TransferImpactAssessmentConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessmentConnection.TotalCount(childComplexity), true
|
|
|
|
case "TransferImpactAssessmentEdge.cursor":
|
|
if e.complexity.TransferImpactAssessmentEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessmentEdge.Cursor(childComplexity), true
|
|
case "TransferImpactAssessmentEdge.node":
|
|
if e.complexity.TransferImpactAssessmentEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TransferImpactAssessmentEdge.Node(childComplexity), true
|
|
|
|
case "TrustCenter.accesses":
|
|
if e.complexity.TrustCenter.Accesses == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_TrustCenter_accesses_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.TrustCenter.Accesses(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.OrderBy[coredata.TrustCenterAccessOrderField])), true
|
|
case "TrustCenter.active":
|
|
if e.complexity.TrustCenter.Active == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenter.Active(childComplexity), true
|
|
case "TrustCenter.createdAt":
|
|
if e.complexity.TrustCenter.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenter.CreatedAt(childComplexity), true
|
|
case "TrustCenter.id":
|
|
if e.complexity.TrustCenter.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenter.ID(childComplexity), true
|
|
case "TrustCenter.ndaFileName":
|
|
if e.complexity.TrustCenter.NdaFileName == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenter.NdaFileName(childComplexity), true
|
|
case "TrustCenter.ndaFileUrl":
|
|
if e.complexity.TrustCenter.NdaFileURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenter.NdaFileURL(childComplexity), true
|
|
case "TrustCenter.organization":
|
|
if e.complexity.TrustCenter.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenter.Organization(childComplexity), true
|
|
case "TrustCenter.permission":
|
|
if e.complexity.TrustCenter.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_TrustCenter_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.TrustCenter.Permission(childComplexity, args["action"].(string)), true
|
|
case "TrustCenter.references":
|
|
if e.complexity.TrustCenter.References == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_TrustCenter_references_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.TrustCenter.References(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.OrderBy[coredata.TrustCenterReferenceOrderField])), true
|
|
case "TrustCenter.updatedAt":
|
|
if e.complexity.TrustCenter.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenter.UpdatedAt(childComplexity), true
|
|
|
|
case "TrustCenterAccess.active":
|
|
if e.complexity.TrustCenterAccess.Active == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccess.Active(childComplexity), true
|
|
case "TrustCenterAccess.activeCount":
|
|
if e.complexity.TrustCenterAccess.ActiveCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccess.ActiveCount(childComplexity), true
|
|
case "TrustCenterAccess.availableDocumentAccesses":
|
|
if e.complexity.TrustCenterAccess.AvailableDocumentAccesses == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_TrustCenterAccess_availableDocumentAccesses_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccess.AvailableDocumentAccesses(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.OrderBy[coredata.TrustCenterDocumentAccessOrderField])), true
|
|
case "TrustCenterAccess.createdAt":
|
|
if e.complexity.TrustCenterAccess.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccess.CreatedAt(childComplexity), true
|
|
case "TrustCenterAccess.email":
|
|
if e.complexity.TrustCenterAccess.Email == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccess.Email(childComplexity), true
|
|
case "TrustCenterAccess.hasAcceptedNonDisclosureAgreement":
|
|
if e.complexity.TrustCenterAccess.HasAcceptedNonDisclosureAgreement == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccess.HasAcceptedNonDisclosureAgreement(childComplexity), true
|
|
case "TrustCenterAccess.id":
|
|
if e.complexity.TrustCenterAccess.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccess.ID(childComplexity), true
|
|
case "TrustCenterAccess.lastTokenExpiresAt":
|
|
if e.complexity.TrustCenterAccess.LastTokenExpiresAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccess.LastTokenExpiresAt(childComplexity), true
|
|
case "TrustCenterAccess.name":
|
|
if e.complexity.TrustCenterAccess.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccess.Name(childComplexity), true
|
|
case "TrustCenterAccess.pendingRequestCount":
|
|
if e.complexity.TrustCenterAccess.PendingRequestCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccess.PendingRequestCount(childComplexity), true
|
|
case "TrustCenterAccess.permission":
|
|
if e.complexity.TrustCenterAccess.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_TrustCenterAccess_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccess.Permission(childComplexity, args["action"].(string)), true
|
|
case "TrustCenterAccess.updatedAt":
|
|
if e.complexity.TrustCenterAccess.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccess.UpdatedAt(childComplexity), true
|
|
|
|
case "TrustCenterAccessConnection.edges":
|
|
if e.complexity.TrustCenterAccessConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccessConnection.Edges(childComplexity), true
|
|
case "TrustCenterAccessConnection.pageInfo":
|
|
if e.complexity.TrustCenterAccessConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccessConnection.PageInfo(childComplexity), true
|
|
|
|
case "TrustCenterAccessEdge.cursor":
|
|
if e.complexity.TrustCenterAccessEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccessEdge.Cursor(childComplexity), true
|
|
case "TrustCenterAccessEdge.node":
|
|
if e.complexity.TrustCenterAccessEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterAccessEdge.Node(childComplexity), true
|
|
|
|
case "TrustCenterConnection.edges":
|
|
if e.complexity.TrustCenterConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterConnection.Edges(childComplexity), true
|
|
case "TrustCenterConnection.pageInfo":
|
|
if e.complexity.TrustCenterConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterConnection.PageInfo(childComplexity), true
|
|
|
|
case "TrustCenterDocumentAccess.document":
|
|
if e.complexity.TrustCenterDocumentAccess.Document == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterDocumentAccess.Document(childComplexity), true
|
|
case "TrustCenterDocumentAccess.id":
|
|
if e.complexity.TrustCenterDocumentAccess.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterDocumentAccess.ID(childComplexity), true
|
|
case "TrustCenterDocumentAccess.report":
|
|
if e.complexity.TrustCenterDocumentAccess.Report == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterDocumentAccess.Report(childComplexity), true
|
|
case "TrustCenterDocumentAccess.status":
|
|
if e.complexity.TrustCenterDocumentAccess.Status == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterDocumentAccess.Status(childComplexity), true
|
|
case "TrustCenterDocumentAccess.trustCenterFile":
|
|
if e.complexity.TrustCenterDocumentAccess.TrustCenterFile == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterDocumentAccess.TrustCenterFile(childComplexity), true
|
|
|
|
case "TrustCenterDocumentAccessConnection.edges":
|
|
if e.complexity.TrustCenterDocumentAccessConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterDocumentAccessConnection.Edges(childComplexity), true
|
|
case "TrustCenterDocumentAccessConnection.pageInfo":
|
|
if e.complexity.TrustCenterDocumentAccessConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterDocumentAccessConnection.PageInfo(childComplexity), true
|
|
case "TrustCenterDocumentAccessConnection.totalCount":
|
|
if e.complexity.TrustCenterDocumentAccessConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterDocumentAccessConnection.TotalCount(childComplexity), true
|
|
|
|
case "TrustCenterDocumentAccessEdge.cursor":
|
|
if e.complexity.TrustCenterDocumentAccessEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterDocumentAccessEdge.Cursor(childComplexity), true
|
|
case "TrustCenterDocumentAccessEdge.node":
|
|
if e.complexity.TrustCenterDocumentAccessEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterDocumentAccessEdge.Node(childComplexity), true
|
|
|
|
case "TrustCenterEdge.cursor":
|
|
if e.complexity.TrustCenterEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterEdge.Cursor(childComplexity), true
|
|
case "TrustCenterEdge.node":
|
|
if e.complexity.TrustCenterEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterEdge.Node(childComplexity), true
|
|
|
|
case "TrustCenterFile.category":
|
|
if e.complexity.TrustCenterFile.Category == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterFile.Category(childComplexity), true
|
|
case "TrustCenterFile.createdAt":
|
|
if e.complexity.TrustCenterFile.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterFile.CreatedAt(childComplexity), true
|
|
case "TrustCenterFile.fileUrl":
|
|
if e.complexity.TrustCenterFile.FileURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterFile.FileURL(childComplexity), true
|
|
case "TrustCenterFile.id":
|
|
if e.complexity.TrustCenterFile.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterFile.ID(childComplexity), true
|
|
case "TrustCenterFile.name":
|
|
if e.complexity.TrustCenterFile.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterFile.Name(childComplexity), true
|
|
case "TrustCenterFile.organization":
|
|
if e.complexity.TrustCenterFile.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterFile.Organization(childComplexity), true
|
|
case "TrustCenterFile.permission":
|
|
if e.complexity.TrustCenterFile.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_TrustCenterFile_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.TrustCenterFile.Permission(childComplexity, args["action"].(string)), true
|
|
case "TrustCenterFile.trustCenterVisibility":
|
|
if e.complexity.TrustCenterFile.TrustCenterVisibility == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterFile.TrustCenterVisibility(childComplexity), true
|
|
case "TrustCenterFile.updatedAt":
|
|
if e.complexity.TrustCenterFile.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterFile.UpdatedAt(childComplexity), true
|
|
|
|
case "TrustCenterFileConnection.edges":
|
|
if e.complexity.TrustCenterFileConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterFileConnection.Edges(childComplexity), true
|
|
case "TrustCenterFileConnection.pageInfo":
|
|
if e.complexity.TrustCenterFileConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterFileConnection.PageInfo(childComplexity), true
|
|
case "TrustCenterFileConnection.totalCount":
|
|
if e.complexity.TrustCenterFileConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterFileConnection.TotalCount(childComplexity), true
|
|
|
|
case "TrustCenterFileEdge.cursor":
|
|
if e.complexity.TrustCenterFileEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterFileEdge.Cursor(childComplexity), true
|
|
case "TrustCenterFileEdge.node":
|
|
if e.complexity.TrustCenterFileEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterFileEdge.Node(childComplexity), true
|
|
|
|
case "TrustCenterReference.createdAt":
|
|
if e.complexity.TrustCenterReference.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterReference.CreatedAt(childComplexity), true
|
|
case "TrustCenterReference.description":
|
|
if e.complexity.TrustCenterReference.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterReference.Description(childComplexity), true
|
|
case "TrustCenterReference.id":
|
|
if e.complexity.TrustCenterReference.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterReference.ID(childComplexity), true
|
|
case "TrustCenterReference.logoUrl":
|
|
if e.complexity.TrustCenterReference.LogoURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterReference.LogoURL(childComplexity), true
|
|
case "TrustCenterReference.name":
|
|
if e.complexity.TrustCenterReference.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterReference.Name(childComplexity), true
|
|
case "TrustCenterReference.permission":
|
|
if e.complexity.TrustCenterReference.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_TrustCenterReference_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.TrustCenterReference.Permission(childComplexity, args["action"].(string)), true
|
|
case "TrustCenterReference.rank":
|
|
if e.complexity.TrustCenterReference.Rank == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterReference.Rank(childComplexity), true
|
|
case "TrustCenterReference.updatedAt":
|
|
if e.complexity.TrustCenterReference.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterReference.UpdatedAt(childComplexity), true
|
|
case "TrustCenterReference.websiteUrl":
|
|
if e.complexity.TrustCenterReference.WebsiteURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterReference.WebsiteURL(childComplexity), true
|
|
|
|
case "TrustCenterReferenceConnection.edges":
|
|
if e.complexity.TrustCenterReferenceConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterReferenceConnection.Edges(childComplexity), true
|
|
case "TrustCenterReferenceConnection.pageInfo":
|
|
if e.complexity.TrustCenterReferenceConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterReferenceConnection.PageInfo(childComplexity), true
|
|
case "TrustCenterReferenceConnection.totalCount":
|
|
if e.complexity.TrustCenterReferenceConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterReferenceConnection.TotalCount(childComplexity), true
|
|
|
|
case "TrustCenterReferenceEdge.cursor":
|
|
if e.complexity.TrustCenterReferenceEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterReferenceEdge.Cursor(childComplexity), true
|
|
case "TrustCenterReferenceEdge.node":
|
|
if e.complexity.TrustCenterReferenceEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.TrustCenterReferenceEdge.Node(childComplexity), true
|
|
|
|
case "UpdateAssetPayload.asset":
|
|
if e.complexity.UpdateAssetPayload.Asset == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateAssetPayload.Asset(childComplexity), true
|
|
|
|
case "UpdateAuditPayload.audit":
|
|
if e.complexity.UpdateAuditPayload.Audit == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateAuditPayload.Audit(childComplexity), true
|
|
|
|
case "UpdateContinualImprovementPayload.continualImprovement":
|
|
if e.complexity.UpdateContinualImprovementPayload.ContinualImprovement == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateContinualImprovementPayload.ContinualImprovement(childComplexity), true
|
|
|
|
case "UpdateControlPayload.control":
|
|
if e.complexity.UpdateControlPayload.Control == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateControlPayload.Control(childComplexity), true
|
|
|
|
case "UpdateDataProtectionImpactAssessmentPayload.dataProtectionImpactAssessment":
|
|
if e.complexity.UpdateDataProtectionImpactAssessmentPayload.DataProtectionImpactAssessment == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateDataProtectionImpactAssessmentPayload.DataProtectionImpactAssessment(childComplexity), true
|
|
|
|
case "UpdateDatumPayload.datum":
|
|
if e.complexity.UpdateDatumPayload.Datum == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateDatumPayload.Datum(childComplexity), true
|
|
|
|
case "UpdateDocumentPayload.document":
|
|
if e.complexity.UpdateDocumentPayload.Document == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateDocumentPayload.Document(childComplexity), true
|
|
|
|
case "UpdateDocumentVersionPayload.documentVersion":
|
|
if e.complexity.UpdateDocumentVersionPayload.DocumentVersion == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateDocumentVersionPayload.DocumentVersion(childComplexity), true
|
|
|
|
case "UpdateFrameworkPayload.framework":
|
|
if e.complexity.UpdateFrameworkPayload.Framework == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateFrameworkPayload.Framework(childComplexity), true
|
|
|
|
case "UpdateMeasurePayload.measure":
|
|
if e.complexity.UpdateMeasurePayload.Measure == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateMeasurePayload.Measure(childComplexity), true
|
|
|
|
case "UpdateMeetingPayload.meeting":
|
|
if e.complexity.UpdateMeetingPayload.Meeting == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateMeetingPayload.Meeting(childComplexity), true
|
|
|
|
case "UpdateNonconformityPayload.nonconformity":
|
|
if e.complexity.UpdateNonconformityPayload.Nonconformity == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateNonconformityPayload.Nonconformity(childComplexity), true
|
|
|
|
case "UpdateObligationPayload.obligation":
|
|
if e.complexity.UpdateObligationPayload.Obligation == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateObligationPayload.Obligation(childComplexity), true
|
|
|
|
case "UpdateOrganizationContextPayload.context":
|
|
if e.complexity.UpdateOrganizationContextPayload.Context == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateOrganizationContextPayload.Context(childComplexity), true
|
|
|
|
case "UpdatePeoplePayload.people":
|
|
if e.complexity.UpdatePeoplePayload.People == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdatePeoplePayload.People(childComplexity), true
|
|
|
|
case "UpdateProcessingActivityPayload.processingActivity":
|
|
if e.complexity.UpdateProcessingActivityPayload.ProcessingActivity == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateProcessingActivityPayload.ProcessingActivity(childComplexity), true
|
|
|
|
case "UpdateRightsRequestPayload.rightsRequest":
|
|
if e.complexity.UpdateRightsRequestPayload.RightsRequest == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateRightsRequestPayload.RightsRequest(childComplexity), true
|
|
|
|
case "UpdateRiskPayload.risk":
|
|
if e.complexity.UpdateRiskPayload.Risk == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateRiskPayload.Risk(childComplexity), true
|
|
|
|
case "UpdateStateOfApplicabilityPayload.stateOfApplicability":
|
|
if e.complexity.UpdateStateOfApplicabilityPayload.StateOfApplicability == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateStateOfApplicabilityPayload.StateOfApplicability(childComplexity), true
|
|
|
|
case "UpdateTaskPayload.task":
|
|
if e.complexity.UpdateTaskPayload.Task == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateTaskPayload.Task(childComplexity), true
|
|
|
|
case "UpdateTransferImpactAssessmentPayload.transferImpactAssessment":
|
|
if e.complexity.UpdateTransferImpactAssessmentPayload.TransferImpactAssessment == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateTransferImpactAssessmentPayload.TransferImpactAssessment(childComplexity), true
|
|
|
|
case "UpdateTrustCenterAccessPayload.trustCenterAccess":
|
|
if e.complexity.UpdateTrustCenterAccessPayload.TrustCenterAccess == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateTrustCenterAccessPayload.TrustCenterAccess(childComplexity), true
|
|
|
|
case "UpdateTrustCenterFilePayload.trustCenterFile":
|
|
if e.complexity.UpdateTrustCenterFilePayload.TrustCenterFile == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateTrustCenterFilePayload.TrustCenterFile(childComplexity), true
|
|
|
|
case "UpdateTrustCenterPayload.trustCenter":
|
|
if e.complexity.UpdateTrustCenterPayload.TrustCenter == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateTrustCenterPayload.TrustCenter(childComplexity), true
|
|
|
|
case "UpdateTrustCenterReferencePayload.trustCenterReference":
|
|
if e.complexity.UpdateTrustCenterReferencePayload.TrustCenterReference == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateTrustCenterReferencePayload.TrustCenterReference(childComplexity), true
|
|
|
|
case "UpdateVendorBusinessAssociateAgreementPayload.vendorBusinessAssociateAgreement":
|
|
if e.complexity.UpdateVendorBusinessAssociateAgreementPayload.VendorBusinessAssociateAgreement == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateVendorBusinessAssociateAgreementPayload.VendorBusinessAssociateAgreement(childComplexity), true
|
|
|
|
case "UpdateVendorContactPayload.vendorContact":
|
|
if e.complexity.UpdateVendorContactPayload.VendorContact == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateVendorContactPayload.VendorContact(childComplexity), true
|
|
|
|
case "UpdateVendorDataPrivacyAgreementPayload.vendorDataPrivacyAgreement":
|
|
if e.complexity.UpdateVendorDataPrivacyAgreementPayload.VendorDataPrivacyAgreement == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateVendorDataPrivacyAgreementPayload.VendorDataPrivacyAgreement(childComplexity), true
|
|
|
|
case "UpdateVendorPayload.vendor":
|
|
if e.complexity.UpdateVendorPayload.Vendor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateVendorPayload.Vendor(childComplexity), true
|
|
|
|
case "UpdateVendorServicePayload.vendorService":
|
|
if e.complexity.UpdateVendorServicePayload.VendorService == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UpdateVendorServicePayload.VendorService(childComplexity), true
|
|
|
|
case "UploadAuditReportPayload.audit":
|
|
if e.complexity.UploadAuditReportPayload.Audit == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UploadAuditReportPayload.Audit(childComplexity), true
|
|
|
|
case "UploadMeasureEvidencePayload.evidenceEdge":
|
|
if e.complexity.UploadMeasureEvidencePayload.EvidenceEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UploadMeasureEvidencePayload.EvidenceEdge(childComplexity), true
|
|
|
|
case "UploadTrustCenterNDAPayload.trustCenter":
|
|
if e.complexity.UploadTrustCenterNDAPayload.TrustCenter == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UploadTrustCenterNDAPayload.TrustCenter(childComplexity), true
|
|
|
|
case "UploadVendorBusinessAssociateAgreementPayload.vendorBusinessAssociateAgreement":
|
|
if e.complexity.UploadVendorBusinessAssociateAgreementPayload.VendorBusinessAssociateAgreement == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UploadVendorBusinessAssociateAgreementPayload.VendorBusinessAssociateAgreement(childComplexity), true
|
|
|
|
case "UploadVendorComplianceReportPayload.vendorComplianceReportEdge":
|
|
if e.complexity.UploadVendorComplianceReportPayload.VendorComplianceReportEdge == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UploadVendorComplianceReportPayload.VendorComplianceReportEdge(childComplexity), true
|
|
|
|
case "UploadVendorDataPrivacyAgreementPayload.vendorDataPrivacyAgreement":
|
|
if e.complexity.UploadVendorDataPrivacyAgreementPayload.VendorDataPrivacyAgreement == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.UploadVendorDataPrivacyAgreementPayload.VendorDataPrivacyAgreement(childComplexity), true
|
|
|
|
case "Vendor.businessAssociateAgreement":
|
|
if e.complexity.Vendor.BusinessAssociateAgreement == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.BusinessAssociateAgreement(childComplexity), true
|
|
case "Vendor.businessAssociateAgreementUrl":
|
|
if e.complexity.Vendor.BusinessAssociateAgreementURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.BusinessAssociateAgreementURL(childComplexity), true
|
|
case "Vendor.businessOwner":
|
|
if e.complexity.Vendor.BusinessOwner == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.BusinessOwner(childComplexity), true
|
|
case "Vendor.category":
|
|
if e.complexity.Vendor.Category == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.Category(childComplexity), true
|
|
case "Vendor.certifications":
|
|
if e.complexity.Vendor.Certifications == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.Certifications(childComplexity), true
|
|
case "Vendor.complianceReports":
|
|
if e.complexity.Vendor.ComplianceReports == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Vendor_complianceReports_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Vendor.ComplianceReports(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.VendorComplianceReportOrderBy)), true
|
|
case "Vendor.contacts":
|
|
if e.complexity.Vendor.Contacts == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Vendor_contacts_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Vendor.Contacts(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.VendorContactOrderBy)), true
|
|
case "Vendor.countries":
|
|
if e.complexity.Vendor.Countries == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.Countries(childComplexity), true
|
|
case "Vendor.createdAt":
|
|
if e.complexity.Vendor.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.CreatedAt(childComplexity), true
|
|
case "Vendor.dataPrivacyAgreement":
|
|
if e.complexity.Vendor.DataPrivacyAgreement == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.DataPrivacyAgreement(childComplexity), true
|
|
case "Vendor.dataProcessingAgreementUrl":
|
|
if e.complexity.Vendor.DataProcessingAgreementURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.DataProcessingAgreementURL(childComplexity), true
|
|
case "Vendor.description":
|
|
if e.complexity.Vendor.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.Description(childComplexity), true
|
|
case "Vendor.headquarterAddress":
|
|
if e.complexity.Vendor.HeadquarterAddress == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.HeadquarterAddress(childComplexity), true
|
|
case "Vendor.id":
|
|
if e.complexity.Vendor.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.ID(childComplexity), true
|
|
case "Vendor.legalName":
|
|
if e.complexity.Vendor.LegalName == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.LegalName(childComplexity), true
|
|
case "Vendor.name":
|
|
if e.complexity.Vendor.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.Name(childComplexity), true
|
|
case "Vendor.organization":
|
|
if e.complexity.Vendor.Organization == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.Organization(childComplexity), true
|
|
case "Vendor.permission":
|
|
if e.complexity.Vendor.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Vendor_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Vendor.Permission(childComplexity, args["action"].(string)), true
|
|
case "Vendor.privacyPolicyUrl":
|
|
if e.complexity.Vendor.PrivacyPolicyURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.PrivacyPolicyURL(childComplexity), true
|
|
case "Vendor.riskAssessments":
|
|
if e.complexity.Vendor.RiskAssessments == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Vendor_riskAssessments_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Vendor.RiskAssessments(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.VendorRiskAssessmentOrder)), true
|
|
case "Vendor.securityOwner":
|
|
if e.complexity.Vendor.SecurityOwner == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.SecurityOwner(childComplexity), true
|
|
case "Vendor.securityPageUrl":
|
|
if e.complexity.Vendor.SecurityPageURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.SecurityPageURL(childComplexity), true
|
|
case "Vendor.serviceLevelAgreementUrl":
|
|
if e.complexity.Vendor.ServiceLevelAgreementURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.ServiceLevelAgreementURL(childComplexity), true
|
|
case "Vendor.services":
|
|
if e.complexity.Vendor.Services == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Vendor_services_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Vendor.Services(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.VendorServiceOrderBy)), true
|
|
case "Vendor.showOnTrustCenter":
|
|
if e.complexity.Vendor.ShowOnTrustCenter == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.ShowOnTrustCenter(childComplexity), true
|
|
case "Vendor.snapshotId":
|
|
if e.complexity.Vendor.SnapshotID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.SnapshotID(childComplexity), true
|
|
case "Vendor.statusPageUrl":
|
|
if e.complexity.Vendor.StatusPageURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.StatusPageURL(childComplexity), true
|
|
case "Vendor.subprocessorsListUrl":
|
|
if e.complexity.Vendor.SubprocessorsListURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.SubprocessorsListURL(childComplexity), true
|
|
case "Vendor.termsOfServiceUrl":
|
|
if e.complexity.Vendor.TermsOfServiceURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.TermsOfServiceURL(childComplexity), true
|
|
case "Vendor.trustPageUrl":
|
|
if e.complexity.Vendor.TrustPageURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.TrustPageURL(childComplexity), true
|
|
case "Vendor.updatedAt":
|
|
if e.complexity.Vendor.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.UpdatedAt(childComplexity), true
|
|
case "Vendor.websiteUrl":
|
|
if e.complexity.Vendor.WebsiteURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Vendor.WebsiteURL(childComplexity), true
|
|
|
|
case "VendorBusinessAssociateAgreement.createdAt":
|
|
if e.complexity.VendorBusinessAssociateAgreement.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorBusinessAssociateAgreement.CreatedAt(childComplexity), true
|
|
case "VendorBusinessAssociateAgreement.fileName":
|
|
if e.complexity.VendorBusinessAssociateAgreement.FileName == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorBusinessAssociateAgreement.FileName(childComplexity), true
|
|
case "VendorBusinessAssociateAgreement.fileSize":
|
|
if e.complexity.VendorBusinessAssociateAgreement.FileSize == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorBusinessAssociateAgreement.FileSize(childComplexity), true
|
|
case "VendorBusinessAssociateAgreement.fileUrl":
|
|
if e.complexity.VendorBusinessAssociateAgreement.FileURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorBusinessAssociateAgreement.FileURL(childComplexity), true
|
|
case "VendorBusinessAssociateAgreement.id":
|
|
if e.complexity.VendorBusinessAssociateAgreement.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorBusinessAssociateAgreement.ID(childComplexity), true
|
|
case "VendorBusinessAssociateAgreement.permission":
|
|
if e.complexity.VendorBusinessAssociateAgreement.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_VendorBusinessAssociateAgreement_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.VendorBusinessAssociateAgreement.Permission(childComplexity, args["action"].(string)), true
|
|
case "VendorBusinessAssociateAgreement.updatedAt":
|
|
if e.complexity.VendorBusinessAssociateAgreement.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorBusinessAssociateAgreement.UpdatedAt(childComplexity), true
|
|
case "VendorBusinessAssociateAgreement.validFrom":
|
|
if e.complexity.VendorBusinessAssociateAgreement.ValidFrom == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorBusinessAssociateAgreement.ValidFrom(childComplexity), true
|
|
case "VendorBusinessAssociateAgreement.validUntil":
|
|
if e.complexity.VendorBusinessAssociateAgreement.ValidUntil == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorBusinessAssociateAgreement.ValidUntil(childComplexity), true
|
|
case "VendorBusinessAssociateAgreement.vendor":
|
|
if e.complexity.VendorBusinessAssociateAgreement.Vendor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorBusinessAssociateAgreement.Vendor(childComplexity), true
|
|
|
|
case "VendorComplianceReport.createdAt":
|
|
if e.complexity.VendorComplianceReport.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorComplianceReport.CreatedAt(childComplexity), true
|
|
case "VendorComplianceReport.file":
|
|
if e.complexity.VendorComplianceReport.File == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorComplianceReport.File(childComplexity), true
|
|
case "VendorComplianceReport.id":
|
|
if e.complexity.VendorComplianceReport.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorComplianceReport.ID(childComplexity), true
|
|
case "VendorComplianceReport.permission":
|
|
if e.complexity.VendorComplianceReport.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_VendorComplianceReport_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.VendorComplianceReport.Permission(childComplexity, args["action"].(string)), true
|
|
case "VendorComplianceReport.reportDate":
|
|
if e.complexity.VendorComplianceReport.ReportDate == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorComplianceReport.ReportDate(childComplexity), true
|
|
case "VendorComplianceReport.reportName":
|
|
if e.complexity.VendorComplianceReport.ReportName == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorComplianceReport.ReportName(childComplexity), true
|
|
case "VendorComplianceReport.updatedAt":
|
|
if e.complexity.VendorComplianceReport.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorComplianceReport.UpdatedAt(childComplexity), true
|
|
case "VendorComplianceReport.validUntil":
|
|
if e.complexity.VendorComplianceReport.ValidUntil == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorComplianceReport.ValidUntil(childComplexity), true
|
|
case "VendorComplianceReport.vendor":
|
|
if e.complexity.VendorComplianceReport.Vendor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorComplianceReport.Vendor(childComplexity), true
|
|
|
|
case "VendorComplianceReportConnection.edges":
|
|
if e.complexity.VendorComplianceReportConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorComplianceReportConnection.Edges(childComplexity), true
|
|
case "VendorComplianceReportConnection.pageInfo":
|
|
if e.complexity.VendorComplianceReportConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorComplianceReportConnection.PageInfo(childComplexity), true
|
|
|
|
case "VendorComplianceReportEdge.cursor":
|
|
if e.complexity.VendorComplianceReportEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorComplianceReportEdge.Cursor(childComplexity), true
|
|
case "VendorComplianceReportEdge.node":
|
|
if e.complexity.VendorComplianceReportEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorComplianceReportEdge.Node(childComplexity), true
|
|
|
|
case "VendorConnection.edges":
|
|
if e.complexity.VendorConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorConnection.Edges(childComplexity), true
|
|
case "VendorConnection.pageInfo":
|
|
if e.complexity.VendorConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorConnection.PageInfo(childComplexity), true
|
|
case "VendorConnection.totalCount":
|
|
if e.complexity.VendorConnection.TotalCount == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorConnection.TotalCount(childComplexity), true
|
|
|
|
case "VendorContact.createdAt":
|
|
if e.complexity.VendorContact.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorContact.CreatedAt(childComplexity), true
|
|
case "VendorContact.email":
|
|
if e.complexity.VendorContact.Email == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorContact.Email(childComplexity), true
|
|
case "VendorContact.fullName":
|
|
if e.complexity.VendorContact.FullName == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorContact.FullName(childComplexity), true
|
|
case "VendorContact.id":
|
|
if e.complexity.VendorContact.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorContact.ID(childComplexity), true
|
|
case "VendorContact.permission":
|
|
if e.complexity.VendorContact.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_VendorContact_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.VendorContact.Permission(childComplexity, args["action"].(string)), true
|
|
case "VendorContact.phone":
|
|
if e.complexity.VendorContact.Phone == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorContact.Phone(childComplexity), true
|
|
case "VendorContact.role":
|
|
if e.complexity.VendorContact.Role == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorContact.Role(childComplexity), true
|
|
case "VendorContact.updatedAt":
|
|
if e.complexity.VendorContact.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorContact.UpdatedAt(childComplexity), true
|
|
case "VendorContact.vendor":
|
|
if e.complexity.VendorContact.Vendor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorContact.Vendor(childComplexity), true
|
|
|
|
case "VendorContactConnection.edges":
|
|
if e.complexity.VendorContactConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorContactConnection.Edges(childComplexity), true
|
|
case "VendorContactConnection.pageInfo":
|
|
if e.complexity.VendorContactConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorContactConnection.PageInfo(childComplexity), true
|
|
|
|
case "VendorContactEdge.cursor":
|
|
if e.complexity.VendorContactEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorContactEdge.Cursor(childComplexity), true
|
|
case "VendorContactEdge.node":
|
|
if e.complexity.VendorContactEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorContactEdge.Node(childComplexity), true
|
|
|
|
case "VendorDataPrivacyAgreement.createdAt":
|
|
if e.complexity.VendorDataPrivacyAgreement.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorDataPrivacyAgreement.CreatedAt(childComplexity), true
|
|
case "VendorDataPrivacyAgreement.fileName":
|
|
if e.complexity.VendorDataPrivacyAgreement.FileName == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorDataPrivacyAgreement.FileName(childComplexity), true
|
|
case "VendorDataPrivacyAgreement.fileSize":
|
|
if e.complexity.VendorDataPrivacyAgreement.FileSize == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorDataPrivacyAgreement.FileSize(childComplexity), true
|
|
case "VendorDataPrivacyAgreement.fileUrl":
|
|
if e.complexity.VendorDataPrivacyAgreement.FileURL == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorDataPrivacyAgreement.FileURL(childComplexity), true
|
|
case "VendorDataPrivacyAgreement.id":
|
|
if e.complexity.VendorDataPrivacyAgreement.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorDataPrivacyAgreement.ID(childComplexity), true
|
|
case "VendorDataPrivacyAgreement.permission":
|
|
if e.complexity.VendorDataPrivacyAgreement.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_VendorDataPrivacyAgreement_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.VendorDataPrivacyAgreement.Permission(childComplexity, args["action"].(string)), true
|
|
case "VendorDataPrivacyAgreement.updatedAt":
|
|
if e.complexity.VendorDataPrivacyAgreement.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorDataPrivacyAgreement.UpdatedAt(childComplexity), true
|
|
case "VendorDataPrivacyAgreement.validFrom":
|
|
if e.complexity.VendorDataPrivacyAgreement.ValidFrom == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorDataPrivacyAgreement.ValidFrom(childComplexity), true
|
|
case "VendorDataPrivacyAgreement.validUntil":
|
|
if e.complexity.VendorDataPrivacyAgreement.ValidUntil == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorDataPrivacyAgreement.ValidUntil(childComplexity), true
|
|
case "VendorDataPrivacyAgreement.vendor":
|
|
if e.complexity.VendorDataPrivacyAgreement.Vendor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorDataPrivacyAgreement.Vendor(childComplexity), true
|
|
|
|
case "VendorEdge.cursor":
|
|
if e.complexity.VendorEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorEdge.Cursor(childComplexity), true
|
|
case "VendorEdge.node":
|
|
if e.complexity.VendorEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorEdge.Node(childComplexity), true
|
|
|
|
case "VendorRiskAssessment.businessImpact":
|
|
if e.complexity.VendorRiskAssessment.BusinessImpact == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorRiskAssessment.BusinessImpact(childComplexity), true
|
|
case "VendorRiskAssessment.createdAt":
|
|
if e.complexity.VendorRiskAssessment.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorRiskAssessment.CreatedAt(childComplexity), true
|
|
case "VendorRiskAssessment.dataSensitivity":
|
|
if e.complexity.VendorRiskAssessment.DataSensitivity == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorRiskAssessment.DataSensitivity(childComplexity), true
|
|
case "VendorRiskAssessment.expiresAt":
|
|
if e.complexity.VendorRiskAssessment.ExpiresAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorRiskAssessment.ExpiresAt(childComplexity), true
|
|
case "VendorRiskAssessment.id":
|
|
if e.complexity.VendorRiskAssessment.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorRiskAssessment.ID(childComplexity), true
|
|
case "VendorRiskAssessment.notes":
|
|
if e.complexity.VendorRiskAssessment.Notes == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorRiskAssessment.Notes(childComplexity), true
|
|
case "VendorRiskAssessment.permission":
|
|
if e.complexity.VendorRiskAssessment.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_VendorRiskAssessment_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.VendorRiskAssessment.Permission(childComplexity, args["action"].(string)), true
|
|
case "VendorRiskAssessment.updatedAt":
|
|
if e.complexity.VendorRiskAssessment.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorRiskAssessment.UpdatedAt(childComplexity), true
|
|
case "VendorRiskAssessment.vendor":
|
|
if e.complexity.VendorRiskAssessment.Vendor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorRiskAssessment.Vendor(childComplexity), true
|
|
|
|
case "VendorRiskAssessmentConnection.edges":
|
|
if e.complexity.VendorRiskAssessmentConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorRiskAssessmentConnection.Edges(childComplexity), true
|
|
case "VendorRiskAssessmentConnection.pageInfo":
|
|
if e.complexity.VendorRiskAssessmentConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorRiskAssessmentConnection.PageInfo(childComplexity), true
|
|
|
|
case "VendorRiskAssessmentEdge.cursor":
|
|
if e.complexity.VendorRiskAssessmentEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorRiskAssessmentEdge.Cursor(childComplexity), true
|
|
case "VendorRiskAssessmentEdge.node":
|
|
if e.complexity.VendorRiskAssessmentEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorRiskAssessmentEdge.Node(childComplexity), true
|
|
|
|
case "VendorService.createdAt":
|
|
if e.complexity.VendorService.CreatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorService.CreatedAt(childComplexity), true
|
|
case "VendorService.description":
|
|
if e.complexity.VendorService.Description == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorService.Description(childComplexity), true
|
|
case "VendorService.id":
|
|
if e.complexity.VendorService.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorService.ID(childComplexity), true
|
|
case "VendorService.name":
|
|
if e.complexity.VendorService.Name == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorService.Name(childComplexity), true
|
|
case "VendorService.permission":
|
|
if e.complexity.VendorService.Permission == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_VendorService_permission_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.VendorService.Permission(childComplexity, args["action"].(string)), true
|
|
case "VendorService.updatedAt":
|
|
if e.complexity.VendorService.UpdatedAt == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorService.UpdatedAt(childComplexity), true
|
|
case "VendorService.vendor":
|
|
if e.complexity.VendorService.Vendor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorService.Vendor(childComplexity), true
|
|
|
|
case "VendorServiceConnection.edges":
|
|
if e.complexity.VendorServiceConnection.Edges == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorServiceConnection.Edges(childComplexity), true
|
|
case "VendorServiceConnection.pageInfo":
|
|
if e.complexity.VendorServiceConnection.PageInfo == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorServiceConnection.PageInfo(childComplexity), true
|
|
|
|
case "VendorServiceEdge.cursor":
|
|
if e.complexity.VendorServiceEdge.Cursor == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorServiceEdge.Cursor(childComplexity), true
|
|
case "VendorServiceEdge.node":
|
|
if e.complexity.VendorServiceEdge.Node == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.VendorServiceEdge.Node(childComplexity), true
|
|
|
|
case "Viewer.id":
|
|
if e.complexity.Viewer.ID == nil {
|
|
break
|
|
}
|
|
|
|
return e.complexity.Viewer.ID(childComplexity), true
|
|
case "Viewer.signableDocument":
|
|
if e.complexity.Viewer.SignableDocument == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Viewer_signableDocument_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Viewer.SignableDocument(childComplexity, args["id"].(gid.GID)), true
|
|
case "Viewer.signableDocuments":
|
|
if e.complexity.Viewer.SignableDocuments == nil {
|
|
break
|
|
}
|
|
|
|
args, err := ec.field_Viewer_signableDocuments_args(ctx, rawArgs)
|
|
if err != nil {
|
|
return 0, false
|
|
}
|
|
|
|
return e.complexity.Viewer.SignableDocuments(childComplexity, args["organizationId"].(gid.GID), args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.DocumentOrderBy)), true
|
|
|
|
}
|
|
return 0, false
|
|
}
|
|
|
|
func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler {
|
|
opCtx := graphql.GetOperationContext(ctx)
|
|
ec := executionContext{opCtx, e, 0, 0, make(chan graphql.DeferredResult)}
|
|
inputUnmarshalMap := graphql.BuildUnmarshalerMap(
|
|
ec.unmarshalInputAssessVendorInput,
|
|
ec.unmarshalInputAssetFilter,
|
|
ec.unmarshalInputAssetOrder,
|
|
ec.unmarshalInputAuditOrder,
|
|
ec.unmarshalInputBulkDeleteDocumentsInput,
|
|
ec.unmarshalInputBulkExportDocumentsInput,
|
|
ec.unmarshalInputBulkPublishDocumentVersionsInput,
|
|
ec.unmarshalInputBulkRequestSignaturesInput,
|
|
ec.unmarshalInputCancelSignatureRequestInput,
|
|
ec.unmarshalInputContinualImprovementFilter,
|
|
ec.unmarshalInputContinualImprovementOrder,
|
|
ec.unmarshalInputControlFilter,
|
|
ec.unmarshalInputControlOrder,
|
|
ec.unmarshalInputCreateAssetInput,
|
|
ec.unmarshalInputCreateAuditInput,
|
|
ec.unmarshalInputCreateContinualImprovementInput,
|
|
ec.unmarshalInputCreateControlAuditMappingInput,
|
|
ec.unmarshalInputCreateControlDocumentMappingInput,
|
|
ec.unmarshalInputCreateControlInput,
|
|
ec.unmarshalInputCreateControlMeasureMappingInput,
|
|
ec.unmarshalInputCreateControlObligationMappingInput,
|
|
ec.unmarshalInputCreateControlSnapshotMappingInput,
|
|
ec.unmarshalInputCreateCustomDomainInput,
|
|
ec.unmarshalInputCreateDataProtectionImpactAssessmentInput,
|
|
ec.unmarshalInputCreateDatumInput,
|
|
ec.unmarshalInputCreateDocumentInput,
|
|
ec.unmarshalInputCreateDraftDocumentVersionInput,
|
|
ec.unmarshalInputCreateFrameworkInput,
|
|
ec.unmarshalInputCreateMeasureInput,
|
|
ec.unmarshalInputCreateMeetingInput,
|
|
ec.unmarshalInputCreateNonconformityInput,
|
|
ec.unmarshalInputCreateObligationInput,
|
|
ec.unmarshalInputCreatePeopleInput,
|
|
ec.unmarshalInputCreateProcessingActivityInput,
|
|
ec.unmarshalInputCreateRightsRequestInput,
|
|
ec.unmarshalInputCreateRiskDocumentMappingInput,
|
|
ec.unmarshalInputCreateRiskInput,
|
|
ec.unmarshalInputCreateRiskMeasureMappingInput,
|
|
ec.unmarshalInputCreateRiskObligationMappingInput,
|
|
ec.unmarshalInputCreateSnapshotInput,
|
|
ec.unmarshalInputCreateStateOfApplicabilityControlMappingInput,
|
|
ec.unmarshalInputCreateStateOfApplicabilityInput,
|
|
ec.unmarshalInputCreateTaskInput,
|
|
ec.unmarshalInputCreateTransferImpactAssessmentInput,
|
|
ec.unmarshalInputCreateTrustCenterAccessInput,
|
|
ec.unmarshalInputCreateTrustCenterFileInput,
|
|
ec.unmarshalInputCreateTrustCenterReferenceInput,
|
|
ec.unmarshalInputCreateVendorContactInput,
|
|
ec.unmarshalInputCreateVendorInput,
|
|
ec.unmarshalInputCreateVendorRiskAssessmentInput,
|
|
ec.unmarshalInputCreateVendorServiceInput,
|
|
ec.unmarshalInputDataProtectionImpactAssessmentFilter,
|
|
ec.unmarshalInputDataProtectionImpactAssessmentOrder,
|
|
ec.unmarshalInputDatumFilter,
|
|
ec.unmarshalInputDatumOrder,
|
|
ec.unmarshalInputDeleteAssetInput,
|
|
ec.unmarshalInputDeleteAuditInput,
|
|
ec.unmarshalInputDeleteAuditReportInput,
|
|
ec.unmarshalInputDeleteContinualImprovementInput,
|
|
ec.unmarshalInputDeleteControlAuditMappingInput,
|
|
ec.unmarshalInputDeleteControlDocumentMappingInput,
|
|
ec.unmarshalInputDeleteControlInput,
|
|
ec.unmarshalInputDeleteControlMeasureMappingInput,
|
|
ec.unmarshalInputDeleteControlObligationMappingInput,
|
|
ec.unmarshalInputDeleteControlSnapshotMappingInput,
|
|
ec.unmarshalInputDeleteCustomDomainInput,
|
|
ec.unmarshalInputDeleteDataProtectionImpactAssessmentInput,
|
|
ec.unmarshalInputDeleteDatumInput,
|
|
ec.unmarshalInputDeleteDocumentInput,
|
|
ec.unmarshalInputDeleteDraftDocumentVersionInput,
|
|
ec.unmarshalInputDeleteEvidenceInput,
|
|
ec.unmarshalInputDeleteFrameworkInput,
|
|
ec.unmarshalInputDeleteMeasureInput,
|
|
ec.unmarshalInputDeleteMeetingInput,
|
|
ec.unmarshalInputDeleteNonconformityInput,
|
|
ec.unmarshalInputDeleteObligationInput,
|
|
ec.unmarshalInputDeletePeopleInput,
|
|
ec.unmarshalInputDeleteProcessingActivityInput,
|
|
ec.unmarshalInputDeleteRightsRequestInput,
|
|
ec.unmarshalInputDeleteRiskDocumentMappingInput,
|
|
ec.unmarshalInputDeleteRiskInput,
|
|
ec.unmarshalInputDeleteRiskMeasureMappingInput,
|
|
ec.unmarshalInputDeleteRiskObligationMappingInput,
|
|
ec.unmarshalInputDeleteSnapshotInput,
|
|
ec.unmarshalInputDeleteStateOfApplicabilityControlMappingInput,
|
|
ec.unmarshalInputDeleteStateOfApplicabilityInput,
|
|
ec.unmarshalInputDeleteTaskInput,
|
|
ec.unmarshalInputDeleteTransferImpactAssessmentInput,
|
|
ec.unmarshalInputDeleteTrustCenterAccessInput,
|
|
ec.unmarshalInputDeleteTrustCenterFileInput,
|
|
ec.unmarshalInputDeleteTrustCenterNDAInput,
|
|
ec.unmarshalInputDeleteTrustCenterReferenceInput,
|
|
ec.unmarshalInputDeleteVendorBusinessAssociateAgreementInput,
|
|
ec.unmarshalInputDeleteVendorComplianceReportInput,
|
|
ec.unmarshalInputDeleteVendorContactInput,
|
|
ec.unmarshalInputDeleteVendorDataPrivacyAgreementInput,
|
|
ec.unmarshalInputDeleteVendorInput,
|
|
ec.unmarshalInputDeleteVendorServiceInput,
|
|
ec.unmarshalInputDocumentFilter,
|
|
ec.unmarshalInputDocumentOrder,
|
|
ec.unmarshalInputDocumentVersionFilter,
|
|
ec.unmarshalInputDocumentVersionOrder,
|
|
ec.unmarshalInputDocumentVersionSignatureFilter,
|
|
ec.unmarshalInputDocumentVersionSignatureOrder,
|
|
ec.unmarshalInputEvidenceOrder,
|
|
ec.unmarshalInputExportDataProtectionImpactAssessmentsPDFInput,
|
|
ec.unmarshalInputExportDocumentVersionPDFInput,
|
|
ec.unmarshalInputExportFrameworkInput,
|
|
ec.unmarshalInputExportProcessingActivitiesPDFInput,
|
|
ec.unmarshalInputExportSignableDocumentVersionPDFInput,
|
|
ec.unmarshalInputExportStateOfApplicabilityPDFInput,
|
|
ec.unmarshalInputExportTransferImpactAssessmentsPDFInput,
|
|
ec.unmarshalInputFrameworkOrder,
|
|
ec.unmarshalInputGenerateDocumentChangelogInput,
|
|
ec.unmarshalInputGenerateFrameworkStateOfApplicabilityInput,
|
|
ec.unmarshalInputGetTrustCenterFileInput,
|
|
ec.unmarshalInputImportFrameworkInput,
|
|
ec.unmarshalInputImportMeasureInput,
|
|
ec.unmarshalInputMeasureFilter,
|
|
ec.unmarshalInputMeasureOrder,
|
|
ec.unmarshalInputMeetingOrder,
|
|
ec.unmarshalInputNonconformityFilter,
|
|
ec.unmarshalInputNonconformityOrder,
|
|
ec.unmarshalInputObligationFilter,
|
|
ec.unmarshalInputObligationOrder,
|
|
ec.unmarshalInputPeopleFilter,
|
|
ec.unmarshalInputPeopleOrder,
|
|
ec.unmarshalInputProcessingActivityFilter,
|
|
ec.unmarshalInputProcessingActivityOrder,
|
|
ec.unmarshalInputPublishDocumentVersionInput,
|
|
ec.unmarshalInputRequestSignatureInput,
|
|
ec.unmarshalInputRightsRequestOrder,
|
|
ec.unmarshalInputRiskFilter,
|
|
ec.unmarshalInputRiskOrder,
|
|
ec.unmarshalInputSendSigningNotificationsInput,
|
|
ec.unmarshalInputSignDocumentInput,
|
|
ec.unmarshalInputSnapshotOrder,
|
|
ec.unmarshalInputStateOfApplicabilityControlInput,
|
|
ec.unmarshalInputStateOfApplicabilityFilter,
|
|
ec.unmarshalInputStateOfApplicabilityOrder,
|
|
ec.unmarshalInputTaskOrder,
|
|
ec.unmarshalInputTransferImpactAssessmentFilter,
|
|
ec.unmarshalInputTransferImpactAssessmentOrder,
|
|
ec.unmarshalInputTrustCenterAccessOrder,
|
|
ec.unmarshalInputTrustCenterDocumentAccessInput,
|
|
ec.unmarshalInputTrustCenterDocumentAccessOrder,
|
|
ec.unmarshalInputTrustCenterFileOrder,
|
|
ec.unmarshalInputTrustCenterReferenceOrder,
|
|
ec.unmarshalInputUpdateAssetInput,
|
|
ec.unmarshalInputUpdateAuditInput,
|
|
ec.unmarshalInputUpdateContinualImprovementInput,
|
|
ec.unmarshalInputUpdateControlInput,
|
|
ec.unmarshalInputUpdateDataProtectionImpactAssessmentInput,
|
|
ec.unmarshalInputUpdateDatumInput,
|
|
ec.unmarshalInputUpdateDocumentInput,
|
|
ec.unmarshalInputUpdateDocumentVersionInput,
|
|
ec.unmarshalInputUpdateFrameworkInput,
|
|
ec.unmarshalInputUpdateMeasureInput,
|
|
ec.unmarshalInputUpdateMeetingInput,
|
|
ec.unmarshalInputUpdateNonconformityInput,
|
|
ec.unmarshalInputUpdateObligationInput,
|
|
ec.unmarshalInputUpdateOrganizationContextInput,
|
|
ec.unmarshalInputUpdatePeopleInput,
|
|
ec.unmarshalInputUpdateProcessingActivityInput,
|
|
ec.unmarshalInputUpdateRightsRequestInput,
|
|
ec.unmarshalInputUpdateRiskInput,
|
|
ec.unmarshalInputUpdateStateOfApplicabilityInput,
|
|
ec.unmarshalInputUpdateTaskInput,
|
|
ec.unmarshalInputUpdateTransferImpactAssessmentInput,
|
|
ec.unmarshalInputUpdateTrustCenterAccessInput,
|
|
ec.unmarshalInputUpdateTrustCenterFileInput,
|
|
ec.unmarshalInputUpdateTrustCenterInput,
|
|
ec.unmarshalInputUpdateTrustCenterReferenceInput,
|
|
ec.unmarshalInputUpdateVendorBusinessAssociateAgreementInput,
|
|
ec.unmarshalInputUpdateVendorContactInput,
|
|
ec.unmarshalInputUpdateVendorDataPrivacyAgreementInput,
|
|
ec.unmarshalInputUpdateVendorInput,
|
|
ec.unmarshalInputUpdateVendorServiceInput,
|
|
ec.unmarshalInputUploadAuditReportInput,
|
|
ec.unmarshalInputUploadMeasureEvidenceInput,
|
|
ec.unmarshalInputUploadTrustCenterNDAInput,
|
|
ec.unmarshalInputUploadVendorBusinessAssociateAgreementInput,
|
|
ec.unmarshalInputUploadVendorComplianceReportInput,
|
|
ec.unmarshalInputUploadVendorDataPrivacyAgreementInput,
|
|
ec.unmarshalInputVendorComplianceReportOrder,
|
|
ec.unmarshalInputVendorContactOrder,
|
|
ec.unmarshalInputVendorFilter,
|
|
ec.unmarshalInputVendorOrder,
|
|
ec.unmarshalInputVendorRiskAssessmentOrder,
|
|
ec.unmarshalInputVendorServiceOrder,
|
|
)
|
|
first := true
|
|
|
|
switch opCtx.Operation.Operation {
|
|
case ast.Query:
|
|
return func(ctx context.Context) *graphql.Response {
|
|
var response graphql.Response
|
|
var data graphql.Marshaler
|
|
if first {
|
|
first = false
|
|
ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap)
|
|
data = ec._Query(ctx, opCtx.Operation.SelectionSet)
|
|
} else {
|
|
if atomic.LoadInt32(&ec.pendingDeferred) > 0 {
|
|
result := <-ec.deferredResults
|
|
atomic.AddInt32(&ec.pendingDeferred, -1)
|
|
data = result.Result
|
|
response.Path = result.Path
|
|
response.Label = result.Label
|
|
response.Errors = result.Errors
|
|
} else {
|
|
return nil
|
|
}
|
|
}
|
|
var buf bytes.Buffer
|
|
data.MarshalGQL(&buf)
|
|
response.Data = buf.Bytes()
|
|
if atomic.LoadInt32(&ec.deferred) > 0 {
|
|
hasNext := atomic.LoadInt32(&ec.pendingDeferred) > 0
|
|
response.HasNext = &hasNext
|
|
}
|
|
|
|
return &response
|
|
}
|
|
case ast.Mutation:
|
|
return func(ctx context.Context) *graphql.Response {
|
|
if !first {
|
|
return nil
|
|
}
|
|
first = false
|
|
ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap)
|
|
data := ec._Mutation(ctx, opCtx.Operation.SelectionSet)
|
|
var buf bytes.Buffer
|
|
data.MarshalGQL(&buf)
|
|
|
|
return &graphql.Response{
|
|
Data: buf.Bytes(),
|
|
}
|
|
}
|
|
|
|
default:
|
|
return graphql.OneShot(graphql.ErrorResponse(ctx, "unsupported GraphQL operation"))
|
|
}
|
|
}
|
|
|
|
type executionContext struct {
|
|
*graphql.OperationContext
|
|
*executableSchema
|
|
deferred int32
|
|
pendingDeferred int32
|
|
deferredResults chan graphql.DeferredResult
|
|
}
|
|
|
|
func (ec *executionContext) processDeferredGroup(dg graphql.DeferredGroup) {
|
|
atomic.AddInt32(&ec.pendingDeferred, 1)
|
|
go func() {
|
|
ctx := graphql.WithFreshResponseContext(dg.Context)
|
|
dg.FieldSet.Dispatch(ctx)
|
|
ds := graphql.DeferredResult{
|
|
Path: dg.Path,
|
|
Label: dg.Label,
|
|
Result: dg.FieldSet,
|
|
Errors: graphql.GetErrors(ctx),
|
|
}
|
|
// null fields should bubble up
|
|
if dg.FieldSet.Invalids > 0 {
|
|
ds.Result = graphql.Null
|
|
}
|
|
ec.deferredResults <- ds
|
|
}()
|
|
}
|
|
|
|
func (ec *executionContext) introspectSchema() (*introspection.Schema, error) {
|
|
if ec.DisableIntrospection {
|
|
return nil, errors.New("introspection disabled")
|
|
}
|
|
return introspection.WrapSchema(ec.Schema()), nil
|
|
}
|
|
|
|
func (ec *executionContext) introspectType(name string) (*introspection.Type, error) {
|
|
if ec.DisableIntrospection {
|
|
return nil, errors.New("introspection disabled")
|
|
}
|
|
return introspection.WrapTypeFromDef(ec.Schema(), ec.Schema().Types[name]), nil
|
|
}
|
|
|
|
var sources = []*ast.Source{
|
|
{Name: "../schema.graphql", Input: `# Directives
|
|
directive @goField(
|
|
forceResolver: Boolean
|
|
name: String
|
|
omittable: Boolean
|
|
) on INPUT_FIELD_DEFINITION | FIELD_DEFINITION
|
|
|
|
directive @goModel(
|
|
model: String
|
|
models: [String!]
|
|
) on OBJECT | INPUT_OBJECT | SCALAR | ENUM | INTERFACE | UNION
|
|
|
|
directive @goEnum(value: String) on ENUM_VALUE
|
|
|
|
# Scalars
|
|
scalar CursorKey
|
|
scalar Datetime
|
|
scalar Upload
|
|
scalar Duration
|
|
scalar BigInt
|
|
scalar EmailAddr
|
|
|
|
# Interfaces
|
|
interface Node {
|
|
id: ID!
|
|
}
|
|
|
|
# Pagination
|
|
type PageInfo {
|
|
hasNextPage: Boolean!
|
|
hasPreviousPage: Boolean!
|
|
startCursor: CursorKey
|
|
endCursor: CursorKey
|
|
}
|
|
|
|
# Enums
|
|
enum OrderDirection
|
|
@goModel(model: "go.probo.inc/probo/pkg/page.OrderDirection") {
|
|
ASC @goEnum(value: "go.probo.inc/probo/pkg/page.OrderDirectionAsc")
|
|
DESC @goEnum(value: "go.probo.inc/probo/pkg/page.OrderDirectionDesc")
|
|
}
|
|
|
|
enum MeasureState
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.MeasureState") {
|
|
NOT_STARTED
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.MeasureStateNotStarted")
|
|
IN_PROGRESS
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.MeasureStateInProgress")
|
|
NOT_APPLICABLE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.MeasureStateNotApplicable"
|
|
)
|
|
IMPLEMENTED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.MeasureStateImplemented"
|
|
)
|
|
}
|
|
|
|
enum TaskState @goModel(model: "go.probo.inc/probo/pkg/coredata.TaskState") {
|
|
TODO @goEnum(value: "go.probo.inc/probo/pkg/coredata.TaskStateTodo")
|
|
DONE @goEnum(value: "go.probo.inc/probo/pkg/coredata.TaskStateDone")
|
|
}
|
|
|
|
enum EvidenceState
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.EvidenceState") {
|
|
FULFILLED
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.EvidenceStateFulfilled")
|
|
REQUESTED
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.EvidenceStateRequested")
|
|
}
|
|
|
|
enum PeopleKind @goModel(model: "go.probo.inc/probo/pkg/coredata.PeopleKind") {
|
|
EMPLOYEE
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.PeopleKindEmployee")
|
|
CONTRACTOR
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.PeopleKindContractor")
|
|
SERVICE_ACCOUNT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.PeopleKindServiceAccount"
|
|
)
|
|
}
|
|
|
|
enum DocumentStatus
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.DocumentStatus") {
|
|
DRAFT @goEnum(value: "go.probo.inc/probo/pkg/coredata.DocumentStatusDraft")
|
|
PUBLISHED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DocumentStatusPublished"
|
|
)
|
|
}
|
|
|
|
enum EvidenceType
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.EvidenceType") {
|
|
FILE @goEnum(value: "go.probo.inc/probo/pkg/coredata.EvidenceTypeFile")
|
|
LINK @goEnum(value: "go.probo.inc/probo/pkg/coredata.EvidenceTypeLink")
|
|
}
|
|
|
|
enum RiskTreatment
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.RiskTreatment") {
|
|
MITIGATED
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.RiskTreatmentMitigated")
|
|
ACCEPTED
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.RiskTreatmentAccepted")
|
|
AVOIDED
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.RiskTreatmentAvoided")
|
|
TRANSFERRED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RiskTreatmentTransferred"
|
|
)
|
|
}
|
|
|
|
enum AuditState @goModel(model: "go.probo.inc/probo/pkg/coredata.AuditState") {
|
|
NOT_STARTED
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.AuditStateNotStarted")
|
|
IN_PROGRESS
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.AuditStateInProgress")
|
|
COMPLETED
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.AuditStateCompleted")
|
|
REJECTED
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.AuditStateRejected")
|
|
OUTDATED
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.AuditStateOutdated")
|
|
}
|
|
|
|
enum TrustCenterVisibility
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.TrustCenterVisibility") {
|
|
NONE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterVisibilityNone"
|
|
)
|
|
PRIVATE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterVisibilityPrivate"
|
|
)
|
|
PUBLIC
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterVisibilityPublic"
|
|
)
|
|
}
|
|
|
|
enum TrustCenterDocumentAccessStatus
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.TrustCenterDocumentAccessStatus"
|
|
) {
|
|
REQUESTED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterDocumentAccessStatusRequested"
|
|
)
|
|
GRANTED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterDocumentAccessStatusGranted"
|
|
)
|
|
REJECTED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterDocumentAccessStatusRejected"
|
|
)
|
|
REVOKED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterDocumentAccessStatusRevoked"
|
|
)
|
|
}
|
|
|
|
enum NonconformityStatus
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.NonconformityStatus") {
|
|
OPEN
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.NonconformityStatusOpen"
|
|
)
|
|
IN_PROGRESS
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.NonconformityStatusInProgress"
|
|
)
|
|
CLOSED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.NonconformityStatusClosed"
|
|
)
|
|
}
|
|
|
|
enum ObligationStatus
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.ObligationStatus") {
|
|
NON_COMPLIANT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ObligationStatusNonCompliant"
|
|
)
|
|
PARTIALLY_COMPLIANT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ObligationStatusPartiallyCompliant"
|
|
)
|
|
COMPLIANT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ObligationStatusCompliant"
|
|
)
|
|
}
|
|
|
|
enum ObligationType
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.ObligationType") {
|
|
LEGAL @goEnum(value: "go.probo.inc/probo/pkg/coredata.ObligationTypeLegal")
|
|
CONTRACTUAL
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ObligationTypeContractual"
|
|
)
|
|
}
|
|
|
|
enum ContinualImprovementStatus
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.ContinualImprovementStatus"
|
|
) {
|
|
OPEN
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ContinualImprovementStatusOpen"
|
|
)
|
|
IN_PROGRESS
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ContinualImprovementStatusInProgress"
|
|
)
|
|
CLOSED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ContinualImprovementStatusClosed"
|
|
)
|
|
}
|
|
|
|
enum ContinualImprovementPriority
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.ContinualImprovementPriority"
|
|
) {
|
|
LOW
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ContinualImprovementPriorityLow"
|
|
)
|
|
MEDIUM
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ContinualImprovementPriorityMedium"
|
|
)
|
|
HIGH
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ContinualImprovementPriorityHigh"
|
|
)
|
|
}
|
|
|
|
enum RightsRequestType
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.RightsRequestType") {
|
|
ACCESS
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RightsRequestTypeAccess"
|
|
)
|
|
DELETION
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RightsRequestTypeDeletion"
|
|
)
|
|
PORTABILITY
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RightsRequestTypePortability"
|
|
)
|
|
}
|
|
|
|
enum RightsRequestState
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.RightsRequestState") {
|
|
TODO
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.RightsRequestStateTodo")
|
|
IN_PROGRESS
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RightsRequestStateInProgress"
|
|
)
|
|
DONE
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.RightsRequestStateDone")
|
|
}
|
|
|
|
enum ProcessingActivitySpecialOrCriminalDatum
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.ProcessingActivitySpecialOrCriminalDatum"
|
|
) {
|
|
YES
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivitySpecialOrCriminalDatumYes"
|
|
)
|
|
NO
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivitySpecialOrCriminalDatumNo"
|
|
)
|
|
POSSIBLE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivitySpecialOrCriminalDatumPossible"
|
|
)
|
|
}
|
|
|
|
enum ProcessingActivityLawfulBasis
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.ProcessingActivityLawfulBasis"
|
|
) {
|
|
LEGITIMATE_INTEREST
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityLawfulBasisLegitimateInterest"
|
|
)
|
|
CONSENT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityLawfulBasisConsent"
|
|
)
|
|
CONTRACTUAL_NECESSITY
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityLawfulBasisContractualNecessity"
|
|
)
|
|
LEGAL_OBLIGATION
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityLawfulBasisLegalObligation"
|
|
)
|
|
VITAL_INTERESTS
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityLawfulBasisVitalInterests"
|
|
)
|
|
PUBLIC_TASK
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityLawfulBasisPublicTask"
|
|
)
|
|
}
|
|
|
|
enum ProcessingActivityTransferSafeguard
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.ProcessingActivityTransferSafeguard"
|
|
) {
|
|
STANDARD_CONTRACTUAL_CLAUSES
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityTransferSafeguardStandardContractualClauses"
|
|
)
|
|
BINDING_CORPORATE_RULES
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityTransferSafeguardBindingCorporateRules"
|
|
)
|
|
ADEQUACY_DECISION
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityTransferSafeguardAdequacyDecision"
|
|
)
|
|
DEROGATIONS
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityTransferSafeguardDerogations"
|
|
)
|
|
CODES_OF_CONDUCT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityTransferSafeguardCodesOfConduct"
|
|
)
|
|
CERTIFICATION_MECHANISMS
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityTransferSafeguardCertificationMechanisms"
|
|
)
|
|
}
|
|
|
|
enum ProcessingActivityDataProtectionImpactAssessment
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.ProcessingActivityDataProtectionImpactAssessment"
|
|
) {
|
|
NEEDED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityDataProtectionImpactAssessmentNeeded"
|
|
)
|
|
NOT_NEEDED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityDataProtectionImpactAssessmentNotNeeded"
|
|
)
|
|
}
|
|
|
|
enum ProcessingActivityTransferImpactAssessment
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.ProcessingActivityTransferImpactAssessment"
|
|
) {
|
|
NEEDED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityTransferImpactAssessmentNeeded"
|
|
)
|
|
NOT_NEEDED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityTransferImpactAssessmentNotNeeded"
|
|
)
|
|
}
|
|
|
|
enum DataProtectionImpactAssessmentResidualRisk
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.DataProtectionImpactAssessmentResidualRisk"
|
|
) {
|
|
LOW
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DataProtectionImpactAssessmentResidualRiskLow"
|
|
)
|
|
MEDIUM
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DataProtectionImpactAssessmentResidualRiskMedium"
|
|
)
|
|
HIGH
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DataProtectionImpactAssessmentResidualRiskHigh"
|
|
)
|
|
}
|
|
|
|
enum ProcessingActivityRole
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.ProcessingActivityRole") {
|
|
CONTROLLER
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityRoleController"
|
|
)
|
|
PROCESSOR
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityRoleProcessor"
|
|
)
|
|
}
|
|
|
|
# Order Field Enums
|
|
enum PeopleOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.PeopleOrderField") {
|
|
FULL_NAME
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.PeopleOrderFieldFullName"
|
|
)
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.PeopleOrderFieldCreatedAt"
|
|
)
|
|
KIND @goEnum(value: "go.probo.inc/probo/pkg/coredata.PeopleOrderFieldKind")
|
|
}
|
|
|
|
enum VendorOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.VendorOrderField") {
|
|
NAME @goEnum(value: "go.probo.inc/probo/pkg/coredata.VendorOrderFieldName")
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorOrderFieldCreatedAt"
|
|
)
|
|
UPDATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorOrderFieldUpdatedAt"
|
|
)
|
|
}
|
|
|
|
enum FrameworkOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.FrameworkOrderField") {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.FrameworkOrderFieldCreatedAt"
|
|
)
|
|
}
|
|
|
|
enum ControlOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.ControlOrderField") {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ControlOrderFieldCreatedAt"
|
|
)
|
|
SECTION_TITLE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ControlOrderFieldSectionTitle"
|
|
)
|
|
}
|
|
|
|
enum MeasureOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.MeasureOrderField") {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.MeasureOrderFieldCreatedAt"
|
|
)
|
|
NAME @goEnum(value: "go.probo.inc/probo/pkg/coredata.MeasureOrderFieldName")
|
|
}
|
|
|
|
enum TaskOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.TaskOrderField") {
|
|
CREATED_AT
|
|
}
|
|
|
|
enum DocumentOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.DocumentOrderField") {
|
|
TITLE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DocumentOrderFieldTitle"
|
|
)
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DocumentOrderFieldCreatedAt"
|
|
)
|
|
DOCUMENT_TYPE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DocumentOrderFieldDocumentType"
|
|
)
|
|
}
|
|
|
|
enum MeetingOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.MeetingOrderField") {
|
|
DATE @goEnum(value: "go.probo.inc/probo/pkg/coredata.MeetingOrderFieldDate")
|
|
NAME @goEnum(value: "go.probo.inc/probo/pkg/coredata.MeetingOrderFieldName")
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.MeetingOrderFieldCreatedAt"
|
|
)
|
|
}
|
|
|
|
enum RiskOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.RiskOrderField") {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RiskOrderFieldCreatedAt"
|
|
)
|
|
UPDATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RiskOrderFieldUpdatedAt"
|
|
)
|
|
NAME @goEnum(value: "go.probo.inc/probo/pkg/coredata.RiskOrderFieldName")
|
|
CATEGORY
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.RiskOrderFieldCategory")
|
|
TREATMENT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RiskOrderFieldTreatment"
|
|
)
|
|
INHERENT_RISK_SCORE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RiskOrderFieldInherentRiskScore"
|
|
)
|
|
RESIDUAL_RISK_SCORE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RiskOrderFieldResidualRiskScore"
|
|
)
|
|
OWNER_FULL_NAME
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RiskOrderFieldOwnerFullName"
|
|
)
|
|
}
|
|
|
|
enum EvidenceOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.EvidenceOrderField") {
|
|
CREATED_AT
|
|
}
|
|
|
|
enum VendorComplianceReportOrderField
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.VendorComplianceReportOrderField"
|
|
) {
|
|
REPORT_DATE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorComplianceReportOrderFieldReportDate"
|
|
)
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorComplianceReportOrderFieldCreatedAt"
|
|
)
|
|
}
|
|
|
|
enum VendorContactOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.VendorContactOrderField") {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorContactOrderFieldCreatedAt"
|
|
)
|
|
FULL_NAME
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorContactOrderFieldFullName"
|
|
)
|
|
EMAIL
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorContactOrderFieldEmail"
|
|
)
|
|
}
|
|
|
|
enum VendorServiceOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.VendorServiceOrderField") {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorServiceOrderFieldCreatedAt"
|
|
)
|
|
NAME
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorServiceOrderFieldName"
|
|
)
|
|
}
|
|
|
|
enum DataSensitivity
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.DataSensitivity") {
|
|
NONE @goEnum(value: "go.probo.inc/probo/pkg/coredata.DataSensitivityNone")
|
|
LOW @goEnum(value: "go.probo.inc/probo/pkg/coredata.DataSensitivityLow")
|
|
MEDIUM
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.DataSensitivityMedium")
|
|
HIGH @goEnum(value: "go.probo.inc/probo/pkg/coredata.DataSensitivityHigh")
|
|
CRITICAL
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DataSensitivityCritical"
|
|
)
|
|
}
|
|
|
|
enum BusinessImpact
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.BusinessImpact") {
|
|
LOW @goEnum(value: "go.probo.inc/probo/pkg/coredata.BusinessImpactLow")
|
|
MEDIUM
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.BusinessImpactMedium")
|
|
HIGH @goEnum(value: "go.probo.inc/probo/pkg/coredata.BusinessImpactHigh")
|
|
CRITICAL
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.BusinessImpactCritical")
|
|
}
|
|
|
|
enum DocumentVersionOrderField
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.DocumentVersionOrderField"
|
|
) {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DocumentVersionOrderFieldCreatedAt"
|
|
)
|
|
}
|
|
|
|
enum CountryCode
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.CountryCode") {
|
|
AD @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAD")
|
|
AE @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAE")
|
|
AF @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAF")
|
|
AG @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAG")
|
|
AI @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAI")
|
|
AL @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAL")
|
|
AM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAM")
|
|
AO @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAO")
|
|
AQ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAQ")
|
|
AR @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAR")
|
|
AS @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAS")
|
|
AT @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAT")
|
|
AU @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAU")
|
|
AW @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAW")
|
|
AX @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAX")
|
|
AZ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeAZ")
|
|
BA @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBA")
|
|
BB @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBB")
|
|
BD @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBD")
|
|
BE @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBE")
|
|
BF @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBF")
|
|
BG @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBG")
|
|
BH @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBH")
|
|
BI @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBI")
|
|
BJ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBJ")
|
|
BL @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBL")
|
|
BM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBM")
|
|
BN @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBN")
|
|
BO @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBO")
|
|
BQ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBQ")
|
|
BR @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBR")
|
|
BS @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBS")
|
|
BT @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBT")
|
|
BV @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBV")
|
|
BW @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBW")
|
|
BY @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBY")
|
|
BZ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeBZ")
|
|
CA @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCA")
|
|
CC @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCC")
|
|
CD @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCD")
|
|
CF @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCF")
|
|
CG @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCG")
|
|
CH @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCH")
|
|
CI @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCI")
|
|
CK @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCK")
|
|
CL @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCL")
|
|
CM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCM")
|
|
CN @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCN")
|
|
CO @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCO")
|
|
CR @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCR")
|
|
CU @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCU")
|
|
CV @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCV")
|
|
CW @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCW")
|
|
CX @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCX")
|
|
CY @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCY")
|
|
CZ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeCZ")
|
|
DE @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeDE")
|
|
DJ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeDJ")
|
|
DK @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeDK")
|
|
DM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeDM")
|
|
DO @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeDO")
|
|
DZ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeDZ")
|
|
EC @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeEC")
|
|
EE @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeEE")
|
|
EG @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeEG")
|
|
EH @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeEH")
|
|
ER @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeER")
|
|
ES @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeES")
|
|
ET @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeET")
|
|
EU @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeEU")
|
|
FI @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeFI")
|
|
FJ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeFJ")
|
|
FK @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeFK")
|
|
FM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeFM")
|
|
FO @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeFO")
|
|
FR @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeFR")
|
|
GA @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGA")
|
|
GB @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGB")
|
|
GD @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGD")
|
|
GE @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGE")
|
|
GF @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGF")
|
|
GG @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGG")
|
|
GH @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGH")
|
|
GI @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGI")
|
|
GL @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGL")
|
|
GM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGM")
|
|
GN @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGN")
|
|
GP @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGP")
|
|
GQ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGQ")
|
|
GR @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGR")
|
|
GT @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGT")
|
|
GU @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGU")
|
|
GW @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGW")
|
|
GY @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeGY")
|
|
HK @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeHK")
|
|
HM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeHM")
|
|
HN @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeHN")
|
|
HR @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeHR")
|
|
HT @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeHT")
|
|
HU @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeHU")
|
|
ID @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeID")
|
|
IE @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeIE")
|
|
IL @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeIL")
|
|
IM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeIM")
|
|
IN @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeIN")
|
|
IO @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeIO")
|
|
IQ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeIQ")
|
|
IR @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeIR")
|
|
IS @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeIS")
|
|
IT @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeIT")
|
|
JE @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeJE")
|
|
JM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeJM")
|
|
JO @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeJO")
|
|
JP @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeJP")
|
|
KE @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeKE")
|
|
KG @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeKG")
|
|
KH @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeKH")
|
|
KI @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeKI")
|
|
KM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeKM")
|
|
KN @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeKN")
|
|
KP @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeKP")
|
|
KR @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeKR")
|
|
KW @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeKW")
|
|
KY @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeKY")
|
|
KZ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeKZ")
|
|
LA @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeLA")
|
|
LB @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeLB")
|
|
LC @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeLC")
|
|
LI @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeLI")
|
|
LK @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeLK")
|
|
LR @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeLR")
|
|
LS @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeLS")
|
|
LT @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeLT")
|
|
LU @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeLU")
|
|
LV @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeLV")
|
|
LY @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeLY")
|
|
MA @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMA")
|
|
MC @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMC")
|
|
MD @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMD")
|
|
ME @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeME")
|
|
MF @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMF")
|
|
MG @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMG")
|
|
MH @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMH")
|
|
MK @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMK")
|
|
ML @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeML")
|
|
MM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMM")
|
|
MN @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMN")
|
|
MO @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMO")
|
|
MP @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMP")
|
|
MQ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMQ")
|
|
MR @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMR")
|
|
MS @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMS")
|
|
MT @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMT")
|
|
MU @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMU")
|
|
MV @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMV")
|
|
MW @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMW")
|
|
MX @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMX")
|
|
MY @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMY")
|
|
MZ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeMZ")
|
|
NA @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeNA")
|
|
NC @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeNC")
|
|
NE @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeNE")
|
|
NF @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeNF")
|
|
NG @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeNG")
|
|
NI @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeNI")
|
|
NL @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeNL")
|
|
NO @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeNO")
|
|
NP @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeNP")
|
|
NR @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeNR")
|
|
NU @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeNU")
|
|
NZ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeNZ")
|
|
OM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeOM")
|
|
PA @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodePA")
|
|
PE @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodePE")
|
|
PF @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodePF")
|
|
PG @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodePG")
|
|
PH @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodePH")
|
|
PK @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodePK")
|
|
PL @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodePL")
|
|
PM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodePM")
|
|
PN @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodePN")
|
|
PR @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodePR")
|
|
PS @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodePS")
|
|
PT @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodePT")
|
|
PW @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodePW")
|
|
PY @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodePY")
|
|
QA @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeQA")
|
|
RE @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeRE")
|
|
RO @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeRO")
|
|
RS @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeRS")
|
|
RU @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeRU")
|
|
RW @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeRW")
|
|
SA @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSA")
|
|
SB @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSB")
|
|
SC @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSC")
|
|
SD @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSD")
|
|
SE @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSE")
|
|
SG @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSG")
|
|
SH @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSH")
|
|
SI @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSI")
|
|
SJ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSJ")
|
|
SK @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSK")
|
|
SL @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSL")
|
|
SM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSM")
|
|
SN @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSN")
|
|
SO @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSO")
|
|
SR @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSR")
|
|
SS @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSS")
|
|
ST @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeST")
|
|
SV @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSV")
|
|
SX @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSX")
|
|
SY @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSY")
|
|
SZ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeSZ")
|
|
TC @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTC")
|
|
TD @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTD")
|
|
TF @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTF")
|
|
TG @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTG")
|
|
TH @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTH")
|
|
TJ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTJ")
|
|
TK @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTK")
|
|
TL @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTL")
|
|
TM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTM")
|
|
TN @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTN")
|
|
TO @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTO")
|
|
TR @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTR")
|
|
TT @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTT")
|
|
TV @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTV")
|
|
TW @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTW")
|
|
TZ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeTZ")
|
|
UA @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeUA")
|
|
UG @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeUG")
|
|
UM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeUM")
|
|
US @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeUS")
|
|
UY @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeUY")
|
|
UZ @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeUZ")
|
|
VA @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeVA")
|
|
VC @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeVC")
|
|
VE @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeVE")
|
|
VG @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeVG")
|
|
VI @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeVI")
|
|
VN @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeVN")
|
|
VU @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeVU")
|
|
WF @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeWF")
|
|
WS @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeWS")
|
|
YE @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeYE")
|
|
YT @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeYT")
|
|
ZA @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeZA")
|
|
ZM @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeZM")
|
|
ZW @goEnum(value: "go.probo.inc/probo/pkg/coredata.CountryCodeZW")
|
|
}
|
|
|
|
enum VendorCategory
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.VendorCategory") {
|
|
ANALYTICS
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryAnalytics"
|
|
)
|
|
CLOUD_MONITORING
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryCloudMonitoring"
|
|
)
|
|
CLOUD_PROVIDER
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryCloudProvider"
|
|
)
|
|
COLLABORATION
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryCollaboration"
|
|
)
|
|
CUSTOMER_SUPPORT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryCustomerSupport"
|
|
)
|
|
DATA_STORAGE_AND_PROCESSING
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryDataStorageAndProcessing"
|
|
)
|
|
DOCUMENT_MANAGEMENT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryDocumentManagement"
|
|
)
|
|
EMPLOYEE_MANAGEMENT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryEmployeeManagement"
|
|
)
|
|
ENGINEERING
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryEngineering"
|
|
)
|
|
FINANCE
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.VendorCategoryFinance")
|
|
IDENTITY_PROVIDER
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryIdentityProvider"
|
|
)
|
|
IT @goEnum(value: "go.probo.inc/probo/pkg/coredata.VendorCategoryIT")
|
|
MARKETING
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryMarketing"
|
|
)
|
|
OFFICE_OPERATIONS
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryOfficeOperations"
|
|
)
|
|
OTHER @goEnum(value: "go.probo.inc/probo/pkg/coredata.VendorCategoryOther")
|
|
PASSWORD_MANAGEMENT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryPasswordManagement"
|
|
)
|
|
PRODUCT_AND_DESIGN
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryProductAndDesign"
|
|
)
|
|
PROFESSIONAL_SERVICES
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryProfessionalServices"
|
|
)
|
|
RECRUITING
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryRecruiting"
|
|
)
|
|
SALES @goEnum(value: "go.probo.inc/probo/pkg/coredata.VendorCategorySales")
|
|
SECURITY
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.VendorCategorySecurity")
|
|
VERSION_CONTROL
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorCategoryVersionControl"
|
|
)
|
|
}
|
|
|
|
enum DocumentType
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.DocumentType") {
|
|
OTHER @goEnum(value: "go.probo.inc/probo/pkg/coredata.DocumentTypeOther")
|
|
ISMS @goEnum(value: "go.probo.inc/probo/pkg/coredata.DocumentTypeISMS")
|
|
POLICY @goEnum(value: "go.probo.inc/probo/pkg/coredata.DocumentTypePolicy")
|
|
PROCEDURE
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.DocumentTypeProcedure")
|
|
}
|
|
|
|
enum DocumentClassification
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.DocumentClassification") {
|
|
PUBLIC
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DocumentClassificationPublic"
|
|
)
|
|
INTERNAL
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DocumentClassificationInternal"
|
|
)
|
|
CONFIDENTIAL
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DocumentClassificationConfidential"
|
|
)
|
|
SECRET
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DocumentClassificationSecret"
|
|
)
|
|
}
|
|
|
|
enum AssetType @goModel(model: "go.probo.inc/probo/pkg/coredata.AssetType") {
|
|
PHYSICAL @goEnum(value: "go.probo.inc/probo/pkg/coredata.AssetTypePhysical")
|
|
VIRTUAL @goEnum(value: "go.probo.inc/probo/pkg/coredata.AssetTypeVirtual")
|
|
}
|
|
|
|
enum AssetOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.AssetOrderField") {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.AssetOrderFieldCreatedAt"
|
|
)
|
|
AMOUNT
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.AssetOrderFieldAmount")
|
|
}
|
|
|
|
enum DatumOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.DatumOrderField") {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DatumOrderFieldCreatedAt"
|
|
)
|
|
NAME @goEnum(value: "go.probo.inc/probo/pkg/coredata.DatumOrderFieldName")
|
|
DATA_CLASSIFICATION
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DatumOrderFieldDataClassification"
|
|
)
|
|
}
|
|
|
|
enum DataClassification
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.DataClassification") {
|
|
PUBLIC
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DataClassificationPublic"
|
|
)
|
|
INTERNAL
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DataClassificationInternal"
|
|
)
|
|
CONFIDENTIAL
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DataClassificationConfidential"
|
|
)
|
|
SECRET
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DataClassificationSecret"
|
|
)
|
|
}
|
|
|
|
enum ControlStatus
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.ControlStatus") {
|
|
INCLUDED
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.ControlStatusIncluded")
|
|
EXCLUDED
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.ControlStatusExcluded")
|
|
}
|
|
|
|
enum AuditOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.AuditOrderField") {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.AuditOrderFieldCreatedAt"
|
|
)
|
|
VALID_FROM
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.AuditOrderFieldValidFrom"
|
|
)
|
|
VALID_UNTIL
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.AuditOrderFieldValidUntil"
|
|
)
|
|
STATE @goEnum(value: "go.probo.inc/probo/pkg/coredata.AuditOrderFieldState")
|
|
}
|
|
|
|
enum NonconformityOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.NonconformityOrderField") {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.NonconformityOrderFieldCreatedAt"
|
|
)
|
|
REFERENCE_ID
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.NonconformityOrderFieldReferenceId"
|
|
)
|
|
DATE_IDENTIFIED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.NonconformityOrderFieldDateIdentified"
|
|
)
|
|
DUE_DATE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.NonconformityOrderFieldDueDate"
|
|
)
|
|
STATUS
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.NonconformityOrderFieldStatus"
|
|
)
|
|
}
|
|
|
|
enum ObligationOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.ObligationOrderField") {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ObligationOrderFieldCreatedAt"
|
|
)
|
|
LAST_REVIEW_DATE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ObligationOrderFieldLastReviewDate"
|
|
)
|
|
DUE_DATE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ObligationOrderFieldDueDate"
|
|
)
|
|
STATUS
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ObligationOrderFieldStatus"
|
|
)
|
|
}
|
|
|
|
enum ContinualImprovementOrderField
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.ContinualImprovementOrderField"
|
|
) {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ContinualImprovementOrderFieldCreatedAt"
|
|
)
|
|
REFERENCE_ID
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ContinualImprovementOrderFieldReferenceId"
|
|
)
|
|
TARGET_DATE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ContinualImprovementOrderFieldTargetDate"
|
|
)
|
|
STATUS
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ContinualImprovementOrderFieldStatus"
|
|
)
|
|
PRIORITY
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ContinualImprovementOrderFieldPriority"
|
|
)
|
|
}
|
|
|
|
enum RightsRequestOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.RightsRequestOrderField") {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RightsRequestOrderFieldCreatedAt"
|
|
)
|
|
DEADLINE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RightsRequestOrderFieldDeadline"
|
|
)
|
|
STATE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RightsRequestOrderFieldState"
|
|
)
|
|
TYPE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.RightsRequestOrderFieldType"
|
|
)
|
|
}
|
|
|
|
enum ProcessingActivityOrderField
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.ProcessingActivityOrderField"
|
|
) {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityOrderFieldCreatedAt"
|
|
)
|
|
NAME
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.ProcessingActivityOrderFieldName"
|
|
)
|
|
}
|
|
|
|
enum DataProtectionImpactAssessmentOrderField
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.DataProtectionImpactAssessmentOrderField"
|
|
) {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DataProtectionImpactAssessmentOrderFieldCreatedAt"
|
|
)
|
|
}
|
|
|
|
enum TransferImpactAssessmentOrderField
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.TransferImpactAssessmentOrderField"
|
|
) {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TransferImpactAssessmentOrderFieldCreatedAt"
|
|
)
|
|
}
|
|
|
|
enum TrustCenterAccessOrderField
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.TrustCenterAccessOrderField"
|
|
) {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterAccessOrderFieldCreatedAt"
|
|
)
|
|
}
|
|
|
|
enum TrustCenterDocumentAccessOrderField
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.TrustCenterDocumentAccessOrderField"
|
|
) {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterDocumentAccessOrderFieldCreatedAt"
|
|
)
|
|
}
|
|
|
|
enum TrustCenterReferenceOrderField
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.TrustCenterReferenceOrderField"
|
|
) {
|
|
RANK
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterReferenceOrderFieldRank"
|
|
)
|
|
NAME
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterReferenceOrderFieldName"
|
|
)
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterReferenceOrderFieldCreatedAt"
|
|
)
|
|
UPDATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterReferenceOrderFieldUpdatedAt"
|
|
)
|
|
}
|
|
|
|
enum TrustCenterFileOrderField
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.TrustCenterFileOrderField"
|
|
) {
|
|
NAME
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterFileOrderFieldName"
|
|
)
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterFileOrderFieldCreatedAt"
|
|
)
|
|
UPDATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.TrustCenterFileOrderFieldUpdatedAt"
|
|
)
|
|
}
|
|
|
|
enum SnapshotsType
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.SnapshotsType") {
|
|
RISKS @goEnum(value: "go.probo.inc/probo/pkg/coredata.SnapshotsTypeRisks")
|
|
VENDORS
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.SnapshotsTypeVendors")
|
|
ASSETS @goEnum(value: "go.probo.inc/probo/pkg/coredata.SnapshotsTypeAssets")
|
|
DATA @goEnum(value: "go.probo.inc/probo/pkg/coredata.SnapshotsTypeData")
|
|
NONCONFORMITIES
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.SnapshotsTypeNonconformities"
|
|
)
|
|
OBLIGATIONS
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.SnapshotsTypeObligations"
|
|
)
|
|
CONTINUAL_IMPROVEMENTS
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.SnapshotsTypeContinualImprovements"
|
|
)
|
|
PROCESSING_ACTIVITIES
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.SnapshotsTypeProcessingActivities"
|
|
)
|
|
STATES_OF_APPLICABILITY
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.SnapshotsTypeStatesOfApplicability"
|
|
)
|
|
}
|
|
|
|
enum SnapshotOrderField
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.SnapshotOrderField") {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.SnapshotOrderFieldCreatedAt"
|
|
)
|
|
NAME
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.SnapshotOrderFieldName")
|
|
TYPE
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.SnapshotOrderFieldType")
|
|
}
|
|
|
|
# Input Types
|
|
input PeopleOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.PeopleOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: PeopleOrderField!
|
|
}
|
|
|
|
input VendorOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.VendorOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: VendorOrderField!
|
|
}
|
|
|
|
input FrameworkOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.FrameworkOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: FrameworkOrderField!
|
|
}
|
|
|
|
input ControlOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.ControlOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: ControlOrderField!
|
|
}
|
|
|
|
input MeasureOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.MeasureOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: MeasureOrderField!
|
|
}
|
|
|
|
input TaskOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.TaskOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: TaskOrderField!
|
|
}
|
|
|
|
input DocumentOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.DocumentOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: DocumentOrderField!
|
|
}
|
|
|
|
input MeetingOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.MeetingOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: MeetingOrderField!
|
|
}
|
|
|
|
input RiskOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.RiskOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: RiskOrderField!
|
|
}
|
|
|
|
input AuditOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.AuditOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: AuditOrderField!
|
|
}
|
|
|
|
input NonconformityOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.NonconformityOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: NonconformityOrderField!
|
|
}
|
|
|
|
input ObligationOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.ObligationOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: ObligationOrderField!
|
|
}
|
|
|
|
input ContinualImprovementOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.ContinualImprovementOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: ContinualImprovementOrderField!
|
|
}
|
|
|
|
input RightsRequestOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.RightsRequestOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: RightsRequestOrderField!
|
|
}
|
|
|
|
input ProcessingActivityOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.ProcessingActivityOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: ProcessingActivityOrderField!
|
|
}
|
|
|
|
input DataProtectionImpactAssessmentOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.DataProtectionImpactAssessmentOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: DataProtectionImpactAssessmentOrderField!
|
|
}
|
|
|
|
input TransferImpactAssessmentOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.TransferImpactAssessmentOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: TransferImpactAssessmentOrderField!
|
|
}
|
|
|
|
input TrustCenterAccessOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.TrustCenterAccessOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: TrustCenterAccessOrderField!
|
|
}
|
|
|
|
input TrustCenterDocumentAccessOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.TrustCenterDocumentAccessOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: TrustCenterDocumentAccessOrderField!
|
|
}
|
|
|
|
input TrustCenterReferenceOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.TrustCenterReferenceOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: TrustCenterReferenceOrderField!
|
|
}
|
|
|
|
input TrustCenterFileOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.TrustCenterFileOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: TrustCenterFileOrderField!
|
|
}
|
|
|
|
input EvidenceOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.EvidenceOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: EvidenceOrderField!
|
|
}
|
|
|
|
input VendorComplianceReportOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.VendorComplianceReportOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: VendorComplianceReportOrderField!
|
|
}
|
|
|
|
input VendorContactOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.VendorContactOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: VendorContactOrderField!
|
|
}
|
|
|
|
input VendorServiceOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.VendorServiceOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: VendorServiceOrderField!
|
|
}
|
|
|
|
input DocumentVersionOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.DocumentVersionOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: DocumentVersionOrderField!
|
|
}
|
|
|
|
input SnapshotOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.SnapshotOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: SnapshotOrderField!
|
|
}
|
|
|
|
input DocumentVersionFilter {
|
|
status: DocumentStatus
|
|
}
|
|
|
|
# Input Types for Filtering
|
|
input ControlFilter {
|
|
query: String
|
|
}
|
|
|
|
input DocumentFilter {
|
|
query: String
|
|
}
|
|
|
|
input MeasureFilter {
|
|
query: String
|
|
state: MeasureState
|
|
}
|
|
|
|
input RiskFilter {
|
|
query: String
|
|
snapshotId: ID
|
|
}
|
|
|
|
input PeopleFilter {
|
|
excludeContractEnded: Boolean
|
|
}
|
|
|
|
input DatumFilter {
|
|
snapshotId: ID
|
|
}
|
|
|
|
input StateOfApplicabilityFilter {
|
|
snapshotId: ID
|
|
}
|
|
|
|
input NonconformityFilter {
|
|
snapshotId: ID
|
|
}
|
|
|
|
input ObligationFilter {
|
|
snapshotId: ID
|
|
}
|
|
|
|
input ContinualImprovementFilter {
|
|
snapshotId: ID
|
|
}
|
|
|
|
input ProcessingActivityFilter {
|
|
snapshotId: ID
|
|
}
|
|
|
|
input DataProtectionImpactAssessmentFilter {
|
|
snapshotId: ID
|
|
}
|
|
|
|
input TransferImpactAssessmentFilter {
|
|
snapshotId: ID
|
|
}
|
|
|
|
input AssetFilter {
|
|
snapshotId: ID
|
|
}
|
|
|
|
input VendorFilter {
|
|
snapshotId: ID
|
|
}
|
|
|
|
# Core Types
|
|
type TrustCenter implements Node {
|
|
id: ID!
|
|
active: Boolean!
|
|
ndaFileName: String
|
|
ndaFileUrl: String @goField(forceResolver: true)
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
organization: Organization! @goField(forceResolver: true)
|
|
|
|
accesses(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: TrustCenterAccessOrder
|
|
): TrustCenterAccessConnection! @goField(forceResolver: true)
|
|
|
|
references(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: TrustCenterReferenceOrder
|
|
): TrustCenterReferenceConnection! @goField(forceResolver: true)
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Organization implements Node {
|
|
id: ID!
|
|
name: String!
|
|
logoUrl: String @goField(forceResolver: true)
|
|
horizontalLogoUrl: String @goField(forceResolver: true)
|
|
|
|
description: String
|
|
websiteUrl: String
|
|
email: String
|
|
headquarterAddress: String
|
|
context: OrganizationContext @goField(forceResolver: true)
|
|
|
|
slackConnections(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
): SlackConnectionConnection! @goField(forceResolver: true)
|
|
|
|
frameworks(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: FrameworkOrder
|
|
): FrameworkConnection! @goField(forceResolver: true)
|
|
|
|
controls(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: ControlOrder
|
|
filter: ControlFilter
|
|
): ControlConnection! @goField(forceResolver: true)
|
|
|
|
vendors(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: VendorOrder
|
|
filter: VendorFilter = { snapshotId: null }
|
|
): VendorConnection! @goField(forceResolver: true)
|
|
|
|
peoples(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: PeopleOrder
|
|
filter: PeopleFilter
|
|
): PeopleConnection! @goField(forceResolver: true)
|
|
|
|
documents(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: DocumentOrder
|
|
filter: DocumentFilter
|
|
): DocumentConnection! @goField(forceResolver: true)
|
|
|
|
meetings(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: MeetingOrder
|
|
): MeetingConnection! @goField(forceResolver: true)
|
|
|
|
statesOfApplicability(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: StateOfApplicabilityOrder
|
|
filter: StateOfApplicabilityFilter = { snapshotId: null }
|
|
): StateOfApplicabilityConnection! @goField(forceResolver: true)
|
|
|
|
measures(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: MeasureOrder
|
|
filter: MeasureFilter
|
|
): MeasureConnection! @goField(forceResolver: true)
|
|
|
|
risks(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: RiskOrder
|
|
filter: RiskFilter = { snapshotId: null }
|
|
): RiskConnection! @goField(forceResolver: true)
|
|
|
|
tasks(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: TaskOrder
|
|
): TaskConnection! @goField(forceResolver: true)
|
|
|
|
assets(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: AssetOrder
|
|
filter: AssetFilter = { snapshotId: null }
|
|
): AssetConnection! @goField(forceResolver: true)
|
|
|
|
data(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: DatumOrder
|
|
filter: DatumFilter = { snapshotId: null }
|
|
): DatumConnection! @goField(forceResolver: true)
|
|
|
|
audits(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: AuditOrder
|
|
): AuditConnection! @goField(forceResolver: true)
|
|
|
|
nonconformities(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: NonconformityOrder
|
|
filter: NonconformityFilter = { snapshotId: null }
|
|
): NonconformityConnection! @goField(forceResolver: true)
|
|
|
|
obligations(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: ObligationOrder
|
|
filter: ObligationFilter = { snapshotId: null }
|
|
): ObligationConnection! @goField(forceResolver: true)
|
|
|
|
continualImprovements(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: ContinualImprovementOrder
|
|
filter: ContinualImprovementFilter = { snapshotId: null }
|
|
): ContinualImprovementConnection! @goField(forceResolver: true)
|
|
|
|
rightsRequests(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: RightsRequestOrder
|
|
): RightsRequestConnection! @goField(forceResolver: true)
|
|
|
|
processingActivities(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: ProcessingActivityOrder
|
|
filter: ProcessingActivityFilter = { snapshotId: null }
|
|
): ProcessingActivityConnection! @goField(forceResolver: true)
|
|
|
|
dataProtectionImpactAssessments(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: DataProtectionImpactAssessmentOrder
|
|
filter: DataProtectionImpactAssessmentFilter = { snapshotId: null }
|
|
): DataProtectionImpactAssessmentConnection! @goField(forceResolver: true)
|
|
|
|
transferImpactAssessments(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: TransferImpactAssessmentOrder
|
|
filter: TransferImpactAssessmentFilter = { snapshotId: null }
|
|
): TransferImpactAssessmentConnection! @goField(forceResolver: true)
|
|
|
|
snapshots(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: SnapshotOrder
|
|
): SnapshotConnection! @goField(forceResolver: true)
|
|
|
|
trustCenterFiles(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: TrustCenterFileOrder
|
|
): TrustCenterFileConnection! @goField(forceResolver: true)
|
|
|
|
trustCenter: TrustCenter @goField(forceResolver: true)
|
|
|
|
customDomain: CustomDomain @goField(forceResolver: true)
|
|
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type SlackConnection {
|
|
id: ID!
|
|
channel: String
|
|
channelId: String
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
}
|
|
|
|
type SlackConnectionConnection {
|
|
edges: [SlackConnectionEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type SlackConnectionEdge {
|
|
cursor: CursorKey!
|
|
node: SlackConnection!
|
|
}
|
|
|
|
type People implements Node {
|
|
id: ID!
|
|
fullName: String!
|
|
primaryEmailAddress: EmailAddr!
|
|
additionalEmailAddresses: [EmailAddr!]!
|
|
kind: PeopleKind!
|
|
position: String
|
|
contractStartDate: Datetime
|
|
contractEndDate: Datetime
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Vendor implements Node {
|
|
id: ID!
|
|
snapshotId: ID
|
|
name: String!
|
|
category: VendorCategory!
|
|
description: String
|
|
|
|
organization: Organization! @goField(forceResolver: true)
|
|
|
|
complianceReports(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: VendorComplianceReportOrder
|
|
): VendorComplianceReportConnection! @goField(forceResolver: true)
|
|
|
|
businessAssociateAgreement: VendorBusinessAssociateAgreement
|
|
@goField(forceResolver: true)
|
|
dataPrivacyAgreement: VendorDataPrivacyAgreement
|
|
@goField(forceResolver: true)
|
|
|
|
contacts(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: VendorContactOrder
|
|
): VendorContactConnection! @goField(forceResolver: true)
|
|
|
|
services(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: VendorServiceOrder
|
|
): VendorServiceConnection! @goField(forceResolver: true)
|
|
|
|
riskAssessments(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: VendorRiskAssessmentOrder
|
|
): VendorRiskAssessmentConnection! @goField(forceResolver: true)
|
|
|
|
businessOwner: People @goField(forceResolver: true)
|
|
securityOwner: People @goField(forceResolver: true)
|
|
|
|
statusPageUrl: String
|
|
termsOfServiceUrl: String
|
|
privacyPolicyUrl: String
|
|
serviceLevelAgreementUrl: String
|
|
dataProcessingAgreementUrl: String
|
|
businessAssociateAgreementUrl: String
|
|
subprocessorsListUrl: String
|
|
certifications: [String!]!
|
|
countries: [CountryCode!]!
|
|
securityPageUrl: String
|
|
trustPageUrl: String
|
|
headquarterAddress: String
|
|
legalName: String
|
|
websiteUrl: String
|
|
showOnTrustCenter: Boolean!
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type VendorComplianceReport implements Node {
|
|
id: ID!
|
|
vendor: Vendor! @goField(forceResolver: true)
|
|
reportDate: Datetime!
|
|
validUntil: Datetime
|
|
reportName: String!
|
|
file: File @goField(forceResolver: true)
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type VendorBusinessAssociateAgreement implements Node {
|
|
id: ID!
|
|
vendor: Vendor! @goField(forceResolver: true)
|
|
validFrom: Datetime
|
|
validUntil: Datetime
|
|
fileName: String!
|
|
fileUrl: String! @goField(forceResolver: true)
|
|
fileSize: BigInt!
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type VendorContact implements Node {
|
|
id: ID!
|
|
vendor: Vendor! @goField(forceResolver: true)
|
|
fullName: String
|
|
email: EmailAddr
|
|
phone: String
|
|
role: String
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type VendorService implements Node {
|
|
id: ID!
|
|
vendor: Vendor! @goField(forceResolver: true)
|
|
name: String!
|
|
description: String
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type VendorDataPrivacyAgreement implements Node {
|
|
id: ID!
|
|
vendor: Vendor! @goField(forceResolver: true)
|
|
validFrom: Datetime
|
|
validUntil: Datetime
|
|
fileName: String!
|
|
fileUrl: String! @goField(forceResolver: true)
|
|
fileSize: BigInt!
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Framework implements Node {
|
|
id: ID!
|
|
name: String!
|
|
description: String
|
|
|
|
organization: Organization! @goField(forceResolver: true)
|
|
|
|
controls(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: ControlOrder
|
|
filter: ControlFilter
|
|
): ControlConnection! @goField(forceResolver: true)
|
|
lightLogoURL: String @goField(forceResolver: true)
|
|
darkLogoURL: String @goField(forceResolver: true)
|
|
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Control implements Node {
|
|
id: ID!
|
|
organization: Organization @goField(forceResolver: true)
|
|
sectionTitle: String!
|
|
name: String!
|
|
description: String
|
|
status: ControlStatus!
|
|
exclusionJustification: String
|
|
bestPractice: Boolean!
|
|
|
|
framework: Framework! @goField(forceResolver: true)
|
|
|
|
measures(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: MeasureOrder
|
|
filter: MeasureFilter
|
|
): MeasureConnection! @goField(forceResolver: true)
|
|
|
|
documents(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: DocumentOrder
|
|
filter: DocumentFilter
|
|
): DocumentConnection! @goField(forceResolver: true)
|
|
|
|
audits(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: AuditOrder
|
|
): AuditConnection! @goField(forceResolver: true)
|
|
|
|
obligations(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: ObligationOrder
|
|
filter: ObligationFilter
|
|
): ObligationConnection! @goField(forceResolver: true)
|
|
|
|
snapshots(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: SnapshotOrder
|
|
): SnapshotConnection! @goField(forceResolver: true)
|
|
|
|
stateOfApplicabilityControls(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: StateOfApplicabilityOrder
|
|
): StateOfApplicabilityControlConnection! @goField(forceResolver: true)
|
|
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Measure implements Node {
|
|
id: ID!
|
|
category: String!
|
|
name: String!
|
|
description: String
|
|
state: MeasureState!
|
|
|
|
evidences(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: EvidenceOrder
|
|
): EvidenceConnection! @goField(forceResolver: true)
|
|
|
|
tasks(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: TaskOrder
|
|
): TaskConnection! @goField(forceResolver: true)
|
|
|
|
risks(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: RiskOrder
|
|
filter: RiskFilter
|
|
): RiskConnection! @goField(forceResolver: true)
|
|
|
|
controls(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: ControlOrder
|
|
filter: ControlFilter
|
|
): ControlConnection! @goField(forceResolver: true)
|
|
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Task implements Node {
|
|
id: ID!
|
|
name: String!
|
|
description: String
|
|
state: TaskState!
|
|
timeEstimate: Duration
|
|
deadline: Datetime
|
|
assignedTo: People @goField(forceResolver: true)
|
|
|
|
organization: Organization! @goField(forceResolver: true)
|
|
measure: Measure @goField(forceResolver: true)
|
|
|
|
evidences(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: EvidenceOrder
|
|
): EvidenceConnection! @goField(forceResolver: true)
|
|
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Evidence implements Node {
|
|
id: ID!
|
|
size: Int!
|
|
state: EvidenceState!
|
|
type: EvidenceType!
|
|
file: File @goField(forceResolver: true)
|
|
url: String
|
|
description: String
|
|
|
|
task: Task @goField(forceResolver: true)
|
|
measure: Measure! @goField(forceResolver: true)
|
|
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Document implements Node {
|
|
id: ID!
|
|
title: String!
|
|
description: String
|
|
documentType: DocumentType!
|
|
classification: DocumentClassification!
|
|
currentPublishedVersion: Int
|
|
trustCenterVisibility: TrustCenterVisibility!
|
|
owner: People! @goField(forceResolver: true)
|
|
organization: Organization! @goField(forceResolver: true)
|
|
|
|
versions(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: DocumentVersionOrder
|
|
filter: DocumentVersionFilter
|
|
): DocumentVersionConnection! @goField(forceResolver: true)
|
|
|
|
controls(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: ControlOrder
|
|
filter: ControlFilter
|
|
): ControlConnection! @goField(forceResolver: true)
|
|
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type SignableDocument
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.SignableDocument"
|
|
) {
|
|
id: ID!
|
|
title: String!
|
|
description: String
|
|
documentType: DocumentType!
|
|
classification: DocumentClassification!
|
|
signed: Boolean! @goField(forceResolver: true)
|
|
|
|
versions(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: DocumentVersionOrder
|
|
filter: DocumentVersionFilter
|
|
): DocumentVersionConnection! @goField(forceResolver: true)
|
|
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
}
|
|
|
|
type Meeting implements Node {
|
|
id: ID!
|
|
name: String!
|
|
date: Datetime!
|
|
minutes: String
|
|
attendees: [People!]! @goField(forceResolver: true)
|
|
organization: Organization! @goField(forceResolver: true)
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type StateOfApplicability implements Node {
|
|
id: ID!
|
|
name: String!
|
|
sourceId: ID
|
|
snapshotId: ID
|
|
organization: Organization @goField(forceResolver: true)
|
|
owner: People! @goField(forceResolver: true)
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
controls(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: ControlOrder
|
|
filter: ControlFilter
|
|
): ControlConnection! @goField(forceResolver: true)
|
|
|
|
availableControls: [AvailableStateOfApplicabilityControl!]!
|
|
@goField(forceResolver: true)
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Risk implements Node {
|
|
id: ID!
|
|
snapshotId: ID
|
|
name: String!
|
|
description: String
|
|
category: String!
|
|
treatment: RiskTreatment!
|
|
inherentLikelihood: Int!
|
|
inherentImpact: Int!
|
|
inherentRiskScore: Int!
|
|
residualLikelihood: Int!
|
|
residualImpact: Int!
|
|
residualRiskScore: Int!
|
|
note: String!
|
|
|
|
owner: People @goField(forceResolver: true)
|
|
organization: Organization! @goField(forceResolver: true)
|
|
|
|
measures(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: MeasureOrder
|
|
filter: MeasureFilter
|
|
): MeasureConnection! @goField(forceResolver: true)
|
|
|
|
documents(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: DocumentOrder
|
|
filter: DocumentFilter
|
|
): DocumentConnection! @goField(forceResolver: true)
|
|
|
|
controls(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: ControlOrder
|
|
filter: ControlFilter
|
|
): ControlConnection! @goField(forceResolver: true)
|
|
|
|
obligations(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: ObligationOrder
|
|
filter: ObligationFilter
|
|
): ObligationConnection! @goField(forceResolver: true)
|
|
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Audit implements Node {
|
|
id: ID!
|
|
name: String
|
|
organization: Organization! @goField(forceResolver: true)
|
|
framework: Framework! @goField(forceResolver: true)
|
|
validFrom: Datetime
|
|
validUntil: Datetime
|
|
report: Report @goField(forceResolver: true)
|
|
reportUrl: String @goField(forceResolver: true)
|
|
state: AuditState!
|
|
|
|
controls(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: ControlOrder
|
|
filter: ControlFilter
|
|
): ControlConnection! @goField(forceResolver: true)
|
|
|
|
trustCenterVisibility: TrustCenterVisibility!
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Nonconformity implements Node {
|
|
id: ID!
|
|
snapshotId: ID
|
|
organization: Organization! @goField(forceResolver: true)
|
|
referenceId: String!
|
|
description: String
|
|
audit: Audit @goField(forceResolver: true)
|
|
dateIdentified: Datetime
|
|
rootCause: String!
|
|
correctiveAction: String
|
|
owner: People! @goField(forceResolver: true)
|
|
dueDate: Datetime
|
|
status: NonconformityStatus!
|
|
effectivenessCheck: String
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Obligation implements Node {
|
|
id: ID!
|
|
snapshotId: ID
|
|
sourceId: ID
|
|
organization: Organization! @goField(forceResolver: true)
|
|
area: String
|
|
source: String
|
|
requirement: String
|
|
actionsToBeImplemented: String
|
|
regulator: String
|
|
owner: People! @goField(forceResolver: true)
|
|
lastReviewDate: Datetime
|
|
dueDate: Datetime
|
|
status: ObligationStatus!
|
|
type: ObligationType!
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type ContinualImprovement implements Node {
|
|
id: ID!
|
|
snapshotId: ID
|
|
sourceId: ID
|
|
organization: Organization! @goField(forceResolver: true)
|
|
referenceId: String!
|
|
description: String
|
|
source: String
|
|
owner: People! @goField(forceResolver: true)
|
|
targetDate: Datetime
|
|
status: ContinualImprovementStatus!
|
|
priority: ContinualImprovementPriority!
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type RightsRequest implements Node {
|
|
id: ID!
|
|
organization: Organization! @goField(forceResolver: true)
|
|
requestType: RightsRequestType!
|
|
requestState: RightsRequestState!
|
|
dataSubject: String
|
|
contact: String
|
|
details: String
|
|
deadline: Datetime
|
|
actionTaken: String
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type ProcessingActivity implements Node {
|
|
id: ID!
|
|
snapshotId: ID
|
|
sourceId: ID
|
|
organization: Organization! @goField(forceResolver: true)
|
|
name: String!
|
|
purpose: String
|
|
dataSubjectCategory: String
|
|
personalDataCategory: String
|
|
specialOrCriminalData: ProcessingActivitySpecialOrCriminalDatum!
|
|
consentEvidenceLink: String
|
|
lawfulBasis: ProcessingActivityLawfulBasis!
|
|
recipients: String
|
|
location: String
|
|
internationalTransfers: Boolean!
|
|
transferSafeguards: ProcessingActivityTransferSafeguard
|
|
retentionPeriod: String
|
|
securityMeasures: String
|
|
dataProtectionImpactAssessmentNeeded: ProcessingActivityDataProtectionImpactAssessment!
|
|
transferImpactAssessmentNeeded: ProcessingActivityTransferImpactAssessment!
|
|
lastReviewDate: Datetime
|
|
nextReviewDate: Datetime
|
|
role: ProcessingActivityRole!
|
|
dataProtectionOfficer: People @goField(forceResolver: true)
|
|
vendors(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: VendorOrder
|
|
): VendorConnection! @goField(forceResolver: true)
|
|
dataProtectionImpactAssessment: DataProtectionImpactAssessment
|
|
@goField(forceResolver: true)
|
|
transferImpactAssessment: TransferImpactAssessment
|
|
@goField(forceResolver: true)
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type DataProtectionImpactAssessment implements Node {
|
|
id: ID!
|
|
processingActivity: ProcessingActivity! @goField(forceResolver: true)
|
|
organization: Organization! @goField(forceResolver: true)
|
|
description: String
|
|
necessityAndProportionality: String
|
|
potentialRisk: String
|
|
mitigations: String
|
|
residualRisk: DataProtectionImpactAssessmentResidualRisk
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type TransferImpactAssessment implements Node {
|
|
id: ID!
|
|
processingActivity: ProcessingActivity! @goField(forceResolver: true)
|
|
organization: Organization! @goField(forceResolver: true)
|
|
dataSubjects: String
|
|
legalMechanism: String
|
|
transfer: String
|
|
localLawRisk: String
|
|
supplementaryMeasures: String
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Snapshot implements Node {
|
|
id: ID!
|
|
organization: Organization! @goField(forceResolver: true)
|
|
name: String!
|
|
description: String
|
|
type: SnapshotsType!
|
|
|
|
controls(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: ControlOrder
|
|
filter: ControlFilter
|
|
): ControlConnection! @goField(forceResolver: true)
|
|
|
|
createdAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Report implements Node {
|
|
id: ID!
|
|
objectKey: String!
|
|
mimeType: String!
|
|
filename: String!
|
|
size: Int!
|
|
downloadUrl: String @goField(forceResolver: true)
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
audit: Audit @goField(forceResolver: true)
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type Viewer {
|
|
id: ID!
|
|
|
|
signableDocuments(
|
|
organizationId: ID!
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: DocumentOrder
|
|
): SignableDocumentConnection! @goField(forceResolver: true)
|
|
|
|
signableDocument(id: ID!): SignableDocument @goField(forceResolver: true)
|
|
}
|
|
|
|
type TrustCenterConnection {
|
|
edges: [TrustCenterEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type TrustCenterEdge {
|
|
cursor: CursorKey!
|
|
node: TrustCenter!
|
|
}
|
|
|
|
type TrustCenterAccess implements Node {
|
|
id: ID!
|
|
email: EmailAddr!
|
|
name: String!
|
|
active: Boolean!
|
|
hasAcceptedNonDisclosureAgreement: Boolean!
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
lastTokenExpiresAt: Datetime
|
|
pendingRequestCount: Int! @goField(forceResolver: true)
|
|
activeCount: Int! @goField(forceResolver: true)
|
|
|
|
availableDocumentAccesses(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: TrustCenterDocumentAccessOrder
|
|
): TrustCenterDocumentAccessConnection! @goField(forceResolver: true)
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type TrustCenterDocumentAccess
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.TrustCenterDocumentAccess"
|
|
) {
|
|
id: ID!
|
|
status: TrustCenterDocumentAccessStatus!
|
|
document: Document @goField(forceResolver: true)
|
|
report: Report @goField(forceResolver: true)
|
|
trustCenterFile: TrustCenterFile @goField(forceResolver: true)
|
|
}
|
|
|
|
type TrustCenterDocumentAccessConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.TrustCenterDocumentAccessConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [TrustCenterDocumentAccessEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type TrustCenterDocumentAccessEdge {
|
|
cursor: CursorKey!
|
|
node: TrustCenterDocumentAccess!
|
|
}
|
|
|
|
type TrustCenterAccessConnection {
|
|
edges: [TrustCenterAccessEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type TrustCenterAccessEdge {
|
|
cursor: CursorKey!
|
|
node: TrustCenterAccess!
|
|
}
|
|
|
|
type TrustCenterReference implements Node {
|
|
id: ID!
|
|
name: String!
|
|
description: String
|
|
websiteUrl: String!
|
|
logoUrl: String! @goField(forceResolver: true)
|
|
rank: Int!
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type TrustCenterReferenceConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.TrustCenterReferenceConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [TrustCenterReferenceEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type TrustCenterReferenceEdge {
|
|
cursor: CursorKey!
|
|
node: TrustCenterReference!
|
|
}
|
|
|
|
type TrustCenterFile implements Node {
|
|
id: ID!
|
|
name: String!
|
|
category: String!
|
|
fileUrl: String! @goField(forceResolver: true)
|
|
trustCenterVisibility: TrustCenterVisibility!
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
organization: Organization! @goField(forceResolver: true)
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type TrustCenterFileConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.TrustCenterFileConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [TrustCenterFileEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type TrustCenterFileEdge {
|
|
cursor: CursorKey!
|
|
node: TrustCenterFile!
|
|
}
|
|
|
|
type PeopleConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.PeopleConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [PeopleEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type PeopleEdge {
|
|
cursor: CursorKey!
|
|
node: People!
|
|
}
|
|
|
|
type VendorConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.VendorConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [VendorEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type VendorEdge {
|
|
cursor: CursorKey!
|
|
node: Vendor!
|
|
}
|
|
|
|
type FrameworkConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.FrameworkConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [FrameworkEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type FrameworkEdge {
|
|
cursor: CursorKey!
|
|
node: Framework!
|
|
}
|
|
|
|
type ControlConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.ControlConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [ControlEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type ControlEdge {
|
|
cursor: CursorKey!
|
|
node: Control!
|
|
}
|
|
|
|
type MeasureConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.MeasureConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [MeasureEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type MeasureEdge {
|
|
cursor: CursorKey!
|
|
node: Measure!
|
|
}
|
|
|
|
type TaskConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.TaskConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [TaskEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type TaskEdge {
|
|
cursor: CursorKey!
|
|
node: Task!
|
|
}
|
|
|
|
type EvidenceConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.EvidenceConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [EvidenceEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type EvidenceEdge {
|
|
cursor: CursorKey!
|
|
node: Evidence!
|
|
}
|
|
|
|
type SignableDocumentConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.SignableDocumentConnection"
|
|
) {
|
|
edges: [SignableDocumentEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type SignableDocumentEdge
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.SignableDocumentEdge"
|
|
) {
|
|
cursor: CursorKey!
|
|
node: SignableDocument!
|
|
}
|
|
|
|
type DocumentConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.DocumentConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [DocumentEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type DocumentEdge {
|
|
cursor: CursorKey!
|
|
node: Document!
|
|
}
|
|
|
|
type MeetingConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.MeetingConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [MeetingEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type MeetingEdge {
|
|
cursor: CursorKey!
|
|
node: Meeting!
|
|
}
|
|
|
|
type StateOfApplicabilityConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.StateOfApplicabilityConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [StateOfApplicabilityEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type StateOfApplicabilityEdge {
|
|
cursor: CursorKey!
|
|
node: StateOfApplicability!
|
|
}
|
|
|
|
type RiskConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.RiskConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [RiskEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type RiskEdge {
|
|
cursor: CursorKey!
|
|
node: Risk!
|
|
}
|
|
|
|
type VendorComplianceReportConnection {
|
|
edges: [VendorComplianceReportEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type VendorComplianceReportEdge {
|
|
cursor: CursorKey!
|
|
node: VendorComplianceReport!
|
|
}
|
|
|
|
type VendorContactConnection {
|
|
edges: [VendorContactEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type VendorContactEdge {
|
|
cursor: CursorKey!
|
|
node: VendorContact!
|
|
}
|
|
|
|
type VendorServiceConnection {
|
|
edges: [VendorServiceEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type VendorServiceEdge {
|
|
cursor: CursorKey!
|
|
node: VendorService!
|
|
}
|
|
|
|
type VendorRiskAssessmentConnection {
|
|
edges: [VendorRiskAssessmentEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type VendorRiskAssessmentEdge {
|
|
cursor: CursorKey!
|
|
node: VendorRiskAssessment!
|
|
}
|
|
|
|
type DocumentVersionConnection {
|
|
edges: [DocumentVersionEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type DocumentVersionEdge {
|
|
cursor: CursorKey!
|
|
node: DocumentVersion!
|
|
}
|
|
|
|
type DatumConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.DatumConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [DatumEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type DatumEdge {
|
|
cursor: CursorKey!
|
|
node: Datum!
|
|
}
|
|
|
|
type AuditConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.AuditConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [AuditEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type AuditEdge {
|
|
cursor: CursorKey!
|
|
node: Audit!
|
|
}
|
|
|
|
type NonconformityConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.NonconformityConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [NonconformityEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type NonconformityEdge {
|
|
cursor: CursorKey!
|
|
node: Nonconformity!
|
|
}
|
|
type ObligationConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.ObligationConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [ObligationEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type ObligationEdge {
|
|
cursor: CursorKey!
|
|
node: Obligation!
|
|
}
|
|
|
|
type ContinualImprovementConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.ContinualImprovementConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [ContinualImprovementEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type ContinualImprovementEdge {
|
|
cursor: CursorKey!
|
|
node: ContinualImprovement!
|
|
}
|
|
|
|
type RightsRequestConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.RightsRequestConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [RightsRequestEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type RightsRequestEdge {
|
|
cursor: CursorKey!
|
|
node: RightsRequest!
|
|
}
|
|
|
|
type ProcessingActivityConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.ProcessingActivityConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [ProcessingActivityEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type ProcessingActivityEdge {
|
|
cursor: CursorKey!
|
|
node: ProcessingActivity!
|
|
}
|
|
|
|
type DataProtectionImpactAssessmentConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.DataProtectionImpactAssessmentConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [DataProtectionImpactAssessmentEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type DataProtectionImpactAssessmentEdge {
|
|
cursor: CursorKey!
|
|
node: DataProtectionImpactAssessment!
|
|
}
|
|
|
|
type TransferImpactAssessmentConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.TransferImpactAssessmentConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [TransferImpactAssessmentEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type TransferImpactAssessmentEdge {
|
|
cursor: CursorKey!
|
|
node: TransferImpactAssessment!
|
|
}
|
|
|
|
type SnapshotConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.SnapshotConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [SnapshotEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type SnapshotEdge {
|
|
cursor: CursorKey!
|
|
node: Snapshot!
|
|
}
|
|
|
|
type File {
|
|
id: ID!
|
|
mimeType: String!
|
|
fileName: String!
|
|
size: BigInt!
|
|
downloadUrl: String! @goField(forceResolver: true)
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
}
|
|
|
|
# Root Types
|
|
type Query {
|
|
node(id: ID!): Node!
|
|
viewer: Viewer!
|
|
}
|
|
|
|
type Mutation {
|
|
updateOrganizationContext(
|
|
input: UpdateOrganizationContextInput!
|
|
): UpdateOrganizationContextPayload!
|
|
updateTrustCenter(input: UpdateTrustCenterInput!): UpdateTrustCenterPayload!
|
|
uploadTrustCenterNDA(
|
|
input: UploadTrustCenterNDAInput!
|
|
): UploadTrustCenterNDAPayload!
|
|
deleteTrustCenterNDA(
|
|
input: DeleteTrustCenterNDAInput!
|
|
): DeleteTrustCenterNDAPayload!
|
|
# Trust Center Access CRUD mutations
|
|
createTrustCenterAccess(
|
|
input: CreateTrustCenterAccessInput!
|
|
): CreateTrustCenterAccessPayload!
|
|
updateTrustCenterAccess(
|
|
input: UpdateTrustCenterAccessInput!
|
|
): UpdateTrustCenterAccessPayload!
|
|
deleteTrustCenterAccess(
|
|
input: DeleteTrustCenterAccessInput!
|
|
): DeleteTrustCenterAccessPayload!
|
|
# Trust Center Reference mutations
|
|
createTrustCenterReference(
|
|
input: CreateTrustCenterReferenceInput!
|
|
): CreateTrustCenterReferencePayload!
|
|
updateTrustCenterReference(
|
|
input: UpdateTrustCenterReferenceInput!
|
|
): UpdateTrustCenterReferencePayload!
|
|
deleteTrustCenterReference(
|
|
input: DeleteTrustCenterReferenceInput!
|
|
): DeleteTrustCenterReferencePayload!
|
|
# Trust Center File mutations
|
|
createTrustCenterFile(
|
|
input: CreateTrustCenterFileInput!
|
|
): CreateTrustCenterFilePayload!
|
|
updateTrustCenterFile(
|
|
input: UpdateTrustCenterFileInput!
|
|
): UpdateTrustCenterFilePayload!
|
|
getTrustCenterFile(
|
|
input: GetTrustCenterFileInput!
|
|
): GetTrustCenterFilePayload!
|
|
deleteTrustCenterFile(
|
|
input: DeleteTrustCenterFileInput!
|
|
): DeleteTrustCenterFilePayload!
|
|
|
|
# People mutations
|
|
createPeople(input: CreatePeopleInput!): CreatePeoplePayload!
|
|
updatePeople(input: UpdatePeopleInput!): UpdatePeoplePayload!
|
|
deletePeople(input: DeletePeopleInput!): DeletePeoplePayload!
|
|
# Vendor mutations
|
|
createVendor(input: CreateVendorInput!): CreateVendorPayload!
|
|
updateVendor(input: UpdateVendorInput!): UpdateVendorPayload!
|
|
deleteVendor(input: DeleteVendorInput!): DeleteVendorPayload!
|
|
# Vendor Contact mutations
|
|
createVendorContact(
|
|
input: CreateVendorContactInput!
|
|
): CreateVendorContactPayload!
|
|
updateVendorContact(
|
|
input: UpdateVendorContactInput!
|
|
): UpdateVendorContactPayload!
|
|
deleteVendorContact(
|
|
input: DeleteVendorContactInput!
|
|
): DeleteVendorContactPayload!
|
|
# Vendor Service mutations
|
|
createVendorService(
|
|
input: CreateVendorServiceInput!
|
|
): CreateVendorServicePayload!
|
|
updateVendorService(
|
|
input: UpdateVendorServiceInput!
|
|
): UpdateVendorServicePayload!
|
|
deleteVendorService(
|
|
input: DeleteVendorServiceInput!
|
|
): DeleteVendorServicePayload!
|
|
# Framework mutations
|
|
createFramework(input: CreateFrameworkInput!): CreateFrameworkPayload!
|
|
updateFramework(input: UpdateFrameworkInput!): UpdateFrameworkPayload!
|
|
importFramework(input: ImportFrameworkInput!): ImportFrameworkPayload!
|
|
deleteFramework(input: DeleteFrameworkInput!): DeleteFrameworkPayload!
|
|
generateFrameworkStateOfApplicability(
|
|
input: GenerateFrameworkStateOfApplicabilityInput!
|
|
): GenerateFrameworkStateOfApplicabilityPayload!
|
|
exportFramework(input: ExportFrameworkInput!): ExportFrameworkPayload!
|
|
# Control mutations
|
|
createControl(input: CreateControlInput!): CreateControlPayload!
|
|
updateControl(input: UpdateControlInput!): UpdateControlPayload!
|
|
deleteControl(input: DeleteControlInput!): DeleteControlPayload!
|
|
# Measure mutations
|
|
createMeasure(input: CreateMeasureInput!): CreateMeasurePayload!
|
|
updateMeasure(input: UpdateMeasureInput!): UpdateMeasurePayload!
|
|
importMeasure(input: ImportMeasureInput!): ImportMeasurePayload!
|
|
deleteMeasure(input: DeleteMeasureInput!): DeleteMeasurePayload!
|
|
# Control mutations
|
|
createControlMeasureMapping(
|
|
input: CreateControlMeasureMappingInput!
|
|
): CreateControlMeasureMappingPayload!
|
|
createControlDocumentMapping(
|
|
input: CreateControlDocumentMappingInput!
|
|
): CreateControlDocumentMappingPayload!
|
|
deleteControlMeasureMapping(
|
|
input: DeleteControlMeasureMappingInput!
|
|
): DeleteControlMeasureMappingPayload!
|
|
deleteControlDocumentMapping(
|
|
input: DeleteControlDocumentMappingInput!
|
|
): DeleteControlDocumentMappingPayload!
|
|
createStateOfApplicabilityControlMapping(
|
|
input: CreateStateOfApplicabilityControlMappingInput!
|
|
): CreateStateOfApplicabilityControlMappingPayload!
|
|
deleteStateOfApplicabilityControlMapping(
|
|
input: DeleteStateOfApplicabilityControlMappingInput!
|
|
): DeleteStateOfApplicabilityControlMappingPayload!
|
|
createControlAuditMapping(
|
|
input: CreateControlAuditMappingInput!
|
|
): CreateControlAuditMappingPayload!
|
|
deleteControlAuditMapping(
|
|
input: DeleteControlAuditMappingInput!
|
|
): DeleteControlAuditMappingPayload!
|
|
createControlObligationMapping(
|
|
input: CreateControlObligationMappingInput!
|
|
): CreateControlObligationMappingPayload!
|
|
deleteControlObligationMapping(
|
|
input: DeleteControlObligationMappingInput!
|
|
): DeleteControlObligationMappingPayload!
|
|
createControlSnapshotMapping(
|
|
input: CreateControlSnapshotMappingInput!
|
|
): CreateControlSnapshotMappingPayload!
|
|
deleteControlSnapshotMapping(
|
|
input: DeleteControlSnapshotMappingInput!
|
|
): DeleteControlSnapshotMappingPayload!
|
|
# Task mutations
|
|
createTask(input: CreateTaskInput!): CreateTaskPayload!
|
|
updateTask(input: UpdateTaskInput!): UpdateTaskPayload!
|
|
deleteTask(input: DeleteTaskInput!): DeleteTaskPayload!
|
|
# Risk mutations
|
|
createRisk(input: CreateRiskInput!): CreateRiskPayload!
|
|
updateRisk(input: UpdateRiskInput!): UpdateRiskPayload!
|
|
deleteRisk(input: DeleteRiskInput!): DeleteRiskPayload!
|
|
createRiskMeasureMapping(
|
|
input: CreateRiskMeasureMappingInput!
|
|
): CreateRiskMeasureMappingPayload!
|
|
deleteRiskMeasureMapping(
|
|
input: DeleteRiskMeasureMappingInput!
|
|
): DeleteRiskMeasureMappingPayload!
|
|
createRiskDocumentMapping(
|
|
input: CreateRiskDocumentMappingInput!
|
|
): CreateRiskDocumentMappingPayload!
|
|
deleteRiskDocumentMapping(
|
|
input: DeleteRiskDocumentMappingInput!
|
|
): DeleteRiskDocumentMappingPayload!
|
|
createRiskObligationMapping(
|
|
input: CreateRiskObligationMappingInput!
|
|
): CreateRiskObligationMappingPayload!
|
|
deleteRiskObligationMapping(
|
|
input: DeleteRiskObligationMappingInput!
|
|
): DeleteRiskObligationMappingPayload!
|
|
# Evidence mutations
|
|
deleteEvidence(input: DeleteEvidenceInput!): DeleteEvidencePayload!
|
|
uploadMeasureEvidence(
|
|
input: UploadMeasureEvidenceInput!
|
|
): UploadMeasureEvidencePayload!
|
|
# Vendor Compliance Report mutations
|
|
uploadVendorComplianceReport(
|
|
input: UploadVendorComplianceReportInput!
|
|
): UploadVendorComplianceReportPayload!
|
|
deleteVendorComplianceReport(
|
|
input: DeleteVendorComplianceReportInput!
|
|
): DeleteVendorComplianceReportPayload!
|
|
# Vendor Business Associate Agreement mutations
|
|
uploadVendorBusinessAssociateAgreement(
|
|
input: UploadVendorBusinessAssociateAgreementInput!
|
|
): UploadVendorBusinessAssociateAgreementPayload!
|
|
updateVendorBusinessAssociateAgreement(
|
|
input: UpdateVendorBusinessAssociateAgreementInput!
|
|
): UpdateVendorBusinessAssociateAgreementPayload!
|
|
deleteVendorBusinessAssociateAgreement(
|
|
input: DeleteVendorBusinessAssociateAgreementInput!
|
|
): DeleteVendorBusinessAssociateAgreementPayload!
|
|
# Vendor Data Privacy Agreement mutations
|
|
uploadVendorDataPrivacyAgreement(
|
|
input: UploadVendorDataPrivacyAgreementInput!
|
|
): UploadVendorDataPrivacyAgreementPayload!
|
|
updateVendorDataPrivacyAgreement(
|
|
input: UpdateVendorDataPrivacyAgreementInput!
|
|
): UpdateVendorDataPrivacyAgreementPayload!
|
|
deleteVendorDataPrivacyAgreement(
|
|
input: DeleteVendorDataPrivacyAgreementInput!
|
|
): DeleteVendorDataPrivacyAgreementPayload!
|
|
# Document mutations
|
|
createDocument(input: CreateDocumentInput!): CreateDocumentPayload!
|
|
updateDocument(input: UpdateDocumentInput!): UpdateDocumentPayload!
|
|
deleteDocument(input: DeleteDocumentInput!): DeleteDocumentPayload!
|
|
# Meeting mutations
|
|
createMeeting(input: CreateMeetingInput!): CreateMeetingPayload!
|
|
updateMeeting(input: UpdateMeetingInput!): UpdateMeetingPayload!
|
|
deleteMeeting(input: DeleteMeetingInput!): DeleteMeetingPayload!
|
|
# StateOfApplicability mutations
|
|
createStateOfApplicability(
|
|
input: CreateStateOfApplicabilityInput!
|
|
): CreateStateOfApplicabilityPayload!
|
|
updateStateOfApplicability(
|
|
input: UpdateStateOfApplicabilityInput!
|
|
): UpdateStateOfApplicabilityPayload!
|
|
deleteStateOfApplicability(
|
|
input: DeleteStateOfApplicabilityInput!
|
|
): DeleteStateOfApplicabilityPayload!
|
|
exportStateOfApplicabilityPDF(
|
|
input: ExportStateOfApplicabilityPDFInput!
|
|
): ExportStateOfApplicabilityPDFPayload!
|
|
publishDocumentVersion(
|
|
input: PublishDocumentVersionInput!
|
|
): PublishDocumentVersionPayload!
|
|
bulkPublishDocumentVersions(
|
|
input: BulkPublishDocumentVersionsInput!
|
|
): BulkPublishDocumentVersionsPayload!
|
|
bulkDeleteDocuments(
|
|
input: BulkDeleteDocumentsInput!
|
|
): BulkDeleteDocumentsPayload!
|
|
bulkExportDocuments(
|
|
input: BulkExportDocumentsInput!
|
|
): BulkExportDocumentsPayload!
|
|
generateDocumentChangelog(
|
|
input: GenerateDocumentChangelogInput!
|
|
): GenerateDocumentChangelogPayload!
|
|
createDraftDocumentVersion(
|
|
input: CreateDraftDocumentVersionInput!
|
|
): CreateDraftDocumentVersionPayload!
|
|
deleteDraftDocumentVersion(
|
|
input: DeleteDraftDocumentVersionInput!
|
|
): DeleteDraftDocumentVersionPayload!
|
|
updateDocumentVersion(
|
|
input: UpdateDocumentVersionInput!
|
|
): UpdateDocumentVersionPayload!
|
|
requestSignature(input: RequestSignatureInput!): RequestSignaturePayload!
|
|
bulkRequestSignatures(
|
|
input: BulkRequestSignaturesInput!
|
|
): BulkRequestSignaturesPayload!
|
|
sendSigningNotifications(
|
|
input: SendSigningNotificationsInput!
|
|
): SendSigningNotificationsPayload!
|
|
cancelSignatureRequest(
|
|
input: CancelSignatureRequestInput!
|
|
): CancelSignatureRequestPayload!
|
|
signDocument(input: SignDocumentInput!): SignDocumentPayload!
|
|
|
|
exportDocumentVersionPDF(
|
|
input: ExportDocumentVersionPDFInput!
|
|
): ExportDocumentVersionPDFPayload!
|
|
exportSignableVersionDocumentPDF(
|
|
input: ExportSignableDocumentVersionPDFInput!
|
|
): ExportSignableDocumentVersionPDFPayload!
|
|
exportProcessingActivitiesPDF(
|
|
input: ExportProcessingActivitiesPDFInput!
|
|
): ExportProcessingActivitiesPDFPayload!
|
|
exportDataProtectionImpactAssessmentsPDF(
|
|
input: ExportDataProtectionImpactAssessmentsPDFInput!
|
|
): ExportDataProtectionImpactAssessmentsPDFPayload!
|
|
exportTransferImpactAssessmentsPDF(
|
|
input: ExportTransferImpactAssessmentsPDFInput!
|
|
): ExportTransferImpactAssessmentsPDFPayload!
|
|
createVendorRiskAssessment(
|
|
input: CreateVendorRiskAssessmentInput!
|
|
): CreateVendorRiskAssessmentPayload!
|
|
assessVendor(input: AssessVendorInput!): AssessVendorPayload!
|
|
createAsset(input: CreateAssetInput!): CreateAssetPayload!
|
|
updateAsset(input: UpdateAssetInput!): UpdateAssetPayload!
|
|
deleteAsset(input: DeleteAssetInput!): DeleteAssetPayload!
|
|
createDatum(input: CreateDatumInput!): CreateDatumPayload!
|
|
updateDatum(input: UpdateDatumInput!): UpdateDatumPayload!
|
|
deleteDatum(input: DeleteDatumInput!): DeleteDatumPayload!
|
|
createAudit(input: CreateAuditInput!): CreateAuditPayload!
|
|
updateAudit(input: UpdateAuditInput!): UpdateAuditPayload!
|
|
deleteAudit(input: DeleteAuditInput!): DeleteAuditPayload!
|
|
uploadAuditReport(input: UploadAuditReportInput!): UploadAuditReportPayload!
|
|
deleteAuditReport(input: DeleteAuditReportInput!): DeleteAuditReportPayload!
|
|
# Nonconformity mutations
|
|
createNonconformity(
|
|
input: CreateNonconformityInput!
|
|
): CreateNonconformityPayload!
|
|
updateNonconformity(
|
|
input: UpdateNonconformityInput!
|
|
): UpdateNonconformityPayload!
|
|
deleteNonconformity(
|
|
input: DeleteNonconformityInput!
|
|
): DeleteNonconformityPayload!
|
|
# Obligation mutations
|
|
createObligation(input: CreateObligationInput!): CreateObligationPayload!
|
|
updateObligation(input: UpdateObligationInput!): UpdateObligationPayload!
|
|
deleteObligation(input: DeleteObligationInput!): DeleteObligationPayload!
|
|
# Continual Improvement mutations
|
|
createContinualImprovement(
|
|
input: CreateContinualImprovementInput!
|
|
): CreateContinualImprovementPayload!
|
|
updateContinualImprovement(
|
|
input: UpdateContinualImprovementInput!
|
|
): UpdateContinualImprovementPayload!
|
|
deleteContinualImprovement(
|
|
input: DeleteContinualImprovementInput!
|
|
): DeleteContinualImprovementPayload!
|
|
|
|
# Rights Request mutations
|
|
createRightsRequest(
|
|
input: CreateRightsRequestInput!
|
|
): CreateRightsRequestPayload!
|
|
|
|
updateRightsRequest(
|
|
input: UpdateRightsRequestInput!
|
|
): UpdateRightsRequestPayload!
|
|
|
|
deleteRightsRequest(
|
|
input: DeleteRightsRequestInput!
|
|
): DeleteRightsRequestPayload!
|
|
|
|
# Processing Activity mutations
|
|
createProcessingActivity(
|
|
input: CreateProcessingActivityInput!
|
|
): CreateProcessingActivityPayload!
|
|
updateProcessingActivity(
|
|
input: UpdateProcessingActivityInput!
|
|
): UpdateProcessingActivityPayload!
|
|
deleteProcessingActivity(
|
|
input: DeleteProcessingActivityInput!
|
|
): DeleteProcessingActivityPayload!
|
|
# Data Protection Impact Assessment mutations
|
|
createDataProtectionImpactAssessment(
|
|
input: CreateDataProtectionImpactAssessmentInput!
|
|
): CreateDataProtectionImpactAssessmentPayload!
|
|
updateDataProtectionImpactAssessment(
|
|
input: UpdateDataProtectionImpactAssessmentInput!
|
|
): UpdateDataProtectionImpactAssessmentPayload!
|
|
deleteDataProtectionImpactAssessment(
|
|
input: DeleteDataProtectionImpactAssessmentInput!
|
|
): DeleteDataProtectionImpactAssessmentPayload!
|
|
# Transfer Impact Assessment mutations
|
|
createTransferImpactAssessment(
|
|
input: CreateTransferImpactAssessmentInput!
|
|
): CreateTransferImpactAssessmentPayload!
|
|
updateTransferImpactAssessment(
|
|
input: UpdateTransferImpactAssessmentInput!
|
|
): UpdateTransferImpactAssessmentPayload!
|
|
deleteTransferImpactAssessment(
|
|
input: DeleteTransferImpactAssessmentInput!
|
|
): DeleteTransferImpactAssessmentPayload!
|
|
# Snapshot mutations
|
|
createSnapshot(input: CreateSnapshotInput!): CreateSnapshotPayload!
|
|
deleteSnapshot(input: DeleteSnapshotInput!): DeleteSnapshotPayload!
|
|
# Custom Domain mutations
|
|
createCustomDomain(
|
|
input: CreateCustomDomainInput!
|
|
): CreateCustomDomainPayload!
|
|
deleteCustomDomain(
|
|
input: DeleteCustomDomainInput!
|
|
): DeleteCustomDomainPayload!
|
|
}
|
|
|
|
# Input Types
|
|
input GenerateFrameworkStateOfApplicabilityInput {
|
|
frameworkId: ID!
|
|
}
|
|
|
|
type GenerateFrameworkStateOfApplicabilityPayload {
|
|
data: String!
|
|
}
|
|
|
|
input UpdateOrganizationContextInput {
|
|
organizationId: ID!
|
|
summary: String @goField(omittable: true)
|
|
}
|
|
|
|
input UpdateTrustCenterInput {
|
|
trustCenterId: ID!
|
|
active: Boolean
|
|
}
|
|
|
|
input UploadTrustCenterNDAInput {
|
|
trustCenterId: ID!
|
|
fileName: String!
|
|
file: Upload!
|
|
}
|
|
|
|
input DeleteTrustCenterNDAInput {
|
|
trustCenterId: ID!
|
|
}
|
|
|
|
input CreateTrustCenterAccessInput {
|
|
trustCenterId: ID!
|
|
email: EmailAddr!
|
|
name: String!
|
|
active: Boolean!
|
|
}
|
|
|
|
input TrustCenterDocumentAccessInput {
|
|
id: ID!
|
|
status: TrustCenterDocumentAccessStatus!
|
|
}
|
|
|
|
input UpdateTrustCenterAccessInput {
|
|
id: ID!
|
|
name: String
|
|
active: Boolean
|
|
documents: [TrustCenterDocumentAccessInput!]
|
|
reports: [TrustCenterDocumentAccessInput!]
|
|
trustCenterFiles: [TrustCenterDocumentAccessInput!]
|
|
}
|
|
|
|
input DeleteTrustCenterAccessInput {
|
|
id: ID!
|
|
}
|
|
|
|
input CreateTrustCenterReferenceInput {
|
|
trustCenterId: ID!
|
|
name: String!
|
|
description: String
|
|
websiteUrl: String!
|
|
logoFile: Upload!
|
|
}
|
|
|
|
input UpdateTrustCenterReferenceInput {
|
|
id: ID!
|
|
name: String
|
|
description: String @goField(omittable: true)
|
|
websiteUrl: String
|
|
logoFile: Upload
|
|
rank: Int
|
|
}
|
|
|
|
input DeleteTrustCenterReferenceInput {
|
|
id: ID!
|
|
}
|
|
|
|
input CreateTrustCenterFileInput {
|
|
organizationId: ID!
|
|
name: String!
|
|
category: String!
|
|
file: Upload!
|
|
trustCenterVisibility: TrustCenterVisibility!
|
|
}
|
|
|
|
input UpdateTrustCenterFileInput {
|
|
id: ID!
|
|
name: String
|
|
category: String
|
|
trustCenterVisibility: TrustCenterVisibility
|
|
}
|
|
|
|
input GetTrustCenterFileInput {
|
|
id: ID!
|
|
}
|
|
|
|
input DeleteTrustCenterFileInput {
|
|
id: ID!
|
|
}
|
|
|
|
input CreateVendorInput {
|
|
organizationId: ID!
|
|
name: String!
|
|
description: String
|
|
headquarterAddress: String
|
|
legalName: String
|
|
websiteUrl: String
|
|
privacyPolicyUrl: String
|
|
category: VendorCategory
|
|
serviceLevelAgreementUrl: String
|
|
dataProcessingAgreementUrl: String
|
|
businessAssociateAgreementUrl: String
|
|
subprocessorsListUrl: String
|
|
certifications: [String!]
|
|
countries: [CountryCode!]
|
|
securityPageUrl: String
|
|
trustPageUrl: String
|
|
statusPageUrl: String
|
|
termsOfServiceUrl: String
|
|
businessOwnerId: ID
|
|
securityOwnerId: ID
|
|
}
|
|
|
|
input UpdateVendorInput {
|
|
id: ID!
|
|
name: String
|
|
description: String @goField(omittable: true)
|
|
statusPageUrl: String @goField(omittable: true)
|
|
termsOfServiceUrl: String @goField(omittable: true)
|
|
privacyPolicyUrl: String @goField(omittable: true)
|
|
serviceLevelAgreementUrl: String @goField(omittable: true)
|
|
dataProcessingAgreementUrl: String @goField(omittable: true)
|
|
businessAssociateAgreementUrl: String @goField(omittable: true)
|
|
subprocessorsListUrl: String @goField(omittable: true)
|
|
websiteUrl: String @goField(omittable: true)
|
|
legalName: String @goField(omittable: true)
|
|
headquarterAddress: String @goField(omittable: true)
|
|
category: VendorCategory
|
|
certifications: [String!]
|
|
countries: [CountryCode!]
|
|
securityPageUrl: String @goField(omittable: true)
|
|
trustPageUrl: String @goField(omittable: true)
|
|
businessOwnerId: ID @goField(omittable: true)
|
|
securityOwnerId: ID @goField(omittable: true)
|
|
showOnTrustCenter: Boolean
|
|
}
|
|
|
|
input DeleteVendorInput {
|
|
vendorId: ID!
|
|
}
|
|
|
|
input CreateVendorContactInput {
|
|
vendorId: ID!
|
|
fullName: String
|
|
email: EmailAddr
|
|
phone: String
|
|
role: String
|
|
}
|
|
|
|
input UpdateVendorContactInput {
|
|
id: ID!
|
|
fullName: String @goField(omittable: true)
|
|
email: EmailAddr @goField(omittable: true)
|
|
phone: String @goField(omittable: true)
|
|
role: String @goField(omittable: true)
|
|
}
|
|
|
|
input DeleteVendorContactInput {
|
|
vendorContactId: ID!
|
|
}
|
|
|
|
input CreateVendorServiceInput {
|
|
vendorId: ID!
|
|
name: String!
|
|
description: String
|
|
url: String
|
|
type: String
|
|
}
|
|
|
|
input UpdateVendorServiceInput {
|
|
id: ID!
|
|
name: String
|
|
description: String @goField(omittable: true)
|
|
url: String
|
|
type: String
|
|
}
|
|
|
|
input DeleteVendorServiceInput {
|
|
vendorServiceId: ID!
|
|
}
|
|
|
|
input CreatePeopleInput {
|
|
organizationId: ID!
|
|
fullName: String!
|
|
primaryEmailAddress: EmailAddr!
|
|
additionalEmailAddresses: [EmailAddr!]!
|
|
kind: PeopleKind!
|
|
position: String
|
|
contractStartDate: Datetime
|
|
contractEndDate: Datetime
|
|
}
|
|
|
|
input UpdatePeopleInput {
|
|
id: ID!
|
|
fullName: String
|
|
primaryEmailAddress: EmailAddr
|
|
additionalEmailAddresses: [EmailAddr!] @goField(omittable: true)
|
|
kind: PeopleKind
|
|
position: String @goField(omittable: true)
|
|
contractStartDate: Datetime @goField(omittable: true)
|
|
contractEndDate: Datetime @goField(omittable: true)
|
|
}
|
|
|
|
input DeletePeopleInput {
|
|
peopleId: ID!
|
|
}
|
|
|
|
input CreateFrameworkInput {
|
|
organizationId: ID!
|
|
name: String!
|
|
description: String
|
|
}
|
|
|
|
input UpdateFrameworkInput {
|
|
id: ID!
|
|
name: String
|
|
description: String @goField(omittable: true)
|
|
}
|
|
|
|
input ImportFrameworkInput {
|
|
organizationId: ID!
|
|
file: Upload!
|
|
}
|
|
|
|
input DeleteFrameworkInput {
|
|
frameworkId: ID!
|
|
}
|
|
|
|
input ExportFrameworkInput {
|
|
frameworkId: ID!
|
|
}
|
|
|
|
input CreateMeasureInput {
|
|
organizationId: ID!
|
|
name: String!
|
|
description: String
|
|
category: String!
|
|
}
|
|
|
|
input UpdateMeasureInput {
|
|
id: ID!
|
|
name: String
|
|
description: String @goField(omittable: true)
|
|
category: String
|
|
state: MeasureState
|
|
}
|
|
|
|
input ImportMeasureInput {
|
|
organizationId: ID!
|
|
file: Upload!
|
|
}
|
|
|
|
input CreateTaskInput {
|
|
organizationId: ID!
|
|
measureId: ID
|
|
name: String!
|
|
description: String
|
|
timeEstimate: Duration
|
|
assignedToId: ID
|
|
deadline: Datetime
|
|
}
|
|
|
|
input UpdateTaskInput {
|
|
taskId: ID!
|
|
name: String
|
|
description: String @goField(omittable: true)
|
|
state: TaskState
|
|
timeEstimate: Duration @goField(omittable: true)
|
|
deadline: Datetime @goField(omittable: true)
|
|
assignedToId: ID @goField(omittable: true)
|
|
measureId: ID @goField(omittable: true)
|
|
}
|
|
|
|
input DeleteTaskInput {
|
|
taskId: ID!
|
|
}
|
|
|
|
input CreateControlMeasureMappingInput {
|
|
controlId: ID!
|
|
measureId: ID!
|
|
}
|
|
|
|
input CreateControlDocumentMappingInput {
|
|
controlId: ID!
|
|
documentId: ID!
|
|
}
|
|
|
|
input DeleteControlMeasureMappingInput {
|
|
controlId: ID!
|
|
measureId: ID!
|
|
}
|
|
|
|
input DeleteControlDocumentMappingInput {
|
|
controlId: ID!
|
|
documentId: ID!
|
|
}
|
|
|
|
input CreateStateOfApplicabilityControlMappingInput {
|
|
stateOfApplicabilityId: ID!
|
|
controlId: ID!
|
|
applicability: Boolean!
|
|
justification: String
|
|
}
|
|
|
|
input DeleteStateOfApplicabilityControlMappingInput {
|
|
stateOfApplicabilityId: ID!
|
|
controlId: ID!
|
|
}
|
|
|
|
input CreateControlAuditMappingInput {
|
|
controlId: ID!
|
|
auditId: ID!
|
|
}
|
|
|
|
input DeleteControlAuditMappingInput {
|
|
controlId: ID!
|
|
auditId: ID!
|
|
}
|
|
|
|
input CreateControlObligationMappingInput {
|
|
controlId: ID!
|
|
obligationId: ID!
|
|
}
|
|
|
|
input DeleteControlObligationMappingInput {
|
|
controlId: ID!
|
|
obligationId: ID!
|
|
}
|
|
|
|
input CreateControlSnapshotMappingInput {
|
|
controlId: ID!
|
|
snapshotId: ID!
|
|
}
|
|
|
|
input DeleteControlSnapshotMappingInput {
|
|
controlId: ID!
|
|
snapshotId: ID!
|
|
}
|
|
|
|
input CreateRiskInput {
|
|
organizationId: ID!
|
|
name: String!
|
|
description: String
|
|
category: String!
|
|
ownerId: ID
|
|
treatment: RiskTreatment!
|
|
inherentLikelihood: Int!
|
|
inherentImpact: Int!
|
|
residualLikelihood: Int
|
|
residualImpact: Int
|
|
note: String
|
|
}
|
|
|
|
input UpdateRiskInput {
|
|
id: ID!
|
|
name: String
|
|
description: String @goField(omittable: true)
|
|
category: String
|
|
ownerId: ID @goField(omittable: true)
|
|
treatment: RiskTreatment
|
|
inherentLikelihood: Int
|
|
inherentImpact: Int
|
|
residualLikelihood: Int
|
|
residualImpact: Int
|
|
note: String
|
|
}
|
|
|
|
input DeleteRiskInput {
|
|
riskId: ID!
|
|
}
|
|
|
|
input CreateRiskMeasureMappingInput {
|
|
riskId: ID!
|
|
measureId: ID!
|
|
}
|
|
|
|
input DeleteRiskMeasureMappingInput {
|
|
riskId: ID!
|
|
measureId: ID!
|
|
}
|
|
|
|
input CreateRiskDocumentMappingInput {
|
|
riskId: ID!
|
|
documentId: ID!
|
|
}
|
|
|
|
input DeleteRiskDocumentMappingInput {
|
|
riskId: ID!
|
|
documentId: ID!
|
|
}
|
|
|
|
input CreateRiskObligationMappingInput {
|
|
riskId: ID!
|
|
obligationId: ID!
|
|
}
|
|
|
|
input DeleteRiskObligationMappingInput {
|
|
riskId: ID!
|
|
obligationId: ID!
|
|
}
|
|
|
|
input DeleteEvidenceInput {
|
|
evidenceId: ID!
|
|
}
|
|
|
|
input UploadVendorComplianceReportInput {
|
|
vendorId: ID!
|
|
reportDate: Datetime!
|
|
validUntil: Datetime
|
|
reportName: String!
|
|
file: Upload!
|
|
}
|
|
|
|
input DeleteVendorComplianceReportInput {
|
|
reportId: ID!
|
|
}
|
|
|
|
input UploadVendorBusinessAssociateAgreementInput {
|
|
vendorId: ID!
|
|
validFrom: Datetime
|
|
validUntil: Datetime
|
|
fileName: String!
|
|
file: Upload!
|
|
}
|
|
|
|
input UpdateVendorBusinessAssociateAgreementInput {
|
|
vendorId: ID!
|
|
validFrom: Datetime @goField(omittable: true)
|
|
validUntil: Datetime @goField(omittable: true)
|
|
}
|
|
|
|
input DeleteVendorBusinessAssociateAgreementInput {
|
|
vendorId: ID!
|
|
}
|
|
|
|
input UploadVendorDataPrivacyAgreementInput {
|
|
vendorId: ID!
|
|
validFrom: Datetime
|
|
validUntil: Datetime
|
|
fileName: String!
|
|
file: Upload!
|
|
}
|
|
|
|
input UpdateVendorDataPrivacyAgreementInput {
|
|
vendorId: ID!
|
|
validFrom: Datetime @goField(omittable: true)
|
|
validUntil: Datetime @goField(omittable: true)
|
|
}
|
|
|
|
input DeleteVendorDataPrivacyAgreementInput {
|
|
vendorId: ID!
|
|
}
|
|
|
|
input CreateDocumentInput {
|
|
organizationId: ID!
|
|
title: String!
|
|
content: String!
|
|
ownerId: ID!
|
|
documentType: DocumentType!
|
|
classification: DocumentClassification!
|
|
trustCenterVisibility: TrustCenterVisibility
|
|
}
|
|
|
|
input UpdateDocumentInput {
|
|
id: ID!
|
|
title: String
|
|
content: String
|
|
ownerId: ID
|
|
documentType: DocumentType
|
|
classification: DocumentClassification
|
|
trustCenterVisibility: TrustCenterVisibility
|
|
}
|
|
|
|
input ExportDocumentVersionPDFInput {
|
|
documentVersionId: ID!
|
|
withWatermark: Boolean!
|
|
watermarkEmail: EmailAddr
|
|
withSignatures: Boolean!
|
|
}
|
|
|
|
input ExportSignableDocumentVersionPDFInput {
|
|
documentVersionId: ID!
|
|
}
|
|
|
|
input ExportProcessingActivitiesPDFInput {
|
|
organizationId: ID!
|
|
filter: ProcessingActivityFilter
|
|
}
|
|
|
|
input ExportDataProtectionImpactAssessmentsPDFInput {
|
|
organizationId: ID!
|
|
filter: DataProtectionImpactAssessmentFilter
|
|
}
|
|
|
|
input ExportTransferImpactAssessmentsPDFInput {
|
|
organizationId: ID!
|
|
filter: TransferImpactAssessmentFilter
|
|
}
|
|
|
|
input DeleteDocumentInput {
|
|
documentId: ID!
|
|
}
|
|
|
|
input CreateMeetingInput {
|
|
organizationId: ID!
|
|
name: String!
|
|
date: Datetime!
|
|
attendeeIds: [ID!]
|
|
minutes: String
|
|
}
|
|
|
|
input UpdateMeetingInput {
|
|
meetingId: ID!
|
|
name: String
|
|
date: Datetime
|
|
attendeeIds: [ID!]
|
|
minutes: String @goField(omittable: true)
|
|
}
|
|
|
|
input DeleteMeetingInput {
|
|
meetingId: ID!
|
|
}
|
|
|
|
input CreateStateOfApplicabilityInput {
|
|
organizationId: ID!
|
|
name: String!
|
|
ownerId: ID!
|
|
}
|
|
|
|
input UpdateStateOfApplicabilityInput {
|
|
id: ID!
|
|
name: String
|
|
ownerId: ID
|
|
}
|
|
|
|
input StateOfApplicabilityControlInput {
|
|
controlId: ID!
|
|
applicability: Boolean!
|
|
justification: String
|
|
}
|
|
|
|
type AvailableStateOfApplicabilityControl {
|
|
controlId: ID!
|
|
sectionTitle: String!
|
|
name: String!
|
|
frameworkId: ID!
|
|
frameworkName: String!
|
|
organizationId: ID!
|
|
stateOfApplicabilityId: ID
|
|
applicability: Boolean
|
|
justification: String
|
|
bestPractice: Boolean!
|
|
regulatory: Boolean!
|
|
contractual: Boolean!
|
|
riskAssessment: Boolean!
|
|
}
|
|
|
|
input DeleteStateOfApplicabilityInput {
|
|
stateOfApplicabilityId: ID!
|
|
}
|
|
|
|
type StateOfApplicabilityControl {
|
|
id: ID!
|
|
stateOfApplicabilityId: ID!
|
|
controlId: ID!
|
|
stateOfApplicability: StateOfApplicability! @goField(forceResolver: true)
|
|
applicability: Boolean!
|
|
justification: String
|
|
}
|
|
|
|
type StateOfApplicabilityControlConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.StateOfApplicabilityControlConnection"
|
|
) {
|
|
totalCount: Int!
|
|
edges: [StateOfApplicabilityControlEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type StateOfApplicabilityControlEdge
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.StateOfApplicabilityControlEdge"
|
|
) {
|
|
cursor: CursorKey!
|
|
node: StateOfApplicabilityControl!
|
|
}
|
|
|
|
input ExportStateOfApplicabilityPDFInput {
|
|
stateOfApplicabilityId: ID!
|
|
}
|
|
|
|
type ExportStateOfApplicabilityPDFPayload {
|
|
data: String!
|
|
}
|
|
|
|
input StateOfApplicabilityOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.StateOfApplicabilityOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: StateOfApplicabilityOrderField!
|
|
}
|
|
|
|
enum StateOfApplicabilityOrderField
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.StateOfApplicabilityOrderField"
|
|
) {
|
|
NAME
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.StateOfApplicabilityOrderFieldName"
|
|
)
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.StateOfApplicabilityOrderFieldCreatedAt"
|
|
)
|
|
}
|
|
input CreateControlInput {
|
|
frameworkId: ID!
|
|
sectionTitle: String!
|
|
name: String!
|
|
description: String
|
|
status: ControlStatus!
|
|
exclusionJustification: String
|
|
bestPractice: Boolean!
|
|
}
|
|
|
|
input UpdateControlInput {
|
|
id: ID!
|
|
sectionTitle: String
|
|
name: String
|
|
description: String @goField(omittable: true)
|
|
status: ControlStatus
|
|
exclusionJustification: String
|
|
bestPractice: Boolean
|
|
}
|
|
|
|
input DeleteControlInput {
|
|
controlId: ID!
|
|
}
|
|
|
|
# Audit input types
|
|
input CreateAuditInput {
|
|
organizationId: ID!
|
|
frameworkId: ID!
|
|
name: String
|
|
validFrom: Datetime
|
|
validUntil: Datetime
|
|
state: AuditState
|
|
trustCenterVisibility: TrustCenterVisibility
|
|
}
|
|
|
|
input UpdateAuditInput {
|
|
id: ID!
|
|
name: String @goField(omittable: true)
|
|
validFrom: Datetime
|
|
validUntil: Datetime
|
|
state: AuditState
|
|
trustCenterVisibility: TrustCenterVisibility
|
|
}
|
|
|
|
input DeleteAuditInput {
|
|
auditId: ID!
|
|
}
|
|
|
|
input UploadAuditReportInput {
|
|
auditId: ID!
|
|
file: Upload!
|
|
}
|
|
|
|
input DeleteAuditReportInput {
|
|
auditId: ID!
|
|
}
|
|
|
|
# Nonconformity input types
|
|
input CreateNonconformityInput {
|
|
organizationId: ID!
|
|
referenceId: String!
|
|
description: String
|
|
auditId: ID
|
|
dateIdentified: Datetime
|
|
rootCause: String!
|
|
correctiveAction: String
|
|
ownerId: ID!
|
|
dueDate: Datetime
|
|
status: NonconformityStatus!
|
|
effectivenessCheck: String
|
|
}
|
|
|
|
input UpdateNonconformityInput {
|
|
id: ID!
|
|
referenceId: String
|
|
description: String @goField(omittable: true)
|
|
dateIdentified: Datetime @goField(omittable: true)
|
|
rootCause: String
|
|
correctiveAction: String @goField(omittable: true)
|
|
ownerId: ID
|
|
auditId: ID @goField(omittable: true)
|
|
dueDate: Datetime @goField(omittable: true)
|
|
status: NonconformityStatus
|
|
effectivenessCheck: String @goField(omittable: true)
|
|
}
|
|
|
|
input DeleteNonconformityInput {
|
|
nonconformityId: ID!
|
|
}
|
|
|
|
input CreateObligationInput {
|
|
organizationId: ID!
|
|
area: String
|
|
source: String
|
|
requirement: String
|
|
actionsToBeImplemented: String
|
|
regulator: String
|
|
ownerId: ID!
|
|
lastReviewDate: Datetime
|
|
dueDate: Datetime
|
|
status: ObligationStatus!
|
|
type: ObligationType!
|
|
}
|
|
|
|
input UpdateObligationInput {
|
|
id: ID!
|
|
area: String @goField(omittable: true)
|
|
source: String @goField(omittable: true)
|
|
requirement: String @goField(omittable: true)
|
|
actionsToBeImplemented: String @goField(omittable: true)
|
|
regulator: String @goField(omittable: true)
|
|
ownerId: ID
|
|
lastReviewDate: Datetime @goField(omittable: true)
|
|
dueDate: Datetime @goField(omittable: true)
|
|
status: ObligationStatus
|
|
type: ObligationType
|
|
}
|
|
|
|
input DeleteObligationInput {
|
|
obligationId: ID!
|
|
}
|
|
|
|
input CreateContinualImprovementInput {
|
|
organizationId: ID!
|
|
referenceId: String!
|
|
description: String
|
|
source: String
|
|
ownerId: ID!
|
|
targetDate: Datetime
|
|
status: ContinualImprovementStatus!
|
|
priority: ContinualImprovementPriority!
|
|
}
|
|
|
|
input UpdateContinualImprovementInput {
|
|
id: ID!
|
|
referenceId: String
|
|
description: String @goField(omittable: true)
|
|
source: String @goField(omittable: true)
|
|
ownerId: ID
|
|
targetDate: Datetime @goField(omittable: true)
|
|
status: ContinualImprovementStatus
|
|
priority: ContinualImprovementPriority
|
|
}
|
|
|
|
input DeleteContinualImprovementInput {
|
|
continualImprovementId: ID!
|
|
}
|
|
|
|
input CreateRightsRequestInput {
|
|
organizationId: ID!
|
|
requestType: RightsRequestType!
|
|
requestState: RightsRequestState!
|
|
dataSubject: String
|
|
contact: String
|
|
details: String
|
|
deadline: Datetime
|
|
actionTaken: String
|
|
}
|
|
|
|
input UpdateRightsRequestInput {
|
|
id: ID!
|
|
requestType: RightsRequestType
|
|
requestState: RightsRequestState
|
|
dataSubject: String @goField(omittable: true)
|
|
contact: String @goField(omittable: true)
|
|
details: String @goField(omittable: true)
|
|
deadline: Datetime @goField(omittable: true)
|
|
actionTaken: String @goField(omittable: true)
|
|
}
|
|
|
|
input DeleteRightsRequestInput {
|
|
rightsRequestId: ID!
|
|
}
|
|
|
|
input CreateProcessingActivityInput {
|
|
organizationId: ID!
|
|
name: String!
|
|
purpose: String
|
|
dataSubjectCategory: String
|
|
personalDataCategory: String
|
|
specialOrCriminalData: ProcessingActivitySpecialOrCriminalDatum!
|
|
consentEvidenceLink: String
|
|
lawfulBasis: ProcessingActivityLawfulBasis!
|
|
recipients: String
|
|
location: String
|
|
internationalTransfers: Boolean!
|
|
transferSafeguards: ProcessingActivityTransferSafeguard
|
|
retentionPeriod: String
|
|
securityMeasures: String
|
|
dataProtectionImpactAssessmentNeeded: ProcessingActivityDataProtectionImpactAssessment!
|
|
transferImpactAssessmentNeeded: ProcessingActivityTransferImpactAssessment!
|
|
lastReviewDate: Datetime
|
|
nextReviewDate: Datetime
|
|
role: ProcessingActivityRole!
|
|
dataProtectionOfficerId: ID
|
|
vendorIds: [ID!]
|
|
}
|
|
|
|
input UpdateProcessingActivityInput {
|
|
id: ID!
|
|
name: String
|
|
purpose: String @goField(omittable: true)
|
|
dataSubjectCategory: String @goField(omittable: true)
|
|
personalDataCategory: String @goField(omittable: true)
|
|
specialOrCriminalData: ProcessingActivitySpecialOrCriminalDatum
|
|
consentEvidenceLink: String
|
|
lawfulBasis: ProcessingActivityLawfulBasis
|
|
recipients: String @goField(omittable: true)
|
|
location: String @goField(omittable: true)
|
|
internationalTransfers: Boolean
|
|
transferSafeguards: ProcessingActivityTransferSafeguard
|
|
@goField(omittable: true)
|
|
retentionPeriod: String @goField(omittable: true)
|
|
securityMeasures: String @goField(omittable: true)
|
|
dataProtectionImpactAssessmentNeeded: ProcessingActivityDataProtectionImpactAssessment
|
|
transferImpactAssessmentNeeded: ProcessingActivityTransferImpactAssessment
|
|
lastReviewDate: Datetime @goField(omittable: true)
|
|
nextReviewDate: Datetime @goField(omittable: true)
|
|
role: ProcessingActivityRole
|
|
dataProtectionOfficerId: ID @goField(omittable: true)
|
|
vendorIds: [ID!]
|
|
}
|
|
|
|
input DeleteProcessingActivityInput {
|
|
processingActivityId: ID!
|
|
}
|
|
|
|
input CreateDataProtectionImpactAssessmentInput {
|
|
processingActivityId: ID!
|
|
description: String
|
|
necessityAndProportionality: String
|
|
potentialRisk: String
|
|
mitigations: String
|
|
residualRisk: DataProtectionImpactAssessmentResidualRisk
|
|
}
|
|
|
|
input UpdateDataProtectionImpactAssessmentInput {
|
|
id: ID!
|
|
description: String @goField(omittable: true)
|
|
necessityAndProportionality: String @goField(omittable: true)
|
|
potentialRisk: String @goField(omittable: true)
|
|
mitigations: String @goField(omittable: true)
|
|
residualRisk: DataProtectionImpactAssessmentResidualRisk
|
|
}
|
|
|
|
input DeleteDataProtectionImpactAssessmentInput {
|
|
dataProtectionImpactAssessmentId: ID!
|
|
}
|
|
|
|
input CreateTransferImpactAssessmentInput {
|
|
processingActivityId: ID!
|
|
dataSubjects: String
|
|
legalMechanism: String
|
|
transfer: String
|
|
localLawRisk: String
|
|
supplementaryMeasures: String
|
|
}
|
|
|
|
input UpdateTransferImpactAssessmentInput {
|
|
id: ID!
|
|
dataSubjects: String @goField(omittable: true)
|
|
legalMechanism: String @goField(omittable: true)
|
|
transfer: String @goField(omittable: true)
|
|
localLawRisk: String @goField(omittable: true)
|
|
supplementaryMeasures: String @goField(omittable: true)
|
|
}
|
|
|
|
input DeleteTransferImpactAssessmentInput {
|
|
transferImpactAssessmentId: ID!
|
|
}
|
|
|
|
input CreateSnapshotInput {
|
|
organizationId: ID!
|
|
name: String!
|
|
description: String
|
|
type: SnapshotsType!
|
|
}
|
|
|
|
input DeleteSnapshotInput {
|
|
snapshotId: ID!
|
|
}
|
|
|
|
# Payload Types
|
|
|
|
type UpdateOrganizationContextPayload {
|
|
context: OrganizationContext!
|
|
}
|
|
|
|
type OrganizationContext {
|
|
organizationId: ID!
|
|
summary: String
|
|
}
|
|
|
|
type UpdateTrustCenterPayload {
|
|
trustCenter: TrustCenter!
|
|
}
|
|
|
|
type UploadTrustCenterNDAPayload {
|
|
trustCenter: TrustCenter!
|
|
}
|
|
|
|
type DeleteTrustCenterNDAPayload {
|
|
trustCenter: TrustCenter!
|
|
}
|
|
|
|
type CreateTrustCenterAccessPayload {
|
|
trustCenterAccessEdge: TrustCenterAccessEdge!
|
|
}
|
|
|
|
type UpdateTrustCenterAccessPayload {
|
|
trustCenterAccess: TrustCenterAccess!
|
|
}
|
|
|
|
type DeleteTrustCenterAccessPayload {
|
|
deletedTrustCenterAccessId: ID!
|
|
}
|
|
|
|
type CreateTrustCenterReferencePayload {
|
|
trustCenterReferenceEdge: TrustCenterReferenceEdge!
|
|
}
|
|
|
|
type UpdateTrustCenterReferencePayload {
|
|
trustCenterReference: TrustCenterReference!
|
|
}
|
|
|
|
type DeleteTrustCenterReferencePayload {
|
|
deletedTrustCenterReferenceId: ID!
|
|
}
|
|
|
|
type CreateTrustCenterFilePayload {
|
|
trustCenterFileEdge: TrustCenterFileEdge!
|
|
}
|
|
|
|
type UpdateTrustCenterFilePayload {
|
|
trustCenterFile: TrustCenterFile!
|
|
}
|
|
|
|
type GetTrustCenterFilePayload {
|
|
trustCenterFile: TrustCenterFile!
|
|
}
|
|
|
|
type DeleteTrustCenterFilePayload {
|
|
deletedTrustCenterFileId: ID!
|
|
}
|
|
|
|
type CreateControlPayload {
|
|
controlEdge: ControlEdge!
|
|
}
|
|
|
|
type UpdateControlPayload {
|
|
control: Control!
|
|
}
|
|
|
|
type DeleteControlPayload {
|
|
deletedControlId: ID!
|
|
}
|
|
|
|
type CreateVendorPayload {
|
|
vendorEdge: VendorEdge!
|
|
}
|
|
|
|
type UpdateVendorPayload {
|
|
vendor: Vendor!
|
|
}
|
|
|
|
type DeleteVendorPayload {
|
|
deletedVendorId: ID!
|
|
}
|
|
|
|
type CreateVendorContactPayload {
|
|
vendorContactEdge: VendorContactEdge!
|
|
}
|
|
|
|
type UpdateVendorContactPayload {
|
|
vendorContact: VendorContact!
|
|
}
|
|
|
|
type DeleteVendorContactPayload {
|
|
deletedVendorContactId: ID!
|
|
}
|
|
|
|
type CreateVendorServicePayload {
|
|
vendorServiceEdge: VendorServiceEdge!
|
|
}
|
|
|
|
type UpdateVendorServicePayload {
|
|
vendorService: VendorService!
|
|
}
|
|
|
|
type DeleteVendorServicePayload {
|
|
deletedVendorServiceId: ID!
|
|
}
|
|
|
|
type CreatePeoplePayload {
|
|
peopleEdge: PeopleEdge!
|
|
}
|
|
|
|
type UpdatePeoplePayload {
|
|
people: People!
|
|
}
|
|
|
|
type DeletePeoplePayload {
|
|
deletedPeopleId: ID!
|
|
}
|
|
|
|
type CreateFrameworkPayload {
|
|
frameworkEdge: FrameworkEdge!
|
|
}
|
|
|
|
type UpdateFrameworkPayload {
|
|
framework: Framework!
|
|
}
|
|
|
|
type ImportFrameworkPayload {
|
|
frameworkEdge: FrameworkEdge!
|
|
}
|
|
|
|
type DeleteFrameworkPayload {
|
|
deletedFrameworkId: ID!
|
|
}
|
|
|
|
type ExportFrameworkPayload {
|
|
exportJobId: ID!
|
|
}
|
|
|
|
type CreateMeasurePayload {
|
|
measureEdge: MeasureEdge!
|
|
}
|
|
|
|
type UpdateMeasurePayload {
|
|
measure: Measure!
|
|
}
|
|
|
|
type ImportMeasurePayload {
|
|
measureEdges: [MeasureEdge!]!
|
|
}
|
|
|
|
type CreateTaskPayload {
|
|
taskEdge: TaskEdge!
|
|
}
|
|
|
|
type UpdateTaskPayload {
|
|
task: Task!
|
|
}
|
|
|
|
type DeleteTaskPayload {
|
|
deletedTaskId: ID!
|
|
}
|
|
|
|
type CreateControlMeasureMappingPayload {
|
|
controlEdge: ControlEdge!
|
|
measureEdge: MeasureEdge!
|
|
}
|
|
|
|
type CreateControlDocumentMappingPayload {
|
|
controlEdge: ControlEdge!
|
|
documentEdge: DocumentEdge!
|
|
}
|
|
|
|
type DeleteControlMeasureMappingPayload {
|
|
deletedControlId: ID!
|
|
deletedMeasureId: ID!
|
|
}
|
|
|
|
type DeleteControlDocumentMappingPayload {
|
|
deletedControlId: ID!
|
|
deletedDocumentId: ID!
|
|
}
|
|
|
|
type CreateStateOfApplicabilityControlMappingPayload {
|
|
stateOfApplicabilityControlEdge: StateOfApplicabilityControlEdge!
|
|
}
|
|
|
|
type DeleteStateOfApplicabilityControlMappingPayload {
|
|
deletedStateOfApplicabilityId: ID!
|
|
deletedControlId: ID!
|
|
deletedStateOfApplicabilityControlId: ID!
|
|
}
|
|
|
|
type CreateControlAuditMappingPayload {
|
|
controlEdge: ControlEdge!
|
|
auditEdge: AuditEdge!
|
|
}
|
|
|
|
type DeleteControlAuditMappingPayload {
|
|
deletedControlId: ID!
|
|
deletedAuditId: ID!
|
|
}
|
|
|
|
type CreateControlObligationMappingPayload {
|
|
controlEdge: ControlEdge!
|
|
obligationEdge: ObligationEdge!
|
|
}
|
|
|
|
type DeleteControlObligationMappingPayload {
|
|
deletedControlId: ID!
|
|
deletedObligationId: ID!
|
|
}
|
|
|
|
type CreateControlSnapshotMappingPayload {
|
|
controlEdge: ControlEdge!
|
|
snapshotEdge: SnapshotEdge!
|
|
}
|
|
|
|
type DeleteControlSnapshotMappingPayload {
|
|
deletedControlId: ID!
|
|
deletedSnapshotId: ID!
|
|
}
|
|
|
|
type CreateRiskPayload {
|
|
riskEdge: RiskEdge!
|
|
}
|
|
|
|
type UpdateRiskPayload {
|
|
risk: Risk!
|
|
}
|
|
|
|
type DeleteRiskPayload {
|
|
deletedRiskId: ID!
|
|
}
|
|
|
|
type CreateRiskMeasureMappingPayload {
|
|
riskEdge: RiskEdge!
|
|
measureEdge: MeasureEdge!
|
|
}
|
|
|
|
type DeleteRiskMeasureMappingPayload {
|
|
deletedMeasureId: ID!
|
|
deletedRiskId: ID!
|
|
}
|
|
|
|
type CreateRiskDocumentMappingPayload {
|
|
riskEdge: RiskEdge!
|
|
documentEdge: DocumentEdge!
|
|
}
|
|
|
|
type DeleteRiskDocumentMappingPayload {
|
|
deletedRiskId: ID!
|
|
deletedDocumentId: ID!
|
|
}
|
|
|
|
type CreateRiskObligationMappingPayload {
|
|
riskEdge: RiskEdge!
|
|
obligationEdge: ObligationEdge!
|
|
}
|
|
|
|
type DeleteRiskObligationMappingPayload {
|
|
deletedRiskId: ID!
|
|
deletedObligationId: ID!
|
|
}
|
|
|
|
type DeleteEvidencePayload {
|
|
deletedEvidenceId: ID!
|
|
}
|
|
|
|
type UploadVendorComplianceReportPayload {
|
|
vendorComplianceReportEdge: VendorComplianceReportEdge!
|
|
}
|
|
|
|
type DeleteVendorComplianceReportPayload {
|
|
deletedVendorComplianceReportId: ID!
|
|
}
|
|
|
|
type UploadVendorBusinessAssociateAgreementPayload {
|
|
vendorBusinessAssociateAgreement: VendorBusinessAssociateAgreement!
|
|
}
|
|
|
|
type UpdateVendorBusinessAssociateAgreementPayload {
|
|
vendorBusinessAssociateAgreement: VendorBusinessAssociateAgreement!
|
|
}
|
|
|
|
type DeleteVendorBusinessAssociateAgreementPayload {
|
|
deletedVendorId: ID!
|
|
}
|
|
|
|
type UploadVendorDataPrivacyAgreementPayload {
|
|
vendorDataPrivacyAgreement: VendorDataPrivacyAgreement!
|
|
}
|
|
|
|
type UpdateVendorDataPrivacyAgreementPayload {
|
|
vendorDataPrivacyAgreement: VendorDataPrivacyAgreement!
|
|
}
|
|
|
|
type DeleteVendorDataPrivacyAgreementPayload {
|
|
deletedVendorId: ID!
|
|
}
|
|
|
|
type CreateDocumentPayload {
|
|
documentEdge: DocumentEdge!
|
|
documentVersionEdge: DocumentVersionEdge!
|
|
}
|
|
|
|
type ExportDocumentVersionPDFPayload {
|
|
data: String!
|
|
}
|
|
|
|
type ExportSignableDocumentVersionPDFPayload {
|
|
data: String!
|
|
}
|
|
|
|
type ExportProcessingActivitiesPDFPayload {
|
|
data: String!
|
|
}
|
|
|
|
type ExportDataProtectionImpactAssessmentsPDFPayload {
|
|
data: String!
|
|
}
|
|
|
|
type ExportTransferImpactAssessmentsPDFPayload {
|
|
data: String!
|
|
}
|
|
|
|
type UpdateDocumentPayload {
|
|
document: Document!
|
|
}
|
|
|
|
type DeleteDocumentPayload {
|
|
deletedDocumentId: ID!
|
|
}
|
|
|
|
type CreateMeetingPayload {
|
|
meetingEdge: MeetingEdge!
|
|
}
|
|
|
|
type UpdateMeetingPayload {
|
|
meeting: Meeting!
|
|
}
|
|
|
|
type DeleteMeetingPayload {
|
|
deletedMeetingId: ID!
|
|
}
|
|
|
|
type CreateStateOfApplicabilityPayload {
|
|
stateOfApplicabilityEdge: StateOfApplicabilityEdge!
|
|
}
|
|
|
|
type UpdateStateOfApplicabilityPayload {
|
|
stateOfApplicability: StateOfApplicability!
|
|
}
|
|
|
|
type DeleteStateOfApplicabilityPayload {
|
|
deletedStateOfApplicabilityId: ID!
|
|
}
|
|
|
|
input VendorRiskAssessmentOrder {
|
|
field: VendorRiskAssessmentOrderField!
|
|
direction: OrderDirection!
|
|
}
|
|
|
|
type VendorRiskAssessment implements Node {
|
|
id: ID!
|
|
vendor: Vendor! @goField(forceResolver: true)
|
|
expiresAt: Datetime!
|
|
dataSensitivity: DataSensitivity!
|
|
businessImpact: BusinessImpact!
|
|
notes: String
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
enum VendorRiskAssessmentOrderField
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.VendorRiskAssessmentOrderField"
|
|
) {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorRiskAssessmentOrderFieldCreatedAt"
|
|
)
|
|
EXPIRES_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.VendorRiskAssessmentOrderFieldExpiresAt"
|
|
)
|
|
}
|
|
|
|
input CreateVendorRiskAssessmentInput {
|
|
vendorId: ID!
|
|
expiresAt: Datetime!
|
|
dataSensitivity: DataSensitivity!
|
|
businessImpact: BusinessImpact!
|
|
notes: String
|
|
}
|
|
|
|
type CreateVendorRiskAssessmentPayload {
|
|
vendorRiskAssessmentEdge: VendorRiskAssessmentEdge!
|
|
}
|
|
|
|
input DeleteMeasureInput {
|
|
measureId: ID!
|
|
}
|
|
|
|
type DeleteMeasurePayload {
|
|
deletedMeasureId: ID!
|
|
}
|
|
|
|
type DocumentVersion implements Node
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.DocumentVersion"
|
|
) {
|
|
id: ID!
|
|
document: Document! @goField(forceResolver: true)
|
|
status: DocumentStatus!
|
|
version: Int!
|
|
content: String!
|
|
changelog: String!
|
|
title: String!
|
|
classification: DocumentClassification!
|
|
owner: People! @goField(forceResolver: true)
|
|
|
|
signatures(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: DocumentVersionSignatureOrder
|
|
filter: DocumentVersionSignatureFilter
|
|
): DocumentVersionSignatureConnection! @goField(forceResolver: true)
|
|
|
|
signed: Boolean! @goField(forceResolver: true)
|
|
|
|
publishedAt: Datetime
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type DocumentVersionSignatureConnection {
|
|
edges: [DocumentVersionSignatureEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type DocumentVersionSignatureEdge {
|
|
cursor: CursorKey!
|
|
node: DocumentVersionSignature!
|
|
}
|
|
|
|
input DocumentVersionSignatureOrder {
|
|
field: DocumentVersionSignatureOrderField!
|
|
direction: OrderDirection!
|
|
}
|
|
|
|
input DocumentVersionSignatureFilter {
|
|
states: [DocumentVersionSignatureState!]
|
|
}
|
|
|
|
enum DocumentVersionSignatureState
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.DocumentVersionSignatureState"
|
|
) {
|
|
REQUESTED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DocumentVersionSignatureStateRequested"
|
|
)
|
|
SIGNED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DocumentVersionSignatureStateSigned"
|
|
)
|
|
}
|
|
|
|
enum DocumentVersionSignatureOrderField
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/coredata.DocumentVersionSignatureOrderField"
|
|
) {
|
|
CREATED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DocumentVersionSignatureOrderFieldCreatedAt"
|
|
)
|
|
SIGNED_AT
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.DocumentVersionSignatureOrderFieldSignedAt"
|
|
)
|
|
}
|
|
|
|
type DocumentVersionSignature implements Node {
|
|
id: ID!
|
|
documentVersion: DocumentVersion! @goField(forceResolver: true)
|
|
state: DocumentVersionSignatureState!
|
|
signedBy: People! @goField(forceResolver: true)
|
|
signedAt: Datetime
|
|
requestedAt: Datetime!
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
input RequestSignatureInput {
|
|
documentVersionId: ID!
|
|
signatoryId: ID!
|
|
}
|
|
|
|
input BulkRequestSignaturesInput {
|
|
documentIds: [ID!]!
|
|
signatoryIds: [ID!]!
|
|
}
|
|
|
|
type RequestSignaturePayload {
|
|
documentVersionSignatureEdge: DocumentVersionSignatureEdge!
|
|
}
|
|
|
|
type BulkRequestSignaturesPayload {
|
|
documentVersionSignatureEdges: [DocumentVersionSignatureEdge!]!
|
|
}
|
|
|
|
input BulkPublishDocumentVersionsInput {
|
|
documentIds: [ID!]!
|
|
changelog: String!
|
|
}
|
|
|
|
type BulkPublishDocumentVersionsPayload {
|
|
documentVersionEdges: [DocumentVersionEdge!]!
|
|
documentEdges: [DocumentEdge!]!
|
|
}
|
|
|
|
input BulkDeleteDocumentsInput {
|
|
documentIds: [ID!]!
|
|
}
|
|
|
|
input BulkExportDocumentsInput {
|
|
documentIds: [ID!]!
|
|
withWatermark: Boolean!
|
|
watermarkEmail: EmailAddr
|
|
withSignatures: Boolean!
|
|
}
|
|
|
|
type BulkDeleteDocumentsPayload {
|
|
deletedDocumentIds: [ID!]!
|
|
}
|
|
|
|
type BulkExportDocumentsPayload {
|
|
exportJobId: ID!
|
|
}
|
|
|
|
input PublishDocumentVersionInput {
|
|
documentId: ID!
|
|
changelog: String
|
|
}
|
|
|
|
type PublishDocumentVersionPayload {
|
|
documentVersion: DocumentVersion!
|
|
document: Document!
|
|
}
|
|
|
|
type CreateDraftDocumentVersionPayload {
|
|
documentVersionEdge: DocumentVersionEdge!
|
|
}
|
|
|
|
type DeleteDraftDocumentVersionPayload {
|
|
deletedDocumentVersionId: ID!
|
|
}
|
|
|
|
input CreateDraftDocumentVersionInput {
|
|
documentID: ID!
|
|
}
|
|
|
|
input DeleteDraftDocumentVersionInput {
|
|
documentVersionId: ID!
|
|
}
|
|
|
|
input UpdateDocumentVersionInput {
|
|
documentVersionId: ID!
|
|
content: String!
|
|
}
|
|
|
|
input CancelSignatureRequestInput {
|
|
documentVersionSignatureId: ID!
|
|
}
|
|
|
|
type UpdateDocumentVersionPayload {
|
|
documentVersion: DocumentVersion!
|
|
}
|
|
|
|
input SendSigningNotificationsInput {
|
|
organizationId: ID!
|
|
}
|
|
|
|
type SendSigningNotificationsPayload {
|
|
success: Boolean!
|
|
}
|
|
|
|
type CancelSignatureRequestPayload {
|
|
deletedDocumentVersionSignatureId: ID!
|
|
}
|
|
|
|
input SignDocumentInput {
|
|
documentVersionId: ID!
|
|
}
|
|
|
|
type SignDocumentPayload {
|
|
documentVersionSignature: DocumentVersionSignature!
|
|
}
|
|
|
|
type UploadMeasureEvidencePayload {
|
|
evidenceEdge: EvidenceEdge!
|
|
}
|
|
|
|
input UploadMeasureEvidenceInput {
|
|
measureId: ID!
|
|
file: Upload!
|
|
}
|
|
|
|
input GenerateDocumentChangelogInput {
|
|
documentId: ID!
|
|
}
|
|
|
|
type GenerateDocumentChangelogPayload {
|
|
changelog: String!
|
|
}
|
|
|
|
input AssessVendorInput {
|
|
id: ID!
|
|
websiteUrl: String!
|
|
}
|
|
|
|
type AssessVendorPayload {
|
|
vendor: Vendor!
|
|
}
|
|
|
|
type Asset implements Node {
|
|
id: ID!
|
|
snapshotId: ID
|
|
name: String!
|
|
amount: Int!
|
|
owner: People! @goField(forceResolver: true)
|
|
vendors(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: VendorOrder
|
|
): VendorConnection! @goField(forceResolver: true)
|
|
assetType: AssetType!
|
|
dataTypesStored: String!
|
|
organization: Organization! @goField(forceResolver: true)
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type AssetConnection
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.AssetConnection"
|
|
) {
|
|
totalCount: Int! @goField(forceResolver: true)
|
|
edges: [AssetEdge!]!
|
|
pageInfo: PageInfo!
|
|
}
|
|
|
|
type AssetEdge {
|
|
cursor: CursorKey!
|
|
node: Asset!
|
|
}
|
|
|
|
input AssetOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.AssetOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: AssetOrderField!
|
|
}
|
|
|
|
input CreateAssetInput {
|
|
organizationId: ID!
|
|
name: String!
|
|
amount: Int!
|
|
ownerId: ID!
|
|
assetType: AssetType!
|
|
dataTypesStored: String!
|
|
vendorIds: [ID!]
|
|
}
|
|
|
|
input UpdateAssetInput {
|
|
id: ID!
|
|
name: String
|
|
amount: Int
|
|
ownerId: ID
|
|
assetType: AssetType
|
|
dataTypesStored: String
|
|
vendorIds: [ID!]
|
|
}
|
|
|
|
input DeleteAssetInput {
|
|
assetId: ID!
|
|
}
|
|
|
|
type CreateAssetPayload {
|
|
assetEdge: AssetEdge!
|
|
}
|
|
|
|
type UpdateAssetPayload {
|
|
asset: Asset!
|
|
}
|
|
|
|
type DeleteAssetPayload {
|
|
deletedAssetId: ID!
|
|
}
|
|
|
|
type Datum implements Node
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.Datum"
|
|
) {
|
|
id: ID!
|
|
snapshotId: ID
|
|
name: String!
|
|
dataClassification: DataClassification!
|
|
owner: People! @goField(forceResolver: true)
|
|
vendors(
|
|
first: Int
|
|
after: CursorKey
|
|
last: Int
|
|
before: CursorKey
|
|
orderBy: VendorOrder
|
|
): VendorConnection! @goField(forceResolver: true)
|
|
organization: Organization! @goField(forceResolver: true)
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
input DatumOrder
|
|
@goModel(
|
|
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.DatumOrderBy"
|
|
) {
|
|
direction: OrderDirection!
|
|
field: DatumOrderField!
|
|
}
|
|
|
|
input CreateDatumInput {
|
|
organizationId: ID!
|
|
name: String!
|
|
dataClassification: DataClassification!
|
|
ownerId: ID!
|
|
vendorIds: [ID!]
|
|
}
|
|
|
|
input UpdateDatumInput {
|
|
id: ID!
|
|
name: String
|
|
dataClassification: DataClassification
|
|
ownerId: ID
|
|
vendorIds: [ID!]
|
|
}
|
|
|
|
input DeleteDatumInput {
|
|
datumId: ID!
|
|
}
|
|
|
|
type CreateDatumPayload {
|
|
datumEdge: DatumEdge!
|
|
}
|
|
|
|
type UpdateDatumPayload {
|
|
datum: Datum!
|
|
}
|
|
|
|
type DeleteDatumPayload {
|
|
deletedDatumId: ID!
|
|
}
|
|
|
|
type CreateAuditPayload {
|
|
auditEdge: AuditEdge!
|
|
}
|
|
|
|
type UpdateAuditPayload {
|
|
audit: Audit!
|
|
}
|
|
|
|
type DeleteAuditPayload {
|
|
deletedAuditId: ID!
|
|
}
|
|
|
|
type UploadAuditReportPayload {
|
|
audit: Audit!
|
|
}
|
|
|
|
type DeleteAuditReportPayload {
|
|
audit: Audit!
|
|
}
|
|
|
|
# Nonconformity payload types
|
|
type CreateNonconformityPayload {
|
|
nonconformityEdge: NonconformityEdge!
|
|
}
|
|
|
|
type UpdateNonconformityPayload {
|
|
nonconformity: Nonconformity!
|
|
}
|
|
|
|
type DeleteNonconformityPayload {
|
|
deletedNonconformityId: ID!
|
|
}
|
|
|
|
type CreateObligationPayload {
|
|
obligationEdge: ObligationEdge!
|
|
}
|
|
|
|
type UpdateObligationPayload {
|
|
obligation: Obligation!
|
|
}
|
|
|
|
type DeleteObligationPayload {
|
|
deletedObligationId: ID!
|
|
}
|
|
|
|
type CreateContinualImprovementPayload {
|
|
continualImprovementEdge: ContinualImprovementEdge!
|
|
}
|
|
|
|
type UpdateContinualImprovementPayload {
|
|
continualImprovement: ContinualImprovement!
|
|
}
|
|
|
|
type DeleteContinualImprovementPayload {
|
|
deletedContinualImprovementId: ID!
|
|
}
|
|
|
|
type CreateRightsRequestPayload {
|
|
rightsRequestEdge: RightsRequestEdge!
|
|
}
|
|
|
|
type UpdateRightsRequestPayload {
|
|
rightsRequest: RightsRequest!
|
|
}
|
|
|
|
type DeleteRightsRequestPayload {
|
|
deletedRightsRequestId: ID!
|
|
}
|
|
|
|
type CreateProcessingActivityPayload {
|
|
processingActivityEdge: ProcessingActivityEdge!
|
|
}
|
|
|
|
type UpdateProcessingActivityPayload {
|
|
processingActivity: ProcessingActivity!
|
|
}
|
|
|
|
type DeleteProcessingActivityPayload {
|
|
deletedProcessingActivityId: ID!
|
|
}
|
|
|
|
type CreateDataProtectionImpactAssessmentPayload {
|
|
dataProtectionImpactAssessment: DataProtectionImpactAssessment!
|
|
}
|
|
|
|
type UpdateDataProtectionImpactAssessmentPayload {
|
|
dataProtectionImpactAssessment: DataProtectionImpactAssessment!
|
|
}
|
|
|
|
type DeleteDataProtectionImpactAssessmentPayload {
|
|
deletedDataProtectionImpactAssessmentId: ID!
|
|
}
|
|
|
|
type CreateTransferImpactAssessmentPayload {
|
|
transferImpactAssessment: TransferImpactAssessment!
|
|
}
|
|
|
|
type UpdateTransferImpactAssessmentPayload {
|
|
transferImpactAssessment: TransferImpactAssessment!
|
|
}
|
|
|
|
type DeleteTransferImpactAssessmentPayload {
|
|
deletedTransferImpactAssessmentId: ID!
|
|
}
|
|
|
|
type CreateSnapshotPayload {
|
|
snapshotEdge: SnapshotEdge!
|
|
}
|
|
|
|
type DeleteSnapshotPayload {
|
|
deletedSnapshotId: ID!
|
|
}
|
|
|
|
enum SSLStatus
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.CustomDomainSSLStatus") {
|
|
PENDING
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.CustomDomainSSLStatusPending"
|
|
)
|
|
PROVISIONING
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.CustomDomainSSLStatusProvisioning"
|
|
)
|
|
ACTIVE
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.CustomDomainSSLStatusActive"
|
|
)
|
|
RENEWING
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.CustomDomainSSLStatusRenewing"
|
|
)
|
|
EXPIRED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.CustomDomainSSLStatusExpired"
|
|
)
|
|
FAILED
|
|
@goEnum(
|
|
value: "go.probo.inc/probo/pkg/coredata.CustomDomainSSLStatusFailed"
|
|
)
|
|
}
|
|
|
|
type CustomDomain implements Node {
|
|
id: ID!
|
|
organization: Organization!
|
|
domain: String!
|
|
sslStatus: SSLStatus!
|
|
sslExpiresAt: Datetime
|
|
dnsRecords: [DNSRecordInstruction!]!
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
|
|
permission(action: String!): Boolean! @goField(forceResolver: true)
|
|
}
|
|
|
|
type DNSRecordInstruction {
|
|
type: String!
|
|
name: String!
|
|
value: String!
|
|
ttl: Int!
|
|
purpose: String!
|
|
}
|
|
|
|
input CreateCustomDomainInput {
|
|
organizationId: ID!
|
|
domain: String!
|
|
}
|
|
|
|
input DeleteCustomDomainInput {
|
|
organizationId: ID!
|
|
}
|
|
|
|
type CreateCustomDomainPayload {
|
|
customDomain: CustomDomain!
|
|
}
|
|
|
|
type DeleteCustomDomainPayload {
|
|
deletedCustomDomainId: ID!
|
|
}
|
|
`, BuiltIn: false},
|
|
}
|
|
var parsedSchema = gqlparser.MustLoadSchema(sources...)
|
|
|
|
// endregion ************************** generated!.gotpl **************************
|
|
|
|
// region ***************************** args.gotpl *****************************
|
|
|
|
func (ec *executionContext) field_Asset_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_Asset_vendors_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.unmarshalOVendorOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Audit_controls_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.unmarshalOControlOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOControlFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Audit_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_ContinualImprovement_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_Control_audits_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.unmarshalOAuditOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAuditOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Control_documents_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.unmarshalODocumentOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalODocumentFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Control_measures_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.unmarshalOMeasureOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOMeasureFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Control_obligations_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.unmarshalOObligationOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOObligationFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Control_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_Control_snapshots_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.unmarshalOSnapshotOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshotOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Control_stateOfApplicabilityControls_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.unmarshalOStateOfApplicabilityOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_CustomDomain_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_DataProtectionImpactAssessment_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_Datum_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_Datum_vendors_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.unmarshalOVendorOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_DocumentVersionSignature_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_DocumentVersion_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_DocumentVersion_signatures_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.unmarshalODocumentVersionSignatureOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignatureOrder)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalODocumentVersionSignatureFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignatureFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Document_controls_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.unmarshalOControlOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOControlFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Document_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_Document_versions_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.unmarshalODocumentVersionOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalODocumentVersionFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Evidence_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_Framework_controls_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.unmarshalOControlOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOControlFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Framework_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_Measure_controls_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.unmarshalOControlOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOControlFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Measure_evidences_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.unmarshalOEvidenceOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐEvidenceOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Measure_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_Measure_risks_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.unmarshalORiskOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalORiskFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Measure_tasks_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.unmarshalOTaskOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTaskOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Meeting_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_Mutation_assessVendor_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.unmarshalNAssessVendorInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssessVendorInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_bulkDeleteDocuments_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.unmarshalNBulkDeleteDocumentsInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkDeleteDocumentsInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_bulkExportDocuments_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.unmarshalNBulkExportDocumentsInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkExportDocumentsInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_bulkPublishDocumentVersions_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.unmarshalNBulkPublishDocumentVersionsInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkPublishDocumentVersionsInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_bulkRequestSignatures_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.unmarshalNBulkRequestSignaturesInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkRequestSignaturesInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_cancelSignatureRequest_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.unmarshalNCancelSignatureRequestInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCancelSignatureRequestInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createAsset_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.unmarshalNCreateAssetInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateAssetInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createAudit_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.unmarshalNCreateAuditInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateAuditInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createContinualImprovement_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.unmarshalNCreateContinualImprovementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateContinualImprovementInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createControlAuditMapping_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.unmarshalNCreateControlAuditMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlAuditMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createControlDocumentMapping_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.unmarshalNCreateControlDocumentMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlDocumentMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createControlMeasureMapping_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.unmarshalNCreateControlMeasureMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlMeasureMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createControlObligationMapping_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.unmarshalNCreateControlObligationMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlObligationMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createControlSnapshotMapping_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.unmarshalNCreateControlSnapshotMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlSnapshotMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createControl_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.unmarshalNCreateControlInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createCustomDomain_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.unmarshalNCreateCustomDomainInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateCustomDomainInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createDataProtectionImpactAssessment_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.unmarshalNCreateDataProtectionImpactAssessmentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDataProtectionImpactAssessmentInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createDatum_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.unmarshalNCreateDatumInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDatumInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createDocument_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.unmarshalNCreateDocumentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDocumentInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createDraftDocumentVersion_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.unmarshalNCreateDraftDocumentVersionInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDraftDocumentVersionInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createFramework_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.unmarshalNCreateFrameworkInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateFrameworkInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createMeasure_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.unmarshalNCreateMeasureInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateMeasureInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createMeeting_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.unmarshalNCreateMeetingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateMeetingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createNonconformity_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.unmarshalNCreateNonconformityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateNonconformityInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createObligation_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.unmarshalNCreateObligationInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateObligationInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createPeople_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.unmarshalNCreatePeopleInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreatePeopleInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createProcessingActivity_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.unmarshalNCreateProcessingActivityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateProcessingActivityInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createRightsRequest_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.unmarshalNCreateRightsRequestInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRightsRequestInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createRiskDocumentMapping_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.unmarshalNCreateRiskDocumentMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskDocumentMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createRiskMeasureMapping_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.unmarshalNCreateRiskMeasureMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskMeasureMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createRiskObligationMapping_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.unmarshalNCreateRiskObligationMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskObligationMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createRisk_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.unmarshalNCreateRiskInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createSnapshot_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.unmarshalNCreateSnapshotInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateSnapshotInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createStateOfApplicabilityControlMapping_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.unmarshalNCreateStateOfApplicabilityControlMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateStateOfApplicabilityControlMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createStateOfApplicability_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.unmarshalNCreateStateOfApplicabilityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateStateOfApplicabilityInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createTask_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.unmarshalNCreateTaskInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTaskInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createTransferImpactAssessment_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.unmarshalNCreateTransferImpactAssessmentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTransferImpactAssessmentInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createTrustCenterAccess_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.unmarshalNCreateTrustCenterAccessInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterAccessInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createTrustCenterFile_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.unmarshalNCreateTrustCenterFileInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterFileInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createTrustCenterReference_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.unmarshalNCreateTrustCenterReferenceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterReferenceInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createVendorContact_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.unmarshalNCreateVendorContactInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorContactInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createVendorRiskAssessment_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.unmarshalNCreateVendorRiskAssessmentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorRiskAssessmentInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createVendorService_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.unmarshalNCreateVendorServiceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorServiceInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_createVendor_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.unmarshalNCreateVendorInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteAsset_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.unmarshalNDeleteAssetInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAssetInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteAuditReport_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.unmarshalNDeleteAuditReportInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAuditReportInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteAudit_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.unmarshalNDeleteAuditInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAuditInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteContinualImprovement_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.unmarshalNDeleteContinualImprovementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteContinualImprovementInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteControlAuditMapping_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.unmarshalNDeleteControlAuditMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlAuditMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteControlDocumentMapping_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.unmarshalNDeleteControlDocumentMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlDocumentMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteControlMeasureMapping_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.unmarshalNDeleteControlMeasureMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlMeasureMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteControlObligationMapping_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.unmarshalNDeleteControlObligationMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlObligationMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteControlSnapshotMapping_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.unmarshalNDeleteControlSnapshotMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlSnapshotMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteControl_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.unmarshalNDeleteControlInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteCustomDomain_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.unmarshalNDeleteCustomDomainInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteCustomDomainInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteDataProtectionImpactAssessment_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.unmarshalNDeleteDataProtectionImpactAssessmentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDataProtectionImpactAssessmentInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteDatum_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.unmarshalNDeleteDatumInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDatumInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteDocument_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.unmarshalNDeleteDocumentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDocumentInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteDraftDocumentVersion_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.unmarshalNDeleteDraftDocumentVersionInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDraftDocumentVersionInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteEvidence_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.unmarshalNDeleteEvidenceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteEvidenceInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteFramework_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.unmarshalNDeleteFrameworkInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteFrameworkInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteMeasure_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.unmarshalNDeleteMeasureInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteMeasureInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteMeeting_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.unmarshalNDeleteMeetingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteMeetingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteNonconformity_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.unmarshalNDeleteNonconformityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteNonconformityInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteObligation_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.unmarshalNDeleteObligationInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteObligationInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deletePeople_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.unmarshalNDeletePeopleInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeletePeopleInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteProcessingActivity_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.unmarshalNDeleteProcessingActivityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteProcessingActivityInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteRightsRequest_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.unmarshalNDeleteRightsRequestInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRightsRequestInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteRiskDocumentMapping_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.unmarshalNDeleteRiskDocumentMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskDocumentMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteRiskMeasureMapping_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.unmarshalNDeleteRiskMeasureMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskMeasureMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteRiskObligationMapping_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.unmarshalNDeleteRiskObligationMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskObligationMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteRisk_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.unmarshalNDeleteRiskInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteSnapshot_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.unmarshalNDeleteSnapshotInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteSnapshotInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteStateOfApplicabilityControlMapping_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.unmarshalNDeleteStateOfApplicabilityControlMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteStateOfApplicabilityControlMappingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteStateOfApplicability_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.unmarshalNDeleteStateOfApplicabilityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteStateOfApplicabilityInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteTask_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.unmarshalNDeleteTaskInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTaskInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteTransferImpactAssessment_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.unmarshalNDeleteTransferImpactAssessmentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTransferImpactAssessmentInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteTrustCenterAccess_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.unmarshalNDeleteTrustCenterAccessInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterAccessInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteTrustCenterFile_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.unmarshalNDeleteTrustCenterFileInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterFileInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteTrustCenterNDA_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.unmarshalNDeleteTrustCenterNDAInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterNDAInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteTrustCenterReference_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.unmarshalNDeleteTrustCenterReferenceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterReferenceInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteVendorBusinessAssociateAgreement_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.unmarshalNDeleteVendorBusinessAssociateAgreementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorBusinessAssociateAgreementInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteVendorComplianceReport_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.unmarshalNDeleteVendorComplianceReportInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorComplianceReportInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteVendorContact_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.unmarshalNDeleteVendorContactInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorContactInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteVendorDataPrivacyAgreement_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.unmarshalNDeleteVendorDataPrivacyAgreementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorDataPrivacyAgreementInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteVendorService_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.unmarshalNDeleteVendorServiceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorServiceInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_deleteVendor_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.unmarshalNDeleteVendorInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_exportDataProtectionImpactAssessmentsPDF_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.unmarshalNExportDataProtectionImpactAssessmentsPDFInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportDataProtectionImpactAssessmentsPDFInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_exportDocumentVersionPDF_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.unmarshalNExportDocumentVersionPDFInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportDocumentVersionPDFInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_exportFramework_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.unmarshalNExportFrameworkInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportFrameworkInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_exportProcessingActivitiesPDF_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.unmarshalNExportProcessingActivitiesPDFInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportProcessingActivitiesPDFInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_exportSignableVersionDocumentPDF_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.unmarshalNExportSignableDocumentVersionPDFInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportSignableDocumentVersionPDFInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_exportStateOfApplicabilityPDF_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.unmarshalNExportStateOfApplicabilityPDFInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportStateOfApplicabilityPDFInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_exportTransferImpactAssessmentsPDF_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.unmarshalNExportTransferImpactAssessmentsPDFInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportTransferImpactAssessmentsPDFInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_generateDocumentChangelog_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.unmarshalNGenerateDocumentChangelogInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGenerateDocumentChangelogInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_generateFrameworkStateOfApplicability_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.unmarshalNGenerateFrameworkStateOfApplicabilityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGenerateFrameworkStateOfApplicabilityInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_getTrustCenterFile_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.unmarshalNGetTrustCenterFileInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGetTrustCenterFileInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_importFramework_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.unmarshalNImportFrameworkInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐImportFrameworkInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_importMeasure_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.unmarshalNImportMeasureInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐImportMeasureInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_publishDocumentVersion_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.unmarshalNPublishDocumentVersionInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPublishDocumentVersionInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_requestSignature_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.unmarshalNRequestSignatureInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRequestSignatureInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_sendSigningNotifications_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.unmarshalNSendSigningNotificationsInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSendSigningNotificationsInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_signDocument_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.unmarshalNSignDocumentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignDocumentInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateAsset_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.unmarshalNUpdateAssetInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateAssetInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateAudit_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.unmarshalNUpdateAuditInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateAuditInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateContinualImprovement_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.unmarshalNUpdateContinualImprovementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateContinualImprovementInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateControl_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.unmarshalNUpdateControlInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateControlInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateDataProtectionImpactAssessment_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.unmarshalNUpdateDataProtectionImpactAssessmentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDataProtectionImpactAssessmentInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateDatum_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.unmarshalNUpdateDatumInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDatumInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateDocumentVersion_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.unmarshalNUpdateDocumentVersionInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDocumentVersionInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateDocument_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.unmarshalNUpdateDocumentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDocumentInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateFramework_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.unmarshalNUpdateFrameworkInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateFrameworkInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateMeasure_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.unmarshalNUpdateMeasureInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateMeasureInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateMeeting_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.unmarshalNUpdateMeetingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateMeetingInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateNonconformity_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.unmarshalNUpdateNonconformityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateNonconformityInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateObligation_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.unmarshalNUpdateObligationInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateObligationInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateOrganizationContext_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.unmarshalNUpdateOrganizationContextInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateOrganizationContextInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updatePeople_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.unmarshalNUpdatePeopleInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdatePeopleInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateProcessingActivity_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.unmarshalNUpdateProcessingActivityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateProcessingActivityInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateRightsRequest_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.unmarshalNUpdateRightsRequestInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateRightsRequestInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateRisk_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.unmarshalNUpdateRiskInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateRiskInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateStateOfApplicability_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.unmarshalNUpdateStateOfApplicabilityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateStateOfApplicabilityInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateTask_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.unmarshalNUpdateTaskInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTaskInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateTransferImpactAssessment_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.unmarshalNUpdateTransferImpactAssessmentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTransferImpactAssessmentInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateTrustCenterAccess_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.unmarshalNUpdateTrustCenterAccessInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterAccessInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateTrustCenterFile_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.unmarshalNUpdateTrustCenterFileInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterFileInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateTrustCenterReference_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.unmarshalNUpdateTrustCenterReferenceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterReferenceInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateTrustCenter_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.unmarshalNUpdateTrustCenterInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateVendorBusinessAssociateAgreement_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.unmarshalNUpdateVendorBusinessAssociateAgreementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorBusinessAssociateAgreementInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateVendorContact_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.unmarshalNUpdateVendorContactInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorContactInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateVendorDataPrivacyAgreement_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.unmarshalNUpdateVendorDataPrivacyAgreementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorDataPrivacyAgreementInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateVendorService_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.unmarshalNUpdateVendorServiceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorServiceInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_updateVendor_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.unmarshalNUpdateVendorInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_uploadAuditReport_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.unmarshalNUploadAuditReportInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadAuditReportInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_uploadMeasureEvidence_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.unmarshalNUploadMeasureEvidenceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadMeasureEvidenceInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_uploadTrustCenterNDA_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.unmarshalNUploadTrustCenterNDAInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadTrustCenterNDAInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_uploadVendorBusinessAssociateAgreement_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.unmarshalNUploadVendorBusinessAssociateAgreementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorBusinessAssociateAgreementInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_uploadVendorComplianceReport_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.unmarshalNUploadVendorComplianceReportInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorComplianceReportInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Mutation_uploadVendorDataPrivacyAgreement_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.unmarshalNUploadVendorDataPrivacyAgreementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorDataPrivacyAgreementInput)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["input"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Nonconformity_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_Obligation_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_Organization_assets_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.unmarshalOAssetOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssetOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOAssetFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssetFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_audits_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.unmarshalOAuditOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAuditOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_continualImprovements_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.unmarshalOContinualImprovementOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovementOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOContinualImprovementFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovementFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_controls_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.unmarshalOControlOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOControlFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_dataProtectionImpactAssessments_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.unmarshalODataProtectionImpactAssessmentOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessmentOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalODataProtectionImpactAssessmentFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessmentFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_data_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.unmarshalODatumOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatumOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalODatumFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatumFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_documents_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.unmarshalODocumentOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalODocumentFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_frameworks_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.unmarshalOFrameworkOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFrameworkOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_measures_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.unmarshalOMeasureOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOMeasureFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_meetings_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.unmarshalOMeetingOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeetingOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_nonconformities_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.unmarshalONonconformityOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformityOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalONonconformityFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformityFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_obligations_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.unmarshalOObligationOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOObligationFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_peoples_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.unmarshalOPeopleOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeopleOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOPeopleFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeopleFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_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_Organization_processingActivities_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.unmarshalOProcessingActivityOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivityOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOProcessingActivityFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivityFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_rightsRequests_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.unmarshalORightsRequestOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRightsRequestOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_risks_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.unmarshalORiskOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalORiskFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_slackConnections_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
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_snapshots_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.unmarshalOSnapshotOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshotOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_statesOfApplicability_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.unmarshalOStateOfApplicabilityOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOStateOfApplicabilityFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_tasks_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.unmarshalOTaskOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTaskOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_transferImpactAssessments_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.unmarshalOTransferImpactAssessmentOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessmentOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOTransferImpactAssessmentFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessmentFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_trustCenterFiles_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.unmarshalOTrustCenterFileOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Organization_vendors_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.unmarshalOVendorOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOVendorFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_People_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_ProcessingActivity_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_ProcessingActivity_vendors_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.unmarshalOVendorOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Query___type_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, "name", ec.unmarshalNString2string)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["name"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Query_node_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, "id", ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["id"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Report_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_RightsRequest_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_Risk_controls_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.unmarshalOControlOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOControlFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Risk_documents_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.unmarshalODocumentOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalODocumentFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Risk_measures_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.unmarshalOMeasureOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOMeasureFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Risk_obligations_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.unmarshalOObligationOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOObligationFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Risk_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_SignableDocument_versions_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.unmarshalODocumentVersionOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalODocumentVersionFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Snapshot_controls_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.unmarshalOControlOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOControlFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Snapshot_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_StateOfApplicability_controls_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.unmarshalOControlOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "filter", ec.unmarshalOControlFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlFilter)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["filter"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_StateOfApplicability_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_Task_evidences_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.unmarshalOEvidenceOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐEvidenceOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Task_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_TransferImpactAssessment_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_TrustCenterAccess_availableDocumentAccesses_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.unmarshalOTrustCenterDocumentAccessOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_TrustCenterAccess_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_TrustCenterFile_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_TrustCenterReference_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_TrustCenter_accesses_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.unmarshalOTrustCenterAccessOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_TrustCenter_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_TrustCenter_references_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.unmarshalOTrustCenterReferenceOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_VendorBusinessAssociateAgreement_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_VendorComplianceReport_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_VendorContact_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_VendorDataPrivacyAgreement_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_VendorRiskAssessment_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_VendorService_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_Vendor_complianceReports_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.unmarshalOVendorComplianceReportOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorComplianceReportOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Vendor_contacts_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.unmarshalOVendorContactOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorContactOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Vendor_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_Vendor_riskAssessments_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.unmarshalOVendorRiskAssessmentOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorRiskAssessmentOrder)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Vendor_services_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.unmarshalOVendorServiceOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorServiceOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg4
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Viewer_signableDocument_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, "id", ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["id"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field_Viewer_signableDocuments_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, "organizationId", ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["organizationId"] = arg0
|
|
arg1, err := graphql.ProcessArgField(ctx, rawArgs, "first", ec.unmarshalOInt2ᚖint)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["first"] = arg1
|
|
arg2, err := graphql.ProcessArgField(ctx, rawArgs, "after", ec.unmarshalOCursorKey2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋpageᚐCursorKey)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["after"] = arg2
|
|
arg3, err := graphql.ProcessArgField(ctx, rawArgs, "last", ec.unmarshalOInt2ᚖint)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["last"] = arg3
|
|
arg4, err := graphql.ProcessArgField(ctx, rawArgs, "before", ec.unmarshalOCursorKey2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋpageᚐCursorKey)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["before"] = arg4
|
|
arg5, err := graphql.ProcessArgField(ctx, rawArgs, "orderBy", ec.unmarshalODocumentOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentOrderBy)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["orderBy"] = arg5
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field___Directive_args_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, "includeDeprecated", ec.unmarshalOBoolean2ᚖbool)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["includeDeprecated"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field___Field_args_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, "includeDeprecated", ec.unmarshalOBoolean2ᚖbool)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["includeDeprecated"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field___Type_enumValues_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, "includeDeprecated", ec.unmarshalOBoolean2bool)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["includeDeprecated"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
func (ec *executionContext) field___Type_fields_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, "includeDeprecated", ec.unmarshalOBoolean2bool)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
args["includeDeprecated"] = arg0
|
|
return args, nil
|
|
}
|
|
|
|
// endregion ***************************** args.gotpl *****************************
|
|
|
|
// region ************************** directives.gotpl **************************
|
|
|
|
// endregion ************************** directives.gotpl **************************
|
|
|
|
// region **************************** field.gotpl *****************************
|
|
|
|
func (ec *executionContext) _AssessVendorPayload_vendor(ctx context.Context, field graphql.CollectedField, obj *types.AssessVendorPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AssessVendorPayload_vendor,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Vendor, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendor2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendor,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AssessVendorPayload_vendor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AssessVendorPayload",
|
|
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_Vendor_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Vendor_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Vendor_name(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Vendor_category(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Vendor_description(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Vendor_organization(ctx, field)
|
|
case "complianceReports":
|
|
return ec.fieldContext_Vendor_complianceReports(ctx, field)
|
|
case "businessAssociateAgreement":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreement(ctx, field)
|
|
case "dataPrivacyAgreement":
|
|
return ec.fieldContext_Vendor_dataPrivacyAgreement(ctx, field)
|
|
case "contacts":
|
|
return ec.fieldContext_Vendor_contacts(ctx, field)
|
|
case "services":
|
|
return ec.fieldContext_Vendor_services(ctx, field)
|
|
case "riskAssessments":
|
|
return ec.fieldContext_Vendor_riskAssessments(ctx, field)
|
|
case "businessOwner":
|
|
return ec.fieldContext_Vendor_businessOwner(ctx, field)
|
|
case "securityOwner":
|
|
return ec.fieldContext_Vendor_securityOwner(ctx, field)
|
|
case "statusPageUrl":
|
|
return ec.fieldContext_Vendor_statusPageUrl(ctx, field)
|
|
case "termsOfServiceUrl":
|
|
return ec.fieldContext_Vendor_termsOfServiceUrl(ctx, field)
|
|
case "privacyPolicyUrl":
|
|
return ec.fieldContext_Vendor_privacyPolicyUrl(ctx, field)
|
|
case "serviceLevelAgreementUrl":
|
|
return ec.fieldContext_Vendor_serviceLevelAgreementUrl(ctx, field)
|
|
case "dataProcessingAgreementUrl":
|
|
return ec.fieldContext_Vendor_dataProcessingAgreementUrl(ctx, field)
|
|
case "businessAssociateAgreementUrl":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreementUrl(ctx, field)
|
|
case "subprocessorsListUrl":
|
|
return ec.fieldContext_Vendor_subprocessorsListUrl(ctx, field)
|
|
case "certifications":
|
|
return ec.fieldContext_Vendor_certifications(ctx, field)
|
|
case "countries":
|
|
return ec.fieldContext_Vendor_countries(ctx, field)
|
|
case "securityPageUrl":
|
|
return ec.fieldContext_Vendor_securityPageUrl(ctx, field)
|
|
case "trustPageUrl":
|
|
return ec.fieldContext_Vendor_trustPageUrl(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Vendor_headquarterAddress(ctx, field)
|
|
case "legalName":
|
|
return ec.fieldContext_Vendor_legalName(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Vendor_websiteUrl(ctx, field)
|
|
case "showOnTrustCenter":
|
|
return ec.fieldContext_Vendor_showOnTrustCenter(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Vendor_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Vendor_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Vendor_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Vendor", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Asset_id(ctx context.Context, field graphql.CollectedField, obj *types.Asset) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Asset_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_Asset_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Asset",
|
|
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) _Asset_snapshotId(ctx context.Context, field graphql.CollectedField, obj *types.Asset) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Asset_snapshotId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SnapshotID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Asset_snapshotId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Asset",
|
|
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) _Asset_name(ctx context.Context, field graphql.CollectedField, obj *types.Asset) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Asset_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Asset_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Asset",
|
|
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) _Asset_amount(ctx context.Context, field graphql.CollectedField, obj *types.Asset) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Asset_amount,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Amount, nil
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Asset_amount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Asset",
|
|
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) _Asset_owner(ctx context.Context, field graphql.CollectedField, obj *types.Asset) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Asset_owner,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Asset().Owner(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Asset_owner(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Asset",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Asset_vendors(ctx context.Context, field graphql.CollectedField, obj *types.Asset) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Asset_vendors,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Asset().Vendors(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.VendorOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNVendorConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Asset_vendors(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Asset",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_VendorConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_VendorConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_VendorConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorConnection", 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_Asset_vendors_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Asset_assetType(ctx context.Context, field graphql.CollectedField, obj *types.Asset) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Asset_assetType,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.AssetType, nil
|
|
},
|
|
nil,
|
|
ec.marshalNAssetType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Asset_assetType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Asset",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type AssetType does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Asset_dataTypesStored(ctx context.Context, field graphql.CollectedField, obj *types.Asset) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Asset_dataTypesStored,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DataTypesStored, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Asset_dataTypesStored(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Asset",
|
|
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) _Asset_organization(ctx context.Context, field graphql.CollectedField, obj *types.Asset) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Asset_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Asset().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Asset_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Asset",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _Asset_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Asset) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Asset_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Asset_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Asset",
|
|
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) _Asset_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Asset) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Asset_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Asset_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Asset",
|
|
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) _Asset_permission(ctx context.Context, field graphql.CollectedField, obj *types.Asset) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Asset_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Asset().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Asset_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Asset",
|
|
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_Asset_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _AssetConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.AssetConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AssetConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.AssetConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AssetConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AssetConnection",
|
|
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) _AssetConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.AssetConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AssetConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNAssetEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssetEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AssetConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AssetConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_AssetEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_AssetEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type AssetEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _AssetConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.AssetConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AssetConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AssetConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AssetConnection",
|
|
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) _AssetEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.AssetEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AssetEdge_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_AssetEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AssetEdge",
|
|
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) _AssetEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.AssetEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AssetEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNAsset2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAsset,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AssetEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AssetEdge",
|
|
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_Asset_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Asset_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Asset_name(ctx, field)
|
|
case "amount":
|
|
return ec.fieldContext_Asset_amount(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Asset_owner(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Asset_vendors(ctx, field)
|
|
case "assetType":
|
|
return ec.fieldContext_Asset_assetType(ctx, field)
|
|
case "dataTypesStored":
|
|
return ec.fieldContext_Asset_dataTypesStored(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Asset_organization(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Asset_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Asset_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Asset_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Asset", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Audit_id(ctx context.Context, field graphql.CollectedField, obj *types.Audit) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Audit_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_Audit_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Audit",
|
|
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) _Audit_name(ctx context.Context, field graphql.CollectedField, obj *types.Audit) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Audit_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Audit_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Audit",
|
|
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) _Audit_organization(ctx context.Context, field graphql.CollectedField, obj *types.Audit) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Audit_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Audit().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Audit_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Audit",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _Audit_framework(ctx context.Context, field graphql.CollectedField, obj *types.Audit) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Audit_framework,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Audit().Framework(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNFramework2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFramework,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Audit_framework(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Audit",
|
|
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_Framework_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Framework_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Framework_description(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Framework_organization(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Framework_controls(ctx, field)
|
|
case "lightLogoURL":
|
|
return ec.fieldContext_Framework_lightLogoURL(ctx, field)
|
|
case "darkLogoURL":
|
|
return ec.fieldContext_Framework_darkLogoURL(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Framework_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Framework_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Framework_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Framework", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Audit_validFrom(ctx context.Context, field graphql.CollectedField, obj *types.Audit) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Audit_validFrom,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ValidFrom, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Audit_validFrom(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Audit",
|
|
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) _Audit_validUntil(ctx context.Context, field graphql.CollectedField, obj *types.Audit) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Audit_validUntil,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ValidUntil, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Audit_validUntil(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Audit",
|
|
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) _Audit_report(ctx context.Context, field graphql.CollectedField, obj *types.Audit) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Audit_report,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Audit().Report(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOReport2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐReport,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Audit_report(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Audit",
|
|
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_Report_id(ctx, field)
|
|
case "objectKey":
|
|
return ec.fieldContext_Report_objectKey(ctx, field)
|
|
case "mimeType":
|
|
return ec.fieldContext_Report_mimeType(ctx, field)
|
|
case "filename":
|
|
return ec.fieldContext_Report_filename(ctx, field)
|
|
case "size":
|
|
return ec.fieldContext_Report_size(ctx, field)
|
|
case "downloadUrl":
|
|
return ec.fieldContext_Report_downloadUrl(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Report_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Report_updatedAt(ctx, field)
|
|
case "audit":
|
|
return ec.fieldContext_Report_audit(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Report_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Report", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Audit_reportUrl(ctx context.Context, field graphql.CollectedField, obj *types.Audit) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Audit_reportUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Audit().ReportURL(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Audit_reportUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Audit",
|
|
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) _Audit_state(ctx context.Context, field graphql.CollectedField, obj *types.Audit) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Audit_state,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.State, nil
|
|
},
|
|
nil,
|
|
ec.marshalNAuditState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Audit_state(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Audit",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type AuditState does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Audit_controls(ctx context.Context, field graphql.CollectedField, obj *types.Audit) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Audit_controls,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Audit().Controls(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.ControlOrderBy), fc.Args["filter"].(*types.ControlFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNControlConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Audit_controls(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Audit",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_ControlConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_ControlConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_ControlConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlConnection", 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_Audit_controls_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Audit_trustCenterVisibility(ctx context.Context, field graphql.CollectedField, obj *types.Audit) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Audit_trustCenterVisibility,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TrustCenterVisibility, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterVisibility2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Audit_trustCenterVisibility(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Audit",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type TrustCenterVisibility does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Audit_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Audit) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Audit_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Audit_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Audit",
|
|
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) _Audit_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Audit) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Audit_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Audit_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Audit",
|
|
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) _Audit_permission(ctx context.Context, field graphql.CollectedField, obj *types.Audit) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Audit_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Audit().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Audit_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Audit",
|
|
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_Audit_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _AuditConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.AuditConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AuditConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.AuditConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AuditConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AuditConnection",
|
|
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) _AuditConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.AuditConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AuditConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNAuditEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAuditEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AuditConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AuditConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_AuditEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_AuditEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type AuditEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _AuditConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.AuditConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AuditConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AuditConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AuditConnection",
|
|
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) _AuditEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.AuditEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AuditEdge_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_AuditEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AuditEdge",
|
|
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) _AuditEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.AuditEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AuditEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNAudit2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAudit,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AuditEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AuditEdge",
|
|
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_Audit_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Audit_name(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Audit_organization(ctx, field)
|
|
case "framework":
|
|
return ec.fieldContext_Audit_framework(ctx, field)
|
|
case "validFrom":
|
|
return ec.fieldContext_Audit_validFrom(ctx, field)
|
|
case "validUntil":
|
|
return ec.fieldContext_Audit_validUntil(ctx, field)
|
|
case "report":
|
|
return ec.fieldContext_Audit_report(ctx, field)
|
|
case "reportUrl":
|
|
return ec.fieldContext_Audit_reportUrl(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_Audit_state(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Audit_controls(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_Audit_trustCenterVisibility(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Audit_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Audit_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Audit_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Audit", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _AvailableStateOfApplicabilityControl_controlId(ctx context.Context, field graphql.CollectedField, obj *types.AvailableStateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AvailableStateOfApplicabilityControl_controlId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ControlID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AvailableStateOfApplicabilityControl_controlId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AvailableStateOfApplicabilityControl",
|
|
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) _AvailableStateOfApplicabilityControl_sectionTitle(ctx context.Context, field graphql.CollectedField, obj *types.AvailableStateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AvailableStateOfApplicabilityControl_sectionTitle,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SectionTitle, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AvailableStateOfApplicabilityControl_sectionTitle(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AvailableStateOfApplicabilityControl",
|
|
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) _AvailableStateOfApplicabilityControl_name(ctx context.Context, field graphql.CollectedField, obj *types.AvailableStateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AvailableStateOfApplicabilityControl_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AvailableStateOfApplicabilityControl_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AvailableStateOfApplicabilityControl",
|
|
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) _AvailableStateOfApplicabilityControl_frameworkId(ctx context.Context, field graphql.CollectedField, obj *types.AvailableStateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AvailableStateOfApplicabilityControl_frameworkId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.FrameworkID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AvailableStateOfApplicabilityControl_frameworkId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AvailableStateOfApplicabilityControl",
|
|
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) _AvailableStateOfApplicabilityControl_frameworkName(ctx context.Context, field graphql.CollectedField, obj *types.AvailableStateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AvailableStateOfApplicabilityControl_frameworkName,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.FrameworkName, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AvailableStateOfApplicabilityControl_frameworkName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AvailableStateOfApplicabilityControl",
|
|
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) _AvailableStateOfApplicabilityControl_organizationId(ctx context.Context, field graphql.CollectedField, obj *types.AvailableStateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AvailableStateOfApplicabilityControl_organizationId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.OrganizationID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AvailableStateOfApplicabilityControl_organizationId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AvailableStateOfApplicabilityControl",
|
|
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) _AvailableStateOfApplicabilityControl_stateOfApplicabilityId(ctx context.Context, field graphql.CollectedField, obj *types.AvailableStateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AvailableStateOfApplicabilityControl_stateOfApplicabilityId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.StateOfApplicabilityID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AvailableStateOfApplicabilityControl_stateOfApplicabilityId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AvailableStateOfApplicabilityControl",
|
|
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) _AvailableStateOfApplicabilityControl_applicability(ctx context.Context, field graphql.CollectedField, obj *types.AvailableStateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AvailableStateOfApplicabilityControl_applicability,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Applicability, nil
|
|
},
|
|
nil,
|
|
ec.marshalOBoolean2ᚖbool,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AvailableStateOfApplicabilityControl_applicability(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AvailableStateOfApplicabilityControl",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _AvailableStateOfApplicabilityControl_justification(ctx context.Context, field graphql.CollectedField, obj *types.AvailableStateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AvailableStateOfApplicabilityControl_justification,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Justification, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AvailableStateOfApplicabilityControl_justification(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AvailableStateOfApplicabilityControl",
|
|
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) _AvailableStateOfApplicabilityControl_bestPractice(ctx context.Context, field graphql.CollectedField, obj *types.AvailableStateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AvailableStateOfApplicabilityControl_bestPractice,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.BestPractice, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AvailableStateOfApplicabilityControl_bestPractice(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AvailableStateOfApplicabilityControl",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _AvailableStateOfApplicabilityControl_regulatory(ctx context.Context, field graphql.CollectedField, obj *types.AvailableStateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AvailableStateOfApplicabilityControl_regulatory,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Regulatory, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AvailableStateOfApplicabilityControl_regulatory(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AvailableStateOfApplicabilityControl",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _AvailableStateOfApplicabilityControl_contractual(ctx context.Context, field graphql.CollectedField, obj *types.AvailableStateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AvailableStateOfApplicabilityControl_contractual,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Contractual, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AvailableStateOfApplicabilityControl_contractual(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AvailableStateOfApplicabilityControl",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _AvailableStateOfApplicabilityControl_riskAssessment(ctx context.Context, field graphql.CollectedField, obj *types.AvailableStateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_AvailableStateOfApplicabilityControl_riskAssessment,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.RiskAssessment, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_AvailableStateOfApplicabilityControl_riskAssessment(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "AvailableStateOfApplicabilityControl",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _BulkDeleteDocumentsPayload_deletedDocumentIds(ctx context.Context, field graphql.CollectedField, obj *types.BulkDeleteDocumentsPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_BulkDeleteDocumentsPayload_deletedDocumentIds,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedDocumentIds, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_BulkDeleteDocumentsPayload_deletedDocumentIds(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "BulkDeleteDocumentsPayload",
|
|
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) _BulkExportDocumentsPayload_exportJobId(ctx context.Context, field graphql.CollectedField, obj *types.BulkExportDocumentsPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_BulkExportDocumentsPayload_exportJobId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ExportJobID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_BulkExportDocumentsPayload_exportJobId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "BulkExportDocumentsPayload",
|
|
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) _BulkPublishDocumentVersionsPayload_documentVersionEdges(ctx context.Context, field graphql.CollectedField, obj *types.BulkPublishDocumentVersionsPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_BulkPublishDocumentVersionsPayload_documentVersionEdges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DocumentVersionEdges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersionEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_BulkPublishDocumentVersionsPayload_documentVersionEdges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "BulkPublishDocumentVersionsPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DocumentVersionEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DocumentVersionEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersionEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _BulkPublishDocumentVersionsPayload_documentEdges(ctx context.Context, field graphql.CollectedField, obj *types.BulkPublishDocumentVersionsPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_BulkPublishDocumentVersionsPayload_documentEdges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DocumentEdges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_BulkPublishDocumentVersionsPayload_documentEdges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "BulkPublishDocumentVersionsPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DocumentEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DocumentEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _BulkRequestSignaturesPayload_documentVersionSignatureEdges(ctx context.Context, field graphql.CollectedField, obj *types.BulkRequestSignaturesPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_BulkRequestSignaturesPayload_documentVersionSignatureEdges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DocumentVersionSignatureEdges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersionSignatureEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignatureEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_BulkRequestSignaturesPayload_documentVersionSignatureEdges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "BulkRequestSignaturesPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DocumentVersionSignatureEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DocumentVersionSignatureEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersionSignatureEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CancelSignatureRequestPayload_deletedDocumentVersionSignatureId(ctx context.Context, field graphql.CollectedField, obj *types.CancelSignatureRequestPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CancelSignatureRequestPayload_deletedDocumentVersionSignatureId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedDocumentVersionSignatureID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CancelSignatureRequestPayload_deletedDocumentVersionSignatureId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CancelSignatureRequestPayload",
|
|
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) _ContinualImprovement_id(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovement_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_ContinualImprovement_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovement",
|
|
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) _ContinualImprovement_snapshotId(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovement_snapshotId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SnapshotID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovement_snapshotId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovement",
|
|
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) _ContinualImprovement_sourceId(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovement_sourceId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SourceID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovement_sourceId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovement",
|
|
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) _ContinualImprovement_organization(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovement_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.ContinualImprovement().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovement_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovement",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _ContinualImprovement_referenceId(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovement_referenceId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ReferenceID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovement_referenceId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovement",
|
|
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) _ContinualImprovement_description(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovement_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovement_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovement",
|
|
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) _ContinualImprovement_source(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovement_source,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Source, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovement_source(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovement",
|
|
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) _ContinualImprovement_owner(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovement_owner,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.ContinualImprovement().Owner(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovement_owner(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovement",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ContinualImprovement_targetDate(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovement_targetDate,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TargetDate, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovement_targetDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovement",
|
|
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) _ContinualImprovement_status(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovement_status,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Status, nil
|
|
},
|
|
nil,
|
|
ec.marshalNContinualImprovementStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovement_status(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovement",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type ContinualImprovementStatus does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ContinualImprovement_priority(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovement_priority,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Priority, nil
|
|
},
|
|
nil,
|
|
ec.marshalNContinualImprovementPriority2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovement_priority(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovement",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type ContinualImprovementPriority does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ContinualImprovement_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovement_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovement_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovement",
|
|
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) _ContinualImprovement_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovement_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovement_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovement",
|
|
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) _ContinualImprovement_permission(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovement_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.ContinualImprovement().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovement_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovement",
|
|
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_ContinualImprovement_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ContinualImprovementConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovementConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovementConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.ContinualImprovementConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovementConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovementConnection",
|
|
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) _ContinualImprovementConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovementConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovementConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNContinualImprovementEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovementEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovementConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovementConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ContinualImprovementEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ContinualImprovementEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ContinualImprovementEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ContinualImprovementConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovementConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovementConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovementConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovementConnection",
|
|
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) _ContinualImprovementEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovementEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovementEdge_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_ContinualImprovementEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovementEdge",
|
|
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) _ContinualImprovementEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.ContinualImprovementEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ContinualImprovementEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNContinualImprovement2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovement,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ContinualImprovementEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ContinualImprovementEdge",
|
|
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_ContinualImprovement_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_ContinualImprovement_snapshotId(ctx, field)
|
|
case "sourceId":
|
|
return ec.fieldContext_ContinualImprovement_sourceId(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_ContinualImprovement_organization(ctx, field)
|
|
case "referenceId":
|
|
return ec.fieldContext_ContinualImprovement_referenceId(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_ContinualImprovement_description(ctx, field)
|
|
case "source":
|
|
return ec.fieldContext_ContinualImprovement_source(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_ContinualImprovement_owner(ctx, field)
|
|
case "targetDate":
|
|
return ec.fieldContext_ContinualImprovement_targetDate(ctx, field)
|
|
case "status":
|
|
return ec.fieldContext_ContinualImprovement_status(ctx, field)
|
|
case "priority":
|
|
return ec.fieldContext_ContinualImprovement_priority(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_ContinualImprovement_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_ContinualImprovement_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_ContinualImprovement_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ContinualImprovement", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Control_id(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_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_Control_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
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) _Control_organization(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Control().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _Control_sectionTitle(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_sectionTitle,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SectionTitle, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_sectionTitle(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
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) _Control_name(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
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) _Control_description(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
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) _Control_status(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_status,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Status, nil
|
|
},
|
|
nil,
|
|
ec.marshalNControlStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_status(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type ControlStatus does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Control_exclusionJustification(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_exclusionJustification,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ExclusionJustification, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_exclusionJustification(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
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) _Control_bestPractice(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_bestPractice,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.BestPractice, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_bestPractice(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Control_framework(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_framework,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Control().Framework(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNFramework2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFramework,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_framework(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
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_Framework_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Framework_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Framework_description(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Framework_organization(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Framework_controls(ctx, field)
|
|
case "lightLogoURL":
|
|
return ec.fieldContext_Framework_lightLogoURL(ctx, field)
|
|
case "darkLogoURL":
|
|
return ec.fieldContext_Framework_darkLogoURL(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Framework_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Framework_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Framework_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Framework", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Control_measures(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_measures,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Control().Measures(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.MeasureOrderBy), fc.Args["filter"].(*types.MeasureFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNMeasureConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_measures(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_MeasureConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_MeasureConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_MeasureConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type MeasureConnection", 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_Control_measures_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Control_documents(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_documents,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Control().Documents(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.DocumentOrderBy), fc.Args["filter"].(*types.DocumentFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_documents(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_DocumentConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_DocumentConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_DocumentConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentConnection", 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_Control_documents_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Control_audits(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_audits,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Control().Audits(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.AuditOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNAuditConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAuditConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_audits(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_AuditConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_AuditConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_AuditConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type AuditConnection", 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_Control_audits_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Control_obligations(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_obligations,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Control().Obligations(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.ObligationOrderBy), fc.Args["filter"].(*types.ObligationFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNObligationConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_obligations(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_ObligationConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_ObligationConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_ObligationConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ObligationConnection", 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_Control_obligations_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Control_snapshots(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_snapshots,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Control().Snapshots(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.SnapshotOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNSnapshotConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshotConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_snapshots(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_SnapshotConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_SnapshotConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_SnapshotConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type SnapshotConnection", 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_Control_snapshots_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Control_stateOfApplicabilityControls(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_stateOfApplicabilityControls,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Control().StateOfApplicabilityControls(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.StateOfApplicabilityOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNStateOfApplicabilityControlConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityControlConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_stateOfApplicabilityControls(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_StateOfApplicabilityControlConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_StateOfApplicabilityControlConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_StateOfApplicabilityControlConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type StateOfApplicabilityControlConnection", 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_Control_stateOfApplicabilityControls_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Control_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
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) _Control_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
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) _Control_permission(ctx context.Context, field graphql.CollectedField, obj *types.Control) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Control_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Control().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Control_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Control",
|
|
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_Control_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ControlConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.ControlConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ControlConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.ControlConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ControlConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ControlConnection",
|
|
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) _ControlConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.ControlConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ControlConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNControlEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ControlConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ControlConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ControlEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ControlEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ControlConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.ControlConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ControlConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ControlConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ControlConnection",
|
|
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) _ControlEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.ControlEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ControlEdge_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_ControlEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ControlEdge",
|
|
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) _ControlEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.ControlEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ControlEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNControl2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControl,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ControlEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ControlEdge",
|
|
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_Control_id(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Control_organization(ctx, field)
|
|
case "sectionTitle":
|
|
return ec.fieldContext_Control_sectionTitle(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Control_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Control_description(ctx, field)
|
|
case "status":
|
|
return ec.fieldContext_Control_status(ctx, field)
|
|
case "exclusionJustification":
|
|
return ec.fieldContext_Control_exclusionJustification(ctx, field)
|
|
case "bestPractice":
|
|
return ec.fieldContext_Control_bestPractice(ctx, field)
|
|
case "framework":
|
|
return ec.fieldContext_Control_framework(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Control_measures(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Control_documents(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Control_audits(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Control_obligations(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Control_snapshots(ctx, field)
|
|
case "stateOfApplicabilityControls":
|
|
return ec.fieldContext_Control_stateOfApplicabilityControls(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Control_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Control_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Control_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Control", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateAssetPayload_assetEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateAssetPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateAssetPayload_assetEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.AssetEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNAssetEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssetEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateAssetPayload_assetEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateAssetPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_AssetEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_AssetEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type AssetEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateAuditPayload_auditEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateAuditPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateAuditPayload_auditEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.AuditEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNAuditEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAuditEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateAuditPayload_auditEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateAuditPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_AuditEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_AuditEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type AuditEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateContinualImprovementPayload_continualImprovementEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateContinualImprovementPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateContinualImprovementPayload_continualImprovementEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ContinualImprovementEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNContinualImprovementEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovementEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateContinualImprovementPayload_continualImprovementEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateContinualImprovementPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ContinualImprovementEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ContinualImprovementEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ContinualImprovementEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateControlAuditMappingPayload_controlEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateControlAuditMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateControlAuditMappingPayload_controlEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ControlEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNControlEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateControlAuditMappingPayload_controlEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateControlAuditMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ControlEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ControlEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateControlAuditMappingPayload_auditEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateControlAuditMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateControlAuditMappingPayload_auditEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.AuditEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNAuditEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAuditEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateControlAuditMappingPayload_auditEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateControlAuditMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_AuditEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_AuditEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type AuditEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateControlDocumentMappingPayload_controlEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateControlDocumentMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateControlDocumentMappingPayload_controlEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ControlEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNControlEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateControlDocumentMappingPayload_controlEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateControlDocumentMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ControlEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ControlEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateControlDocumentMappingPayload_documentEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateControlDocumentMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateControlDocumentMappingPayload_documentEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DocumentEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateControlDocumentMappingPayload_documentEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateControlDocumentMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DocumentEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DocumentEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateControlMeasureMappingPayload_controlEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateControlMeasureMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateControlMeasureMappingPayload_controlEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ControlEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNControlEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateControlMeasureMappingPayload_controlEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateControlMeasureMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ControlEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ControlEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateControlMeasureMappingPayload_measureEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateControlMeasureMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateControlMeasureMappingPayload_measureEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.MeasureEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNMeasureEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateControlMeasureMappingPayload_measureEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateControlMeasureMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_MeasureEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_MeasureEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type MeasureEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateControlObligationMappingPayload_controlEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateControlObligationMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateControlObligationMappingPayload_controlEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ControlEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNControlEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateControlObligationMappingPayload_controlEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateControlObligationMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ControlEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ControlEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateControlObligationMappingPayload_obligationEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateControlObligationMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateControlObligationMappingPayload_obligationEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ObligationEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNObligationEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateControlObligationMappingPayload_obligationEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateControlObligationMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ObligationEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ObligationEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ObligationEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateControlPayload_controlEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateControlPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateControlPayload_controlEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ControlEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNControlEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateControlPayload_controlEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateControlPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ControlEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ControlEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateControlSnapshotMappingPayload_controlEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateControlSnapshotMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateControlSnapshotMappingPayload_controlEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ControlEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNControlEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateControlSnapshotMappingPayload_controlEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateControlSnapshotMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ControlEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ControlEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateControlSnapshotMappingPayload_snapshotEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateControlSnapshotMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateControlSnapshotMappingPayload_snapshotEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SnapshotEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNSnapshotEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshotEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateControlSnapshotMappingPayload_snapshotEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateControlSnapshotMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_SnapshotEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_SnapshotEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type SnapshotEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateCustomDomainPayload_customDomain(ctx context.Context, field graphql.CollectedField, obj *types.CreateCustomDomainPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateCustomDomainPayload_customDomain,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CustomDomain, nil
|
|
},
|
|
nil,
|
|
ec.marshalNCustomDomain2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCustomDomain,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateCustomDomainPayload_customDomain(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateCustomDomainPayload",
|
|
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_CustomDomain_id(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_CustomDomain_organization(ctx, field)
|
|
case "domain":
|
|
return ec.fieldContext_CustomDomain_domain(ctx, field)
|
|
case "sslStatus":
|
|
return ec.fieldContext_CustomDomain_sslStatus(ctx, field)
|
|
case "sslExpiresAt":
|
|
return ec.fieldContext_CustomDomain_sslExpiresAt(ctx, field)
|
|
case "dnsRecords":
|
|
return ec.fieldContext_CustomDomain_dnsRecords(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_CustomDomain_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_CustomDomain_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_CustomDomain_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CustomDomain", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateDataProtectionImpactAssessmentPayload_dataProtectionImpactAssessment(ctx context.Context, field graphql.CollectedField, obj *types.CreateDataProtectionImpactAssessmentPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateDataProtectionImpactAssessmentPayload_dataProtectionImpactAssessment,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DataProtectionImpactAssessment, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDataProtectionImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessment,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateDataProtectionImpactAssessmentPayload_dataProtectionImpactAssessment(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateDataProtectionImpactAssessmentPayload",
|
|
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_DataProtectionImpactAssessment_id(ctx, field)
|
|
case "processingActivity":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_processingActivity(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_organization(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_description(ctx, field)
|
|
case "necessityAndProportionality":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_necessityAndProportionality(ctx, field)
|
|
case "potentialRisk":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_potentialRisk(ctx, field)
|
|
case "mitigations":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_mitigations(ctx, field)
|
|
case "residualRisk":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_residualRisk(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DataProtectionImpactAssessment", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateDatumPayload_datumEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateDatumPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateDatumPayload_datumEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DatumEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatumEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatumEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateDatumPayload_datumEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateDatumPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DatumEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DatumEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DatumEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateDocumentPayload_documentEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateDocumentPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateDocumentPayload_documentEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DocumentEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateDocumentPayload_documentEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateDocumentPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DocumentEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DocumentEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateDocumentPayload_documentVersionEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateDocumentPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateDocumentPayload_documentVersionEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DocumentVersionEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersionEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateDocumentPayload_documentVersionEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateDocumentPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DocumentVersionEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DocumentVersionEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersionEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateDraftDocumentVersionPayload_documentVersionEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateDraftDocumentVersionPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateDraftDocumentVersionPayload_documentVersionEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DocumentVersionEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersionEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateDraftDocumentVersionPayload_documentVersionEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateDraftDocumentVersionPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DocumentVersionEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DocumentVersionEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersionEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateFrameworkPayload_frameworkEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateFrameworkPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateFrameworkPayload_frameworkEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.FrameworkEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNFrameworkEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFrameworkEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateFrameworkPayload_frameworkEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateFrameworkPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_FrameworkEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_FrameworkEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type FrameworkEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateMeasurePayload_measureEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateMeasurePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateMeasurePayload_measureEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.MeasureEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNMeasureEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateMeasurePayload_measureEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateMeasurePayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_MeasureEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_MeasureEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type MeasureEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateMeetingPayload_meetingEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateMeetingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateMeetingPayload_meetingEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.MeetingEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNMeetingEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeetingEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateMeetingPayload_meetingEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateMeetingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_MeetingEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_MeetingEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type MeetingEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateNonconformityPayload_nonconformityEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateNonconformityPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateNonconformityPayload_nonconformityEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.NonconformityEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNNonconformityEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformityEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateNonconformityPayload_nonconformityEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateNonconformityPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_NonconformityEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_NonconformityEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type NonconformityEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateObligationPayload_obligationEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateObligationPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateObligationPayload_obligationEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ObligationEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNObligationEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateObligationPayload_obligationEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateObligationPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ObligationEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ObligationEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ObligationEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreatePeoplePayload_peopleEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreatePeoplePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreatePeoplePayload_peopleEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PeopleEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPeopleEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeopleEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreatePeoplePayload_peopleEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreatePeoplePayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_PeopleEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_PeopleEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type PeopleEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateProcessingActivityPayload_processingActivityEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateProcessingActivityPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateProcessingActivityPayload_processingActivityEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ProcessingActivityEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNProcessingActivityEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivityEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateProcessingActivityPayload_processingActivityEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateProcessingActivityPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ProcessingActivityEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ProcessingActivityEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ProcessingActivityEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateRightsRequestPayload_rightsRequestEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateRightsRequestPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateRightsRequestPayload_rightsRequestEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.RightsRequestEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNRightsRequestEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRightsRequestEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateRightsRequestPayload_rightsRequestEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateRightsRequestPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_RightsRequestEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_RightsRequestEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type RightsRequestEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateRiskDocumentMappingPayload_riskEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateRiskDocumentMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateRiskDocumentMappingPayload_riskEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.RiskEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNRiskEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateRiskDocumentMappingPayload_riskEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateRiskDocumentMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_RiskEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_RiskEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type RiskEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateRiskDocumentMappingPayload_documentEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateRiskDocumentMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateRiskDocumentMappingPayload_documentEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DocumentEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateRiskDocumentMappingPayload_documentEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateRiskDocumentMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DocumentEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DocumentEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateRiskMeasureMappingPayload_riskEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateRiskMeasureMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateRiskMeasureMappingPayload_riskEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.RiskEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNRiskEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateRiskMeasureMappingPayload_riskEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateRiskMeasureMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_RiskEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_RiskEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type RiskEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateRiskMeasureMappingPayload_measureEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateRiskMeasureMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateRiskMeasureMappingPayload_measureEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.MeasureEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNMeasureEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateRiskMeasureMappingPayload_measureEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateRiskMeasureMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_MeasureEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_MeasureEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type MeasureEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateRiskObligationMappingPayload_riskEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateRiskObligationMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateRiskObligationMappingPayload_riskEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.RiskEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNRiskEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateRiskObligationMappingPayload_riskEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateRiskObligationMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_RiskEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_RiskEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type RiskEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateRiskObligationMappingPayload_obligationEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateRiskObligationMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateRiskObligationMappingPayload_obligationEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ObligationEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNObligationEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateRiskObligationMappingPayload_obligationEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateRiskObligationMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ObligationEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ObligationEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ObligationEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateRiskPayload_riskEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateRiskPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateRiskPayload_riskEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.RiskEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNRiskEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateRiskPayload_riskEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateRiskPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_RiskEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_RiskEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type RiskEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateSnapshotPayload_snapshotEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateSnapshotPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateSnapshotPayload_snapshotEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SnapshotEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNSnapshotEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshotEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateSnapshotPayload_snapshotEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateSnapshotPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_SnapshotEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_SnapshotEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type SnapshotEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateStateOfApplicabilityControlMappingPayload_stateOfApplicabilityControlEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateStateOfApplicabilityControlMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateStateOfApplicabilityControlMappingPayload_stateOfApplicabilityControlEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.StateOfApplicabilityControlEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNStateOfApplicabilityControlEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityControlEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateStateOfApplicabilityControlMappingPayload_stateOfApplicabilityControlEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateStateOfApplicabilityControlMappingPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_StateOfApplicabilityControlEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_StateOfApplicabilityControlEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type StateOfApplicabilityControlEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateStateOfApplicabilityPayload_stateOfApplicabilityEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateStateOfApplicabilityPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateStateOfApplicabilityPayload_stateOfApplicabilityEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.StateOfApplicabilityEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNStateOfApplicabilityEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateStateOfApplicabilityPayload_stateOfApplicabilityEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateStateOfApplicabilityPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_StateOfApplicabilityEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_StateOfApplicabilityEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type StateOfApplicabilityEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateTaskPayload_taskEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateTaskPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateTaskPayload_taskEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TaskEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTaskEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTaskEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateTaskPayload_taskEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateTaskPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_TaskEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_TaskEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TaskEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateTransferImpactAssessmentPayload_transferImpactAssessment(ctx context.Context, field graphql.CollectedField, obj *types.CreateTransferImpactAssessmentPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateTransferImpactAssessmentPayload_transferImpactAssessment,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TransferImpactAssessment, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTransferImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessment,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateTransferImpactAssessmentPayload_transferImpactAssessment(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateTransferImpactAssessmentPayload",
|
|
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_TransferImpactAssessment_id(ctx, field)
|
|
case "processingActivity":
|
|
return ec.fieldContext_TransferImpactAssessment_processingActivity(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_TransferImpactAssessment_organization(ctx, field)
|
|
case "dataSubjects":
|
|
return ec.fieldContext_TransferImpactAssessment_dataSubjects(ctx, field)
|
|
case "legalMechanism":
|
|
return ec.fieldContext_TransferImpactAssessment_legalMechanism(ctx, field)
|
|
case "transfer":
|
|
return ec.fieldContext_TransferImpactAssessment_transfer(ctx, field)
|
|
case "localLawRisk":
|
|
return ec.fieldContext_TransferImpactAssessment_localLawRisk(ctx, field)
|
|
case "supplementaryMeasures":
|
|
return ec.fieldContext_TransferImpactAssessment_supplementaryMeasures(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TransferImpactAssessment_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TransferImpactAssessment_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TransferImpactAssessment_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TransferImpactAssessment", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateTrustCenterAccessPayload_trustCenterAccessEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateTrustCenterAccessPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateTrustCenterAccessPayload_trustCenterAccessEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TrustCenterAccessEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterAccessEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterAccessEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateTrustCenterAccessPayload_trustCenterAccessEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateTrustCenterAccessPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_TrustCenterAccessEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_TrustCenterAccessEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterAccessEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateTrustCenterFilePayload_trustCenterFileEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateTrustCenterFilePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateTrustCenterFilePayload_trustCenterFileEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TrustCenterFileEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterFileEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterFileEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateTrustCenterFilePayload_trustCenterFileEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateTrustCenterFilePayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_TrustCenterFileEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_TrustCenterFileEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterFileEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateTrustCenterReferencePayload_trustCenterReferenceEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateTrustCenterReferencePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateTrustCenterReferencePayload_trustCenterReferenceEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TrustCenterReferenceEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterReferenceEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterReferenceEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateTrustCenterReferencePayload_trustCenterReferenceEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateTrustCenterReferencePayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_TrustCenterReferenceEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_TrustCenterReferenceEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterReferenceEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateVendorContactPayload_vendorContactEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateVendorContactPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateVendorContactPayload_vendorContactEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.VendorContactEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorContactEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorContactEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateVendorContactPayload_vendorContactEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateVendorContactPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_VendorContactEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_VendorContactEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorContactEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateVendorPayload_vendorEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateVendorPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateVendorPayload_vendorEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.VendorEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateVendorPayload_vendorEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateVendorPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_VendorEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_VendorEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateVendorRiskAssessmentPayload_vendorRiskAssessmentEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateVendorRiskAssessmentPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateVendorRiskAssessmentPayload_vendorRiskAssessmentEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.VendorRiskAssessmentEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorRiskAssessmentEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorRiskAssessmentEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateVendorRiskAssessmentPayload_vendorRiskAssessmentEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateVendorRiskAssessmentPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_VendorRiskAssessmentEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_VendorRiskAssessmentEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorRiskAssessmentEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CreateVendorServicePayload_vendorServiceEdge(ctx context.Context, field graphql.CollectedField, obj *types.CreateVendorServicePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CreateVendorServicePayload_vendorServiceEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.VendorServiceEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorServiceEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorServiceEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CreateVendorServicePayload_vendorServiceEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CreateVendorServicePayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_VendorServiceEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_VendorServiceEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorServiceEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CustomDomain_id(ctx context.Context, field graphql.CollectedField, obj *types.CustomDomain) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CustomDomain_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_CustomDomain_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CustomDomain",
|
|
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) _CustomDomain_organization(ctx context.Context, field graphql.CollectedField, obj *types.CustomDomain) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CustomDomain_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Organization, nil
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CustomDomain_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CustomDomain",
|
|
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_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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _CustomDomain_domain(ctx context.Context, field graphql.CollectedField, obj *types.CustomDomain) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CustomDomain_domain,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Domain, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CustomDomain_domain(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CustomDomain",
|
|
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) _CustomDomain_sslStatus(ctx context.Context, field graphql.CollectedField, obj *types.CustomDomain) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CustomDomain_sslStatus,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SslStatus, nil
|
|
},
|
|
nil,
|
|
ec.marshalNSSLStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCustomDomainSSLStatus,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CustomDomain_sslStatus(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CustomDomain",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type SSLStatus does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CustomDomain_sslExpiresAt(ctx context.Context, field graphql.CollectedField, obj *types.CustomDomain) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CustomDomain_sslExpiresAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SslExpiresAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CustomDomain_sslExpiresAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CustomDomain",
|
|
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) _CustomDomain_dnsRecords(ctx context.Context, field graphql.CollectedField, obj *types.CustomDomain) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CustomDomain_dnsRecords,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DNSRecords, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDNSRecordInstruction2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDNSRecordInstructionᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CustomDomain_dnsRecords(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CustomDomain",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "type":
|
|
return ec.fieldContext_DNSRecordInstruction_type(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_DNSRecordInstruction_name(ctx, field)
|
|
case "value":
|
|
return ec.fieldContext_DNSRecordInstruction_value(ctx, field)
|
|
case "ttl":
|
|
return ec.fieldContext_DNSRecordInstruction_ttl(ctx, field)
|
|
case "purpose":
|
|
return ec.fieldContext_DNSRecordInstruction_purpose(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DNSRecordInstruction", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _CustomDomain_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.CustomDomain) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CustomDomain_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CustomDomain_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CustomDomain",
|
|
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) _CustomDomain_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.CustomDomain) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CustomDomain_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CustomDomain_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CustomDomain",
|
|
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) _CustomDomain_permission(ctx context.Context, field graphql.CollectedField, obj *types.CustomDomain) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_CustomDomain_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.CustomDomain().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_CustomDomain_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "CustomDomain",
|
|
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_CustomDomain_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DNSRecordInstruction_type(ctx context.Context, field graphql.CollectedField, obj *types.DNSRecordInstruction) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DNSRecordInstruction_type,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Type, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DNSRecordInstruction_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DNSRecordInstruction",
|
|
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) _DNSRecordInstruction_name(ctx context.Context, field graphql.CollectedField, obj *types.DNSRecordInstruction) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DNSRecordInstruction_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DNSRecordInstruction_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DNSRecordInstruction",
|
|
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) _DNSRecordInstruction_value(ctx context.Context, field graphql.CollectedField, obj *types.DNSRecordInstruction) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DNSRecordInstruction_value,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Value, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DNSRecordInstruction_value(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DNSRecordInstruction",
|
|
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) _DNSRecordInstruction_ttl(ctx context.Context, field graphql.CollectedField, obj *types.DNSRecordInstruction) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DNSRecordInstruction_ttl,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TTL, nil
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DNSRecordInstruction_ttl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DNSRecordInstruction",
|
|
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) _DNSRecordInstruction_purpose(ctx context.Context, field graphql.CollectedField, obj *types.DNSRecordInstruction) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DNSRecordInstruction_purpose,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Purpose, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DNSRecordInstruction_purpose(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DNSRecordInstruction",
|
|
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) _DataProtectionImpactAssessment_id(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessment_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_DataProtectionImpactAssessment_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessment",
|
|
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) _DataProtectionImpactAssessment_processingActivity(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessment_processingActivity,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.DataProtectionImpactAssessment().ProcessingActivity(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNProcessingActivity2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivity,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DataProtectionImpactAssessment_processingActivity(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessment",
|
|
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_ProcessingActivity_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_ProcessingActivity_snapshotId(ctx, field)
|
|
case "sourceId":
|
|
return ec.fieldContext_ProcessingActivity_sourceId(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_ProcessingActivity_organization(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_ProcessingActivity_name(ctx, field)
|
|
case "purpose":
|
|
return ec.fieldContext_ProcessingActivity_purpose(ctx, field)
|
|
case "dataSubjectCategory":
|
|
return ec.fieldContext_ProcessingActivity_dataSubjectCategory(ctx, field)
|
|
case "personalDataCategory":
|
|
return ec.fieldContext_ProcessingActivity_personalDataCategory(ctx, field)
|
|
case "specialOrCriminalData":
|
|
return ec.fieldContext_ProcessingActivity_specialOrCriminalData(ctx, field)
|
|
case "consentEvidenceLink":
|
|
return ec.fieldContext_ProcessingActivity_consentEvidenceLink(ctx, field)
|
|
case "lawfulBasis":
|
|
return ec.fieldContext_ProcessingActivity_lawfulBasis(ctx, field)
|
|
case "recipients":
|
|
return ec.fieldContext_ProcessingActivity_recipients(ctx, field)
|
|
case "location":
|
|
return ec.fieldContext_ProcessingActivity_location(ctx, field)
|
|
case "internationalTransfers":
|
|
return ec.fieldContext_ProcessingActivity_internationalTransfers(ctx, field)
|
|
case "transferSafeguards":
|
|
return ec.fieldContext_ProcessingActivity_transferSafeguards(ctx, field)
|
|
case "retentionPeriod":
|
|
return ec.fieldContext_ProcessingActivity_retentionPeriod(ctx, field)
|
|
case "securityMeasures":
|
|
return ec.fieldContext_ProcessingActivity_securityMeasures(ctx, field)
|
|
case "dataProtectionImpactAssessmentNeeded":
|
|
return ec.fieldContext_ProcessingActivity_dataProtectionImpactAssessmentNeeded(ctx, field)
|
|
case "transferImpactAssessmentNeeded":
|
|
return ec.fieldContext_ProcessingActivity_transferImpactAssessmentNeeded(ctx, field)
|
|
case "lastReviewDate":
|
|
return ec.fieldContext_ProcessingActivity_lastReviewDate(ctx, field)
|
|
case "nextReviewDate":
|
|
return ec.fieldContext_ProcessingActivity_nextReviewDate(ctx, field)
|
|
case "role":
|
|
return ec.fieldContext_ProcessingActivity_role(ctx, field)
|
|
case "dataProtectionOfficer":
|
|
return ec.fieldContext_ProcessingActivity_dataProtectionOfficer(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_ProcessingActivity_vendors(ctx, field)
|
|
case "dataProtectionImpactAssessment":
|
|
return ec.fieldContext_ProcessingActivity_dataProtectionImpactAssessment(ctx, field)
|
|
case "transferImpactAssessment":
|
|
return ec.fieldContext_ProcessingActivity_transferImpactAssessment(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_ProcessingActivity_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_ProcessingActivity_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_ProcessingActivity_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ProcessingActivity", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DataProtectionImpactAssessment_organization(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessment_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.DataProtectionImpactAssessment().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DataProtectionImpactAssessment_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessment",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _DataProtectionImpactAssessment_description(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessment_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DataProtectionImpactAssessment_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessment",
|
|
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) _DataProtectionImpactAssessment_necessityAndProportionality(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessment_necessityAndProportionality,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.NecessityAndProportionality, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DataProtectionImpactAssessment_necessityAndProportionality(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessment",
|
|
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) _DataProtectionImpactAssessment_potentialRisk(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessment_potentialRisk,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PotentialRisk, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DataProtectionImpactAssessment_potentialRisk(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessment",
|
|
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) _DataProtectionImpactAssessment_mitigations(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessment_mitigations,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Mitigations, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DataProtectionImpactAssessment_mitigations(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessment",
|
|
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) _DataProtectionImpactAssessment_residualRisk(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessment_residualRisk,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ResidualRisk, nil
|
|
},
|
|
nil,
|
|
ec.marshalODataProtectionImpactAssessmentResidualRisk2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentResidualRisk,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DataProtectionImpactAssessment_residualRisk(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessment",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type DataProtectionImpactAssessmentResidualRisk does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DataProtectionImpactAssessment_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessment_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DataProtectionImpactAssessment_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessment",
|
|
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) _DataProtectionImpactAssessment_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessment_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DataProtectionImpactAssessment_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessment",
|
|
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) _DataProtectionImpactAssessment_permission(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessment_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.DataProtectionImpactAssessment().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DataProtectionImpactAssessment_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessment",
|
|
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_DataProtectionImpactAssessment_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DataProtectionImpactAssessmentConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessmentConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessmentConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.DataProtectionImpactAssessmentConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DataProtectionImpactAssessmentConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessmentConnection",
|
|
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) _DataProtectionImpactAssessmentConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessmentConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessmentConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDataProtectionImpactAssessmentEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessmentEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DataProtectionImpactAssessmentConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessmentConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DataProtectionImpactAssessmentEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DataProtectionImpactAssessmentEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DataProtectionImpactAssessmentEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DataProtectionImpactAssessmentConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessmentConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessmentConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DataProtectionImpactAssessmentConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessmentConnection",
|
|
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) _DataProtectionImpactAssessmentEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessmentEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessmentEdge_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_DataProtectionImpactAssessmentEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessmentEdge",
|
|
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) _DataProtectionImpactAssessmentEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.DataProtectionImpactAssessmentEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DataProtectionImpactAssessmentEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDataProtectionImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessment,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DataProtectionImpactAssessmentEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DataProtectionImpactAssessmentEdge",
|
|
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_DataProtectionImpactAssessment_id(ctx, field)
|
|
case "processingActivity":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_processingActivity(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_organization(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_description(ctx, field)
|
|
case "necessityAndProportionality":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_necessityAndProportionality(ctx, field)
|
|
case "potentialRisk":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_potentialRisk(ctx, field)
|
|
case "mitigations":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_mitigations(ctx, field)
|
|
case "residualRisk":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_residualRisk(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DataProtectionImpactAssessment", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Datum_id(ctx context.Context, field graphql.CollectedField, obj *types.Datum) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Datum_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_Datum_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Datum",
|
|
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) _Datum_snapshotId(ctx context.Context, field graphql.CollectedField, obj *types.Datum) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Datum_snapshotId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SnapshotID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Datum_snapshotId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Datum",
|
|
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) _Datum_name(ctx context.Context, field graphql.CollectedField, obj *types.Datum) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Datum_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Datum_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Datum",
|
|
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) _Datum_dataClassification(ctx context.Context, field graphql.CollectedField, obj *types.Datum) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Datum_dataClassification,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DataClassification, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDataClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Datum_dataClassification(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Datum",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type DataClassification does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Datum_owner(ctx context.Context, field graphql.CollectedField, obj *types.Datum) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Datum_owner,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Datum().Owner(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Datum_owner(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Datum",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Datum_vendors(ctx context.Context, field graphql.CollectedField, obj *types.Datum) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Datum_vendors,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Datum().Vendors(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.VendorOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNVendorConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Datum_vendors(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Datum",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_VendorConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_VendorConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_VendorConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorConnection", 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_Datum_vendors_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Datum_organization(ctx context.Context, field graphql.CollectedField, obj *types.Datum) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Datum_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Datum().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Datum_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Datum",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _Datum_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Datum) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Datum_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Datum_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Datum",
|
|
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) _Datum_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Datum) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Datum_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Datum_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Datum",
|
|
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) _Datum_permission(ctx context.Context, field graphql.CollectedField, obj *types.Datum) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Datum_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Datum().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Datum_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Datum",
|
|
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_Datum_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DatumConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.DatumConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DatumConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.DatumConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DatumConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DatumConnection",
|
|
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) _DatumConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.DatumConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DatumConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatumEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatumEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DatumConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DatumConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DatumEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DatumEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DatumEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DatumConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.DatumConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DatumConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DatumConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DatumConnection",
|
|
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) _DatumEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.DatumEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DatumEdge_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_DatumEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DatumEdge",
|
|
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) _DatumEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.DatumEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DatumEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatum2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatum,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DatumEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DatumEdge",
|
|
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_Datum_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Datum_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Datum_name(ctx, field)
|
|
case "dataClassification":
|
|
return ec.fieldContext_Datum_dataClassification(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Datum_owner(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Datum_vendors(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Datum_organization(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Datum_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Datum_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Datum_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Datum", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DeleteAssetPayload_deletedAssetId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteAssetPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteAssetPayload_deletedAssetId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedAssetID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteAssetPayload_deletedAssetId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteAssetPayload",
|
|
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) _DeleteAuditPayload_deletedAuditId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteAuditPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteAuditPayload_deletedAuditId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedAuditID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteAuditPayload_deletedAuditId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteAuditPayload",
|
|
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) _DeleteAuditReportPayload_audit(ctx context.Context, field graphql.CollectedField, obj *types.DeleteAuditReportPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteAuditReportPayload_audit,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Audit, nil
|
|
},
|
|
nil,
|
|
ec.marshalNAudit2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAudit,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteAuditReportPayload_audit(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteAuditReportPayload",
|
|
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_Audit_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Audit_name(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Audit_organization(ctx, field)
|
|
case "framework":
|
|
return ec.fieldContext_Audit_framework(ctx, field)
|
|
case "validFrom":
|
|
return ec.fieldContext_Audit_validFrom(ctx, field)
|
|
case "validUntil":
|
|
return ec.fieldContext_Audit_validUntil(ctx, field)
|
|
case "report":
|
|
return ec.fieldContext_Audit_report(ctx, field)
|
|
case "reportUrl":
|
|
return ec.fieldContext_Audit_reportUrl(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_Audit_state(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Audit_controls(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_Audit_trustCenterVisibility(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Audit_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Audit_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Audit_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Audit", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DeleteContinualImprovementPayload_deletedContinualImprovementId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteContinualImprovementPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteContinualImprovementPayload_deletedContinualImprovementId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedContinualImprovementID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteContinualImprovementPayload_deletedContinualImprovementId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteContinualImprovementPayload",
|
|
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) _DeleteControlAuditMappingPayload_deletedControlId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteControlAuditMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteControlAuditMappingPayload_deletedControlId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedControlID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteControlAuditMappingPayload_deletedControlId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteControlAuditMappingPayload",
|
|
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) _DeleteControlAuditMappingPayload_deletedAuditId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteControlAuditMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteControlAuditMappingPayload_deletedAuditId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedAuditID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteControlAuditMappingPayload_deletedAuditId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteControlAuditMappingPayload",
|
|
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) _DeleteControlDocumentMappingPayload_deletedControlId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteControlDocumentMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteControlDocumentMappingPayload_deletedControlId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedControlID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteControlDocumentMappingPayload_deletedControlId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteControlDocumentMappingPayload",
|
|
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) _DeleteControlDocumentMappingPayload_deletedDocumentId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteControlDocumentMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteControlDocumentMappingPayload_deletedDocumentId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedDocumentID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteControlDocumentMappingPayload_deletedDocumentId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteControlDocumentMappingPayload",
|
|
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) _DeleteControlMeasureMappingPayload_deletedControlId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteControlMeasureMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteControlMeasureMappingPayload_deletedControlId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedControlID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteControlMeasureMappingPayload_deletedControlId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteControlMeasureMappingPayload",
|
|
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) _DeleteControlMeasureMappingPayload_deletedMeasureId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteControlMeasureMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteControlMeasureMappingPayload_deletedMeasureId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedMeasureID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteControlMeasureMappingPayload_deletedMeasureId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteControlMeasureMappingPayload",
|
|
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) _DeleteControlObligationMappingPayload_deletedControlId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteControlObligationMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteControlObligationMappingPayload_deletedControlId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedControlID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteControlObligationMappingPayload_deletedControlId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteControlObligationMappingPayload",
|
|
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) _DeleteControlObligationMappingPayload_deletedObligationId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteControlObligationMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteControlObligationMappingPayload_deletedObligationId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedObligationID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteControlObligationMappingPayload_deletedObligationId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteControlObligationMappingPayload",
|
|
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) _DeleteControlPayload_deletedControlId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteControlPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteControlPayload_deletedControlId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedControlID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteControlPayload_deletedControlId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteControlPayload",
|
|
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) _DeleteControlSnapshotMappingPayload_deletedControlId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteControlSnapshotMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteControlSnapshotMappingPayload_deletedControlId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedControlID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteControlSnapshotMappingPayload_deletedControlId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteControlSnapshotMappingPayload",
|
|
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) _DeleteControlSnapshotMappingPayload_deletedSnapshotId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteControlSnapshotMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteControlSnapshotMappingPayload_deletedSnapshotId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedSnapshotID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteControlSnapshotMappingPayload_deletedSnapshotId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteControlSnapshotMappingPayload",
|
|
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) _DeleteCustomDomainPayload_deletedCustomDomainId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteCustomDomainPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteCustomDomainPayload_deletedCustomDomainId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedCustomDomainID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteCustomDomainPayload_deletedCustomDomainId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteCustomDomainPayload",
|
|
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) _DeleteDataProtectionImpactAssessmentPayload_deletedDataProtectionImpactAssessmentId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteDataProtectionImpactAssessmentPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteDataProtectionImpactAssessmentPayload_deletedDataProtectionImpactAssessmentId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedDataProtectionImpactAssessmentID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteDataProtectionImpactAssessmentPayload_deletedDataProtectionImpactAssessmentId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteDataProtectionImpactAssessmentPayload",
|
|
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) _DeleteDatumPayload_deletedDatumId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteDatumPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteDatumPayload_deletedDatumId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedDatumID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteDatumPayload_deletedDatumId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteDatumPayload",
|
|
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) _DeleteDocumentPayload_deletedDocumentId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteDocumentPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteDocumentPayload_deletedDocumentId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedDocumentID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteDocumentPayload_deletedDocumentId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteDocumentPayload",
|
|
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) _DeleteDraftDocumentVersionPayload_deletedDocumentVersionId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteDraftDocumentVersionPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteDraftDocumentVersionPayload_deletedDocumentVersionId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedDocumentVersionID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteDraftDocumentVersionPayload_deletedDocumentVersionId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteDraftDocumentVersionPayload",
|
|
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) _DeleteEvidencePayload_deletedEvidenceId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteEvidencePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteEvidencePayload_deletedEvidenceId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedEvidenceID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteEvidencePayload_deletedEvidenceId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteEvidencePayload",
|
|
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) _DeleteFrameworkPayload_deletedFrameworkId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteFrameworkPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteFrameworkPayload_deletedFrameworkId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedFrameworkID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteFrameworkPayload_deletedFrameworkId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteFrameworkPayload",
|
|
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) _DeleteMeasurePayload_deletedMeasureId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteMeasurePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteMeasurePayload_deletedMeasureId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedMeasureID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteMeasurePayload_deletedMeasureId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteMeasurePayload",
|
|
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) _DeleteMeetingPayload_deletedMeetingId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteMeetingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteMeetingPayload_deletedMeetingId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedMeetingID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteMeetingPayload_deletedMeetingId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteMeetingPayload",
|
|
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) _DeleteNonconformityPayload_deletedNonconformityId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteNonconformityPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteNonconformityPayload_deletedNonconformityId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedNonconformityID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteNonconformityPayload_deletedNonconformityId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteNonconformityPayload",
|
|
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) _DeleteObligationPayload_deletedObligationId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteObligationPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteObligationPayload_deletedObligationId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedObligationID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteObligationPayload_deletedObligationId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteObligationPayload",
|
|
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) _DeletePeoplePayload_deletedPeopleId(ctx context.Context, field graphql.CollectedField, obj *types.DeletePeoplePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeletePeoplePayload_deletedPeopleId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedPeopleID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeletePeoplePayload_deletedPeopleId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeletePeoplePayload",
|
|
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) _DeleteProcessingActivityPayload_deletedProcessingActivityId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteProcessingActivityPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteProcessingActivityPayload_deletedProcessingActivityId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedProcessingActivityID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteProcessingActivityPayload_deletedProcessingActivityId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteProcessingActivityPayload",
|
|
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) _DeleteRightsRequestPayload_deletedRightsRequestId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteRightsRequestPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteRightsRequestPayload_deletedRightsRequestId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedRightsRequestID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteRightsRequestPayload_deletedRightsRequestId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteRightsRequestPayload",
|
|
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) _DeleteRiskDocumentMappingPayload_deletedRiskId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteRiskDocumentMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteRiskDocumentMappingPayload_deletedRiskId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedRiskID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteRiskDocumentMappingPayload_deletedRiskId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteRiskDocumentMappingPayload",
|
|
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) _DeleteRiskDocumentMappingPayload_deletedDocumentId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteRiskDocumentMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteRiskDocumentMappingPayload_deletedDocumentId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedDocumentID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteRiskDocumentMappingPayload_deletedDocumentId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteRiskDocumentMappingPayload",
|
|
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) _DeleteRiskMeasureMappingPayload_deletedMeasureId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteRiskMeasureMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteRiskMeasureMappingPayload_deletedMeasureId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedMeasureID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteRiskMeasureMappingPayload_deletedMeasureId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteRiskMeasureMappingPayload",
|
|
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) _DeleteRiskMeasureMappingPayload_deletedRiskId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteRiskMeasureMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteRiskMeasureMappingPayload_deletedRiskId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedRiskID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteRiskMeasureMappingPayload_deletedRiskId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteRiskMeasureMappingPayload",
|
|
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) _DeleteRiskObligationMappingPayload_deletedRiskId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteRiskObligationMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteRiskObligationMappingPayload_deletedRiskId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedRiskID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteRiskObligationMappingPayload_deletedRiskId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteRiskObligationMappingPayload",
|
|
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) _DeleteRiskObligationMappingPayload_deletedObligationId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteRiskObligationMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteRiskObligationMappingPayload_deletedObligationId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedObligationID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteRiskObligationMappingPayload_deletedObligationId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteRiskObligationMappingPayload",
|
|
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) _DeleteRiskPayload_deletedRiskId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteRiskPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteRiskPayload_deletedRiskId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedRiskID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteRiskPayload_deletedRiskId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteRiskPayload",
|
|
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) _DeleteSnapshotPayload_deletedSnapshotId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteSnapshotPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteSnapshotPayload_deletedSnapshotId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedSnapshotID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteSnapshotPayload_deletedSnapshotId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteSnapshotPayload",
|
|
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) _DeleteStateOfApplicabilityControlMappingPayload_deletedStateOfApplicabilityId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteStateOfApplicabilityControlMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteStateOfApplicabilityControlMappingPayload_deletedStateOfApplicabilityId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedStateOfApplicabilityID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteStateOfApplicabilityControlMappingPayload_deletedStateOfApplicabilityId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteStateOfApplicabilityControlMappingPayload",
|
|
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) _DeleteStateOfApplicabilityControlMappingPayload_deletedControlId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteStateOfApplicabilityControlMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteStateOfApplicabilityControlMappingPayload_deletedControlId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedControlID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteStateOfApplicabilityControlMappingPayload_deletedControlId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteStateOfApplicabilityControlMappingPayload",
|
|
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) _DeleteStateOfApplicabilityControlMappingPayload_deletedStateOfApplicabilityControlId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteStateOfApplicabilityControlMappingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteStateOfApplicabilityControlMappingPayload_deletedStateOfApplicabilityControlId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedStateOfApplicabilityControlID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteStateOfApplicabilityControlMappingPayload_deletedStateOfApplicabilityControlId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteStateOfApplicabilityControlMappingPayload",
|
|
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) _DeleteStateOfApplicabilityPayload_deletedStateOfApplicabilityId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteStateOfApplicabilityPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteStateOfApplicabilityPayload_deletedStateOfApplicabilityId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedStateOfApplicabilityID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteStateOfApplicabilityPayload_deletedStateOfApplicabilityId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteStateOfApplicabilityPayload",
|
|
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) _DeleteTaskPayload_deletedTaskId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteTaskPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteTaskPayload_deletedTaskId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedTaskID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteTaskPayload_deletedTaskId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteTaskPayload",
|
|
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) _DeleteTransferImpactAssessmentPayload_deletedTransferImpactAssessmentId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteTransferImpactAssessmentPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteTransferImpactAssessmentPayload_deletedTransferImpactAssessmentId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedTransferImpactAssessmentID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteTransferImpactAssessmentPayload_deletedTransferImpactAssessmentId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteTransferImpactAssessmentPayload",
|
|
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) _DeleteTrustCenterAccessPayload_deletedTrustCenterAccessId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteTrustCenterAccessPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteTrustCenterAccessPayload_deletedTrustCenterAccessId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedTrustCenterAccessID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteTrustCenterAccessPayload_deletedTrustCenterAccessId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteTrustCenterAccessPayload",
|
|
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) _DeleteTrustCenterFilePayload_deletedTrustCenterFileId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteTrustCenterFilePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteTrustCenterFilePayload_deletedTrustCenterFileId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedTrustCenterFileID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteTrustCenterFilePayload_deletedTrustCenterFileId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteTrustCenterFilePayload",
|
|
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) _DeleteTrustCenterNDAPayload_trustCenter(ctx context.Context, field graphql.CollectedField, obj *types.DeleteTrustCenterNDAPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteTrustCenterNDAPayload_trustCenter,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TrustCenter, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenter,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteTrustCenterNDAPayload_trustCenter(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteTrustCenterNDAPayload",
|
|
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_TrustCenter_id(ctx, field)
|
|
case "active":
|
|
return ec.fieldContext_TrustCenter_active(ctx, field)
|
|
case "ndaFileName":
|
|
return ec.fieldContext_TrustCenter_ndaFileName(ctx, field)
|
|
case "ndaFileUrl":
|
|
return ec.fieldContext_TrustCenter_ndaFileUrl(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TrustCenter_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TrustCenter_updatedAt(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_TrustCenter_organization(ctx, field)
|
|
case "accesses":
|
|
return ec.fieldContext_TrustCenter_accesses(ctx, field)
|
|
case "references":
|
|
return ec.fieldContext_TrustCenter_references(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TrustCenter_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenter", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DeleteTrustCenterReferencePayload_deletedTrustCenterReferenceId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteTrustCenterReferencePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteTrustCenterReferencePayload_deletedTrustCenterReferenceId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedTrustCenterReferenceID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteTrustCenterReferencePayload_deletedTrustCenterReferenceId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteTrustCenterReferencePayload",
|
|
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) _DeleteVendorBusinessAssociateAgreementPayload_deletedVendorId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteVendorBusinessAssociateAgreementPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteVendorBusinessAssociateAgreementPayload_deletedVendorId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedVendorID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteVendorBusinessAssociateAgreementPayload_deletedVendorId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteVendorBusinessAssociateAgreementPayload",
|
|
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) _DeleteVendorComplianceReportPayload_deletedVendorComplianceReportId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteVendorComplianceReportPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteVendorComplianceReportPayload_deletedVendorComplianceReportId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedVendorComplianceReportID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteVendorComplianceReportPayload_deletedVendorComplianceReportId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteVendorComplianceReportPayload",
|
|
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) _DeleteVendorContactPayload_deletedVendorContactId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteVendorContactPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteVendorContactPayload_deletedVendorContactId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedVendorContactID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteVendorContactPayload_deletedVendorContactId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteVendorContactPayload",
|
|
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) _DeleteVendorDataPrivacyAgreementPayload_deletedVendorId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteVendorDataPrivacyAgreementPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteVendorDataPrivacyAgreementPayload_deletedVendorId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedVendorID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteVendorDataPrivacyAgreementPayload_deletedVendorId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteVendorDataPrivacyAgreementPayload",
|
|
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) _DeleteVendorPayload_deletedVendorId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteVendorPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteVendorPayload_deletedVendorId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedVendorID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteVendorPayload_deletedVendorId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteVendorPayload",
|
|
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) _DeleteVendorServicePayload_deletedVendorServiceId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteVendorServicePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DeleteVendorServicePayload_deletedVendorServiceId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeletedVendorServiceID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DeleteVendorServicePayload_deletedVendorServiceId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DeleteVendorServicePayload",
|
|
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) _Document_id(ctx context.Context, field graphql.CollectedField, obj *types.Document) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Document_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_Document_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Document",
|
|
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) _Document_title(ctx context.Context, field graphql.CollectedField, obj *types.Document) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Document_title,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Title, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Document_title(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Document",
|
|
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) _Document_description(ctx context.Context, field graphql.CollectedField, obj *types.Document) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Document_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Document_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Document",
|
|
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) _Document_documentType(ctx context.Context, field graphql.CollectedField, obj *types.Document) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Document_documentType,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DocumentType, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Document_documentType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Document",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type DocumentType does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Document_classification(ctx context.Context, field graphql.CollectedField, obj *types.Document) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Document_classification,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Classification, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Document_classification(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Document",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type DocumentClassification does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Document_currentPublishedVersion(ctx context.Context, field graphql.CollectedField, obj *types.Document) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Document_currentPublishedVersion,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CurrentPublishedVersion, nil
|
|
},
|
|
nil,
|
|
ec.marshalOInt2ᚖint,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Document_currentPublishedVersion(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Document",
|
|
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) _Document_trustCenterVisibility(ctx context.Context, field graphql.CollectedField, obj *types.Document) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Document_trustCenterVisibility,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TrustCenterVisibility, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterVisibility2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Document_trustCenterVisibility(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Document",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type TrustCenterVisibility does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Document_owner(ctx context.Context, field graphql.CollectedField, obj *types.Document) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Document_owner,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Document().Owner(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Document_owner(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Document",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Document_organization(ctx context.Context, field graphql.CollectedField, obj *types.Document) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Document_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Document().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Document_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Document",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _Document_versions(ctx context.Context, field graphql.CollectedField, obj *types.Document) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Document_versions,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Document().Versions(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.DocumentVersionOrderBy), fc.Args["filter"].(*types.DocumentVersionFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersionConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Document_versions(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Document",
|
|
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_DocumentVersionConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_DocumentVersionConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersionConnection", 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_Document_versions_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Document_controls(ctx context.Context, field graphql.CollectedField, obj *types.Document) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Document_controls,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Document().Controls(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.ControlOrderBy), fc.Args["filter"].(*types.ControlFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNControlConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Document_controls(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Document",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_ControlConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_ControlConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_ControlConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlConnection", 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_Document_controls_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Document_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Document) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Document_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Document_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Document",
|
|
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) _Document_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Document) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Document_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Document_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Document",
|
|
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) _Document_permission(ctx context.Context, field graphql.CollectedField, obj *types.Document) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Document_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Document().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Document_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Document",
|
|
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_Document_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.DocumentConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.DocumentConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentConnection",
|
|
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) _DocumentConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.DocumentConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DocumentEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DocumentEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.DocumentConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentConnection",
|
|
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) _DocumentEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.DocumentEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentEdge_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_DocumentEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentEdge",
|
|
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) _DocumentEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.DocumentEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocument2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocument,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentEdge",
|
|
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_Document_id(ctx, field)
|
|
case "title":
|
|
return ec.fieldContext_Document_title(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Document_description(ctx, field)
|
|
case "documentType":
|
|
return ec.fieldContext_Document_documentType(ctx, field)
|
|
case "classification":
|
|
return ec.fieldContext_Document_classification(ctx, field)
|
|
case "currentPublishedVersion":
|
|
return ec.fieldContext_Document_currentPublishedVersion(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_Document_trustCenterVisibility(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Document_owner(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Document_organization(ctx, field)
|
|
case "versions":
|
|
return ec.fieldContext_Document_versions(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Document_controls(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Document_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Document_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Document_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Document", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersion_id(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_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_DocumentVersion_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
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) _DocumentVersion_document(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_document,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.DocumentVersion().Document(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNDocument2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocument,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersion_document(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
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_Document_id(ctx, field)
|
|
case "title":
|
|
return ec.fieldContext_Document_title(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Document_description(ctx, field)
|
|
case "documentType":
|
|
return ec.fieldContext_Document_documentType(ctx, field)
|
|
case "classification":
|
|
return ec.fieldContext_Document_classification(ctx, field)
|
|
case "currentPublishedVersion":
|
|
return ec.fieldContext_Document_currentPublishedVersion(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_Document_trustCenterVisibility(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Document_owner(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Document_organization(ctx, field)
|
|
case "versions":
|
|
return ec.fieldContext_Document_versions(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Document_controls(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Document_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Document_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Document_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Document", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersion_status(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_status,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Status, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentStatus,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersion_status(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type DocumentStatus does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersion_version(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_version,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Version, nil
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersion_version(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
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) _DocumentVersion_content(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_content,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Content, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersion_content(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
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) _DocumentVersion_changelog(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_changelog,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Changelog, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersion_changelog(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
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) _DocumentVersion_title(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_title,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Title, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersion_title(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
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) _DocumentVersion_classification(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_classification,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Classification, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersion_classification(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type DocumentClassification does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersion_owner(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_owner,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.DocumentVersion().Owner(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersion_owner(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersion_signatures(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_signatures,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.DocumentVersion().Signatures(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.DocumentVersionSignatureOrder), fc.Args["filter"].(*types.DocumentVersionSignatureFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersionSignatureConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignatureConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersion_signatures(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
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_DocumentVersionSignatureConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_DocumentVersionSignatureConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersionSignatureConnection", 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_DocumentVersion_signatures_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersion_signed(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_signed,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.DocumentVersion().Signed(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersion_signed(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
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")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersion_publishedAt(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_publishedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PublishedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersion_publishedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
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) _DocumentVersion_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersion_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
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) _DocumentVersion_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersion_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
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) _DocumentVersion_permission(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersion) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersion_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.DocumentVersion().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersion_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersion",
|
|
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_DocumentVersion_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersionConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersionEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersionConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DocumentVersionEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DocumentVersionEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersionEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersionConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersionConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionConnection",
|
|
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) _DocumentVersionEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionEdge_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_DocumentVersionEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionEdge",
|
|
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) _DocumentVersionEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersion2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersion,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersionEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionEdge",
|
|
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_DocumentVersion_id(ctx, field)
|
|
case "document":
|
|
return ec.fieldContext_DocumentVersion_document(ctx, field)
|
|
case "status":
|
|
return ec.fieldContext_DocumentVersion_status(ctx, field)
|
|
case "version":
|
|
return ec.fieldContext_DocumentVersion_version(ctx, field)
|
|
case "content":
|
|
return ec.fieldContext_DocumentVersion_content(ctx, field)
|
|
case "changelog":
|
|
return ec.fieldContext_DocumentVersion_changelog(ctx, field)
|
|
case "title":
|
|
return ec.fieldContext_DocumentVersion_title(ctx, field)
|
|
case "classification":
|
|
return ec.fieldContext_DocumentVersion_classification(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_DocumentVersion_owner(ctx, field)
|
|
case "signatures":
|
|
return ec.fieldContext_DocumentVersion_signatures(ctx, field)
|
|
case "signed":
|
|
return ec.fieldContext_DocumentVersion_signed(ctx, field)
|
|
case "publishedAt":
|
|
return ec.fieldContext_DocumentVersion_publishedAt(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_DocumentVersion_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_DocumentVersion_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_DocumentVersion_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersion", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersionSignature_id(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionSignature) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionSignature_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_DocumentVersionSignature_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionSignature",
|
|
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) _DocumentVersionSignature_documentVersion(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionSignature) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionSignature_documentVersion,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.DocumentVersionSignature().DocumentVersion(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersion2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersion,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersionSignature_documentVersion(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionSignature",
|
|
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_DocumentVersion_id(ctx, field)
|
|
case "document":
|
|
return ec.fieldContext_DocumentVersion_document(ctx, field)
|
|
case "status":
|
|
return ec.fieldContext_DocumentVersion_status(ctx, field)
|
|
case "version":
|
|
return ec.fieldContext_DocumentVersion_version(ctx, field)
|
|
case "content":
|
|
return ec.fieldContext_DocumentVersion_content(ctx, field)
|
|
case "changelog":
|
|
return ec.fieldContext_DocumentVersion_changelog(ctx, field)
|
|
case "title":
|
|
return ec.fieldContext_DocumentVersion_title(ctx, field)
|
|
case "classification":
|
|
return ec.fieldContext_DocumentVersion_classification(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_DocumentVersion_owner(ctx, field)
|
|
case "signatures":
|
|
return ec.fieldContext_DocumentVersion_signatures(ctx, field)
|
|
case "signed":
|
|
return ec.fieldContext_DocumentVersion_signed(ctx, field)
|
|
case "publishedAt":
|
|
return ec.fieldContext_DocumentVersion_publishedAt(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_DocumentVersion_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_DocumentVersion_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_DocumentVersion_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersion", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersionSignature_state(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionSignature) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionSignature_state,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.State, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersionSignatureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureState,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersionSignature_state(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionSignature",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type DocumentVersionSignatureState does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersionSignature_signedBy(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionSignature) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionSignature_signedBy,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.DocumentVersionSignature().SignedBy(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersionSignature_signedBy(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionSignature",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersionSignature_signedAt(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionSignature) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionSignature_signedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SignedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersionSignature_signedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionSignature",
|
|
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) _DocumentVersionSignature_requestedAt(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionSignature) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionSignature_requestedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.RequestedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersionSignature_requestedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionSignature",
|
|
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) _DocumentVersionSignature_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionSignature) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionSignature_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersionSignature_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionSignature",
|
|
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) _DocumentVersionSignature_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionSignature) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionSignature_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersionSignature_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionSignature",
|
|
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) _DocumentVersionSignature_permission(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionSignature) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionSignature_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.DocumentVersionSignature().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersionSignature_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionSignature",
|
|
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_DocumentVersionSignature_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersionSignatureConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionSignatureConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionSignatureConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersionSignatureEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignatureEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersionSignatureConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionSignatureConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DocumentVersionSignatureEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DocumentVersionSignatureEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersionSignatureEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _DocumentVersionSignatureConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionSignatureConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionSignatureConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersionSignatureConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionSignatureConnection",
|
|
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) _DocumentVersionSignatureEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionSignatureEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionSignatureEdge_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_DocumentVersionSignatureEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionSignatureEdge",
|
|
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) _DocumentVersionSignatureEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.DocumentVersionSignatureEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_DocumentVersionSignatureEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersionSignature2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignature,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_DocumentVersionSignatureEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "DocumentVersionSignatureEdge",
|
|
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_DocumentVersionSignature_id(ctx, field)
|
|
case "documentVersion":
|
|
return ec.fieldContext_DocumentVersionSignature_documentVersion(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_DocumentVersionSignature_state(ctx, field)
|
|
case "signedBy":
|
|
return ec.fieldContext_DocumentVersionSignature_signedBy(ctx, field)
|
|
case "signedAt":
|
|
return ec.fieldContext_DocumentVersionSignature_signedAt(ctx, field)
|
|
case "requestedAt":
|
|
return ec.fieldContext_DocumentVersionSignature_requestedAt(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_DocumentVersionSignature_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_DocumentVersionSignature_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_DocumentVersionSignature_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersionSignature", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Evidence_id(ctx context.Context, field graphql.CollectedField, obj *types.Evidence) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Evidence_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_Evidence_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Evidence",
|
|
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) _Evidence_size(ctx context.Context, field graphql.CollectedField, obj *types.Evidence) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Evidence_size,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Size, nil
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Evidence_size(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Evidence",
|
|
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) _Evidence_state(ctx context.Context, field graphql.CollectedField, obj *types.Evidence) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Evidence_state,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.State, nil
|
|
},
|
|
nil,
|
|
ec.marshalNEvidenceState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceState,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Evidence_state(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Evidence",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type EvidenceState does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Evidence_type(ctx context.Context, field graphql.CollectedField, obj *types.Evidence) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Evidence_type,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Type, nil
|
|
},
|
|
nil,
|
|
ec.marshalNEvidenceType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceType,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Evidence_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Evidence",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type EvidenceType does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Evidence_file(ctx context.Context, field graphql.CollectedField, obj *types.Evidence) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Evidence_file,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Evidence().File(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOFile2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFile,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Evidence_file(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Evidence",
|
|
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_File_id(ctx, field)
|
|
case "mimeType":
|
|
return ec.fieldContext_File_mimeType(ctx, field)
|
|
case "fileName":
|
|
return ec.fieldContext_File_fileName(ctx, field)
|
|
case "size":
|
|
return ec.fieldContext_File_size(ctx, field)
|
|
case "downloadUrl":
|
|
return ec.fieldContext_File_downloadUrl(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_File_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_File_updatedAt(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type File", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Evidence_url(ctx context.Context, field graphql.CollectedField, obj *types.Evidence) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Evidence_url,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.URL, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Evidence_url(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Evidence",
|
|
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) _Evidence_description(ctx context.Context, field graphql.CollectedField, obj *types.Evidence) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Evidence_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Evidence_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Evidence",
|
|
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) _Evidence_task(ctx context.Context, field graphql.CollectedField, obj *types.Evidence) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Evidence_task,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Evidence().Task(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOTask2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTask,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Evidence_task(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Evidence",
|
|
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_Task_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Task_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Task_description(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_Task_state(ctx, field)
|
|
case "timeEstimate":
|
|
return ec.fieldContext_Task_timeEstimate(ctx, field)
|
|
case "deadline":
|
|
return ec.fieldContext_Task_deadline(ctx, field)
|
|
case "assignedTo":
|
|
return ec.fieldContext_Task_assignedTo(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Task_organization(ctx, field)
|
|
case "measure":
|
|
return ec.fieldContext_Task_measure(ctx, field)
|
|
case "evidences":
|
|
return ec.fieldContext_Task_evidences(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Task_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Task_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Task_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Task", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Evidence_measure(ctx context.Context, field graphql.CollectedField, obj *types.Evidence) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Evidence_measure,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Evidence().Measure(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNMeasure2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasure,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Evidence_measure(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Evidence",
|
|
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_Measure_id(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Measure_category(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Measure_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Measure_description(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_Measure_state(ctx, field)
|
|
case "evidences":
|
|
return ec.fieldContext_Measure_evidences(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Measure_tasks(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Measure_risks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Measure_controls(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Measure_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Measure_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Measure_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Measure", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Evidence_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Evidence) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Evidence_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Evidence_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Evidence",
|
|
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) _Evidence_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Evidence) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Evidence_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Evidence_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Evidence",
|
|
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) _Evidence_permission(ctx context.Context, field graphql.CollectedField, obj *types.Evidence) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Evidence_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Evidence().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Evidence_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Evidence",
|
|
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_Evidence_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _EvidenceConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.EvidenceConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_EvidenceConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.EvidenceConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_EvidenceConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "EvidenceConnection",
|
|
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) _EvidenceConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.EvidenceConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_EvidenceConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNEvidenceEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐEvidenceEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_EvidenceConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "EvidenceConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_EvidenceEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_EvidenceEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type EvidenceEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _EvidenceConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.EvidenceConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_EvidenceConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_EvidenceConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "EvidenceConnection",
|
|
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) _EvidenceEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.EvidenceEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_EvidenceEdge_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_EvidenceEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "EvidenceEdge",
|
|
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) _EvidenceEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.EvidenceEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_EvidenceEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNEvidence2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐEvidence,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_EvidenceEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "EvidenceEdge",
|
|
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_Evidence_id(ctx, field)
|
|
case "size":
|
|
return ec.fieldContext_Evidence_size(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_Evidence_state(ctx, field)
|
|
case "type":
|
|
return ec.fieldContext_Evidence_type(ctx, field)
|
|
case "file":
|
|
return ec.fieldContext_Evidence_file(ctx, field)
|
|
case "url":
|
|
return ec.fieldContext_Evidence_url(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Evidence_description(ctx, field)
|
|
case "task":
|
|
return ec.fieldContext_Evidence_task(ctx, field)
|
|
case "measure":
|
|
return ec.fieldContext_Evidence_measure(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Evidence_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Evidence_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Evidence_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Evidence", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ExportDataProtectionImpactAssessmentsPDFPayload_data(ctx context.Context, field graphql.CollectedField, obj *types.ExportDataProtectionImpactAssessmentsPDFPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ExportDataProtectionImpactAssessmentsPDFPayload_data,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Data, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ExportDataProtectionImpactAssessmentsPDFPayload_data(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ExportDataProtectionImpactAssessmentsPDFPayload",
|
|
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) _ExportDocumentVersionPDFPayload_data(ctx context.Context, field graphql.CollectedField, obj *types.ExportDocumentVersionPDFPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ExportDocumentVersionPDFPayload_data,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Data, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ExportDocumentVersionPDFPayload_data(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ExportDocumentVersionPDFPayload",
|
|
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) _ExportFrameworkPayload_exportJobId(ctx context.Context, field graphql.CollectedField, obj *types.ExportFrameworkPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ExportFrameworkPayload_exportJobId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ExportJobID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ExportFrameworkPayload_exportJobId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ExportFrameworkPayload",
|
|
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) _ExportProcessingActivitiesPDFPayload_data(ctx context.Context, field graphql.CollectedField, obj *types.ExportProcessingActivitiesPDFPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ExportProcessingActivitiesPDFPayload_data,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Data, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ExportProcessingActivitiesPDFPayload_data(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ExportProcessingActivitiesPDFPayload",
|
|
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) _ExportSignableDocumentVersionPDFPayload_data(ctx context.Context, field graphql.CollectedField, obj *types.ExportSignableDocumentVersionPDFPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ExportSignableDocumentVersionPDFPayload_data,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Data, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ExportSignableDocumentVersionPDFPayload_data(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ExportSignableDocumentVersionPDFPayload",
|
|
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) _ExportStateOfApplicabilityPDFPayload_data(ctx context.Context, field graphql.CollectedField, obj *types.ExportStateOfApplicabilityPDFPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ExportStateOfApplicabilityPDFPayload_data,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Data, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ExportStateOfApplicabilityPDFPayload_data(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ExportStateOfApplicabilityPDFPayload",
|
|
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) _ExportTransferImpactAssessmentsPDFPayload_data(ctx context.Context, field graphql.CollectedField, obj *types.ExportTransferImpactAssessmentsPDFPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ExportTransferImpactAssessmentsPDFPayload_data,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Data, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ExportTransferImpactAssessmentsPDFPayload_data(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ExportTransferImpactAssessmentsPDFPayload",
|
|
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) _File_id(ctx context.Context, field graphql.CollectedField, obj *types.File) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_File_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_File_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "File",
|
|
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) _File_mimeType(ctx context.Context, field graphql.CollectedField, obj *types.File) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_File_mimeType,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.MimeType, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_File_mimeType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "File",
|
|
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) _File_fileName(ctx context.Context, field graphql.CollectedField, obj *types.File) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_File_fileName,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.FileName, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_File_fileName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "File",
|
|
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) _File_size(ctx context.Context, field graphql.CollectedField, obj *types.File) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_File_size,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Size, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBigInt2int64,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_File_size(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "File",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type BigInt does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _File_downloadUrl(ctx context.Context, field graphql.CollectedField, obj *types.File) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_File_downloadUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.File().DownloadURL(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_File_downloadUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "File",
|
|
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) _File_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.File) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_File_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_File_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "File",
|
|
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) _File_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.File) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_File_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_File_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "File",
|
|
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) _Framework_id(ctx context.Context, field graphql.CollectedField, obj *types.Framework) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Framework_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_Framework_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Framework",
|
|
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) _Framework_name(ctx context.Context, field graphql.CollectedField, obj *types.Framework) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Framework_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Framework_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Framework",
|
|
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) _Framework_description(ctx context.Context, field graphql.CollectedField, obj *types.Framework) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Framework_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Framework_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Framework",
|
|
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) _Framework_organization(ctx context.Context, field graphql.CollectedField, obj *types.Framework) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Framework_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Framework().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Framework_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Framework",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _Framework_controls(ctx context.Context, field graphql.CollectedField, obj *types.Framework) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Framework_controls,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Framework().Controls(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.ControlOrderBy), fc.Args["filter"].(*types.ControlFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNControlConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Framework_controls(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Framework",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_ControlConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_ControlConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_ControlConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlConnection", 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_Framework_controls_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Framework_lightLogoURL(ctx context.Context, field graphql.CollectedField, obj *types.Framework) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Framework_lightLogoURL,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Framework().LightLogoURL(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Framework_lightLogoURL(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Framework",
|
|
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) _Framework_darkLogoURL(ctx context.Context, field graphql.CollectedField, obj *types.Framework) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Framework_darkLogoURL,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Framework().DarkLogoURL(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Framework_darkLogoURL(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Framework",
|
|
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) _Framework_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Framework) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Framework_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Framework_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Framework",
|
|
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) _Framework_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Framework) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Framework_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Framework_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Framework",
|
|
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) _Framework_permission(ctx context.Context, field graphql.CollectedField, obj *types.Framework) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Framework_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Framework().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Framework_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Framework",
|
|
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_Framework_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _FrameworkConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.FrameworkConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_FrameworkConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.FrameworkConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_FrameworkConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "FrameworkConnection",
|
|
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) _FrameworkConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.FrameworkConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_FrameworkConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNFrameworkEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFrameworkEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_FrameworkConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "FrameworkConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_FrameworkEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_FrameworkEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type FrameworkEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _FrameworkConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.FrameworkConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_FrameworkConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_FrameworkConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "FrameworkConnection",
|
|
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) _FrameworkEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.FrameworkEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_FrameworkEdge_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_FrameworkEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "FrameworkEdge",
|
|
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) _FrameworkEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.FrameworkEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_FrameworkEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNFramework2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFramework,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_FrameworkEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "FrameworkEdge",
|
|
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_Framework_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Framework_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Framework_description(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Framework_organization(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Framework_controls(ctx, field)
|
|
case "lightLogoURL":
|
|
return ec.fieldContext_Framework_lightLogoURL(ctx, field)
|
|
case "darkLogoURL":
|
|
return ec.fieldContext_Framework_darkLogoURL(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Framework_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Framework_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Framework_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Framework", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _GenerateDocumentChangelogPayload_changelog(ctx context.Context, field graphql.CollectedField, obj *types.GenerateDocumentChangelogPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_GenerateDocumentChangelogPayload_changelog,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Changelog, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_GenerateDocumentChangelogPayload_changelog(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "GenerateDocumentChangelogPayload",
|
|
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) _GenerateFrameworkStateOfApplicabilityPayload_data(ctx context.Context, field graphql.CollectedField, obj *types.GenerateFrameworkStateOfApplicabilityPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_GenerateFrameworkStateOfApplicabilityPayload_data,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Data, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_GenerateFrameworkStateOfApplicabilityPayload_data(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "GenerateFrameworkStateOfApplicabilityPayload",
|
|
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) _GetTrustCenterFilePayload_trustCenterFile(ctx context.Context, field graphql.CollectedField, obj *types.GetTrustCenterFilePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_GetTrustCenterFilePayload_trustCenterFile,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TrustCenterFile, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterFile2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterFile,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_GetTrustCenterFilePayload_trustCenterFile(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "GetTrustCenterFilePayload",
|
|
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_TrustCenterFile_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_TrustCenterFile_name(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_TrustCenterFile_category(ctx, field)
|
|
case "fileUrl":
|
|
return ec.fieldContext_TrustCenterFile_fileUrl(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_TrustCenterFile_trustCenterVisibility(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TrustCenterFile_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TrustCenterFile_updatedAt(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_TrustCenterFile_organization(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TrustCenterFile_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterFile", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ImportFrameworkPayload_frameworkEdge(ctx context.Context, field graphql.CollectedField, obj *types.ImportFrameworkPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ImportFrameworkPayload_frameworkEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.FrameworkEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNFrameworkEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFrameworkEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ImportFrameworkPayload_frameworkEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ImportFrameworkPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_FrameworkEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_FrameworkEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type FrameworkEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ImportMeasurePayload_measureEdges(ctx context.Context, field graphql.CollectedField, obj *types.ImportMeasurePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ImportMeasurePayload_measureEdges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.MeasureEdges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNMeasureEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ImportMeasurePayload_measureEdges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ImportMeasurePayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_MeasureEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_MeasureEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type MeasureEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Measure_id(ctx context.Context, field graphql.CollectedField, obj *types.Measure) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Measure_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_Measure_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Measure",
|
|
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) _Measure_category(ctx context.Context, field graphql.CollectedField, obj *types.Measure) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Measure_category,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Category, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Measure_category(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Measure",
|
|
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) _Measure_name(ctx context.Context, field graphql.CollectedField, obj *types.Measure) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Measure_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Measure_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Measure",
|
|
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) _Measure_description(ctx context.Context, field graphql.CollectedField, obj *types.Measure) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Measure_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Measure_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Measure",
|
|
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) _Measure_state(ctx context.Context, field graphql.CollectedField, obj *types.Measure) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Measure_state,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.State, nil
|
|
},
|
|
nil,
|
|
ec.marshalNMeasureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Measure_state(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Measure",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type MeasureState does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Measure_evidences(ctx context.Context, field graphql.CollectedField, obj *types.Measure) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Measure_evidences,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Measure().Evidences(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.EvidenceOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNEvidenceConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐEvidenceConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Measure_evidences(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Measure",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_EvidenceConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_EvidenceConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_EvidenceConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type EvidenceConnection", 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_Measure_evidences_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Measure_tasks(ctx context.Context, field graphql.CollectedField, obj *types.Measure) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Measure_tasks,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Measure().Tasks(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.TaskOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNTaskConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTaskConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Measure_tasks(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Measure",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_TaskConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_TaskConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_TaskConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TaskConnection", 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_Measure_tasks_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Measure_risks(ctx context.Context, field graphql.CollectedField, obj *types.Measure) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Measure_risks,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Measure().Risks(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.RiskOrderBy), fc.Args["filter"].(*types.RiskFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNRiskConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Measure_risks(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Measure",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_RiskConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_RiskConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_RiskConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type RiskConnection", 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_Measure_risks_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Measure_controls(ctx context.Context, field graphql.CollectedField, obj *types.Measure) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Measure_controls,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Measure().Controls(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.ControlOrderBy), fc.Args["filter"].(*types.ControlFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNControlConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Measure_controls(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Measure",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_ControlConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_ControlConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_ControlConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlConnection", 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_Measure_controls_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Measure_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Measure) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Measure_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Measure_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Measure",
|
|
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) _Measure_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Measure) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Measure_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Measure_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Measure",
|
|
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) _Measure_permission(ctx context.Context, field graphql.CollectedField, obj *types.Measure) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Measure_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Measure().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Measure_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Measure",
|
|
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_Measure_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _MeasureConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.MeasureConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_MeasureConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.MeasureConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_MeasureConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "MeasureConnection",
|
|
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) _MeasureConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.MeasureConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_MeasureConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNMeasureEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_MeasureConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "MeasureConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_MeasureEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_MeasureEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type MeasureEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _MeasureConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.MeasureConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_MeasureConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_MeasureConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "MeasureConnection",
|
|
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) _MeasureEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.MeasureEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_MeasureEdge_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_MeasureEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "MeasureEdge",
|
|
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) _MeasureEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.MeasureEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_MeasureEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNMeasure2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasure,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_MeasureEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "MeasureEdge",
|
|
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_Measure_id(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Measure_category(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Measure_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Measure_description(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_Measure_state(ctx, field)
|
|
case "evidences":
|
|
return ec.fieldContext_Measure_evidences(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Measure_tasks(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Measure_risks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Measure_controls(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Measure_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Measure_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Measure_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Measure", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Meeting_id(ctx context.Context, field graphql.CollectedField, obj *types.Meeting) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Meeting_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_Meeting_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Meeting",
|
|
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) _Meeting_name(ctx context.Context, field graphql.CollectedField, obj *types.Meeting) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Meeting_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Meeting_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Meeting",
|
|
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) _Meeting_date(ctx context.Context, field graphql.CollectedField, obj *types.Meeting) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Meeting_date,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Date, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Meeting_date(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Meeting",
|
|
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) _Meeting_minutes(ctx context.Context, field graphql.CollectedField, obj *types.Meeting) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Meeting_minutes,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Minutes, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Meeting_minutes(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Meeting",
|
|
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) _Meeting_attendees(ctx context.Context, field graphql.CollectedField, obj *types.Meeting) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Meeting_attendees,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Meeting().Attendees(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNPeople2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeopleᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Meeting_attendees(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Meeting",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Meeting_organization(ctx context.Context, field graphql.CollectedField, obj *types.Meeting) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Meeting_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Meeting().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Meeting_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Meeting",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _Meeting_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Meeting) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Meeting_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Meeting_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Meeting",
|
|
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) _Meeting_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Meeting) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Meeting_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Meeting_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Meeting",
|
|
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) _Meeting_permission(ctx context.Context, field graphql.CollectedField, obj *types.Meeting) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Meeting_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Meeting().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Meeting_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Meeting",
|
|
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_Meeting_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _MeetingConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.MeetingConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_MeetingConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.MeetingConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_MeetingConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "MeetingConnection",
|
|
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) _MeetingConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.MeetingConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_MeetingConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNMeetingEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeetingEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_MeetingConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "MeetingConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_MeetingEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_MeetingEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type MeetingEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _MeetingConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.MeetingConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_MeetingConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_MeetingConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "MeetingConnection",
|
|
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) _MeetingEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.MeetingEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_MeetingEdge_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_MeetingEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "MeetingEdge",
|
|
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) _MeetingEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.MeetingEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_MeetingEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNMeeting2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeeting,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_MeetingEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "MeetingEdge",
|
|
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_Meeting_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Meeting_name(ctx, field)
|
|
case "date":
|
|
return ec.fieldContext_Meeting_date(ctx, field)
|
|
case "minutes":
|
|
return ec.fieldContext_Meeting_minutes(ctx, field)
|
|
case "attendees":
|
|
return ec.fieldContext_Meeting_attendees(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Meeting_organization(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Meeting_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Meeting_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Meeting_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Meeting", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateOrganizationContext(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateOrganizationContext,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateOrganizationContext(ctx, fc.Args["input"].(types.UpdateOrganizationContextInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateOrganizationContextPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateOrganizationContextPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateOrganizationContext(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 "context":
|
|
return ec.fieldContext_UpdateOrganizationContextPayload_context(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateOrganizationContextPayload", 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_updateOrganizationContext_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateTrustCenter(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateTrustCenter,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateTrustCenter(ctx, fc.Args["input"].(types.UpdateTrustCenterInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateTrustCenterPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateTrustCenter(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 "trustCenter":
|
|
return ec.fieldContext_UpdateTrustCenterPayload_trustCenter(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateTrustCenterPayload", 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_updateTrustCenter_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_uploadTrustCenterNDA(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_uploadTrustCenterNDA,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UploadTrustCenterNda(ctx, fc.Args["input"].(types.UploadTrustCenterNDAInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUploadTrustCenterNDAPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadTrustCenterNDAPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_uploadTrustCenterNDA(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 "trustCenter":
|
|
return ec.fieldContext_UploadTrustCenterNDAPayload_trustCenter(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UploadTrustCenterNDAPayload", 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_uploadTrustCenterNDA_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteTrustCenterNDA(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteTrustCenterNDA,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteTrustCenterNda(ctx, fc.Args["input"].(types.DeleteTrustCenterNDAInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteTrustCenterNDAPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterNDAPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteTrustCenterNDA(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 "trustCenter":
|
|
return ec.fieldContext_DeleteTrustCenterNDAPayload_trustCenter(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteTrustCenterNDAPayload", 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_deleteTrustCenterNDA_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createTrustCenterAccess(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createTrustCenterAccess,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateTrustCenterAccess(ctx, fc.Args["input"].(types.CreateTrustCenterAccessInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateTrustCenterAccessPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterAccessPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createTrustCenterAccess(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 "trustCenterAccessEdge":
|
|
return ec.fieldContext_CreateTrustCenterAccessPayload_trustCenterAccessEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateTrustCenterAccessPayload", 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_createTrustCenterAccess_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateTrustCenterAccess(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateTrustCenterAccess,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateTrustCenterAccess(ctx, fc.Args["input"].(types.UpdateTrustCenterAccessInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateTrustCenterAccessPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterAccessPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateTrustCenterAccess(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 "trustCenterAccess":
|
|
return ec.fieldContext_UpdateTrustCenterAccessPayload_trustCenterAccess(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateTrustCenterAccessPayload", 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_updateTrustCenterAccess_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteTrustCenterAccess(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteTrustCenterAccess,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteTrustCenterAccess(ctx, fc.Args["input"].(types.DeleteTrustCenterAccessInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteTrustCenterAccessPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterAccessPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteTrustCenterAccess(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 "deletedTrustCenterAccessId":
|
|
return ec.fieldContext_DeleteTrustCenterAccessPayload_deletedTrustCenterAccessId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteTrustCenterAccessPayload", 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_deleteTrustCenterAccess_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createTrustCenterReference(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createTrustCenterReference,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateTrustCenterReference(ctx, fc.Args["input"].(types.CreateTrustCenterReferenceInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateTrustCenterReferencePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterReferencePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createTrustCenterReference(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 "trustCenterReferenceEdge":
|
|
return ec.fieldContext_CreateTrustCenterReferencePayload_trustCenterReferenceEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateTrustCenterReferencePayload", 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_createTrustCenterReference_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateTrustCenterReference(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateTrustCenterReference,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateTrustCenterReference(ctx, fc.Args["input"].(types.UpdateTrustCenterReferenceInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateTrustCenterReferencePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterReferencePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateTrustCenterReference(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 "trustCenterReference":
|
|
return ec.fieldContext_UpdateTrustCenterReferencePayload_trustCenterReference(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateTrustCenterReferencePayload", 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_updateTrustCenterReference_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteTrustCenterReference(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteTrustCenterReference,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteTrustCenterReference(ctx, fc.Args["input"].(types.DeleteTrustCenterReferenceInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteTrustCenterReferencePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterReferencePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteTrustCenterReference(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 "deletedTrustCenterReferenceId":
|
|
return ec.fieldContext_DeleteTrustCenterReferencePayload_deletedTrustCenterReferenceId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteTrustCenterReferencePayload", 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_deleteTrustCenterReference_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createTrustCenterFile(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createTrustCenterFile,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateTrustCenterFile(ctx, fc.Args["input"].(types.CreateTrustCenterFileInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateTrustCenterFilePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterFilePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createTrustCenterFile(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 "trustCenterFileEdge":
|
|
return ec.fieldContext_CreateTrustCenterFilePayload_trustCenterFileEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateTrustCenterFilePayload", 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_createTrustCenterFile_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateTrustCenterFile(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateTrustCenterFile,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateTrustCenterFile(ctx, fc.Args["input"].(types.UpdateTrustCenterFileInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateTrustCenterFilePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterFilePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateTrustCenterFile(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 "trustCenterFile":
|
|
return ec.fieldContext_UpdateTrustCenterFilePayload_trustCenterFile(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateTrustCenterFilePayload", 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_updateTrustCenterFile_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_getTrustCenterFile(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_getTrustCenterFile,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().GetTrustCenterFile(ctx, fc.Args["input"].(types.GetTrustCenterFileInput))
|
|
},
|
|
nil,
|
|
ec.marshalNGetTrustCenterFilePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGetTrustCenterFilePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_getTrustCenterFile(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 "trustCenterFile":
|
|
return ec.fieldContext_GetTrustCenterFilePayload_trustCenterFile(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type GetTrustCenterFilePayload", 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_getTrustCenterFile_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteTrustCenterFile(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteTrustCenterFile,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteTrustCenterFile(ctx, fc.Args["input"].(types.DeleteTrustCenterFileInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteTrustCenterFilePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterFilePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteTrustCenterFile(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 "deletedTrustCenterFileId":
|
|
return ec.fieldContext_DeleteTrustCenterFilePayload_deletedTrustCenterFileId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteTrustCenterFilePayload", 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_deleteTrustCenterFile_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createPeople(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createPeople,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreatePeople(ctx, fc.Args["input"].(types.CreatePeopleInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreatePeoplePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreatePeoplePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createPeople(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 "peopleEdge":
|
|
return ec.fieldContext_CreatePeoplePayload_peopleEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreatePeoplePayload", 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_createPeople_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updatePeople(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updatePeople,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdatePeople(ctx, fc.Args["input"].(types.UpdatePeopleInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdatePeoplePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdatePeoplePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updatePeople(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 "people":
|
|
return ec.fieldContext_UpdatePeoplePayload_people(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdatePeoplePayload", 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_updatePeople_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deletePeople(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deletePeople,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeletePeople(ctx, fc.Args["input"].(types.DeletePeopleInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeletePeoplePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeletePeoplePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deletePeople(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 "deletedPeopleId":
|
|
return ec.fieldContext_DeletePeoplePayload_deletedPeopleId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeletePeoplePayload", 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_deletePeople_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createVendor(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createVendor,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateVendor(ctx, fc.Args["input"].(types.CreateVendorInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateVendorPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createVendor(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 "vendorEdge":
|
|
return ec.fieldContext_CreateVendorPayload_vendorEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateVendorPayload", 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_createVendor_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateVendor(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateVendor,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateVendor(ctx, fc.Args["input"].(types.UpdateVendorInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateVendorPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateVendor(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 "vendor":
|
|
return ec.fieldContext_UpdateVendorPayload_vendor(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateVendorPayload", 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_updateVendor_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteVendor(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteVendor,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteVendor(ctx, fc.Args["input"].(types.DeleteVendorInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteVendorPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteVendor(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 "deletedVendorId":
|
|
return ec.fieldContext_DeleteVendorPayload_deletedVendorId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteVendorPayload", 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_deleteVendor_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createVendorContact(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createVendorContact,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateVendorContact(ctx, fc.Args["input"].(types.CreateVendorContactInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateVendorContactPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorContactPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createVendorContact(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 "vendorContactEdge":
|
|
return ec.fieldContext_CreateVendorContactPayload_vendorContactEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateVendorContactPayload", 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_createVendorContact_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateVendorContact(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateVendorContact,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateVendorContact(ctx, fc.Args["input"].(types.UpdateVendorContactInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateVendorContactPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorContactPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateVendorContact(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 "vendorContact":
|
|
return ec.fieldContext_UpdateVendorContactPayload_vendorContact(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateVendorContactPayload", 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_updateVendorContact_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteVendorContact(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteVendorContact,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteVendorContact(ctx, fc.Args["input"].(types.DeleteVendorContactInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteVendorContactPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorContactPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteVendorContact(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 "deletedVendorContactId":
|
|
return ec.fieldContext_DeleteVendorContactPayload_deletedVendorContactId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteVendorContactPayload", 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_deleteVendorContact_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createVendorService(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createVendorService,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateVendorService(ctx, fc.Args["input"].(types.CreateVendorServiceInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateVendorServicePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorServicePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createVendorService(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 "vendorServiceEdge":
|
|
return ec.fieldContext_CreateVendorServicePayload_vendorServiceEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateVendorServicePayload", 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_createVendorService_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateVendorService(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateVendorService,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateVendorService(ctx, fc.Args["input"].(types.UpdateVendorServiceInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateVendorServicePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorServicePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateVendorService(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 "vendorService":
|
|
return ec.fieldContext_UpdateVendorServicePayload_vendorService(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateVendorServicePayload", 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_updateVendorService_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteVendorService(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteVendorService,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteVendorService(ctx, fc.Args["input"].(types.DeleteVendorServiceInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteVendorServicePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorServicePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteVendorService(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 "deletedVendorServiceId":
|
|
return ec.fieldContext_DeleteVendorServicePayload_deletedVendorServiceId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteVendorServicePayload", 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_deleteVendorService_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createFramework(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createFramework,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateFramework(ctx, fc.Args["input"].(types.CreateFrameworkInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateFrameworkPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateFrameworkPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createFramework(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 "frameworkEdge":
|
|
return ec.fieldContext_CreateFrameworkPayload_frameworkEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateFrameworkPayload", 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_createFramework_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateFramework(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateFramework,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateFramework(ctx, fc.Args["input"].(types.UpdateFrameworkInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateFrameworkPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateFrameworkPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateFramework(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 "framework":
|
|
return ec.fieldContext_UpdateFrameworkPayload_framework(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateFrameworkPayload", 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_updateFramework_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_importFramework(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_importFramework,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().ImportFramework(ctx, fc.Args["input"].(types.ImportFrameworkInput))
|
|
},
|
|
nil,
|
|
ec.marshalNImportFrameworkPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐImportFrameworkPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_importFramework(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 "frameworkEdge":
|
|
return ec.fieldContext_ImportFrameworkPayload_frameworkEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ImportFrameworkPayload", 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_importFramework_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteFramework(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteFramework,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteFramework(ctx, fc.Args["input"].(types.DeleteFrameworkInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteFrameworkPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteFrameworkPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteFramework(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 "deletedFrameworkId":
|
|
return ec.fieldContext_DeleteFrameworkPayload_deletedFrameworkId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteFrameworkPayload", 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_deleteFramework_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_generateFrameworkStateOfApplicability(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_generateFrameworkStateOfApplicability,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().GenerateFrameworkStateOfApplicability(ctx, fc.Args["input"].(types.GenerateFrameworkStateOfApplicabilityInput))
|
|
},
|
|
nil,
|
|
ec.marshalNGenerateFrameworkStateOfApplicabilityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGenerateFrameworkStateOfApplicabilityPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_generateFrameworkStateOfApplicability(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 "data":
|
|
return ec.fieldContext_GenerateFrameworkStateOfApplicabilityPayload_data(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type GenerateFrameworkStateOfApplicabilityPayload", 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_generateFrameworkStateOfApplicability_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_exportFramework(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_exportFramework,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().ExportFramework(ctx, fc.Args["input"].(types.ExportFrameworkInput))
|
|
},
|
|
nil,
|
|
ec.marshalNExportFrameworkPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportFrameworkPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_exportFramework(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 "exportJobId":
|
|
return ec.fieldContext_ExportFrameworkPayload_exportJobId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ExportFrameworkPayload", 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_exportFramework_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createControl(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createControl,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateControl(ctx, fc.Args["input"].(types.CreateControlInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateControlPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createControl(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 "controlEdge":
|
|
return ec.fieldContext_CreateControlPayload_controlEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateControlPayload", 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_createControl_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateControl(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateControl,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateControl(ctx, fc.Args["input"].(types.UpdateControlInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateControlPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateControlPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateControl(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 "control":
|
|
return ec.fieldContext_UpdateControlPayload_control(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateControlPayload", 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_updateControl_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteControl(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteControl,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteControl(ctx, fc.Args["input"].(types.DeleteControlInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteControlPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteControl(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 "deletedControlId":
|
|
return ec.fieldContext_DeleteControlPayload_deletedControlId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteControlPayload", 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_deleteControl_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createMeasure(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createMeasure,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateMeasure(ctx, fc.Args["input"].(types.CreateMeasureInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateMeasurePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateMeasurePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createMeasure(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 "measureEdge":
|
|
return ec.fieldContext_CreateMeasurePayload_measureEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateMeasurePayload", 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_createMeasure_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateMeasure(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateMeasure,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateMeasure(ctx, fc.Args["input"].(types.UpdateMeasureInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateMeasurePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateMeasurePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateMeasure(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 "measure":
|
|
return ec.fieldContext_UpdateMeasurePayload_measure(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateMeasurePayload", 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_updateMeasure_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_importMeasure(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_importMeasure,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().ImportMeasure(ctx, fc.Args["input"].(types.ImportMeasureInput))
|
|
},
|
|
nil,
|
|
ec.marshalNImportMeasurePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐImportMeasurePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_importMeasure(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 "measureEdges":
|
|
return ec.fieldContext_ImportMeasurePayload_measureEdges(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ImportMeasurePayload", 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_importMeasure_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteMeasure(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteMeasure,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteMeasure(ctx, fc.Args["input"].(types.DeleteMeasureInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteMeasurePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteMeasurePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteMeasure(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 "deletedMeasureId":
|
|
return ec.fieldContext_DeleteMeasurePayload_deletedMeasureId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteMeasurePayload", 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_deleteMeasure_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createControlMeasureMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createControlMeasureMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateControlMeasureMapping(ctx, fc.Args["input"].(types.CreateControlMeasureMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateControlMeasureMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlMeasureMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createControlMeasureMapping(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 "controlEdge":
|
|
return ec.fieldContext_CreateControlMeasureMappingPayload_controlEdge(ctx, field)
|
|
case "measureEdge":
|
|
return ec.fieldContext_CreateControlMeasureMappingPayload_measureEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateControlMeasureMappingPayload", 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_createControlMeasureMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createControlDocumentMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createControlDocumentMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateControlDocumentMapping(ctx, fc.Args["input"].(types.CreateControlDocumentMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateControlDocumentMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlDocumentMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createControlDocumentMapping(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 "controlEdge":
|
|
return ec.fieldContext_CreateControlDocumentMappingPayload_controlEdge(ctx, field)
|
|
case "documentEdge":
|
|
return ec.fieldContext_CreateControlDocumentMappingPayload_documentEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateControlDocumentMappingPayload", 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_createControlDocumentMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteControlMeasureMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteControlMeasureMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteControlMeasureMapping(ctx, fc.Args["input"].(types.DeleteControlMeasureMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteControlMeasureMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlMeasureMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteControlMeasureMapping(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 "deletedControlId":
|
|
return ec.fieldContext_DeleteControlMeasureMappingPayload_deletedControlId(ctx, field)
|
|
case "deletedMeasureId":
|
|
return ec.fieldContext_DeleteControlMeasureMappingPayload_deletedMeasureId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteControlMeasureMappingPayload", 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_deleteControlMeasureMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteControlDocumentMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteControlDocumentMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteControlDocumentMapping(ctx, fc.Args["input"].(types.DeleteControlDocumentMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteControlDocumentMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlDocumentMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteControlDocumentMapping(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 "deletedControlId":
|
|
return ec.fieldContext_DeleteControlDocumentMappingPayload_deletedControlId(ctx, field)
|
|
case "deletedDocumentId":
|
|
return ec.fieldContext_DeleteControlDocumentMappingPayload_deletedDocumentId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteControlDocumentMappingPayload", 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_deleteControlDocumentMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createStateOfApplicabilityControlMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createStateOfApplicabilityControlMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateStateOfApplicabilityControlMapping(ctx, fc.Args["input"].(types.CreateStateOfApplicabilityControlMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateStateOfApplicabilityControlMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateStateOfApplicabilityControlMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createStateOfApplicabilityControlMapping(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 "stateOfApplicabilityControlEdge":
|
|
return ec.fieldContext_CreateStateOfApplicabilityControlMappingPayload_stateOfApplicabilityControlEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateStateOfApplicabilityControlMappingPayload", 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_createStateOfApplicabilityControlMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteStateOfApplicabilityControlMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteStateOfApplicabilityControlMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteStateOfApplicabilityControlMapping(ctx, fc.Args["input"].(types.DeleteStateOfApplicabilityControlMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteStateOfApplicabilityControlMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteStateOfApplicabilityControlMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteStateOfApplicabilityControlMapping(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 "deletedStateOfApplicabilityId":
|
|
return ec.fieldContext_DeleteStateOfApplicabilityControlMappingPayload_deletedStateOfApplicabilityId(ctx, field)
|
|
case "deletedControlId":
|
|
return ec.fieldContext_DeleteStateOfApplicabilityControlMappingPayload_deletedControlId(ctx, field)
|
|
case "deletedStateOfApplicabilityControlId":
|
|
return ec.fieldContext_DeleteStateOfApplicabilityControlMappingPayload_deletedStateOfApplicabilityControlId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteStateOfApplicabilityControlMappingPayload", 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_deleteStateOfApplicabilityControlMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createControlAuditMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createControlAuditMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateControlAuditMapping(ctx, fc.Args["input"].(types.CreateControlAuditMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateControlAuditMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlAuditMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createControlAuditMapping(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 "controlEdge":
|
|
return ec.fieldContext_CreateControlAuditMappingPayload_controlEdge(ctx, field)
|
|
case "auditEdge":
|
|
return ec.fieldContext_CreateControlAuditMappingPayload_auditEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateControlAuditMappingPayload", 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_createControlAuditMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteControlAuditMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteControlAuditMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteControlAuditMapping(ctx, fc.Args["input"].(types.DeleteControlAuditMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteControlAuditMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlAuditMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteControlAuditMapping(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 "deletedControlId":
|
|
return ec.fieldContext_DeleteControlAuditMappingPayload_deletedControlId(ctx, field)
|
|
case "deletedAuditId":
|
|
return ec.fieldContext_DeleteControlAuditMappingPayload_deletedAuditId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteControlAuditMappingPayload", 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_deleteControlAuditMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createControlObligationMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createControlObligationMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateControlObligationMapping(ctx, fc.Args["input"].(types.CreateControlObligationMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateControlObligationMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlObligationMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createControlObligationMapping(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 "controlEdge":
|
|
return ec.fieldContext_CreateControlObligationMappingPayload_controlEdge(ctx, field)
|
|
case "obligationEdge":
|
|
return ec.fieldContext_CreateControlObligationMappingPayload_obligationEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateControlObligationMappingPayload", 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_createControlObligationMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteControlObligationMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteControlObligationMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteControlObligationMapping(ctx, fc.Args["input"].(types.DeleteControlObligationMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteControlObligationMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlObligationMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteControlObligationMapping(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 "deletedControlId":
|
|
return ec.fieldContext_DeleteControlObligationMappingPayload_deletedControlId(ctx, field)
|
|
case "deletedObligationId":
|
|
return ec.fieldContext_DeleteControlObligationMappingPayload_deletedObligationId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteControlObligationMappingPayload", 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_deleteControlObligationMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createControlSnapshotMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createControlSnapshotMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateControlSnapshotMapping(ctx, fc.Args["input"].(types.CreateControlSnapshotMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateControlSnapshotMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlSnapshotMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createControlSnapshotMapping(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 "controlEdge":
|
|
return ec.fieldContext_CreateControlSnapshotMappingPayload_controlEdge(ctx, field)
|
|
case "snapshotEdge":
|
|
return ec.fieldContext_CreateControlSnapshotMappingPayload_snapshotEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateControlSnapshotMappingPayload", 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_createControlSnapshotMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteControlSnapshotMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteControlSnapshotMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteControlSnapshotMapping(ctx, fc.Args["input"].(types.DeleteControlSnapshotMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteControlSnapshotMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlSnapshotMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteControlSnapshotMapping(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 "deletedControlId":
|
|
return ec.fieldContext_DeleteControlSnapshotMappingPayload_deletedControlId(ctx, field)
|
|
case "deletedSnapshotId":
|
|
return ec.fieldContext_DeleteControlSnapshotMappingPayload_deletedSnapshotId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteControlSnapshotMappingPayload", 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_deleteControlSnapshotMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createTask(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createTask,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateTask(ctx, fc.Args["input"].(types.CreateTaskInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateTaskPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTaskPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createTask(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 "taskEdge":
|
|
return ec.fieldContext_CreateTaskPayload_taskEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateTaskPayload", 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_createTask_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateTask(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateTask,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateTask(ctx, fc.Args["input"].(types.UpdateTaskInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateTaskPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTaskPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateTask(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 "task":
|
|
return ec.fieldContext_UpdateTaskPayload_task(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateTaskPayload", 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_updateTask_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteTask(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteTask,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteTask(ctx, fc.Args["input"].(types.DeleteTaskInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteTaskPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTaskPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteTask(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 "deletedTaskId":
|
|
return ec.fieldContext_DeleteTaskPayload_deletedTaskId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteTaskPayload", 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_deleteTask_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createRisk(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createRisk,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateRisk(ctx, fc.Args["input"].(types.CreateRiskInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateRiskPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createRisk(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 "riskEdge":
|
|
return ec.fieldContext_CreateRiskPayload_riskEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateRiskPayload", 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_createRisk_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateRisk(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateRisk,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateRisk(ctx, fc.Args["input"].(types.UpdateRiskInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateRiskPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateRiskPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateRisk(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 "risk":
|
|
return ec.fieldContext_UpdateRiskPayload_risk(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateRiskPayload", 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_updateRisk_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteRisk(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteRisk,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteRisk(ctx, fc.Args["input"].(types.DeleteRiskInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteRiskPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteRisk(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 "deletedRiskId":
|
|
return ec.fieldContext_DeleteRiskPayload_deletedRiskId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteRiskPayload", 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_deleteRisk_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createRiskMeasureMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createRiskMeasureMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateRiskMeasureMapping(ctx, fc.Args["input"].(types.CreateRiskMeasureMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateRiskMeasureMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskMeasureMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createRiskMeasureMapping(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 "riskEdge":
|
|
return ec.fieldContext_CreateRiskMeasureMappingPayload_riskEdge(ctx, field)
|
|
case "measureEdge":
|
|
return ec.fieldContext_CreateRiskMeasureMappingPayload_measureEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateRiskMeasureMappingPayload", 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_createRiskMeasureMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteRiskMeasureMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteRiskMeasureMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteRiskMeasureMapping(ctx, fc.Args["input"].(types.DeleteRiskMeasureMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteRiskMeasureMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskMeasureMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteRiskMeasureMapping(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 "deletedMeasureId":
|
|
return ec.fieldContext_DeleteRiskMeasureMappingPayload_deletedMeasureId(ctx, field)
|
|
case "deletedRiskId":
|
|
return ec.fieldContext_DeleteRiskMeasureMappingPayload_deletedRiskId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteRiskMeasureMappingPayload", 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_deleteRiskMeasureMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createRiskDocumentMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createRiskDocumentMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateRiskDocumentMapping(ctx, fc.Args["input"].(types.CreateRiskDocumentMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateRiskDocumentMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskDocumentMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createRiskDocumentMapping(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 "riskEdge":
|
|
return ec.fieldContext_CreateRiskDocumentMappingPayload_riskEdge(ctx, field)
|
|
case "documentEdge":
|
|
return ec.fieldContext_CreateRiskDocumentMappingPayload_documentEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateRiskDocumentMappingPayload", 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_createRiskDocumentMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteRiskDocumentMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteRiskDocumentMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteRiskDocumentMapping(ctx, fc.Args["input"].(types.DeleteRiskDocumentMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteRiskDocumentMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskDocumentMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteRiskDocumentMapping(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 "deletedRiskId":
|
|
return ec.fieldContext_DeleteRiskDocumentMappingPayload_deletedRiskId(ctx, field)
|
|
case "deletedDocumentId":
|
|
return ec.fieldContext_DeleteRiskDocumentMappingPayload_deletedDocumentId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteRiskDocumentMappingPayload", 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_deleteRiskDocumentMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createRiskObligationMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createRiskObligationMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateRiskObligationMapping(ctx, fc.Args["input"].(types.CreateRiskObligationMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateRiskObligationMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskObligationMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createRiskObligationMapping(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 "riskEdge":
|
|
return ec.fieldContext_CreateRiskObligationMappingPayload_riskEdge(ctx, field)
|
|
case "obligationEdge":
|
|
return ec.fieldContext_CreateRiskObligationMappingPayload_obligationEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateRiskObligationMappingPayload", 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_createRiskObligationMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteRiskObligationMapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteRiskObligationMapping,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteRiskObligationMapping(ctx, fc.Args["input"].(types.DeleteRiskObligationMappingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteRiskObligationMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskObligationMappingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteRiskObligationMapping(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 "deletedRiskId":
|
|
return ec.fieldContext_DeleteRiskObligationMappingPayload_deletedRiskId(ctx, field)
|
|
case "deletedObligationId":
|
|
return ec.fieldContext_DeleteRiskObligationMappingPayload_deletedObligationId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteRiskObligationMappingPayload", 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_deleteRiskObligationMapping_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteEvidence(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteEvidence,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteEvidence(ctx, fc.Args["input"].(types.DeleteEvidenceInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteEvidencePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteEvidencePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteEvidence(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 "deletedEvidenceId":
|
|
return ec.fieldContext_DeleteEvidencePayload_deletedEvidenceId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteEvidencePayload", 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_deleteEvidence_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_uploadMeasureEvidence(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_uploadMeasureEvidence,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UploadMeasureEvidence(ctx, fc.Args["input"].(types.UploadMeasureEvidenceInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUploadMeasureEvidencePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadMeasureEvidencePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_uploadMeasureEvidence(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 "evidenceEdge":
|
|
return ec.fieldContext_UploadMeasureEvidencePayload_evidenceEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UploadMeasureEvidencePayload", 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_uploadMeasureEvidence_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_uploadVendorComplianceReport(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_uploadVendorComplianceReport,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UploadVendorComplianceReport(ctx, fc.Args["input"].(types.UploadVendorComplianceReportInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUploadVendorComplianceReportPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorComplianceReportPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_uploadVendorComplianceReport(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 "vendorComplianceReportEdge":
|
|
return ec.fieldContext_UploadVendorComplianceReportPayload_vendorComplianceReportEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UploadVendorComplianceReportPayload", 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_uploadVendorComplianceReport_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteVendorComplianceReport(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteVendorComplianceReport,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteVendorComplianceReport(ctx, fc.Args["input"].(types.DeleteVendorComplianceReportInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteVendorComplianceReportPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorComplianceReportPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteVendorComplianceReport(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 "deletedVendorComplianceReportId":
|
|
return ec.fieldContext_DeleteVendorComplianceReportPayload_deletedVendorComplianceReportId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteVendorComplianceReportPayload", 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_deleteVendorComplianceReport_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_uploadVendorBusinessAssociateAgreement(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_uploadVendorBusinessAssociateAgreement,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UploadVendorBusinessAssociateAgreement(ctx, fc.Args["input"].(types.UploadVendorBusinessAssociateAgreementInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUploadVendorBusinessAssociateAgreementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorBusinessAssociateAgreementPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_uploadVendorBusinessAssociateAgreement(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 "vendorBusinessAssociateAgreement":
|
|
return ec.fieldContext_UploadVendorBusinessAssociateAgreementPayload_vendorBusinessAssociateAgreement(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UploadVendorBusinessAssociateAgreementPayload", 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_uploadVendorBusinessAssociateAgreement_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateVendorBusinessAssociateAgreement(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateVendorBusinessAssociateAgreement,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateVendorBusinessAssociateAgreement(ctx, fc.Args["input"].(types.UpdateVendorBusinessAssociateAgreementInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateVendorBusinessAssociateAgreementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorBusinessAssociateAgreementPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateVendorBusinessAssociateAgreement(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 "vendorBusinessAssociateAgreement":
|
|
return ec.fieldContext_UpdateVendorBusinessAssociateAgreementPayload_vendorBusinessAssociateAgreement(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateVendorBusinessAssociateAgreementPayload", 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_updateVendorBusinessAssociateAgreement_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteVendorBusinessAssociateAgreement(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteVendorBusinessAssociateAgreement,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteVendorBusinessAssociateAgreement(ctx, fc.Args["input"].(types.DeleteVendorBusinessAssociateAgreementInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteVendorBusinessAssociateAgreementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorBusinessAssociateAgreementPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteVendorBusinessAssociateAgreement(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 "deletedVendorId":
|
|
return ec.fieldContext_DeleteVendorBusinessAssociateAgreementPayload_deletedVendorId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteVendorBusinessAssociateAgreementPayload", 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_deleteVendorBusinessAssociateAgreement_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_uploadVendorDataPrivacyAgreement(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_uploadVendorDataPrivacyAgreement,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UploadVendorDataPrivacyAgreement(ctx, fc.Args["input"].(types.UploadVendorDataPrivacyAgreementInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUploadVendorDataPrivacyAgreementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorDataPrivacyAgreementPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_uploadVendorDataPrivacyAgreement(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 "vendorDataPrivacyAgreement":
|
|
return ec.fieldContext_UploadVendorDataPrivacyAgreementPayload_vendorDataPrivacyAgreement(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UploadVendorDataPrivacyAgreementPayload", 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_uploadVendorDataPrivacyAgreement_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateVendorDataPrivacyAgreement(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateVendorDataPrivacyAgreement,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateVendorDataPrivacyAgreement(ctx, fc.Args["input"].(types.UpdateVendorDataPrivacyAgreementInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateVendorDataPrivacyAgreementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorDataPrivacyAgreementPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateVendorDataPrivacyAgreement(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 "vendorDataPrivacyAgreement":
|
|
return ec.fieldContext_UpdateVendorDataPrivacyAgreementPayload_vendorDataPrivacyAgreement(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateVendorDataPrivacyAgreementPayload", 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_updateVendorDataPrivacyAgreement_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteVendorDataPrivacyAgreement(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteVendorDataPrivacyAgreement,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteVendorDataPrivacyAgreement(ctx, fc.Args["input"].(types.DeleteVendorDataPrivacyAgreementInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteVendorDataPrivacyAgreementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorDataPrivacyAgreementPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteVendorDataPrivacyAgreement(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 "deletedVendorId":
|
|
return ec.fieldContext_DeleteVendorDataPrivacyAgreementPayload_deletedVendorId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteVendorDataPrivacyAgreementPayload", 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_deleteVendorDataPrivacyAgreement_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createDocument(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createDocument,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateDocument(ctx, fc.Args["input"].(types.CreateDocumentInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateDocumentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDocumentPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createDocument(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 "documentEdge":
|
|
return ec.fieldContext_CreateDocumentPayload_documentEdge(ctx, field)
|
|
case "documentVersionEdge":
|
|
return ec.fieldContext_CreateDocumentPayload_documentVersionEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateDocumentPayload", 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_createDocument_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateDocument(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateDocument,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateDocument(ctx, fc.Args["input"].(types.UpdateDocumentInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateDocumentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDocumentPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateDocument(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 "document":
|
|
return ec.fieldContext_UpdateDocumentPayload_document(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateDocumentPayload", 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_updateDocument_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteDocument(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteDocument,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteDocument(ctx, fc.Args["input"].(types.DeleteDocumentInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteDocumentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDocumentPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteDocument(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 "deletedDocumentId":
|
|
return ec.fieldContext_DeleteDocumentPayload_deletedDocumentId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteDocumentPayload", 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_deleteDocument_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createMeeting(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createMeeting,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateMeeting(ctx, fc.Args["input"].(types.CreateMeetingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateMeetingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateMeetingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createMeeting(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 "meetingEdge":
|
|
return ec.fieldContext_CreateMeetingPayload_meetingEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateMeetingPayload", 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_createMeeting_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateMeeting(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateMeeting,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateMeeting(ctx, fc.Args["input"].(types.UpdateMeetingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateMeetingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateMeetingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateMeeting(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 "meeting":
|
|
return ec.fieldContext_UpdateMeetingPayload_meeting(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateMeetingPayload", 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_updateMeeting_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteMeeting(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteMeeting,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteMeeting(ctx, fc.Args["input"].(types.DeleteMeetingInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteMeetingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteMeetingPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteMeeting(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 "deletedMeetingId":
|
|
return ec.fieldContext_DeleteMeetingPayload_deletedMeetingId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteMeetingPayload", 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_deleteMeeting_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createStateOfApplicability(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createStateOfApplicability,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateStateOfApplicability(ctx, fc.Args["input"].(types.CreateStateOfApplicabilityInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateStateOfApplicabilityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateStateOfApplicabilityPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createStateOfApplicability(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 "stateOfApplicabilityEdge":
|
|
return ec.fieldContext_CreateStateOfApplicabilityPayload_stateOfApplicabilityEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateStateOfApplicabilityPayload", 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_createStateOfApplicability_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateStateOfApplicability(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateStateOfApplicability,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateStateOfApplicability(ctx, fc.Args["input"].(types.UpdateStateOfApplicabilityInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateStateOfApplicabilityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateStateOfApplicabilityPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateStateOfApplicability(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 "stateOfApplicability":
|
|
return ec.fieldContext_UpdateStateOfApplicabilityPayload_stateOfApplicability(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateStateOfApplicabilityPayload", 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_updateStateOfApplicability_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteStateOfApplicability(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteStateOfApplicability,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteStateOfApplicability(ctx, fc.Args["input"].(types.DeleteStateOfApplicabilityInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteStateOfApplicabilityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteStateOfApplicabilityPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteStateOfApplicability(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 "deletedStateOfApplicabilityId":
|
|
return ec.fieldContext_DeleteStateOfApplicabilityPayload_deletedStateOfApplicabilityId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteStateOfApplicabilityPayload", 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_deleteStateOfApplicability_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_exportStateOfApplicabilityPDF(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_exportStateOfApplicabilityPDF,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().ExportStateOfApplicabilityPDF(ctx, fc.Args["input"].(types.ExportStateOfApplicabilityPDFInput))
|
|
},
|
|
nil,
|
|
ec.marshalNExportStateOfApplicabilityPDFPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportStateOfApplicabilityPDFPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_exportStateOfApplicabilityPDF(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 "data":
|
|
return ec.fieldContext_ExportStateOfApplicabilityPDFPayload_data(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ExportStateOfApplicabilityPDFPayload", 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_exportStateOfApplicabilityPDF_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_publishDocumentVersion(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_publishDocumentVersion,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().PublishDocumentVersion(ctx, fc.Args["input"].(types.PublishDocumentVersionInput))
|
|
},
|
|
nil,
|
|
ec.marshalNPublishDocumentVersionPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPublishDocumentVersionPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_publishDocumentVersion(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 "documentVersion":
|
|
return ec.fieldContext_PublishDocumentVersionPayload_documentVersion(ctx, field)
|
|
case "document":
|
|
return ec.fieldContext_PublishDocumentVersionPayload_document(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type PublishDocumentVersionPayload", 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_publishDocumentVersion_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_bulkPublishDocumentVersions(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_bulkPublishDocumentVersions,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().BulkPublishDocumentVersions(ctx, fc.Args["input"].(types.BulkPublishDocumentVersionsInput))
|
|
},
|
|
nil,
|
|
ec.marshalNBulkPublishDocumentVersionsPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkPublishDocumentVersionsPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_bulkPublishDocumentVersions(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 "documentVersionEdges":
|
|
return ec.fieldContext_BulkPublishDocumentVersionsPayload_documentVersionEdges(ctx, field)
|
|
case "documentEdges":
|
|
return ec.fieldContext_BulkPublishDocumentVersionsPayload_documentEdges(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type BulkPublishDocumentVersionsPayload", 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_bulkPublishDocumentVersions_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_bulkDeleteDocuments(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_bulkDeleteDocuments,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().BulkDeleteDocuments(ctx, fc.Args["input"].(types.BulkDeleteDocumentsInput))
|
|
},
|
|
nil,
|
|
ec.marshalNBulkDeleteDocumentsPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkDeleteDocumentsPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_bulkDeleteDocuments(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 "deletedDocumentIds":
|
|
return ec.fieldContext_BulkDeleteDocumentsPayload_deletedDocumentIds(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type BulkDeleteDocumentsPayload", 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_bulkDeleteDocuments_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_bulkExportDocuments(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_bulkExportDocuments,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().BulkExportDocuments(ctx, fc.Args["input"].(types.BulkExportDocumentsInput))
|
|
},
|
|
nil,
|
|
ec.marshalNBulkExportDocumentsPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkExportDocumentsPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_bulkExportDocuments(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 "exportJobId":
|
|
return ec.fieldContext_BulkExportDocumentsPayload_exportJobId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type BulkExportDocumentsPayload", 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_bulkExportDocuments_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_generateDocumentChangelog(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_generateDocumentChangelog,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().GenerateDocumentChangelog(ctx, fc.Args["input"].(types.GenerateDocumentChangelogInput))
|
|
},
|
|
nil,
|
|
ec.marshalNGenerateDocumentChangelogPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGenerateDocumentChangelogPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_generateDocumentChangelog(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 "changelog":
|
|
return ec.fieldContext_GenerateDocumentChangelogPayload_changelog(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type GenerateDocumentChangelogPayload", 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_generateDocumentChangelog_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createDraftDocumentVersion(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createDraftDocumentVersion,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateDraftDocumentVersion(ctx, fc.Args["input"].(types.CreateDraftDocumentVersionInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateDraftDocumentVersionPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDraftDocumentVersionPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createDraftDocumentVersion(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 "documentVersionEdge":
|
|
return ec.fieldContext_CreateDraftDocumentVersionPayload_documentVersionEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateDraftDocumentVersionPayload", 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_createDraftDocumentVersion_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteDraftDocumentVersion(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteDraftDocumentVersion,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteDraftDocumentVersion(ctx, fc.Args["input"].(types.DeleteDraftDocumentVersionInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteDraftDocumentVersionPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDraftDocumentVersionPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteDraftDocumentVersion(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 "deletedDocumentVersionId":
|
|
return ec.fieldContext_DeleteDraftDocumentVersionPayload_deletedDocumentVersionId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteDraftDocumentVersionPayload", 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_deleteDraftDocumentVersion_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateDocumentVersion(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateDocumentVersion,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateDocumentVersion(ctx, fc.Args["input"].(types.UpdateDocumentVersionInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateDocumentVersionPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDocumentVersionPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateDocumentVersion(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 "documentVersion":
|
|
return ec.fieldContext_UpdateDocumentVersionPayload_documentVersion(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateDocumentVersionPayload", 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_updateDocumentVersion_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_requestSignature(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_requestSignature,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().RequestSignature(ctx, fc.Args["input"].(types.RequestSignatureInput))
|
|
},
|
|
nil,
|
|
ec.marshalNRequestSignaturePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRequestSignaturePayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_requestSignature(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 "documentVersionSignatureEdge":
|
|
return ec.fieldContext_RequestSignaturePayload_documentVersionSignatureEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type RequestSignaturePayload", 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_requestSignature_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_bulkRequestSignatures(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_bulkRequestSignatures,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().BulkRequestSignatures(ctx, fc.Args["input"].(types.BulkRequestSignaturesInput))
|
|
},
|
|
nil,
|
|
ec.marshalNBulkRequestSignaturesPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkRequestSignaturesPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_bulkRequestSignatures(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 "documentVersionSignatureEdges":
|
|
return ec.fieldContext_BulkRequestSignaturesPayload_documentVersionSignatureEdges(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type BulkRequestSignaturesPayload", 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_bulkRequestSignatures_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_sendSigningNotifications(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_sendSigningNotifications,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().SendSigningNotifications(ctx, fc.Args["input"].(types.SendSigningNotificationsInput))
|
|
},
|
|
nil,
|
|
ec.marshalNSendSigningNotificationsPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSendSigningNotificationsPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_sendSigningNotifications(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 "success":
|
|
return ec.fieldContext_SendSigningNotificationsPayload_success(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type SendSigningNotificationsPayload", 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_sendSigningNotifications_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_cancelSignatureRequest(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_cancelSignatureRequest,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CancelSignatureRequest(ctx, fc.Args["input"].(types.CancelSignatureRequestInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCancelSignatureRequestPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCancelSignatureRequestPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_cancelSignatureRequest(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 "deletedDocumentVersionSignatureId":
|
|
return ec.fieldContext_CancelSignatureRequestPayload_deletedDocumentVersionSignatureId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CancelSignatureRequestPayload", 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_cancelSignatureRequest_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_signDocument(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_signDocument,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().SignDocument(ctx, fc.Args["input"].(types.SignDocumentInput))
|
|
},
|
|
nil,
|
|
ec.marshalNSignDocumentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignDocumentPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_signDocument(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 "documentVersionSignature":
|
|
return ec.fieldContext_SignDocumentPayload_documentVersionSignature(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type SignDocumentPayload", 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_signDocument_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_exportDocumentVersionPDF(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_exportDocumentVersionPDF,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().ExportDocumentVersionPDF(ctx, fc.Args["input"].(types.ExportDocumentVersionPDFInput))
|
|
},
|
|
nil,
|
|
ec.marshalNExportDocumentVersionPDFPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportDocumentVersionPDFPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_exportDocumentVersionPDF(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 "data":
|
|
return ec.fieldContext_ExportDocumentVersionPDFPayload_data(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ExportDocumentVersionPDFPayload", 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_exportDocumentVersionPDF_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_exportSignableVersionDocumentPDF(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_exportSignableVersionDocumentPDF,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().ExportSignableVersionDocumentPDF(ctx, fc.Args["input"].(types.ExportSignableDocumentVersionPDFInput))
|
|
},
|
|
nil,
|
|
ec.marshalNExportSignableDocumentVersionPDFPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportSignableDocumentVersionPDFPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_exportSignableVersionDocumentPDF(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 "data":
|
|
return ec.fieldContext_ExportSignableDocumentVersionPDFPayload_data(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ExportSignableDocumentVersionPDFPayload", 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_exportSignableVersionDocumentPDF_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_exportProcessingActivitiesPDF(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_exportProcessingActivitiesPDF,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().ExportProcessingActivitiesPDF(ctx, fc.Args["input"].(types.ExportProcessingActivitiesPDFInput))
|
|
},
|
|
nil,
|
|
ec.marshalNExportProcessingActivitiesPDFPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportProcessingActivitiesPDFPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_exportProcessingActivitiesPDF(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 "data":
|
|
return ec.fieldContext_ExportProcessingActivitiesPDFPayload_data(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ExportProcessingActivitiesPDFPayload", 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_exportProcessingActivitiesPDF_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_exportDataProtectionImpactAssessmentsPDF(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_exportDataProtectionImpactAssessmentsPDF,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().ExportDataProtectionImpactAssessmentsPDF(ctx, fc.Args["input"].(types.ExportDataProtectionImpactAssessmentsPDFInput))
|
|
},
|
|
nil,
|
|
ec.marshalNExportDataProtectionImpactAssessmentsPDFPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportDataProtectionImpactAssessmentsPDFPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_exportDataProtectionImpactAssessmentsPDF(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 "data":
|
|
return ec.fieldContext_ExportDataProtectionImpactAssessmentsPDFPayload_data(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ExportDataProtectionImpactAssessmentsPDFPayload", 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_exportDataProtectionImpactAssessmentsPDF_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_exportTransferImpactAssessmentsPDF(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_exportTransferImpactAssessmentsPDF,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().ExportTransferImpactAssessmentsPDF(ctx, fc.Args["input"].(types.ExportTransferImpactAssessmentsPDFInput))
|
|
},
|
|
nil,
|
|
ec.marshalNExportTransferImpactAssessmentsPDFPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportTransferImpactAssessmentsPDFPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_exportTransferImpactAssessmentsPDF(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 "data":
|
|
return ec.fieldContext_ExportTransferImpactAssessmentsPDFPayload_data(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ExportTransferImpactAssessmentsPDFPayload", 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_exportTransferImpactAssessmentsPDF_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createVendorRiskAssessment(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createVendorRiskAssessment,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateVendorRiskAssessment(ctx, fc.Args["input"].(types.CreateVendorRiskAssessmentInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateVendorRiskAssessmentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorRiskAssessmentPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createVendorRiskAssessment(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 "vendorRiskAssessmentEdge":
|
|
return ec.fieldContext_CreateVendorRiskAssessmentPayload_vendorRiskAssessmentEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateVendorRiskAssessmentPayload", 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_createVendorRiskAssessment_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_assessVendor(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_assessVendor,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().AssessVendor(ctx, fc.Args["input"].(types.AssessVendorInput))
|
|
},
|
|
nil,
|
|
ec.marshalNAssessVendorPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssessVendorPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_assessVendor(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 "vendor":
|
|
return ec.fieldContext_AssessVendorPayload_vendor(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type AssessVendorPayload", 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_assessVendor_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createAsset(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createAsset,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateAsset(ctx, fc.Args["input"].(types.CreateAssetInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateAssetPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateAssetPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createAsset(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 "assetEdge":
|
|
return ec.fieldContext_CreateAssetPayload_assetEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateAssetPayload", 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_createAsset_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateAsset(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateAsset,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateAsset(ctx, fc.Args["input"].(types.UpdateAssetInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateAssetPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateAssetPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateAsset(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 "asset":
|
|
return ec.fieldContext_UpdateAssetPayload_asset(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateAssetPayload", 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_updateAsset_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteAsset(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteAsset,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteAsset(ctx, fc.Args["input"].(types.DeleteAssetInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteAssetPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAssetPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteAsset(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 "deletedAssetId":
|
|
return ec.fieldContext_DeleteAssetPayload_deletedAssetId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteAssetPayload", 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_deleteAsset_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createDatum(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createDatum,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateDatum(ctx, fc.Args["input"].(types.CreateDatumInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateDatumPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDatumPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createDatum(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 "datumEdge":
|
|
return ec.fieldContext_CreateDatumPayload_datumEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateDatumPayload", 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_createDatum_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateDatum(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateDatum,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateDatum(ctx, fc.Args["input"].(types.UpdateDatumInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateDatumPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDatumPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateDatum(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 "datum":
|
|
return ec.fieldContext_UpdateDatumPayload_datum(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateDatumPayload", 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_updateDatum_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteDatum(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteDatum,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteDatum(ctx, fc.Args["input"].(types.DeleteDatumInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteDatumPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDatumPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteDatum(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 "deletedDatumId":
|
|
return ec.fieldContext_DeleteDatumPayload_deletedDatumId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteDatumPayload", 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_deleteDatum_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createAudit(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createAudit,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateAudit(ctx, fc.Args["input"].(types.CreateAuditInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateAuditPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateAuditPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createAudit(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 "auditEdge":
|
|
return ec.fieldContext_CreateAuditPayload_auditEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateAuditPayload", 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_createAudit_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateAudit(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateAudit,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateAudit(ctx, fc.Args["input"].(types.UpdateAuditInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateAuditPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateAuditPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateAudit(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 "audit":
|
|
return ec.fieldContext_UpdateAuditPayload_audit(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateAuditPayload", 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_updateAudit_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteAudit(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteAudit,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteAudit(ctx, fc.Args["input"].(types.DeleteAuditInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteAuditPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAuditPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteAudit(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 "deletedAuditId":
|
|
return ec.fieldContext_DeleteAuditPayload_deletedAuditId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteAuditPayload", 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_deleteAudit_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_uploadAuditReport(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_uploadAuditReport,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UploadAuditReport(ctx, fc.Args["input"].(types.UploadAuditReportInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUploadAuditReportPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadAuditReportPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_uploadAuditReport(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 "audit":
|
|
return ec.fieldContext_UploadAuditReportPayload_audit(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UploadAuditReportPayload", 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_uploadAuditReport_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteAuditReport(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteAuditReport,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteAuditReport(ctx, fc.Args["input"].(types.DeleteAuditReportInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteAuditReportPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAuditReportPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteAuditReport(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 "audit":
|
|
return ec.fieldContext_DeleteAuditReportPayload_audit(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteAuditReportPayload", 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_deleteAuditReport_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createNonconformity(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createNonconformity,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateNonconformity(ctx, fc.Args["input"].(types.CreateNonconformityInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateNonconformityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateNonconformityPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createNonconformity(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 "nonconformityEdge":
|
|
return ec.fieldContext_CreateNonconformityPayload_nonconformityEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateNonconformityPayload", 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_createNonconformity_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateNonconformity(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateNonconformity,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateNonconformity(ctx, fc.Args["input"].(types.UpdateNonconformityInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateNonconformityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateNonconformityPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateNonconformity(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 "nonconformity":
|
|
return ec.fieldContext_UpdateNonconformityPayload_nonconformity(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateNonconformityPayload", 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_updateNonconformity_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteNonconformity(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteNonconformity,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteNonconformity(ctx, fc.Args["input"].(types.DeleteNonconformityInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteNonconformityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteNonconformityPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteNonconformity(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 "deletedNonconformityId":
|
|
return ec.fieldContext_DeleteNonconformityPayload_deletedNonconformityId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteNonconformityPayload", 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_deleteNonconformity_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createObligation(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createObligation,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateObligation(ctx, fc.Args["input"].(types.CreateObligationInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateObligationPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateObligationPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createObligation(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 "obligationEdge":
|
|
return ec.fieldContext_CreateObligationPayload_obligationEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateObligationPayload", 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_createObligation_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateObligation(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateObligation,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateObligation(ctx, fc.Args["input"].(types.UpdateObligationInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateObligationPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateObligationPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateObligation(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 "obligation":
|
|
return ec.fieldContext_UpdateObligationPayload_obligation(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateObligationPayload", 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_updateObligation_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteObligation(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteObligation,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteObligation(ctx, fc.Args["input"].(types.DeleteObligationInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteObligationPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteObligationPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteObligation(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 "deletedObligationId":
|
|
return ec.fieldContext_DeleteObligationPayload_deletedObligationId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteObligationPayload", 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_deleteObligation_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createContinualImprovement(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createContinualImprovement,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateContinualImprovement(ctx, fc.Args["input"].(types.CreateContinualImprovementInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateContinualImprovementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateContinualImprovementPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createContinualImprovement(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 "continualImprovementEdge":
|
|
return ec.fieldContext_CreateContinualImprovementPayload_continualImprovementEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateContinualImprovementPayload", 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_createContinualImprovement_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateContinualImprovement(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateContinualImprovement,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateContinualImprovement(ctx, fc.Args["input"].(types.UpdateContinualImprovementInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateContinualImprovementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateContinualImprovementPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateContinualImprovement(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 "continualImprovement":
|
|
return ec.fieldContext_UpdateContinualImprovementPayload_continualImprovement(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateContinualImprovementPayload", 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_updateContinualImprovement_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteContinualImprovement(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteContinualImprovement,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteContinualImprovement(ctx, fc.Args["input"].(types.DeleteContinualImprovementInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteContinualImprovementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteContinualImprovementPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteContinualImprovement(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 "deletedContinualImprovementId":
|
|
return ec.fieldContext_DeleteContinualImprovementPayload_deletedContinualImprovementId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteContinualImprovementPayload", 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_deleteContinualImprovement_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createRightsRequest(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createRightsRequest,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateRightsRequest(ctx, fc.Args["input"].(types.CreateRightsRequestInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateRightsRequestPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRightsRequestPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createRightsRequest(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 "rightsRequestEdge":
|
|
return ec.fieldContext_CreateRightsRequestPayload_rightsRequestEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateRightsRequestPayload", 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_createRightsRequest_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateRightsRequest(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateRightsRequest,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateRightsRequest(ctx, fc.Args["input"].(types.UpdateRightsRequestInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateRightsRequestPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateRightsRequestPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateRightsRequest(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 "rightsRequest":
|
|
return ec.fieldContext_UpdateRightsRequestPayload_rightsRequest(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateRightsRequestPayload", 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_updateRightsRequest_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteRightsRequest(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteRightsRequest,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteRightsRequest(ctx, fc.Args["input"].(types.DeleteRightsRequestInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteRightsRequestPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRightsRequestPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteRightsRequest(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 "deletedRightsRequestId":
|
|
return ec.fieldContext_DeleteRightsRequestPayload_deletedRightsRequestId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteRightsRequestPayload", 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_deleteRightsRequest_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createProcessingActivity(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createProcessingActivity,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateProcessingActivity(ctx, fc.Args["input"].(types.CreateProcessingActivityInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateProcessingActivityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateProcessingActivityPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createProcessingActivity(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 "processingActivityEdge":
|
|
return ec.fieldContext_CreateProcessingActivityPayload_processingActivityEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateProcessingActivityPayload", 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_createProcessingActivity_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateProcessingActivity(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateProcessingActivity,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateProcessingActivity(ctx, fc.Args["input"].(types.UpdateProcessingActivityInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateProcessingActivityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateProcessingActivityPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateProcessingActivity(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 "processingActivity":
|
|
return ec.fieldContext_UpdateProcessingActivityPayload_processingActivity(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateProcessingActivityPayload", 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_updateProcessingActivity_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteProcessingActivity(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteProcessingActivity,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteProcessingActivity(ctx, fc.Args["input"].(types.DeleteProcessingActivityInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteProcessingActivityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteProcessingActivityPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteProcessingActivity(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 "deletedProcessingActivityId":
|
|
return ec.fieldContext_DeleteProcessingActivityPayload_deletedProcessingActivityId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteProcessingActivityPayload", 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_deleteProcessingActivity_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createDataProtectionImpactAssessment(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createDataProtectionImpactAssessment,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateDataProtectionImpactAssessment(ctx, fc.Args["input"].(types.CreateDataProtectionImpactAssessmentInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateDataProtectionImpactAssessmentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDataProtectionImpactAssessmentPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createDataProtectionImpactAssessment(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 "dataProtectionImpactAssessment":
|
|
return ec.fieldContext_CreateDataProtectionImpactAssessmentPayload_dataProtectionImpactAssessment(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateDataProtectionImpactAssessmentPayload", 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_createDataProtectionImpactAssessment_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateDataProtectionImpactAssessment(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateDataProtectionImpactAssessment,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateDataProtectionImpactAssessment(ctx, fc.Args["input"].(types.UpdateDataProtectionImpactAssessmentInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateDataProtectionImpactAssessmentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDataProtectionImpactAssessmentPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateDataProtectionImpactAssessment(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 "dataProtectionImpactAssessment":
|
|
return ec.fieldContext_UpdateDataProtectionImpactAssessmentPayload_dataProtectionImpactAssessment(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateDataProtectionImpactAssessmentPayload", 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_updateDataProtectionImpactAssessment_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteDataProtectionImpactAssessment(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteDataProtectionImpactAssessment,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteDataProtectionImpactAssessment(ctx, fc.Args["input"].(types.DeleteDataProtectionImpactAssessmentInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteDataProtectionImpactAssessmentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDataProtectionImpactAssessmentPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteDataProtectionImpactAssessment(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 "deletedDataProtectionImpactAssessmentId":
|
|
return ec.fieldContext_DeleteDataProtectionImpactAssessmentPayload_deletedDataProtectionImpactAssessmentId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteDataProtectionImpactAssessmentPayload", 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_deleteDataProtectionImpactAssessment_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createTransferImpactAssessment(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createTransferImpactAssessment,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateTransferImpactAssessment(ctx, fc.Args["input"].(types.CreateTransferImpactAssessmentInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateTransferImpactAssessmentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTransferImpactAssessmentPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createTransferImpactAssessment(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 "transferImpactAssessment":
|
|
return ec.fieldContext_CreateTransferImpactAssessmentPayload_transferImpactAssessment(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateTransferImpactAssessmentPayload", 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_createTransferImpactAssessment_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_updateTransferImpactAssessment(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_updateTransferImpactAssessment,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().UpdateTransferImpactAssessment(ctx, fc.Args["input"].(types.UpdateTransferImpactAssessmentInput))
|
|
},
|
|
nil,
|
|
ec.marshalNUpdateTransferImpactAssessmentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTransferImpactAssessmentPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_updateTransferImpactAssessment(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 "transferImpactAssessment":
|
|
return ec.fieldContext_UpdateTransferImpactAssessmentPayload_transferImpactAssessment(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type UpdateTransferImpactAssessmentPayload", 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_updateTransferImpactAssessment_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteTransferImpactAssessment(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteTransferImpactAssessment,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteTransferImpactAssessment(ctx, fc.Args["input"].(types.DeleteTransferImpactAssessmentInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteTransferImpactAssessmentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTransferImpactAssessmentPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteTransferImpactAssessment(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 "deletedTransferImpactAssessmentId":
|
|
return ec.fieldContext_DeleteTransferImpactAssessmentPayload_deletedTransferImpactAssessmentId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteTransferImpactAssessmentPayload", 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_deleteTransferImpactAssessment_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createSnapshot(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createSnapshot,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateSnapshot(ctx, fc.Args["input"].(types.CreateSnapshotInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateSnapshotPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateSnapshotPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createSnapshot(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 "snapshotEdge":
|
|
return ec.fieldContext_CreateSnapshotPayload_snapshotEdge(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateSnapshotPayload", 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_createSnapshot_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteSnapshot(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteSnapshot,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteSnapshot(ctx, fc.Args["input"].(types.DeleteSnapshotInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteSnapshotPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteSnapshotPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteSnapshot(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 "deletedSnapshotId":
|
|
return ec.fieldContext_DeleteSnapshotPayload_deletedSnapshotId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteSnapshotPayload", 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_deleteSnapshot_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_createCustomDomain(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_createCustomDomain,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().CreateCustomDomain(ctx, fc.Args["input"].(types.CreateCustomDomainInput))
|
|
},
|
|
nil,
|
|
ec.marshalNCreateCustomDomainPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateCustomDomainPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_createCustomDomain(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 "customDomain":
|
|
return ec.fieldContext_CreateCustomDomainPayload_customDomain(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CreateCustomDomainPayload", 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_createCustomDomain_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Mutation_deleteCustomDomain(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Mutation_deleteCustomDomain,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Mutation().DeleteCustomDomain(ctx, fc.Args["input"].(types.DeleteCustomDomainInput))
|
|
},
|
|
nil,
|
|
ec.marshalNDeleteCustomDomainPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteCustomDomainPayload,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Mutation_deleteCustomDomain(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 "deletedCustomDomainId":
|
|
return ec.fieldContext_DeleteCustomDomainPayload_deletedCustomDomainId(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DeleteCustomDomainPayload", 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_deleteCustomDomain_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Nonconformity_id(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_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_Nonconformity_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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) _Nonconformity_snapshotId(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_snapshotId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SnapshotID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_snapshotId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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) _Nonconformity_organization(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Nonconformity().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _Nonconformity_referenceId(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_referenceId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ReferenceID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_referenceId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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) _Nonconformity_description(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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) _Nonconformity_audit(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_audit,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Nonconformity().Audit(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOAudit2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAudit,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_audit(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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_Audit_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Audit_name(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Audit_organization(ctx, field)
|
|
case "framework":
|
|
return ec.fieldContext_Audit_framework(ctx, field)
|
|
case "validFrom":
|
|
return ec.fieldContext_Audit_validFrom(ctx, field)
|
|
case "validUntil":
|
|
return ec.fieldContext_Audit_validUntil(ctx, field)
|
|
case "report":
|
|
return ec.fieldContext_Audit_report(ctx, field)
|
|
case "reportUrl":
|
|
return ec.fieldContext_Audit_reportUrl(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_Audit_state(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Audit_controls(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_Audit_trustCenterVisibility(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Audit_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Audit_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Audit_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Audit", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Nonconformity_dateIdentified(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_dateIdentified,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DateIdentified, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_dateIdentified(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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) _Nonconformity_rootCause(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_rootCause,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.RootCause, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_rootCause(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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) _Nonconformity_correctiveAction(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_correctiveAction,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CorrectiveAction, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_correctiveAction(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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) _Nonconformity_owner(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_owner,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Nonconformity().Owner(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_owner(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Nonconformity_dueDate(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_dueDate,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DueDate, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_dueDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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) _Nonconformity_status(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_status,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Status, nil
|
|
},
|
|
nil,
|
|
ec.marshalNNonconformityStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_status(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type NonconformityStatus does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Nonconformity_effectivenessCheck(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_effectivenessCheck,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.EffectivenessCheck, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_effectivenessCheck(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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) _Nonconformity_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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) _Nonconformity_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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) _Nonconformity_permission(ctx context.Context, field graphql.CollectedField, obj *types.Nonconformity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Nonconformity_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Nonconformity().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Nonconformity_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Nonconformity",
|
|
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_Nonconformity_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _NonconformityConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.NonconformityConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_NonconformityConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.NonconformityConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_NonconformityConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "NonconformityConnection",
|
|
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) _NonconformityConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.NonconformityConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_NonconformityConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNNonconformityEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformityEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_NonconformityConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "NonconformityConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_NonconformityEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_NonconformityEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type NonconformityEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _NonconformityConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.NonconformityConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_NonconformityConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_NonconformityConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "NonconformityConnection",
|
|
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) _NonconformityEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.NonconformityEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_NonconformityEdge_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_NonconformityEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "NonconformityEdge",
|
|
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) _NonconformityEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.NonconformityEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_NonconformityEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNNonconformity2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformity,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_NonconformityEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "NonconformityEdge",
|
|
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_Nonconformity_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Nonconformity_snapshotId(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Nonconformity_organization(ctx, field)
|
|
case "referenceId":
|
|
return ec.fieldContext_Nonconformity_referenceId(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Nonconformity_description(ctx, field)
|
|
case "audit":
|
|
return ec.fieldContext_Nonconformity_audit(ctx, field)
|
|
case "dateIdentified":
|
|
return ec.fieldContext_Nonconformity_dateIdentified(ctx, field)
|
|
case "rootCause":
|
|
return ec.fieldContext_Nonconformity_rootCause(ctx, field)
|
|
case "correctiveAction":
|
|
return ec.fieldContext_Nonconformity_correctiveAction(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Nonconformity_owner(ctx, field)
|
|
case "dueDate":
|
|
return ec.fieldContext_Nonconformity_dueDate(ctx, field)
|
|
case "status":
|
|
return ec.fieldContext_Nonconformity_status(ctx, field)
|
|
case "effectivenessCheck":
|
|
return ec.fieldContext_Nonconformity_effectivenessCheck(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Nonconformity_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Nonconformity_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Nonconformity_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Nonconformity", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Obligation_id(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_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_Obligation_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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) _Obligation_snapshotId(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_snapshotId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SnapshotID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_snapshotId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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) _Obligation_sourceId(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_sourceId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SourceID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_sourceId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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) _Obligation_organization(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Obligation().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _Obligation_area(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_area,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Area, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_area(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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) _Obligation_source(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_source,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Source, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_source(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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) _Obligation_requirement(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_requirement,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Requirement, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_requirement(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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) _Obligation_actionsToBeImplemented(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_actionsToBeImplemented,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ActionsToBeImplemented, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_actionsToBeImplemented(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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) _Obligation_regulator(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_regulator,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Regulator, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_regulator(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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) _Obligation_owner(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_owner,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Obligation().Owner(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_owner(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Obligation_lastReviewDate(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_lastReviewDate,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.LastReviewDate, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_lastReviewDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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) _Obligation_dueDate(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_dueDate,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DueDate, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_dueDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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) _Obligation_status(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_status,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Status, nil
|
|
},
|
|
nil,
|
|
ec.marshalNObligationStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_status(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type ObligationStatus does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Obligation_type(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_type,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Type, nil
|
|
},
|
|
nil,
|
|
ec.marshalNObligationType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type ObligationType does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Obligation_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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) _Obligation_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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) _Obligation_permission(ctx context.Context, field graphql.CollectedField, obj *types.Obligation) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Obligation_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Obligation().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Obligation_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Obligation",
|
|
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_Obligation_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ObligationConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.ObligationConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ObligationConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.ObligationConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ObligationConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ObligationConnection",
|
|
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) _ObligationConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.ObligationConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ObligationConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNObligationEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ObligationConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ObligationConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ObligationEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ObligationEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ObligationEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ObligationConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.ObligationConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ObligationConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ObligationConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ObligationConnection",
|
|
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) _ObligationEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.ObligationEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ObligationEdge_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_ObligationEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ObligationEdge",
|
|
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) _ObligationEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.ObligationEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ObligationEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNObligation2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligation,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ObligationEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ObligationEdge",
|
|
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_Obligation_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Obligation_snapshotId(ctx, field)
|
|
case "sourceId":
|
|
return ec.fieldContext_Obligation_sourceId(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Obligation_organization(ctx, field)
|
|
case "area":
|
|
return ec.fieldContext_Obligation_area(ctx, field)
|
|
case "source":
|
|
return ec.fieldContext_Obligation_source(ctx, field)
|
|
case "requirement":
|
|
return ec.fieldContext_Obligation_requirement(ctx, field)
|
|
case "actionsToBeImplemented":
|
|
return ec.fieldContext_Obligation_actionsToBeImplemented(ctx, field)
|
|
case "regulator":
|
|
return ec.fieldContext_Obligation_regulator(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Obligation_owner(ctx, field)
|
|
case "lastReviewDate":
|
|
return ec.fieldContext_Obligation_lastReviewDate(ctx, field)
|
|
case "dueDate":
|
|
return ec.fieldContext_Obligation_dueDate(ctx, field)
|
|
case "status":
|
|
return ec.fieldContext_Obligation_status(ctx, field)
|
|
case "type":
|
|
return ec.fieldContext_Obligation_type(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Obligation_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Obligation_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Obligation_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Obligation", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_id(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_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_Organization_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Organization",
|
|
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) _Organization_name(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Organization",
|
|
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) _Organization_logoUrl(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_logoUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Organization().LogoURL(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_logoUrl(_ 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) {
|
|
return nil, errors.New("field of type String does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_horizontalLogoUrl(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_horizontalLogoUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Organization().HorizontalLogoURL(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_horizontalLogoUrl(_ 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) {
|
|
return nil, errors.New("field of type String does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_description(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Organization",
|
|
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) _Organization_websiteUrl(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_websiteUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.WebsiteURL, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_websiteUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Organization",
|
|
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) _Organization_email(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_email,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Email, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_email(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Organization",
|
|
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) _Organization_headquarterAddress(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_headquarterAddress,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.HeadquarterAddress, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_headquarterAddress(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Organization",
|
|
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) _Organization_context(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_context,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Organization().Context(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOOrganizationContext2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganizationContext,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_context(_ 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 "organizationId":
|
|
return ec.fieldContext_OrganizationContext_organizationId(ctx, field)
|
|
case "summary":
|
|
return ec.fieldContext_OrganizationContext_summary(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type OrganizationContext", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_slackConnections(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_slackConnections,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().SlackConnections(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey))
|
|
},
|
|
nil,
|
|
ec.marshalNSlackConnectionConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSlackConnectionConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_slackConnections(ctx 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 "edges":
|
|
return ec.fieldContext_SlackConnectionConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_SlackConnectionConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type SlackConnectionConnection", 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_Organization_slackConnections_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_frameworks(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_frameworks,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Frameworks(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.FrameworkOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNFrameworkConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFrameworkConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_frameworks(ctx 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 "totalCount":
|
|
return ec.fieldContext_FrameworkConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_FrameworkConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_FrameworkConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type FrameworkConnection", 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_Organization_frameworks_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_controls(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_controls,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Controls(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.ControlOrderBy), fc.Args["filter"].(*types.ControlFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNControlConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_controls(ctx 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 "totalCount":
|
|
return ec.fieldContext_ControlConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_ControlConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_ControlConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlConnection", 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_Organization_controls_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_vendors(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_vendors,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Vendors(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.VendorOrderBy), fc.Args["filter"].(*types.VendorFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNVendorConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_vendors(ctx 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 "totalCount":
|
|
return ec.fieldContext_VendorConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_VendorConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_VendorConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorConnection", 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_Organization_vendors_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_peoples(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_peoples,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Peoples(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.PeopleOrderBy), fc.Args["filter"].(*types.PeopleFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNPeopleConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeopleConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_peoples(ctx 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 "totalCount":
|
|
return ec.fieldContext_PeopleConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_PeopleConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_PeopleConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type PeopleConnection", 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_Organization_peoples_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_documents(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_documents,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Documents(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.DocumentOrderBy), fc.Args["filter"].(*types.DocumentFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_documents(ctx 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 "totalCount":
|
|
return ec.fieldContext_DocumentConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_DocumentConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_DocumentConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentConnection", 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_Organization_documents_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_meetings(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_meetings,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Meetings(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.MeetingOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNMeetingConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeetingConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_meetings(ctx 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 "totalCount":
|
|
return ec.fieldContext_MeetingConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_MeetingConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_MeetingConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type MeetingConnection", 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_Organization_meetings_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_statesOfApplicability(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_statesOfApplicability,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().StatesOfApplicability(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.StateOfApplicabilityOrderBy), fc.Args["filter"].(*types.StateOfApplicabilityFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNStateOfApplicabilityConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_statesOfApplicability(ctx 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 "totalCount":
|
|
return ec.fieldContext_StateOfApplicabilityConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_StateOfApplicabilityConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_StateOfApplicabilityConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type StateOfApplicabilityConnection", 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_Organization_statesOfApplicability_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_measures(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_measures,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Measures(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.MeasureOrderBy), fc.Args["filter"].(*types.MeasureFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNMeasureConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_measures(ctx 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 "totalCount":
|
|
return ec.fieldContext_MeasureConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_MeasureConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_MeasureConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type MeasureConnection", 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_Organization_measures_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_risks(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_risks,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Risks(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.RiskOrderBy), fc.Args["filter"].(*types.RiskFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNRiskConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_risks(ctx 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 "totalCount":
|
|
return ec.fieldContext_RiskConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_RiskConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_RiskConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type RiskConnection", 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_Organization_risks_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_tasks(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_tasks,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Tasks(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.TaskOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNTaskConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTaskConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_tasks(ctx 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 "totalCount":
|
|
return ec.fieldContext_TaskConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_TaskConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_TaskConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TaskConnection", 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_Organization_tasks_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_assets(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_assets,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Assets(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.AssetOrderBy), fc.Args["filter"].(*types.AssetFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNAssetConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssetConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_assets(ctx 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 "totalCount":
|
|
return ec.fieldContext_AssetConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_AssetConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_AssetConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type AssetConnection", 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_Organization_assets_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_data(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_data,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Data(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.DatumOrderBy), fc.Args["filter"].(*types.DatumFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNDatumConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatumConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_data(ctx 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 "totalCount":
|
|
return ec.fieldContext_DatumConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_DatumConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_DatumConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DatumConnection", 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_Organization_data_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_audits(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_audits,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Audits(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.AuditOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNAuditConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAuditConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_audits(ctx 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 "totalCount":
|
|
return ec.fieldContext_AuditConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_AuditConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_AuditConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type AuditConnection", 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_Organization_audits_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_nonconformities(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_nonconformities,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Nonconformities(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.NonconformityOrderBy), fc.Args["filter"].(*types.NonconformityFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNNonconformityConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformityConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_nonconformities(ctx 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 "totalCount":
|
|
return ec.fieldContext_NonconformityConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_NonconformityConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_NonconformityConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type NonconformityConnection", 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_Organization_nonconformities_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_obligations(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_obligations,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Obligations(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.ObligationOrderBy), fc.Args["filter"].(*types.ObligationFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNObligationConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_obligations(ctx 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 "totalCount":
|
|
return ec.fieldContext_ObligationConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_ObligationConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_ObligationConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ObligationConnection", 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_Organization_obligations_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_continualImprovements(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_continualImprovements,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().ContinualImprovements(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.ContinualImprovementOrderBy), fc.Args["filter"].(*types.ContinualImprovementFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNContinualImprovementConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovementConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_continualImprovements(ctx 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 "totalCount":
|
|
return ec.fieldContext_ContinualImprovementConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_ContinualImprovementConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_ContinualImprovementConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ContinualImprovementConnection", 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_Organization_continualImprovements_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_rightsRequests(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_rightsRequests,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().RightsRequests(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.RightsRequestOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNRightsRequestConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRightsRequestConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_rightsRequests(ctx 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 "totalCount":
|
|
return ec.fieldContext_RightsRequestConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_RightsRequestConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_RightsRequestConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type RightsRequestConnection", 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_Organization_rightsRequests_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_processingActivities(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_processingActivities,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().ProcessingActivities(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.ProcessingActivityOrderBy), fc.Args["filter"].(*types.ProcessingActivityFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNProcessingActivityConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivityConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_processingActivities(ctx 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 "totalCount":
|
|
return ec.fieldContext_ProcessingActivityConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_ProcessingActivityConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_ProcessingActivityConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ProcessingActivityConnection", 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_Organization_processingActivities_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_dataProtectionImpactAssessments(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_dataProtectionImpactAssessments,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().DataProtectionImpactAssessments(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.DataProtectionImpactAssessmentOrderBy), fc.Args["filter"].(*types.DataProtectionImpactAssessmentFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNDataProtectionImpactAssessmentConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessmentConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_dataProtectionImpactAssessments(ctx 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 "totalCount":
|
|
return ec.fieldContext_DataProtectionImpactAssessmentConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_DataProtectionImpactAssessmentConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_DataProtectionImpactAssessmentConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DataProtectionImpactAssessmentConnection", 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_Organization_dataProtectionImpactAssessments_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_transferImpactAssessments(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_transferImpactAssessments,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().TransferImpactAssessments(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.TransferImpactAssessmentOrderBy), fc.Args["filter"].(*types.TransferImpactAssessmentFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNTransferImpactAssessmentConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessmentConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_transferImpactAssessments(ctx 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 "totalCount":
|
|
return ec.fieldContext_TransferImpactAssessmentConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_TransferImpactAssessmentConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_TransferImpactAssessmentConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TransferImpactAssessmentConnection", 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_Organization_transferImpactAssessments_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_snapshots(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_snapshots,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Snapshots(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.SnapshotOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNSnapshotConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshotConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_snapshots(ctx 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 "totalCount":
|
|
return ec.fieldContext_SnapshotConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_SnapshotConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_SnapshotConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type SnapshotConnection", 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_Organization_snapshots_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_trustCenterFiles(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_trustCenterFiles,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().TrustCenterFiles(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.OrderBy[coredata.TrustCenterFileOrderField]))
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterFileConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterFileConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_trustCenterFiles(ctx 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 "totalCount":
|
|
return ec.fieldContext_TrustCenterFileConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_TrustCenterFileConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_TrustCenterFileConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterFileConnection", 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_Organization_trustCenterFiles_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_trustCenter(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_trustCenter,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Organization().TrustCenter(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOTrustCenter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenter,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_trustCenter(_ 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_TrustCenter_id(ctx, field)
|
|
case "active":
|
|
return ec.fieldContext_TrustCenter_active(ctx, field)
|
|
case "ndaFileName":
|
|
return ec.fieldContext_TrustCenter_ndaFileName(ctx, field)
|
|
case "ndaFileUrl":
|
|
return ec.fieldContext_TrustCenter_ndaFileUrl(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TrustCenter_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TrustCenter_updatedAt(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_TrustCenter_organization(ctx, field)
|
|
case "accesses":
|
|
return ec.fieldContext_TrustCenter_accesses(ctx, field)
|
|
case "references":
|
|
return ec.fieldContext_TrustCenter_references(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TrustCenter_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenter", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_customDomain(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_customDomain,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Organization().CustomDomain(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOCustomDomain2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCustomDomain,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_customDomain(_ 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_CustomDomain_id(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_CustomDomain_organization(ctx, field)
|
|
case "domain":
|
|
return ec.fieldContext_CustomDomain_domain(ctx, field)
|
|
case "sslStatus":
|
|
return ec.fieldContext_CustomDomain_sslStatus(ctx, field)
|
|
case "sslExpiresAt":
|
|
return ec.fieldContext_CustomDomain_sslExpiresAt(ctx, field)
|
|
case "dnsRecords":
|
|
return ec.fieldContext_CustomDomain_dnsRecords(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_CustomDomain_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_CustomDomain_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_CustomDomain_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type CustomDomain", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Organization_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Organization",
|
|
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) _Organization_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Organization",
|
|
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) _Organization_permission(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Organization_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Organization().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Organization_permission(ctx 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) {
|
|
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_Organization_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _OrganizationContext_organizationId(ctx context.Context, field graphql.CollectedField, obj *types.OrganizationContext) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_OrganizationContext_organizationId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.OrganizationID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_OrganizationContext_organizationId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "OrganizationContext",
|
|
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) _OrganizationContext_summary(ctx context.Context, field graphql.CollectedField, obj *types.OrganizationContext) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_OrganizationContext_summary,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Summary, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_OrganizationContext_summary(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "OrganizationContext",
|
|
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) _PageInfo_hasNextPage(ctx context.Context, field graphql.CollectedField, obj *types.PageInfo) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_PageInfo_hasNextPage,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.HasNextPage, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_PageInfo_hasNextPage(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "PageInfo",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _PageInfo_hasPreviousPage(ctx context.Context, field graphql.CollectedField, obj *types.PageInfo) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_PageInfo_hasPreviousPage,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.HasPreviousPage, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_PageInfo_hasPreviousPage(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "PageInfo",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _PageInfo_startCursor(ctx context.Context, field graphql.CollectedField, obj *types.PageInfo) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_PageInfo_startCursor,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.StartCursor, nil
|
|
},
|
|
nil,
|
|
ec.marshalOCursorKey2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋpageᚐCursorKey,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_PageInfo_startCursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "PageInfo",
|
|
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) _PageInfo_endCursor(ctx context.Context, field graphql.CollectedField, obj *types.PageInfo) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_PageInfo_endCursor,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.EndCursor, nil
|
|
},
|
|
nil,
|
|
ec.marshalOCursorKey2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋpageᚐCursorKey,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_PageInfo_endCursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "PageInfo",
|
|
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) _People_id(ctx context.Context, field graphql.CollectedField, obj *types.People) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_People_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_People_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "People",
|
|
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) _People_fullName(ctx context.Context, field graphql.CollectedField, obj *types.People) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_People_fullName,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.FullName, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_People_fullName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "People",
|
|
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) _People_primaryEmailAddress(ctx context.Context, field graphql.CollectedField, obj *types.People) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_People_primaryEmailAddress,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PrimaryEmailAddress, nil
|
|
},
|
|
nil,
|
|
ec.marshalNEmailAddr2goᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_People_primaryEmailAddress(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "People",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type EmailAddr does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _People_additionalEmailAddresses(ctx context.Context, field graphql.CollectedField, obj *types.People) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_People_additionalEmailAddresses,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.AdditionalEmailAddresses, nil
|
|
},
|
|
nil,
|
|
ec.marshalNEmailAddr2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddrᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_People_additionalEmailAddresses(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "People",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type EmailAddr does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _People_kind(ctx context.Context, field graphql.CollectedField, obj *types.People) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_People_kind,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Kind, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPeopleKind2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_People_kind(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "People",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type PeopleKind does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _People_position(ctx context.Context, field graphql.CollectedField, obj *types.People) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_People_position,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Position, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_People_position(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "People",
|
|
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) _People_contractStartDate(ctx context.Context, field graphql.CollectedField, obj *types.People) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_People_contractStartDate,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ContractStartDate, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_People_contractStartDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "People",
|
|
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) _People_contractEndDate(ctx context.Context, field graphql.CollectedField, obj *types.People) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_People_contractEndDate,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ContractEndDate, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_People_contractEndDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "People",
|
|
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) _People_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.People) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_People_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_People_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "People",
|
|
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) _People_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.People) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_People_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_People_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "People",
|
|
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) _People_permission(ctx context.Context, field graphql.CollectedField, obj *types.People) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_People_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.People().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_People_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "People",
|
|
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_People_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _PeopleConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.PeopleConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_PeopleConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.PeopleConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_PeopleConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "PeopleConnection",
|
|
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) _PeopleConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.PeopleConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_PeopleConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPeopleEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeopleEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_PeopleConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "PeopleConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_PeopleEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_PeopleEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type PeopleEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _PeopleConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.PeopleConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_PeopleConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_PeopleConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "PeopleConnection",
|
|
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) _PeopleEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.PeopleEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_PeopleEdge_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_PeopleEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "PeopleEdge",
|
|
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) _PeopleEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.PeopleEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_PeopleEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_PeopleEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "PeopleEdge",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ProcessingActivity_id(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_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_ProcessingActivity_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_snapshotId(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_snapshotId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SnapshotID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_snapshotId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_sourceId(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_sourceId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SourceID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_sourceId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_organization(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.ProcessingActivity().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _ProcessingActivity_name(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_purpose(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_purpose,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Purpose, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_purpose(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_dataSubjectCategory(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_dataSubjectCategory,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DataSubjectCategory, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_dataSubjectCategory(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_personalDataCategory(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_personalDataCategory,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PersonalDataCategory, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_personalDataCategory(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_specialOrCriminalData(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_specialOrCriminalData,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SpecialOrCriminalData, nil
|
|
},
|
|
nil,
|
|
ec.marshalNProcessingActivitySpecialOrCriminalDatum2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_specialOrCriminalData(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type ProcessingActivitySpecialOrCriminalDatum does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ProcessingActivity_consentEvidenceLink(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_consentEvidenceLink,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ConsentEvidenceLink, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_consentEvidenceLink(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_lawfulBasis(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_lawfulBasis,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.LawfulBasis, nil
|
|
},
|
|
nil,
|
|
ec.marshalNProcessingActivityLawfulBasis2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_lawfulBasis(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type ProcessingActivityLawfulBasis does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ProcessingActivity_recipients(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_recipients,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Recipients, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_recipients(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_location(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_location,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Location, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_location(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_internationalTransfers(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_internationalTransfers,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.InternationalTransfers, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_internationalTransfers(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ProcessingActivity_transferSafeguards(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_transferSafeguards,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TransferSafeguards, nil
|
|
},
|
|
nil,
|
|
ec.marshalOProcessingActivityTransferSafeguard2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferSafeguard,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_transferSafeguards(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type ProcessingActivityTransferSafeguard does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ProcessingActivity_retentionPeriod(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_retentionPeriod,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.RetentionPeriod, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_retentionPeriod(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_securityMeasures(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_securityMeasures,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SecurityMeasures, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_securityMeasures(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_dataProtectionImpactAssessmentNeeded(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_dataProtectionImpactAssessmentNeeded,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DataProtectionImpactAssessmentNeeded, nil
|
|
},
|
|
nil,
|
|
ec.marshalNProcessingActivityDataProtectionImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_dataProtectionImpactAssessmentNeeded(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type ProcessingActivityDataProtectionImpactAssessment does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ProcessingActivity_transferImpactAssessmentNeeded(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_transferImpactAssessmentNeeded,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TransferImpactAssessmentNeeded, nil
|
|
},
|
|
nil,
|
|
ec.marshalNProcessingActivityTransferImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_transferImpactAssessmentNeeded(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type ProcessingActivityTransferImpactAssessment does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ProcessingActivity_lastReviewDate(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_lastReviewDate,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.LastReviewDate, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_lastReviewDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_nextReviewDate(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_nextReviewDate,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.NextReviewDate, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_nextReviewDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_role(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_role,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Role, nil
|
|
},
|
|
nil,
|
|
ec.marshalNProcessingActivityRole2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_role(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type ProcessingActivityRole does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ProcessingActivity_dataProtectionOfficer(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_dataProtectionOfficer,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.ProcessingActivity().DataProtectionOfficer(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_dataProtectionOfficer(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ProcessingActivity_vendors(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_vendors,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.ProcessingActivity().Vendors(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.VendorOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNVendorConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_vendors(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_VendorConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_VendorConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_VendorConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorConnection", 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_ProcessingActivity_vendors_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ProcessingActivity_dataProtectionImpactAssessment(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_dataProtectionImpactAssessment,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.ProcessingActivity().DataProtectionImpactAssessment(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalODataProtectionImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessment,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_dataProtectionImpactAssessment(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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_DataProtectionImpactAssessment_id(ctx, field)
|
|
case "processingActivity":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_processingActivity(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_organization(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_description(ctx, field)
|
|
case "necessityAndProportionality":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_necessityAndProportionality(ctx, field)
|
|
case "potentialRisk":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_potentialRisk(ctx, field)
|
|
case "mitigations":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_mitigations(ctx, field)
|
|
case "residualRisk":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_residualRisk(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DataProtectionImpactAssessment", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ProcessingActivity_transferImpactAssessment(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_transferImpactAssessment,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.ProcessingActivity().TransferImpactAssessment(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOTransferImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessment,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_transferImpactAssessment(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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_TransferImpactAssessment_id(ctx, field)
|
|
case "processingActivity":
|
|
return ec.fieldContext_TransferImpactAssessment_processingActivity(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_TransferImpactAssessment_organization(ctx, field)
|
|
case "dataSubjects":
|
|
return ec.fieldContext_TransferImpactAssessment_dataSubjects(ctx, field)
|
|
case "legalMechanism":
|
|
return ec.fieldContext_TransferImpactAssessment_legalMechanism(ctx, field)
|
|
case "transfer":
|
|
return ec.fieldContext_TransferImpactAssessment_transfer(ctx, field)
|
|
case "localLawRisk":
|
|
return ec.fieldContext_TransferImpactAssessment_localLawRisk(ctx, field)
|
|
case "supplementaryMeasures":
|
|
return ec.fieldContext_TransferImpactAssessment_supplementaryMeasures(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TransferImpactAssessment_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TransferImpactAssessment_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TransferImpactAssessment_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TransferImpactAssessment", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ProcessingActivity_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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) _ProcessingActivity_permission(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivity) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivity_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.ProcessingActivity().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivity_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivity",
|
|
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_ProcessingActivity_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ProcessingActivityConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivityConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivityConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.ProcessingActivityConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivityConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivityConnection",
|
|
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) _ProcessingActivityConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivityConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivityConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNProcessingActivityEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivityEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivityConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivityConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_ProcessingActivityEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_ProcessingActivityEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ProcessingActivityEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _ProcessingActivityConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivityConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivityConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivityConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivityConnection",
|
|
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) _ProcessingActivityEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivityEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivityEdge_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_ProcessingActivityEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivityEdge",
|
|
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) _ProcessingActivityEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.ProcessingActivityEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_ProcessingActivityEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNProcessingActivity2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivity,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_ProcessingActivityEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "ProcessingActivityEdge",
|
|
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_ProcessingActivity_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_ProcessingActivity_snapshotId(ctx, field)
|
|
case "sourceId":
|
|
return ec.fieldContext_ProcessingActivity_sourceId(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_ProcessingActivity_organization(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_ProcessingActivity_name(ctx, field)
|
|
case "purpose":
|
|
return ec.fieldContext_ProcessingActivity_purpose(ctx, field)
|
|
case "dataSubjectCategory":
|
|
return ec.fieldContext_ProcessingActivity_dataSubjectCategory(ctx, field)
|
|
case "personalDataCategory":
|
|
return ec.fieldContext_ProcessingActivity_personalDataCategory(ctx, field)
|
|
case "specialOrCriminalData":
|
|
return ec.fieldContext_ProcessingActivity_specialOrCriminalData(ctx, field)
|
|
case "consentEvidenceLink":
|
|
return ec.fieldContext_ProcessingActivity_consentEvidenceLink(ctx, field)
|
|
case "lawfulBasis":
|
|
return ec.fieldContext_ProcessingActivity_lawfulBasis(ctx, field)
|
|
case "recipients":
|
|
return ec.fieldContext_ProcessingActivity_recipients(ctx, field)
|
|
case "location":
|
|
return ec.fieldContext_ProcessingActivity_location(ctx, field)
|
|
case "internationalTransfers":
|
|
return ec.fieldContext_ProcessingActivity_internationalTransfers(ctx, field)
|
|
case "transferSafeguards":
|
|
return ec.fieldContext_ProcessingActivity_transferSafeguards(ctx, field)
|
|
case "retentionPeriod":
|
|
return ec.fieldContext_ProcessingActivity_retentionPeriod(ctx, field)
|
|
case "securityMeasures":
|
|
return ec.fieldContext_ProcessingActivity_securityMeasures(ctx, field)
|
|
case "dataProtectionImpactAssessmentNeeded":
|
|
return ec.fieldContext_ProcessingActivity_dataProtectionImpactAssessmentNeeded(ctx, field)
|
|
case "transferImpactAssessmentNeeded":
|
|
return ec.fieldContext_ProcessingActivity_transferImpactAssessmentNeeded(ctx, field)
|
|
case "lastReviewDate":
|
|
return ec.fieldContext_ProcessingActivity_lastReviewDate(ctx, field)
|
|
case "nextReviewDate":
|
|
return ec.fieldContext_ProcessingActivity_nextReviewDate(ctx, field)
|
|
case "role":
|
|
return ec.fieldContext_ProcessingActivity_role(ctx, field)
|
|
case "dataProtectionOfficer":
|
|
return ec.fieldContext_ProcessingActivity_dataProtectionOfficer(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_ProcessingActivity_vendors(ctx, field)
|
|
case "dataProtectionImpactAssessment":
|
|
return ec.fieldContext_ProcessingActivity_dataProtectionImpactAssessment(ctx, field)
|
|
case "transferImpactAssessment":
|
|
return ec.fieldContext_ProcessingActivity_transferImpactAssessment(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_ProcessingActivity_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_ProcessingActivity_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_ProcessingActivity_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ProcessingActivity", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _PublishDocumentVersionPayload_documentVersion(ctx context.Context, field graphql.CollectedField, obj *types.PublishDocumentVersionPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_PublishDocumentVersionPayload_documentVersion,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DocumentVersion, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersion2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersion,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_PublishDocumentVersionPayload_documentVersion(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "PublishDocumentVersionPayload",
|
|
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_DocumentVersion_id(ctx, field)
|
|
case "document":
|
|
return ec.fieldContext_DocumentVersion_document(ctx, field)
|
|
case "status":
|
|
return ec.fieldContext_DocumentVersion_status(ctx, field)
|
|
case "version":
|
|
return ec.fieldContext_DocumentVersion_version(ctx, field)
|
|
case "content":
|
|
return ec.fieldContext_DocumentVersion_content(ctx, field)
|
|
case "changelog":
|
|
return ec.fieldContext_DocumentVersion_changelog(ctx, field)
|
|
case "title":
|
|
return ec.fieldContext_DocumentVersion_title(ctx, field)
|
|
case "classification":
|
|
return ec.fieldContext_DocumentVersion_classification(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_DocumentVersion_owner(ctx, field)
|
|
case "signatures":
|
|
return ec.fieldContext_DocumentVersion_signatures(ctx, field)
|
|
case "signed":
|
|
return ec.fieldContext_DocumentVersion_signed(ctx, field)
|
|
case "publishedAt":
|
|
return ec.fieldContext_DocumentVersion_publishedAt(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_DocumentVersion_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_DocumentVersion_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_DocumentVersion_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersion", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _PublishDocumentVersionPayload_document(ctx context.Context, field graphql.CollectedField, obj *types.PublishDocumentVersionPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_PublishDocumentVersionPayload_document,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Document, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocument2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocument,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_PublishDocumentVersionPayload_document(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "PublishDocumentVersionPayload",
|
|
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_Document_id(ctx, field)
|
|
case "title":
|
|
return ec.fieldContext_Document_title(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Document_description(ctx, field)
|
|
case "documentType":
|
|
return ec.fieldContext_Document_documentType(ctx, field)
|
|
case "classification":
|
|
return ec.fieldContext_Document_classification(ctx, field)
|
|
case "currentPublishedVersion":
|
|
return ec.fieldContext_Document_currentPublishedVersion(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_Document_trustCenterVisibility(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Document_owner(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Document_organization(ctx, field)
|
|
case "versions":
|
|
return ec.fieldContext_Document_versions(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Document_controls(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Document_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Document_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Document_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Document", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Query_node(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Query_node,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Query().Node(ctx, fc.Args["id"].(gid.GID))
|
|
},
|
|
nil,
|
|
ec.marshalNNode2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNode,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Query_node(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Query",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("FieldContext.Child cannot be called on type INTERFACE")
|
|
},
|
|
}
|
|
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_Query_node_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Query_viewer(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Query_viewer,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Query().Viewer(ctx)
|
|
},
|
|
nil,
|
|
ec.marshalNViewer2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐViewer,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Query_viewer(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Query",
|
|
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_Viewer_id(ctx, field)
|
|
case "signableDocuments":
|
|
return ec.fieldContext_Viewer_signableDocuments(ctx, field)
|
|
case "signableDocument":
|
|
return ec.fieldContext_Viewer_signableDocument(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Viewer", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Query___type(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Query___type,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.introspectType(fc.Args["name"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Query___type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Query",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "kind":
|
|
return ec.fieldContext___Type_kind(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext___Type_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___Type_description(ctx, field)
|
|
case "specifiedByURL":
|
|
return ec.fieldContext___Type_specifiedByURL(ctx, field)
|
|
case "fields":
|
|
return ec.fieldContext___Type_fields(ctx, field)
|
|
case "interfaces":
|
|
return ec.fieldContext___Type_interfaces(ctx, field)
|
|
case "possibleTypes":
|
|
return ec.fieldContext___Type_possibleTypes(ctx, field)
|
|
case "enumValues":
|
|
return ec.fieldContext___Type_enumValues(ctx, field)
|
|
case "inputFields":
|
|
return ec.fieldContext___Type_inputFields(ctx, field)
|
|
case "ofType":
|
|
return ec.fieldContext___Type_ofType(ctx, field)
|
|
case "isOneOf":
|
|
return ec.fieldContext___Type_isOneOf(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __Type", 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_Query___type_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Query___schema(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Query___schema,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.introspectSchema()
|
|
},
|
|
nil,
|
|
ec.marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Query___schema(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Query",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "description":
|
|
return ec.fieldContext___Schema_description(ctx, field)
|
|
case "types":
|
|
return ec.fieldContext___Schema_types(ctx, field)
|
|
case "queryType":
|
|
return ec.fieldContext___Schema_queryType(ctx, field)
|
|
case "mutationType":
|
|
return ec.fieldContext___Schema_mutationType(ctx, field)
|
|
case "subscriptionType":
|
|
return ec.fieldContext___Schema_subscriptionType(ctx, field)
|
|
case "directives":
|
|
return ec.fieldContext___Schema_directives(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __Schema", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Report_id(ctx context.Context, field graphql.CollectedField, obj *types.Report) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Report_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_Report_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Report",
|
|
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) _Report_objectKey(ctx context.Context, field graphql.CollectedField, obj *types.Report) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Report_objectKey,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ObjectKey, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Report_objectKey(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Report",
|
|
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) _Report_mimeType(ctx context.Context, field graphql.CollectedField, obj *types.Report) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Report_mimeType,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.MimeType, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Report_mimeType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Report",
|
|
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) _Report_filename(ctx context.Context, field graphql.CollectedField, obj *types.Report) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Report_filename,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Filename, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Report_filename(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Report",
|
|
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) _Report_size(ctx context.Context, field graphql.CollectedField, obj *types.Report) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Report_size,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Size, nil
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Report_size(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Report",
|
|
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) _Report_downloadUrl(ctx context.Context, field graphql.CollectedField, obj *types.Report) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Report_downloadUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Report().DownloadURL(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Report_downloadUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Report",
|
|
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) _Report_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Report) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Report_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Report_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Report",
|
|
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) _Report_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Report) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Report_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Report_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Report",
|
|
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) _Report_audit(ctx context.Context, field graphql.CollectedField, obj *types.Report) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Report_audit,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Report().Audit(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOAudit2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAudit,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Report_audit(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Report",
|
|
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_Audit_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Audit_name(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Audit_organization(ctx, field)
|
|
case "framework":
|
|
return ec.fieldContext_Audit_framework(ctx, field)
|
|
case "validFrom":
|
|
return ec.fieldContext_Audit_validFrom(ctx, field)
|
|
case "validUntil":
|
|
return ec.fieldContext_Audit_validUntil(ctx, field)
|
|
case "report":
|
|
return ec.fieldContext_Audit_report(ctx, field)
|
|
case "reportUrl":
|
|
return ec.fieldContext_Audit_reportUrl(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_Audit_state(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Audit_controls(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_Audit_trustCenterVisibility(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Audit_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Audit_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Audit_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Audit", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Report_permission(ctx context.Context, field graphql.CollectedField, obj *types.Report) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Report_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Report().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Report_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Report",
|
|
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_Report_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _RequestSignaturePayload_documentVersionSignatureEdge(ctx context.Context, field graphql.CollectedField, obj *types.RequestSignaturePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RequestSignaturePayload_documentVersionSignatureEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DocumentVersionSignatureEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersionSignatureEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignatureEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RequestSignaturePayload_documentVersionSignatureEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RequestSignaturePayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_DocumentVersionSignatureEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_DocumentVersionSignatureEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersionSignatureEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _RightsRequest_id(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequest) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequest_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_RightsRequest_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequest",
|
|
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) _RightsRequest_organization(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequest) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequest_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.RightsRequest().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequest_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequest",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _RightsRequest_requestType(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequest) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequest_requestType,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.RequestType, nil
|
|
},
|
|
nil,
|
|
ec.marshalNRightsRequestType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequest_requestType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequest",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type RightsRequestType does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _RightsRequest_requestState(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequest) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequest_requestState,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.RequestState, nil
|
|
},
|
|
nil,
|
|
ec.marshalNRightsRequestState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequest_requestState(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequest",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type RightsRequestState does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _RightsRequest_dataSubject(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequest) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequest_dataSubject,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DataSubject, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequest_dataSubject(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequest",
|
|
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) _RightsRequest_contact(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequest) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequest_contact,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Contact, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequest_contact(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequest",
|
|
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) _RightsRequest_details(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequest) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequest_details,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Details, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequest_details(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequest",
|
|
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) _RightsRequest_deadline(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequest) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequest_deadline,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Deadline, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequest_deadline(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequest",
|
|
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) _RightsRequest_actionTaken(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequest) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequest_actionTaken,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ActionTaken, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequest_actionTaken(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequest",
|
|
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) _RightsRequest_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequest) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequest_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequest_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequest",
|
|
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) _RightsRequest_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequest) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequest_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequest_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequest",
|
|
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) _RightsRequest_permission(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequest) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequest_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.RightsRequest().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequest_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequest",
|
|
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_RightsRequest_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _RightsRequestConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequestConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequestConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.RightsRequestConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequestConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequestConnection",
|
|
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) _RightsRequestConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequestConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequestConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNRightsRequestEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRightsRequestEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequestConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequestConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_RightsRequestEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_RightsRequestEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type RightsRequestEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _RightsRequestConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequestConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequestConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequestConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequestConnection",
|
|
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) _RightsRequestEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequestEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequestEdge_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_RightsRequestEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequestEdge",
|
|
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) _RightsRequestEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.RightsRequestEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RightsRequestEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNRightsRequest2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRightsRequest,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RightsRequestEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RightsRequestEdge",
|
|
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_RightsRequest_id(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_RightsRequest_organization(ctx, field)
|
|
case "requestType":
|
|
return ec.fieldContext_RightsRequest_requestType(ctx, field)
|
|
case "requestState":
|
|
return ec.fieldContext_RightsRequest_requestState(ctx, field)
|
|
case "dataSubject":
|
|
return ec.fieldContext_RightsRequest_dataSubject(ctx, field)
|
|
case "contact":
|
|
return ec.fieldContext_RightsRequest_contact(ctx, field)
|
|
case "details":
|
|
return ec.fieldContext_RightsRequest_details(ctx, field)
|
|
case "deadline":
|
|
return ec.fieldContext_RightsRequest_deadline(ctx, field)
|
|
case "actionTaken":
|
|
return ec.fieldContext_RightsRequest_actionTaken(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_RightsRequest_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_RightsRequest_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_RightsRequest_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type RightsRequest", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Risk_id(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_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_Risk_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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) _Risk_snapshotId(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_snapshotId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SnapshotID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_snapshotId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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) _Risk_name(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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) _Risk_description(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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) _Risk_category(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_category,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Category, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_category(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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) _Risk_treatment(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_treatment,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Treatment, nil
|
|
},
|
|
nil,
|
|
ec.marshalNRiskTreatment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_treatment(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type RiskTreatment does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Risk_inherentLikelihood(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_inherentLikelihood,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.InherentLikelihood, nil
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_inherentLikelihood(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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) _Risk_inherentImpact(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_inherentImpact,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.InherentImpact, nil
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_inherentImpact(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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) _Risk_inherentRiskScore(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_inherentRiskScore,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.InherentRiskScore, nil
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_inherentRiskScore(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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) _Risk_residualLikelihood(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_residualLikelihood,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ResidualLikelihood, nil
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_residualLikelihood(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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) _Risk_residualImpact(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_residualImpact,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ResidualImpact, nil
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_residualImpact(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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) _Risk_residualRiskScore(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_residualRiskScore,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ResidualRiskScore, nil
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_residualRiskScore(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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) _Risk_note(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_note,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Note, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_note(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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) _Risk_owner(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_owner,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Risk().Owner(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_owner(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Risk_organization(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Risk().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _Risk_measures(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_measures,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Risk().Measures(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.MeasureOrderBy), fc.Args["filter"].(*types.MeasureFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNMeasureConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_measures(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_MeasureConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_MeasureConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_MeasureConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type MeasureConnection", 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_Risk_measures_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Risk_documents(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_documents,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Risk().Documents(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.DocumentOrderBy), fc.Args["filter"].(*types.DocumentFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_documents(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_DocumentConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_DocumentConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_DocumentConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentConnection", 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_Risk_documents_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Risk_controls(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_controls,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Risk().Controls(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.ControlOrderBy), fc.Args["filter"].(*types.ControlFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNControlConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_controls(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_ControlConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_ControlConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_ControlConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlConnection", 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_Risk_controls_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Risk_obligations(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_obligations,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Risk().Obligations(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.ObligationOrderBy), fc.Args["filter"].(*types.ObligationFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNObligationConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_obligations(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_ObligationConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_ObligationConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_ObligationConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ObligationConnection", 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_Risk_obligations_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Risk_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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) _Risk_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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) _Risk_permission(ctx context.Context, field graphql.CollectedField, obj *types.Risk) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Risk_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Risk().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Risk_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Risk",
|
|
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_Risk_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _RiskConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.RiskConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RiskConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.RiskConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RiskConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RiskConnection",
|
|
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) _RiskConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.RiskConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RiskConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNRiskEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RiskConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RiskConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_RiskEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_RiskEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type RiskEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _RiskConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.RiskConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RiskConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RiskConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RiskConnection",
|
|
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) _RiskEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.RiskEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RiskEdge_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_RiskEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RiskEdge",
|
|
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) _RiskEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.RiskEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_RiskEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNRisk2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRisk,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_RiskEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "RiskEdge",
|
|
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_Risk_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Risk_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Risk_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Risk_description(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Risk_category(ctx, field)
|
|
case "treatment":
|
|
return ec.fieldContext_Risk_treatment(ctx, field)
|
|
case "inherentLikelihood":
|
|
return ec.fieldContext_Risk_inherentLikelihood(ctx, field)
|
|
case "inherentImpact":
|
|
return ec.fieldContext_Risk_inherentImpact(ctx, field)
|
|
case "inherentRiskScore":
|
|
return ec.fieldContext_Risk_inherentRiskScore(ctx, field)
|
|
case "residualLikelihood":
|
|
return ec.fieldContext_Risk_residualLikelihood(ctx, field)
|
|
case "residualImpact":
|
|
return ec.fieldContext_Risk_residualImpact(ctx, field)
|
|
case "residualRiskScore":
|
|
return ec.fieldContext_Risk_residualRiskScore(ctx, field)
|
|
case "note":
|
|
return ec.fieldContext_Risk_note(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Risk_owner(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Risk_organization(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Risk_measures(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Risk_documents(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Risk_controls(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Risk_obligations(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Risk_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Risk_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Risk_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Risk", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _SendSigningNotificationsPayload_success(ctx context.Context, field graphql.CollectedField, obj *types.SendSigningNotificationsPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SendSigningNotificationsPayload_success,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Success, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SendSigningNotificationsPayload_success(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SendSigningNotificationsPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _SignDocumentPayload_documentVersionSignature(ctx context.Context, field graphql.CollectedField, obj *types.SignDocumentPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SignDocumentPayload_documentVersionSignature,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DocumentVersionSignature, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersionSignature2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignature,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SignDocumentPayload_documentVersionSignature(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SignDocumentPayload",
|
|
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_DocumentVersionSignature_id(ctx, field)
|
|
case "documentVersion":
|
|
return ec.fieldContext_DocumentVersionSignature_documentVersion(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_DocumentVersionSignature_state(ctx, field)
|
|
case "signedBy":
|
|
return ec.fieldContext_DocumentVersionSignature_signedBy(ctx, field)
|
|
case "signedAt":
|
|
return ec.fieldContext_DocumentVersionSignature_signedAt(ctx, field)
|
|
case "requestedAt":
|
|
return ec.fieldContext_DocumentVersionSignature_requestedAt(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_DocumentVersionSignature_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_DocumentVersionSignature_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_DocumentVersionSignature_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersionSignature", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _SignableDocument_id(ctx context.Context, field graphql.CollectedField, obj *types.SignableDocument) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SignableDocument_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_SignableDocument_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SignableDocument",
|
|
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) _SignableDocument_title(ctx context.Context, field graphql.CollectedField, obj *types.SignableDocument) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SignableDocument_title,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Title, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SignableDocument_title(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SignableDocument",
|
|
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) _SignableDocument_description(ctx context.Context, field graphql.CollectedField, obj *types.SignableDocument) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SignableDocument_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SignableDocument_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SignableDocument",
|
|
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) _SignableDocument_documentType(ctx context.Context, field graphql.CollectedField, obj *types.SignableDocument) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SignableDocument_documentType,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DocumentType, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SignableDocument_documentType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SignableDocument",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type DocumentType does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _SignableDocument_classification(ctx context.Context, field graphql.CollectedField, obj *types.SignableDocument) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SignableDocument_classification,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Classification, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SignableDocument_classification(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SignableDocument",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type DocumentClassification does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _SignableDocument_signed(ctx context.Context, field graphql.CollectedField, obj *types.SignableDocument) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SignableDocument_signed,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.SignableDocument().Signed(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SignableDocument_signed(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SignableDocument",
|
|
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")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _SignableDocument_versions(ctx context.Context, field graphql.CollectedField, obj *types.SignableDocument) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SignableDocument_versions,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.SignableDocument().Versions(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.DocumentVersionOrderBy), fc.Args["filter"].(*types.DocumentVersionFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersionConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SignableDocument_versions(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SignableDocument",
|
|
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_DocumentVersionConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_DocumentVersionConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersionConnection", 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_SignableDocument_versions_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _SignableDocument_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.SignableDocument) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SignableDocument_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SignableDocument_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SignableDocument",
|
|
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) _SignableDocument_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.SignableDocument) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SignableDocument_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SignableDocument_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SignableDocument",
|
|
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) _SignableDocumentConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.SignableDocumentConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SignableDocumentConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNSignableDocumentEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignableDocumentEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SignableDocumentConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SignableDocumentConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_SignableDocumentEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_SignableDocumentEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type SignableDocumentEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _SignableDocumentConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.SignableDocumentConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SignableDocumentConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SignableDocumentConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SignableDocumentConnection",
|
|
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) _SignableDocumentEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.SignableDocumentEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SignableDocumentEdge_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_SignableDocumentEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SignableDocumentEdge",
|
|
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) _SignableDocumentEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.SignableDocumentEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SignableDocumentEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNSignableDocument2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignableDocument,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SignableDocumentEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SignableDocumentEdge",
|
|
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_SignableDocument_id(ctx, field)
|
|
case "title":
|
|
return ec.fieldContext_SignableDocument_title(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_SignableDocument_description(ctx, field)
|
|
case "documentType":
|
|
return ec.fieldContext_SignableDocument_documentType(ctx, field)
|
|
case "classification":
|
|
return ec.fieldContext_SignableDocument_classification(ctx, field)
|
|
case "signed":
|
|
return ec.fieldContext_SignableDocument_signed(ctx, field)
|
|
case "versions":
|
|
return ec.fieldContext_SignableDocument_versions(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_SignableDocument_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_SignableDocument_updatedAt(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type SignableDocument", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _SlackConnection_id(ctx context.Context, field graphql.CollectedField, obj *types.SlackConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SlackConnection_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_SlackConnection_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SlackConnection",
|
|
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) _SlackConnection_channel(ctx context.Context, field graphql.CollectedField, obj *types.SlackConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SlackConnection_channel,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Channel, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SlackConnection_channel(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SlackConnection",
|
|
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) _SlackConnection_channelId(ctx context.Context, field graphql.CollectedField, obj *types.SlackConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SlackConnection_channelId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ChannelID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SlackConnection_channelId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SlackConnection",
|
|
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) _SlackConnection_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.SlackConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SlackConnection_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SlackConnection_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SlackConnection",
|
|
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) _SlackConnection_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.SlackConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SlackConnection_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SlackConnection_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SlackConnection",
|
|
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) _SlackConnectionConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.SlackConnectionConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SlackConnectionConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNSlackConnectionEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSlackConnectionEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SlackConnectionConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SlackConnectionConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_SlackConnectionEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_SlackConnectionEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type SlackConnectionEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _SlackConnectionConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.SlackConnectionConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SlackConnectionConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SlackConnectionConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SlackConnectionConnection",
|
|
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) _SlackConnectionEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.SlackConnectionEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SlackConnectionEdge_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_SlackConnectionEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SlackConnectionEdge",
|
|
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) _SlackConnectionEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.SlackConnectionEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SlackConnectionEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNSlackConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSlackConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SlackConnectionEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SlackConnectionEdge",
|
|
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_SlackConnection_id(ctx, field)
|
|
case "channel":
|
|
return ec.fieldContext_SlackConnection_channel(ctx, field)
|
|
case "channelId":
|
|
return ec.fieldContext_SlackConnection_channelId(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_SlackConnection_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_SlackConnection_updatedAt(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type SlackConnection", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Snapshot_id(ctx context.Context, field graphql.CollectedField, obj *types.Snapshot) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Snapshot_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_Snapshot_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Snapshot",
|
|
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) _Snapshot_organization(ctx context.Context, field graphql.CollectedField, obj *types.Snapshot) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Snapshot_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Snapshot().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Snapshot_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Snapshot",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _Snapshot_name(ctx context.Context, field graphql.CollectedField, obj *types.Snapshot) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Snapshot_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Snapshot_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Snapshot",
|
|
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) _Snapshot_description(ctx context.Context, field graphql.CollectedField, obj *types.Snapshot) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Snapshot_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Snapshot_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Snapshot",
|
|
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) _Snapshot_type(ctx context.Context, field graphql.CollectedField, obj *types.Snapshot) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Snapshot_type,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Type, nil
|
|
},
|
|
nil,
|
|
ec.marshalNSnapshotsType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotsType,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Snapshot_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Snapshot",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type SnapshotsType does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Snapshot_controls(ctx context.Context, field graphql.CollectedField, obj *types.Snapshot) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Snapshot_controls,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Snapshot().Controls(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.ControlOrderBy), fc.Args["filter"].(*types.ControlFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNControlConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Snapshot_controls(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Snapshot",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_ControlConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_ControlConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_ControlConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlConnection", 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_Snapshot_controls_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Snapshot_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Snapshot) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Snapshot_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Snapshot_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Snapshot",
|
|
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) _Snapshot_permission(ctx context.Context, field graphql.CollectedField, obj *types.Snapshot) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Snapshot_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Snapshot().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Snapshot_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Snapshot",
|
|
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_Snapshot_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _SnapshotConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.SnapshotConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SnapshotConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.SnapshotConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SnapshotConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SnapshotConnection",
|
|
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) _SnapshotConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.SnapshotConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SnapshotConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNSnapshotEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshotEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SnapshotConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SnapshotConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_SnapshotEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_SnapshotEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type SnapshotEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _SnapshotConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.SnapshotConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SnapshotConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SnapshotConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SnapshotConnection",
|
|
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) _SnapshotEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.SnapshotEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SnapshotEdge_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_SnapshotEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SnapshotEdge",
|
|
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) _SnapshotEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.SnapshotEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_SnapshotEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNSnapshot2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshot,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_SnapshotEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "SnapshotEdge",
|
|
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_Snapshot_id(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Snapshot_organization(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Snapshot_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Snapshot_description(ctx, field)
|
|
case "type":
|
|
return ec.fieldContext_Snapshot_type(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Snapshot_controls(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Snapshot_createdAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Snapshot_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Snapshot", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _StateOfApplicability_id(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicability) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicability_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_StateOfApplicability_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicability",
|
|
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) _StateOfApplicability_name(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicability) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicability_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicability_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicability",
|
|
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) _StateOfApplicability_sourceId(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicability) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicability_sourceId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SourceID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicability_sourceId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicability",
|
|
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) _StateOfApplicability_snapshotId(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicability) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicability_snapshotId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SnapshotID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicability_snapshotId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicability",
|
|
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) _StateOfApplicability_organization(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicability) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicability_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.StateOfApplicability().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicability_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicability",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _StateOfApplicability_owner(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicability) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicability_owner,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.StateOfApplicability().Owner(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicability_owner(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicability",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _StateOfApplicability_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicability) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicability_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicability_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicability",
|
|
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) _StateOfApplicability_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicability) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicability_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicability_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicability",
|
|
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) _StateOfApplicability_controls(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicability) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicability_controls,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.StateOfApplicability().Controls(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.ControlOrderBy), fc.Args["filter"].(*types.ControlFilter))
|
|
},
|
|
nil,
|
|
ec.marshalNControlConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicability_controls(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicability",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_ControlConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_ControlConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_ControlConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ControlConnection", 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_StateOfApplicability_controls_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _StateOfApplicability_availableControls(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicability) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicability_availableControls,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.StateOfApplicability().AvailableControls(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNAvailableStateOfApplicabilityControl2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAvailableStateOfApplicabilityControlᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicability_availableControls(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicability",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "controlId":
|
|
return ec.fieldContext_AvailableStateOfApplicabilityControl_controlId(ctx, field)
|
|
case "sectionTitle":
|
|
return ec.fieldContext_AvailableStateOfApplicabilityControl_sectionTitle(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_AvailableStateOfApplicabilityControl_name(ctx, field)
|
|
case "frameworkId":
|
|
return ec.fieldContext_AvailableStateOfApplicabilityControl_frameworkId(ctx, field)
|
|
case "frameworkName":
|
|
return ec.fieldContext_AvailableStateOfApplicabilityControl_frameworkName(ctx, field)
|
|
case "organizationId":
|
|
return ec.fieldContext_AvailableStateOfApplicabilityControl_organizationId(ctx, field)
|
|
case "stateOfApplicabilityId":
|
|
return ec.fieldContext_AvailableStateOfApplicabilityControl_stateOfApplicabilityId(ctx, field)
|
|
case "applicability":
|
|
return ec.fieldContext_AvailableStateOfApplicabilityControl_applicability(ctx, field)
|
|
case "justification":
|
|
return ec.fieldContext_AvailableStateOfApplicabilityControl_justification(ctx, field)
|
|
case "bestPractice":
|
|
return ec.fieldContext_AvailableStateOfApplicabilityControl_bestPractice(ctx, field)
|
|
case "regulatory":
|
|
return ec.fieldContext_AvailableStateOfApplicabilityControl_regulatory(ctx, field)
|
|
case "contractual":
|
|
return ec.fieldContext_AvailableStateOfApplicabilityControl_contractual(ctx, field)
|
|
case "riskAssessment":
|
|
return ec.fieldContext_AvailableStateOfApplicabilityControl_riskAssessment(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type AvailableStateOfApplicabilityControl", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _StateOfApplicability_permission(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicability) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicability_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.StateOfApplicability().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicability_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicability",
|
|
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_StateOfApplicability_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _StateOfApplicabilityConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.StateOfApplicabilityConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicabilityConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityConnection",
|
|
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) _StateOfApplicabilityConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNStateOfApplicabilityEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicabilityConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_StateOfApplicabilityEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_StateOfApplicabilityEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type StateOfApplicabilityEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _StateOfApplicabilityConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicabilityConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityConnection",
|
|
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) _StateOfApplicabilityControl_id(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityControl_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_StateOfApplicabilityControl_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityControl",
|
|
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) _StateOfApplicabilityControl_stateOfApplicabilityId(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityControl_stateOfApplicabilityId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.StateOfApplicabilityID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicabilityControl_stateOfApplicabilityId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityControl",
|
|
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) _StateOfApplicabilityControl_controlId(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityControl_controlId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ControlID, nil
|
|
},
|
|
nil,
|
|
ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicabilityControl_controlId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityControl",
|
|
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) _StateOfApplicabilityControl_stateOfApplicability(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityControl_stateOfApplicability,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.StateOfApplicabilityControl().StateOfApplicability(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNStateOfApplicability2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicability,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicabilityControl_stateOfApplicability(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityControl",
|
|
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_StateOfApplicability_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_StateOfApplicability_name(ctx, field)
|
|
case "sourceId":
|
|
return ec.fieldContext_StateOfApplicability_sourceId(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_StateOfApplicability_snapshotId(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_StateOfApplicability_organization(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_StateOfApplicability_owner(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_StateOfApplicability_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_StateOfApplicability_updatedAt(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_StateOfApplicability_controls(ctx, field)
|
|
case "availableControls":
|
|
return ec.fieldContext_StateOfApplicability_availableControls(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_StateOfApplicability_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type StateOfApplicability", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _StateOfApplicabilityControl_applicability(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityControl_applicability,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Applicability, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicabilityControl_applicability(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityControl",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _StateOfApplicabilityControl_justification(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityControl) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityControl_justification,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Justification, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicabilityControl_justification(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityControl",
|
|
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) _StateOfApplicabilityControlConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityControlConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityControlConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TotalCount, nil
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicabilityControlConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityControlConnection",
|
|
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) _StateOfApplicabilityControlConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityControlConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityControlConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNStateOfApplicabilityControlEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityControlEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicabilityControlConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityControlConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_StateOfApplicabilityControlEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_StateOfApplicabilityControlEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type StateOfApplicabilityControlEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _StateOfApplicabilityControlConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityControlConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityControlConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicabilityControlConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityControlConnection",
|
|
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) _StateOfApplicabilityControlEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityControlEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityControlEdge_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_StateOfApplicabilityControlEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityControlEdge",
|
|
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) _StateOfApplicabilityControlEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityControlEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityControlEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNStateOfApplicabilityControl2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityControl,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicabilityControlEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityControlEdge",
|
|
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_StateOfApplicabilityControl_id(ctx, field)
|
|
case "stateOfApplicabilityId":
|
|
return ec.fieldContext_StateOfApplicabilityControl_stateOfApplicabilityId(ctx, field)
|
|
case "controlId":
|
|
return ec.fieldContext_StateOfApplicabilityControl_controlId(ctx, field)
|
|
case "stateOfApplicability":
|
|
return ec.fieldContext_StateOfApplicabilityControl_stateOfApplicability(ctx, field)
|
|
case "applicability":
|
|
return ec.fieldContext_StateOfApplicabilityControl_applicability(ctx, field)
|
|
case "justification":
|
|
return ec.fieldContext_StateOfApplicabilityControl_justification(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type StateOfApplicabilityControl", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _StateOfApplicabilityEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityEdge_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_StateOfApplicabilityEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityEdge",
|
|
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) _StateOfApplicabilityEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.StateOfApplicabilityEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_StateOfApplicabilityEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNStateOfApplicability2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicability,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_StateOfApplicabilityEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "StateOfApplicabilityEdge",
|
|
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_StateOfApplicability_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_StateOfApplicability_name(ctx, field)
|
|
case "sourceId":
|
|
return ec.fieldContext_StateOfApplicability_sourceId(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_StateOfApplicability_snapshotId(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_StateOfApplicability_organization(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_StateOfApplicability_owner(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_StateOfApplicability_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_StateOfApplicability_updatedAt(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_StateOfApplicability_controls(ctx, field)
|
|
case "availableControls":
|
|
return ec.fieldContext_StateOfApplicability_availableControls(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_StateOfApplicability_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type StateOfApplicability", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Task_id(ctx context.Context, field graphql.CollectedField, obj *types.Task) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Task_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_Task_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Task",
|
|
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) _Task_name(ctx context.Context, field graphql.CollectedField, obj *types.Task) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Task_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Task_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Task",
|
|
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) _Task_description(ctx context.Context, field graphql.CollectedField, obj *types.Task) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Task_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Task_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Task",
|
|
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) _Task_state(ctx context.Context, field graphql.CollectedField, obj *types.Task) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Task_state,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.State, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTaskState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskState,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Task_state(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Task",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type TaskState does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Task_timeEstimate(ctx context.Context, field graphql.CollectedField, obj *types.Task) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Task_timeEstimate,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TimeEstimate, nil
|
|
},
|
|
nil,
|
|
ec.marshalODuration2ᚖtimeᚐDuration,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Task_timeEstimate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Task",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Duration does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Task_deadline(ctx context.Context, field graphql.CollectedField, obj *types.Task) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Task_deadline,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Deadline, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Task_deadline(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Task",
|
|
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) _Task_assignedTo(ctx context.Context, field graphql.CollectedField, obj *types.Task) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Task_assignedTo,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Task().AssignedTo(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Task_assignedTo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Task",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Task_organization(ctx context.Context, field graphql.CollectedField, obj *types.Task) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Task_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Task().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Task_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Task",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _Task_measure(ctx context.Context, field graphql.CollectedField, obj *types.Task) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Task_measure,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Task().Measure(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOMeasure2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasure,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Task_measure(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Task",
|
|
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_Measure_id(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Measure_category(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Measure_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Measure_description(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_Measure_state(ctx, field)
|
|
case "evidences":
|
|
return ec.fieldContext_Measure_evidences(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Measure_tasks(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Measure_risks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Measure_controls(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Measure_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Measure_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Measure_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Measure", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Task_evidences(ctx context.Context, field graphql.CollectedField, obj *types.Task) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Task_evidences,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Task().Evidences(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.EvidenceOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNEvidenceConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐEvidenceConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Task_evidences(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Task",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_EvidenceConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_EvidenceConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_EvidenceConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type EvidenceConnection", 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_Task_evidences_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Task_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Task) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Task_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Task_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Task",
|
|
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) _Task_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Task) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Task_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Task_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Task",
|
|
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) _Task_permission(ctx context.Context, field graphql.CollectedField, obj *types.Task) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Task_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Task().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Task_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Task",
|
|
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_Task_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TaskConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.TaskConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TaskConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TaskConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TaskConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TaskConnection",
|
|
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) _TaskConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.TaskConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TaskConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTaskEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTaskEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TaskConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TaskConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_TaskEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_TaskEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TaskEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TaskConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.TaskConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TaskConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TaskConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TaskConnection",
|
|
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) _TaskEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.TaskEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TaskEdge_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_TaskEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TaskEdge",
|
|
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) _TaskEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.TaskEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TaskEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTask2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTask,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TaskEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TaskEdge",
|
|
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_Task_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Task_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Task_description(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_Task_state(ctx, field)
|
|
case "timeEstimate":
|
|
return ec.fieldContext_Task_timeEstimate(ctx, field)
|
|
case "deadline":
|
|
return ec.fieldContext_Task_deadline(ctx, field)
|
|
case "assignedTo":
|
|
return ec.fieldContext_Task_assignedTo(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Task_organization(ctx, field)
|
|
case "measure":
|
|
return ec.fieldContext_Task_measure(ctx, field)
|
|
case "evidences":
|
|
return ec.fieldContext_Task_evidences(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Task_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Task_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Task_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Task", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TransferImpactAssessment_id(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessment_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_TransferImpactAssessment_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessment",
|
|
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) _TransferImpactAssessment_processingActivity(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessment_processingActivity,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TransferImpactAssessment().ProcessingActivity(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNProcessingActivity2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivity,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TransferImpactAssessment_processingActivity(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessment",
|
|
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_ProcessingActivity_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_ProcessingActivity_snapshotId(ctx, field)
|
|
case "sourceId":
|
|
return ec.fieldContext_ProcessingActivity_sourceId(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_ProcessingActivity_organization(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_ProcessingActivity_name(ctx, field)
|
|
case "purpose":
|
|
return ec.fieldContext_ProcessingActivity_purpose(ctx, field)
|
|
case "dataSubjectCategory":
|
|
return ec.fieldContext_ProcessingActivity_dataSubjectCategory(ctx, field)
|
|
case "personalDataCategory":
|
|
return ec.fieldContext_ProcessingActivity_personalDataCategory(ctx, field)
|
|
case "specialOrCriminalData":
|
|
return ec.fieldContext_ProcessingActivity_specialOrCriminalData(ctx, field)
|
|
case "consentEvidenceLink":
|
|
return ec.fieldContext_ProcessingActivity_consentEvidenceLink(ctx, field)
|
|
case "lawfulBasis":
|
|
return ec.fieldContext_ProcessingActivity_lawfulBasis(ctx, field)
|
|
case "recipients":
|
|
return ec.fieldContext_ProcessingActivity_recipients(ctx, field)
|
|
case "location":
|
|
return ec.fieldContext_ProcessingActivity_location(ctx, field)
|
|
case "internationalTransfers":
|
|
return ec.fieldContext_ProcessingActivity_internationalTransfers(ctx, field)
|
|
case "transferSafeguards":
|
|
return ec.fieldContext_ProcessingActivity_transferSafeguards(ctx, field)
|
|
case "retentionPeriod":
|
|
return ec.fieldContext_ProcessingActivity_retentionPeriod(ctx, field)
|
|
case "securityMeasures":
|
|
return ec.fieldContext_ProcessingActivity_securityMeasures(ctx, field)
|
|
case "dataProtectionImpactAssessmentNeeded":
|
|
return ec.fieldContext_ProcessingActivity_dataProtectionImpactAssessmentNeeded(ctx, field)
|
|
case "transferImpactAssessmentNeeded":
|
|
return ec.fieldContext_ProcessingActivity_transferImpactAssessmentNeeded(ctx, field)
|
|
case "lastReviewDate":
|
|
return ec.fieldContext_ProcessingActivity_lastReviewDate(ctx, field)
|
|
case "nextReviewDate":
|
|
return ec.fieldContext_ProcessingActivity_nextReviewDate(ctx, field)
|
|
case "role":
|
|
return ec.fieldContext_ProcessingActivity_role(ctx, field)
|
|
case "dataProtectionOfficer":
|
|
return ec.fieldContext_ProcessingActivity_dataProtectionOfficer(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_ProcessingActivity_vendors(ctx, field)
|
|
case "dataProtectionImpactAssessment":
|
|
return ec.fieldContext_ProcessingActivity_dataProtectionImpactAssessment(ctx, field)
|
|
case "transferImpactAssessment":
|
|
return ec.fieldContext_ProcessingActivity_transferImpactAssessment(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_ProcessingActivity_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_ProcessingActivity_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_ProcessingActivity_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ProcessingActivity", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TransferImpactAssessment_organization(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessment_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TransferImpactAssessment().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TransferImpactAssessment_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessment",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _TransferImpactAssessment_dataSubjects(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessment_dataSubjects,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DataSubjects, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TransferImpactAssessment_dataSubjects(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessment",
|
|
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) _TransferImpactAssessment_legalMechanism(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessment_legalMechanism,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.LegalMechanism, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TransferImpactAssessment_legalMechanism(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessment",
|
|
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) _TransferImpactAssessment_transfer(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessment_transfer,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Transfer, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TransferImpactAssessment_transfer(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessment",
|
|
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) _TransferImpactAssessment_localLawRisk(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessment_localLawRisk,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.LocalLawRisk, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TransferImpactAssessment_localLawRisk(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessment",
|
|
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) _TransferImpactAssessment_supplementaryMeasures(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessment_supplementaryMeasures,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SupplementaryMeasures, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TransferImpactAssessment_supplementaryMeasures(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessment",
|
|
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) _TransferImpactAssessment_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessment_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TransferImpactAssessment_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessment",
|
|
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) _TransferImpactAssessment_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessment_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TransferImpactAssessment_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessment",
|
|
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) _TransferImpactAssessment_permission(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessment_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.TransferImpactAssessment().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TransferImpactAssessment_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessment",
|
|
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_TransferImpactAssessment_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TransferImpactAssessmentConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessmentConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessmentConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TransferImpactAssessmentConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TransferImpactAssessmentConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessmentConnection",
|
|
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) _TransferImpactAssessmentConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessmentConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessmentConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTransferImpactAssessmentEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessmentEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TransferImpactAssessmentConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessmentConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_TransferImpactAssessmentEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_TransferImpactAssessmentEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TransferImpactAssessmentEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TransferImpactAssessmentConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessmentConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessmentConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TransferImpactAssessmentConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessmentConnection",
|
|
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) _TransferImpactAssessmentEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessmentEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessmentEdge_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_TransferImpactAssessmentEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessmentEdge",
|
|
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) _TransferImpactAssessmentEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.TransferImpactAssessmentEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TransferImpactAssessmentEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTransferImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessment,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TransferImpactAssessmentEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TransferImpactAssessmentEdge",
|
|
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_TransferImpactAssessment_id(ctx, field)
|
|
case "processingActivity":
|
|
return ec.fieldContext_TransferImpactAssessment_processingActivity(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_TransferImpactAssessment_organization(ctx, field)
|
|
case "dataSubjects":
|
|
return ec.fieldContext_TransferImpactAssessment_dataSubjects(ctx, field)
|
|
case "legalMechanism":
|
|
return ec.fieldContext_TransferImpactAssessment_legalMechanism(ctx, field)
|
|
case "transfer":
|
|
return ec.fieldContext_TransferImpactAssessment_transfer(ctx, field)
|
|
case "localLawRisk":
|
|
return ec.fieldContext_TransferImpactAssessment_localLawRisk(ctx, field)
|
|
case "supplementaryMeasures":
|
|
return ec.fieldContext_TransferImpactAssessment_supplementaryMeasures(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TransferImpactAssessment_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TransferImpactAssessment_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TransferImpactAssessment_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TransferImpactAssessment", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenter_id(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenter) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenter_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_TrustCenter_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenter",
|
|
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) _TrustCenter_active(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenter) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenter_active,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Active, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenter_active(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenter",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenter_ndaFileName(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenter) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenter_ndaFileName,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.NdaFileName, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenter_ndaFileName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenter",
|
|
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) _TrustCenter_ndaFileUrl(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenter) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenter_ndaFileUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TrustCenter().NdaFileURL(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenter_ndaFileUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenter",
|
|
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) _TrustCenter_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenter) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenter_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenter_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenter",
|
|
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) _TrustCenter_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenter) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenter_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenter_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenter",
|
|
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) _TrustCenter_organization(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenter) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenter_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TrustCenter().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenter_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenter",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _TrustCenter_accesses(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenter) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenter_accesses,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.TrustCenter().Accesses(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.OrderBy[coredata.TrustCenterAccessOrderField]))
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterAccessConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterAccessConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenter_accesses(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenter",
|
|
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_TrustCenterAccessConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_TrustCenterAccessConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterAccessConnection", 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_TrustCenter_accesses_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenter_references(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenter) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenter_references,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.TrustCenter().References(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.OrderBy[coredata.TrustCenterReferenceOrderField]))
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterReferenceConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterReferenceConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenter_references(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenter",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_TrustCenterReferenceConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_TrustCenterReferenceConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_TrustCenterReferenceConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterReferenceConnection", 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_TrustCenter_references_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenter_permission(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenter) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenter_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.TrustCenter().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenter_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenter",
|
|
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_TrustCenter_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterAccess_id(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccess_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_TrustCenterAccess_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccess",
|
|
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) _TrustCenterAccess_email(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccess_email,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Email, nil
|
|
},
|
|
nil,
|
|
ec.marshalNEmailAddr2goᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterAccess_email(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccess",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type EmailAddr does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterAccess_name(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccess_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterAccess_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccess",
|
|
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) _TrustCenterAccess_active(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccess_active,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Active, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterAccess_active(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccess",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterAccess_hasAcceptedNonDisclosureAgreement(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccess_hasAcceptedNonDisclosureAgreement,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.HasAcceptedNonDisclosureAgreement, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterAccess_hasAcceptedNonDisclosureAgreement(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccess",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterAccess_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccess_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterAccess_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccess",
|
|
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) _TrustCenterAccess_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccess_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterAccess_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccess",
|
|
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) _TrustCenterAccess_lastTokenExpiresAt(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccess_lastTokenExpiresAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.LastTokenExpiresAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterAccess_lastTokenExpiresAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccess",
|
|
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) _TrustCenterAccess_pendingRequestCount(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccess_pendingRequestCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TrustCenterAccess().PendingRequestCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterAccess_pendingRequestCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccess",
|
|
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) _TrustCenterAccess_activeCount(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccess_activeCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TrustCenterAccess().ActiveCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterAccess_activeCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccess",
|
|
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) _TrustCenterAccess_availableDocumentAccesses(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccess_availableDocumentAccesses,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.TrustCenterAccess().AvailableDocumentAccesses(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.OrderBy[coredata.TrustCenterDocumentAccessOrderField]))
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterDocumentAccessConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccessConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterAccess_availableDocumentAccesses(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccess",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: true,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "totalCount":
|
|
return ec.fieldContext_TrustCenterDocumentAccessConnection_totalCount(ctx, field)
|
|
case "edges":
|
|
return ec.fieldContext_TrustCenterDocumentAccessConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_TrustCenterDocumentAccessConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterDocumentAccessConnection", 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_TrustCenterAccess_availableDocumentAccesses_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterAccess_permission(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccess_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.TrustCenterAccess().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterAccess_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccess",
|
|
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_TrustCenterAccess_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterAccessConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccessConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccessConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterAccessEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterAccessEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterAccessConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccessConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_TrustCenterAccessEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_TrustCenterAccessEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterAccessEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterAccessConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccessConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccessConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterAccessConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccessConnection",
|
|
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) _TrustCenterAccessEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccessEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccessEdge_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_TrustCenterAccessEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccessEdge",
|
|
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) _TrustCenterAccessEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterAccessEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterAccessEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterAccess2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterAccess,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterAccessEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterAccessEdge",
|
|
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_TrustCenterAccess_id(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_TrustCenterAccess_email(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_TrustCenterAccess_name(ctx, field)
|
|
case "active":
|
|
return ec.fieldContext_TrustCenterAccess_active(ctx, field)
|
|
case "hasAcceptedNonDisclosureAgreement":
|
|
return ec.fieldContext_TrustCenterAccess_hasAcceptedNonDisclosureAgreement(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TrustCenterAccess_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TrustCenterAccess_updatedAt(ctx, field)
|
|
case "lastTokenExpiresAt":
|
|
return ec.fieldContext_TrustCenterAccess_lastTokenExpiresAt(ctx, field)
|
|
case "pendingRequestCount":
|
|
return ec.fieldContext_TrustCenterAccess_pendingRequestCount(ctx, field)
|
|
case "activeCount":
|
|
return ec.fieldContext_TrustCenterAccess_activeCount(ctx, field)
|
|
case "availableDocumentAccesses":
|
|
return ec.fieldContext_TrustCenterAccess_availableDocumentAccesses(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TrustCenterAccess_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterAccess", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_TrustCenterEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_TrustCenterEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterConnection",
|
|
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) _TrustCenterDocumentAccess_id(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterDocumentAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterDocumentAccess_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_TrustCenterDocumentAccess_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterDocumentAccess",
|
|
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) _TrustCenterDocumentAccess_status(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterDocumentAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterDocumentAccess_status,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Status, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterDocumentAccessStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessStatus,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterDocumentAccess_status(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterDocumentAccess",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type TrustCenterDocumentAccessStatus does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterDocumentAccess_document(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterDocumentAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterDocumentAccess_document,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TrustCenterDocumentAccess().Document(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalODocument2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocument,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterDocumentAccess_document(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterDocumentAccess",
|
|
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_Document_id(ctx, field)
|
|
case "title":
|
|
return ec.fieldContext_Document_title(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Document_description(ctx, field)
|
|
case "documentType":
|
|
return ec.fieldContext_Document_documentType(ctx, field)
|
|
case "classification":
|
|
return ec.fieldContext_Document_classification(ctx, field)
|
|
case "currentPublishedVersion":
|
|
return ec.fieldContext_Document_currentPublishedVersion(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_Document_trustCenterVisibility(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Document_owner(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Document_organization(ctx, field)
|
|
case "versions":
|
|
return ec.fieldContext_Document_versions(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Document_controls(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Document_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Document_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Document_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Document", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterDocumentAccess_report(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterDocumentAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterDocumentAccess_report,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TrustCenterDocumentAccess().Report(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOReport2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐReport,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterDocumentAccess_report(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterDocumentAccess",
|
|
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_Report_id(ctx, field)
|
|
case "objectKey":
|
|
return ec.fieldContext_Report_objectKey(ctx, field)
|
|
case "mimeType":
|
|
return ec.fieldContext_Report_mimeType(ctx, field)
|
|
case "filename":
|
|
return ec.fieldContext_Report_filename(ctx, field)
|
|
case "size":
|
|
return ec.fieldContext_Report_size(ctx, field)
|
|
case "downloadUrl":
|
|
return ec.fieldContext_Report_downloadUrl(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Report_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Report_updatedAt(ctx, field)
|
|
case "audit":
|
|
return ec.fieldContext_Report_audit(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Report_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Report", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterDocumentAccess_trustCenterFile(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterDocumentAccess) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterDocumentAccess_trustCenterFile,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TrustCenterDocumentAccess().TrustCenterFile(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOTrustCenterFile2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterFile,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterDocumentAccess_trustCenterFile(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterDocumentAccess",
|
|
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_TrustCenterFile_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_TrustCenterFile_name(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_TrustCenterFile_category(ctx, field)
|
|
case "fileUrl":
|
|
return ec.fieldContext_TrustCenterFile_fileUrl(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_TrustCenterFile_trustCenterVisibility(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TrustCenterFile_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TrustCenterFile_updatedAt(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_TrustCenterFile_organization(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TrustCenterFile_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterFile", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterDocumentAccessConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterDocumentAccessConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterDocumentAccessConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TrustCenterDocumentAccessConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterDocumentAccessConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterDocumentAccessConnection",
|
|
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) _TrustCenterDocumentAccessConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterDocumentAccessConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterDocumentAccessConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterDocumentAccessEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccessEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterDocumentAccessConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterDocumentAccessConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_TrustCenterDocumentAccessEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_TrustCenterDocumentAccessEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterDocumentAccessEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterDocumentAccessConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterDocumentAccessConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterDocumentAccessConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterDocumentAccessConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterDocumentAccessConnection",
|
|
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) _TrustCenterDocumentAccessEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterDocumentAccessEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterDocumentAccessEdge_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_TrustCenterDocumentAccessEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterDocumentAccessEdge",
|
|
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) _TrustCenterDocumentAccessEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterDocumentAccessEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterDocumentAccessEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterDocumentAccess2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccess,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterDocumentAccessEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterDocumentAccessEdge",
|
|
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_TrustCenterDocumentAccess_id(ctx, field)
|
|
case "status":
|
|
return ec.fieldContext_TrustCenterDocumentAccess_status(ctx, field)
|
|
case "document":
|
|
return ec.fieldContext_TrustCenterDocumentAccess_document(ctx, field)
|
|
case "report":
|
|
return ec.fieldContext_TrustCenterDocumentAccess_report(ctx, field)
|
|
case "trustCenterFile":
|
|
return ec.fieldContext_TrustCenterDocumentAccess_trustCenterFile(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterDocumentAccess", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterEdge_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_TrustCenterEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterEdge",
|
|
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) _TrustCenterEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenter,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterEdge",
|
|
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_TrustCenter_id(ctx, field)
|
|
case "active":
|
|
return ec.fieldContext_TrustCenter_active(ctx, field)
|
|
case "ndaFileName":
|
|
return ec.fieldContext_TrustCenter_ndaFileName(ctx, field)
|
|
case "ndaFileUrl":
|
|
return ec.fieldContext_TrustCenter_ndaFileUrl(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TrustCenter_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TrustCenter_updatedAt(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_TrustCenter_organization(ctx, field)
|
|
case "accesses":
|
|
return ec.fieldContext_TrustCenter_accesses(ctx, field)
|
|
case "references":
|
|
return ec.fieldContext_TrustCenter_references(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TrustCenter_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenter", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterFile_id(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterFile) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterFile_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_TrustCenterFile_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterFile",
|
|
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) _TrustCenterFile_name(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterFile) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterFile_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterFile_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterFile",
|
|
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) _TrustCenterFile_category(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterFile) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterFile_category,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Category, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterFile_category(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterFile",
|
|
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) _TrustCenterFile_fileUrl(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterFile) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterFile_fileUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TrustCenterFile().FileURL(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterFile_fileUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterFile",
|
|
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) _TrustCenterFile_trustCenterVisibility(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterFile) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterFile_trustCenterVisibility,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TrustCenterVisibility, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterVisibility2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterFile_trustCenterVisibility(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterFile",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type TrustCenterVisibility does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterFile_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterFile) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterFile_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterFile_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterFile",
|
|
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) _TrustCenterFile_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterFile) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterFile_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterFile_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterFile",
|
|
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) _TrustCenterFile_organization(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterFile) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterFile_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TrustCenterFile().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterFile_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterFile",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _TrustCenterFile_permission(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterFile) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterFile_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.TrustCenterFile().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterFile_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterFile",
|
|
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_TrustCenterFile_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterFileConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterFileConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterFileConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TrustCenterFileConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterFileConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterFileConnection",
|
|
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) _TrustCenterFileConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterFileConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterFileConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterFileEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterFileEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterFileConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterFileConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_TrustCenterFileEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_TrustCenterFileEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterFileEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterFileConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterFileConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterFileConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterFileConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterFileConnection",
|
|
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) _TrustCenterFileEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterFileEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterFileEdge_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_TrustCenterFileEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterFileEdge",
|
|
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) _TrustCenterFileEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterFileEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterFileEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterFile2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterFile,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterFileEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterFileEdge",
|
|
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_TrustCenterFile_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_TrustCenterFile_name(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_TrustCenterFile_category(ctx, field)
|
|
case "fileUrl":
|
|
return ec.fieldContext_TrustCenterFile_fileUrl(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_TrustCenterFile_trustCenterVisibility(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TrustCenterFile_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TrustCenterFile_updatedAt(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_TrustCenterFile_organization(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TrustCenterFile_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterFile", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterReference_id(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterReference) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterReference_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_TrustCenterReference_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterReference",
|
|
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) _TrustCenterReference_name(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterReference) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterReference_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterReference_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterReference",
|
|
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) _TrustCenterReference_description(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterReference) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterReference_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterReference_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterReference",
|
|
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) _TrustCenterReference_websiteUrl(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterReference) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterReference_websiteUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.WebsiteURL, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterReference_websiteUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterReference",
|
|
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) _TrustCenterReference_logoUrl(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterReference) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterReference_logoUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TrustCenterReference().LogoURL(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterReference_logoUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterReference",
|
|
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) _TrustCenterReference_rank(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterReference) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterReference_rank,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Rank, nil
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterReference_rank(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterReference",
|
|
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) _TrustCenterReference_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterReference) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterReference_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterReference_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterReference",
|
|
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) _TrustCenterReference_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterReference) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterReference_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterReference_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterReference",
|
|
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) _TrustCenterReference_permission(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterReference) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterReference_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.TrustCenterReference().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterReference_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterReference",
|
|
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_TrustCenterReference_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterReferenceConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterReferenceConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterReferenceConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.TrustCenterReferenceConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterReferenceConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterReferenceConnection",
|
|
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) _TrustCenterReferenceConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterReferenceConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterReferenceConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterReferenceEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterReferenceEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterReferenceConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterReferenceConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_TrustCenterReferenceEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_TrustCenterReferenceEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterReferenceEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _TrustCenterReferenceConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterReferenceConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterReferenceConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterReferenceConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterReferenceConnection",
|
|
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) _TrustCenterReferenceEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterReferenceEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterReferenceEdge_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_TrustCenterReferenceEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterReferenceEdge",
|
|
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) _TrustCenterReferenceEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.TrustCenterReferenceEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_TrustCenterReferenceEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterReference2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterReference,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_TrustCenterReferenceEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "TrustCenterReferenceEdge",
|
|
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_TrustCenterReference_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_TrustCenterReference_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_TrustCenterReference_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_TrustCenterReference_websiteUrl(ctx, field)
|
|
case "logoUrl":
|
|
return ec.fieldContext_TrustCenterReference_logoUrl(ctx, field)
|
|
case "rank":
|
|
return ec.fieldContext_TrustCenterReference_rank(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TrustCenterReference_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TrustCenterReference_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TrustCenterReference_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterReference", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateAssetPayload_asset(ctx context.Context, field graphql.CollectedField, obj *types.UpdateAssetPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateAssetPayload_asset,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Asset, nil
|
|
},
|
|
nil,
|
|
ec.marshalNAsset2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAsset,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateAssetPayload_asset(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateAssetPayload",
|
|
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_Asset_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Asset_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Asset_name(ctx, field)
|
|
case "amount":
|
|
return ec.fieldContext_Asset_amount(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Asset_owner(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Asset_vendors(ctx, field)
|
|
case "assetType":
|
|
return ec.fieldContext_Asset_assetType(ctx, field)
|
|
case "dataTypesStored":
|
|
return ec.fieldContext_Asset_dataTypesStored(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Asset_organization(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Asset_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Asset_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Asset_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Asset", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateAuditPayload_audit(ctx context.Context, field graphql.CollectedField, obj *types.UpdateAuditPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateAuditPayload_audit,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Audit, nil
|
|
},
|
|
nil,
|
|
ec.marshalNAudit2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAudit,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateAuditPayload_audit(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateAuditPayload",
|
|
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_Audit_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Audit_name(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Audit_organization(ctx, field)
|
|
case "framework":
|
|
return ec.fieldContext_Audit_framework(ctx, field)
|
|
case "validFrom":
|
|
return ec.fieldContext_Audit_validFrom(ctx, field)
|
|
case "validUntil":
|
|
return ec.fieldContext_Audit_validUntil(ctx, field)
|
|
case "report":
|
|
return ec.fieldContext_Audit_report(ctx, field)
|
|
case "reportUrl":
|
|
return ec.fieldContext_Audit_reportUrl(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_Audit_state(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Audit_controls(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_Audit_trustCenterVisibility(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Audit_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Audit_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Audit_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Audit", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateContinualImprovementPayload_continualImprovement(ctx context.Context, field graphql.CollectedField, obj *types.UpdateContinualImprovementPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateContinualImprovementPayload_continualImprovement,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ContinualImprovement, nil
|
|
},
|
|
nil,
|
|
ec.marshalNContinualImprovement2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovement,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateContinualImprovementPayload_continualImprovement(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateContinualImprovementPayload",
|
|
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_ContinualImprovement_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_ContinualImprovement_snapshotId(ctx, field)
|
|
case "sourceId":
|
|
return ec.fieldContext_ContinualImprovement_sourceId(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_ContinualImprovement_organization(ctx, field)
|
|
case "referenceId":
|
|
return ec.fieldContext_ContinualImprovement_referenceId(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_ContinualImprovement_description(ctx, field)
|
|
case "source":
|
|
return ec.fieldContext_ContinualImprovement_source(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_ContinualImprovement_owner(ctx, field)
|
|
case "targetDate":
|
|
return ec.fieldContext_ContinualImprovement_targetDate(ctx, field)
|
|
case "status":
|
|
return ec.fieldContext_ContinualImprovement_status(ctx, field)
|
|
case "priority":
|
|
return ec.fieldContext_ContinualImprovement_priority(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_ContinualImprovement_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_ContinualImprovement_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_ContinualImprovement_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ContinualImprovement", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateControlPayload_control(ctx context.Context, field graphql.CollectedField, obj *types.UpdateControlPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateControlPayload_control,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Control, nil
|
|
},
|
|
nil,
|
|
ec.marshalNControl2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControl,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateControlPayload_control(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateControlPayload",
|
|
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_Control_id(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Control_organization(ctx, field)
|
|
case "sectionTitle":
|
|
return ec.fieldContext_Control_sectionTitle(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Control_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Control_description(ctx, field)
|
|
case "status":
|
|
return ec.fieldContext_Control_status(ctx, field)
|
|
case "exclusionJustification":
|
|
return ec.fieldContext_Control_exclusionJustification(ctx, field)
|
|
case "bestPractice":
|
|
return ec.fieldContext_Control_bestPractice(ctx, field)
|
|
case "framework":
|
|
return ec.fieldContext_Control_framework(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Control_measures(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Control_documents(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Control_audits(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Control_obligations(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Control_snapshots(ctx, field)
|
|
case "stateOfApplicabilityControls":
|
|
return ec.fieldContext_Control_stateOfApplicabilityControls(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Control_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Control_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Control_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Control", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateDataProtectionImpactAssessmentPayload_dataProtectionImpactAssessment(ctx context.Context, field graphql.CollectedField, obj *types.UpdateDataProtectionImpactAssessmentPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateDataProtectionImpactAssessmentPayload_dataProtectionImpactAssessment,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DataProtectionImpactAssessment, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDataProtectionImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessment,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateDataProtectionImpactAssessmentPayload_dataProtectionImpactAssessment(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateDataProtectionImpactAssessmentPayload",
|
|
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_DataProtectionImpactAssessment_id(ctx, field)
|
|
case "processingActivity":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_processingActivity(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_organization(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_description(ctx, field)
|
|
case "necessityAndProportionality":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_necessityAndProportionality(ctx, field)
|
|
case "potentialRisk":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_potentialRisk(ctx, field)
|
|
case "mitigations":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_mitigations(ctx, field)
|
|
case "residualRisk":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_residualRisk(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_DataProtectionImpactAssessment_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DataProtectionImpactAssessment", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateDatumPayload_datum(ctx context.Context, field graphql.CollectedField, obj *types.UpdateDatumPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateDatumPayload_datum,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Datum, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatum2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatum,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateDatumPayload_datum(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateDatumPayload",
|
|
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_Datum_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Datum_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Datum_name(ctx, field)
|
|
case "dataClassification":
|
|
return ec.fieldContext_Datum_dataClassification(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Datum_owner(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Datum_vendors(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Datum_organization(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Datum_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Datum_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Datum_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Datum", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateDocumentPayload_document(ctx context.Context, field graphql.CollectedField, obj *types.UpdateDocumentPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateDocumentPayload_document,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Document, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocument2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocument,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateDocumentPayload_document(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateDocumentPayload",
|
|
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_Document_id(ctx, field)
|
|
case "title":
|
|
return ec.fieldContext_Document_title(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Document_description(ctx, field)
|
|
case "documentType":
|
|
return ec.fieldContext_Document_documentType(ctx, field)
|
|
case "classification":
|
|
return ec.fieldContext_Document_classification(ctx, field)
|
|
case "currentPublishedVersion":
|
|
return ec.fieldContext_Document_currentPublishedVersion(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_Document_trustCenterVisibility(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Document_owner(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Document_organization(ctx, field)
|
|
case "versions":
|
|
return ec.fieldContext_Document_versions(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Document_controls(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Document_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Document_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Document_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Document", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateDocumentVersionPayload_documentVersion(ctx context.Context, field graphql.CollectedField, obj *types.UpdateDocumentVersionPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateDocumentVersionPayload_documentVersion,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DocumentVersion, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDocumentVersion2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersion,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateDocumentVersionPayload_documentVersion(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateDocumentVersionPayload",
|
|
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_DocumentVersion_id(ctx, field)
|
|
case "document":
|
|
return ec.fieldContext_DocumentVersion_document(ctx, field)
|
|
case "status":
|
|
return ec.fieldContext_DocumentVersion_status(ctx, field)
|
|
case "version":
|
|
return ec.fieldContext_DocumentVersion_version(ctx, field)
|
|
case "content":
|
|
return ec.fieldContext_DocumentVersion_content(ctx, field)
|
|
case "changelog":
|
|
return ec.fieldContext_DocumentVersion_changelog(ctx, field)
|
|
case "title":
|
|
return ec.fieldContext_DocumentVersion_title(ctx, field)
|
|
case "classification":
|
|
return ec.fieldContext_DocumentVersion_classification(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_DocumentVersion_owner(ctx, field)
|
|
case "signatures":
|
|
return ec.fieldContext_DocumentVersion_signatures(ctx, field)
|
|
case "signed":
|
|
return ec.fieldContext_DocumentVersion_signed(ctx, field)
|
|
case "publishedAt":
|
|
return ec.fieldContext_DocumentVersion_publishedAt(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_DocumentVersion_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_DocumentVersion_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_DocumentVersion_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type DocumentVersion", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateFrameworkPayload_framework(ctx context.Context, field graphql.CollectedField, obj *types.UpdateFrameworkPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateFrameworkPayload_framework,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Framework, nil
|
|
},
|
|
nil,
|
|
ec.marshalNFramework2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFramework,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateFrameworkPayload_framework(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateFrameworkPayload",
|
|
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_Framework_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Framework_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Framework_description(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Framework_organization(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Framework_controls(ctx, field)
|
|
case "lightLogoURL":
|
|
return ec.fieldContext_Framework_lightLogoURL(ctx, field)
|
|
case "darkLogoURL":
|
|
return ec.fieldContext_Framework_darkLogoURL(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Framework_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Framework_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Framework_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Framework", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateMeasurePayload_measure(ctx context.Context, field graphql.CollectedField, obj *types.UpdateMeasurePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateMeasurePayload_measure,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Measure, nil
|
|
},
|
|
nil,
|
|
ec.marshalNMeasure2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasure,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateMeasurePayload_measure(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateMeasurePayload",
|
|
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_Measure_id(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Measure_category(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Measure_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Measure_description(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_Measure_state(ctx, field)
|
|
case "evidences":
|
|
return ec.fieldContext_Measure_evidences(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Measure_tasks(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Measure_risks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Measure_controls(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Measure_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Measure_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Measure_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Measure", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateMeetingPayload_meeting(ctx context.Context, field graphql.CollectedField, obj *types.UpdateMeetingPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateMeetingPayload_meeting,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Meeting, nil
|
|
},
|
|
nil,
|
|
ec.marshalNMeeting2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeeting,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateMeetingPayload_meeting(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateMeetingPayload",
|
|
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_Meeting_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Meeting_name(ctx, field)
|
|
case "date":
|
|
return ec.fieldContext_Meeting_date(ctx, field)
|
|
case "minutes":
|
|
return ec.fieldContext_Meeting_minutes(ctx, field)
|
|
case "attendees":
|
|
return ec.fieldContext_Meeting_attendees(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Meeting_organization(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Meeting_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Meeting_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Meeting_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Meeting", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateNonconformityPayload_nonconformity(ctx context.Context, field graphql.CollectedField, obj *types.UpdateNonconformityPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateNonconformityPayload_nonconformity,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Nonconformity, nil
|
|
},
|
|
nil,
|
|
ec.marshalNNonconformity2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformity,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateNonconformityPayload_nonconformity(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateNonconformityPayload",
|
|
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_Nonconformity_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Nonconformity_snapshotId(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Nonconformity_organization(ctx, field)
|
|
case "referenceId":
|
|
return ec.fieldContext_Nonconformity_referenceId(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Nonconformity_description(ctx, field)
|
|
case "audit":
|
|
return ec.fieldContext_Nonconformity_audit(ctx, field)
|
|
case "dateIdentified":
|
|
return ec.fieldContext_Nonconformity_dateIdentified(ctx, field)
|
|
case "rootCause":
|
|
return ec.fieldContext_Nonconformity_rootCause(ctx, field)
|
|
case "correctiveAction":
|
|
return ec.fieldContext_Nonconformity_correctiveAction(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Nonconformity_owner(ctx, field)
|
|
case "dueDate":
|
|
return ec.fieldContext_Nonconformity_dueDate(ctx, field)
|
|
case "status":
|
|
return ec.fieldContext_Nonconformity_status(ctx, field)
|
|
case "effectivenessCheck":
|
|
return ec.fieldContext_Nonconformity_effectivenessCheck(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Nonconformity_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Nonconformity_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Nonconformity_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Nonconformity", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateObligationPayload_obligation(ctx context.Context, field graphql.CollectedField, obj *types.UpdateObligationPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateObligationPayload_obligation,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Obligation, nil
|
|
},
|
|
nil,
|
|
ec.marshalNObligation2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligation,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateObligationPayload_obligation(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateObligationPayload",
|
|
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_Obligation_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Obligation_snapshotId(ctx, field)
|
|
case "sourceId":
|
|
return ec.fieldContext_Obligation_sourceId(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Obligation_organization(ctx, field)
|
|
case "area":
|
|
return ec.fieldContext_Obligation_area(ctx, field)
|
|
case "source":
|
|
return ec.fieldContext_Obligation_source(ctx, field)
|
|
case "requirement":
|
|
return ec.fieldContext_Obligation_requirement(ctx, field)
|
|
case "actionsToBeImplemented":
|
|
return ec.fieldContext_Obligation_actionsToBeImplemented(ctx, field)
|
|
case "regulator":
|
|
return ec.fieldContext_Obligation_regulator(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Obligation_owner(ctx, field)
|
|
case "lastReviewDate":
|
|
return ec.fieldContext_Obligation_lastReviewDate(ctx, field)
|
|
case "dueDate":
|
|
return ec.fieldContext_Obligation_dueDate(ctx, field)
|
|
case "status":
|
|
return ec.fieldContext_Obligation_status(ctx, field)
|
|
case "type":
|
|
return ec.fieldContext_Obligation_type(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Obligation_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Obligation_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Obligation_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Obligation", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateOrganizationContextPayload_context(ctx context.Context, field graphql.CollectedField, obj *types.UpdateOrganizationContextPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateOrganizationContextPayload_context,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Context, nil
|
|
},
|
|
nil,
|
|
ec.marshalNOrganizationContext2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganizationContext,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateOrganizationContextPayload_context(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateOrganizationContextPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "organizationId":
|
|
return ec.fieldContext_OrganizationContext_organizationId(ctx, field)
|
|
case "summary":
|
|
return ec.fieldContext_OrganizationContext_summary(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type OrganizationContext", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdatePeoplePayload_people(ctx context.Context, field graphql.CollectedField, obj *types.UpdatePeoplePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdatePeoplePayload_people,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.People, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdatePeoplePayload_people(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdatePeoplePayload",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateProcessingActivityPayload_processingActivity(ctx context.Context, field graphql.CollectedField, obj *types.UpdateProcessingActivityPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateProcessingActivityPayload_processingActivity,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ProcessingActivity, nil
|
|
},
|
|
nil,
|
|
ec.marshalNProcessingActivity2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivity,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateProcessingActivityPayload_processingActivity(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateProcessingActivityPayload",
|
|
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_ProcessingActivity_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_ProcessingActivity_snapshotId(ctx, field)
|
|
case "sourceId":
|
|
return ec.fieldContext_ProcessingActivity_sourceId(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_ProcessingActivity_organization(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_ProcessingActivity_name(ctx, field)
|
|
case "purpose":
|
|
return ec.fieldContext_ProcessingActivity_purpose(ctx, field)
|
|
case "dataSubjectCategory":
|
|
return ec.fieldContext_ProcessingActivity_dataSubjectCategory(ctx, field)
|
|
case "personalDataCategory":
|
|
return ec.fieldContext_ProcessingActivity_personalDataCategory(ctx, field)
|
|
case "specialOrCriminalData":
|
|
return ec.fieldContext_ProcessingActivity_specialOrCriminalData(ctx, field)
|
|
case "consentEvidenceLink":
|
|
return ec.fieldContext_ProcessingActivity_consentEvidenceLink(ctx, field)
|
|
case "lawfulBasis":
|
|
return ec.fieldContext_ProcessingActivity_lawfulBasis(ctx, field)
|
|
case "recipients":
|
|
return ec.fieldContext_ProcessingActivity_recipients(ctx, field)
|
|
case "location":
|
|
return ec.fieldContext_ProcessingActivity_location(ctx, field)
|
|
case "internationalTransfers":
|
|
return ec.fieldContext_ProcessingActivity_internationalTransfers(ctx, field)
|
|
case "transferSafeguards":
|
|
return ec.fieldContext_ProcessingActivity_transferSafeguards(ctx, field)
|
|
case "retentionPeriod":
|
|
return ec.fieldContext_ProcessingActivity_retentionPeriod(ctx, field)
|
|
case "securityMeasures":
|
|
return ec.fieldContext_ProcessingActivity_securityMeasures(ctx, field)
|
|
case "dataProtectionImpactAssessmentNeeded":
|
|
return ec.fieldContext_ProcessingActivity_dataProtectionImpactAssessmentNeeded(ctx, field)
|
|
case "transferImpactAssessmentNeeded":
|
|
return ec.fieldContext_ProcessingActivity_transferImpactAssessmentNeeded(ctx, field)
|
|
case "lastReviewDate":
|
|
return ec.fieldContext_ProcessingActivity_lastReviewDate(ctx, field)
|
|
case "nextReviewDate":
|
|
return ec.fieldContext_ProcessingActivity_nextReviewDate(ctx, field)
|
|
case "role":
|
|
return ec.fieldContext_ProcessingActivity_role(ctx, field)
|
|
case "dataProtectionOfficer":
|
|
return ec.fieldContext_ProcessingActivity_dataProtectionOfficer(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_ProcessingActivity_vendors(ctx, field)
|
|
case "dataProtectionImpactAssessment":
|
|
return ec.fieldContext_ProcessingActivity_dataProtectionImpactAssessment(ctx, field)
|
|
case "transferImpactAssessment":
|
|
return ec.fieldContext_ProcessingActivity_transferImpactAssessment(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_ProcessingActivity_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_ProcessingActivity_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_ProcessingActivity_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type ProcessingActivity", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateRightsRequestPayload_rightsRequest(ctx context.Context, field graphql.CollectedField, obj *types.UpdateRightsRequestPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateRightsRequestPayload_rightsRequest,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.RightsRequest, nil
|
|
},
|
|
nil,
|
|
ec.marshalNRightsRequest2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRightsRequest,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateRightsRequestPayload_rightsRequest(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateRightsRequestPayload",
|
|
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_RightsRequest_id(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_RightsRequest_organization(ctx, field)
|
|
case "requestType":
|
|
return ec.fieldContext_RightsRequest_requestType(ctx, field)
|
|
case "requestState":
|
|
return ec.fieldContext_RightsRequest_requestState(ctx, field)
|
|
case "dataSubject":
|
|
return ec.fieldContext_RightsRequest_dataSubject(ctx, field)
|
|
case "contact":
|
|
return ec.fieldContext_RightsRequest_contact(ctx, field)
|
|
case "details":
|
|
return ec.fieldContext_RightsRequest_details(ctx, field)
|
|
case "deadline":
|
|
return ec.fieldContext_RightsRequest_deadline(ctx, field)
|
|
case "actionTaken":
|
|
return ec.fieldContext_RightsRequest_actionTaken(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_RightsRequest_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_RightsRequest_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_RightsRequest_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type RightsRequest", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateRiskPayload_risk(ctx context.Context, field graphql.CollectedField, obj *types.UpdateRiskPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateRiskPayload_risk,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Risk, nil
|
|
},
|
|
nil,
|
|
ec.marshalNRisk2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRisk,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateRiskPayload_risk(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateRiskPayload",
|
|
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_Risk_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Risk_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Risk_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Risk_description(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Risk_category(ctx, field)
|
|
case "treatment":
|
|
return ec.fieldContext_Risk_treatment(ctx, field)
|
|
case "inherentLikelihood":
|
|
return ec.fieldContext_Risk_inherentLikelihood(ctx, field)
|
|
case "inherentImpact":
|
|
return ec.fieldContext_Risk_inherentImpact(ctx, field)
|
|
case "inherentRiskScore":
|
|
return ec.fieldContext_Risk_inherentRiskScore(ctx, field)
|
|
case "residualLikelihood":
|
|
return ec.fieldContext_Risk_residualLikelihood(ctx, field)
|
|
case "residualImpact":
|
|
return ec.fieldContext_Risk_residualImpact(ctx, field)
|
|
case "residualRiskScore":
|
|
return ec.fieldContext_Risk_residualRiskScore(ctx, field)
|
|
case "note":
|
|
return ec.fieldContext_Risk_note(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_Risk_owner(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Risk_organization(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Risk_measures(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Risk_documents(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Risk_controls(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Risk_obligations(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Risk_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Risk_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Risk_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Risk", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateStateOfApplicabilityPayload_stateOfApplicability(ctx context.Context, field graphql.CollectedField, obj *types.UpdateStateOfApplicabilityPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateStateOfApplicabilityPayload_stateOfApplicability,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.StateOfApplicability, nil
|
|
},
|
|
nil,
|
|
ec.marshalNStateOfApplicability2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicability,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateStateOfApplicabilityPayload_stateOfApplicability(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateStateOfApplicabilityPayload",
|
|
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_StateOfApplicability_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_StateOfApplicability_name(ctx, field)
|
|
case "sourceId":
|
|
return ec.fieldContext_StateOfApplicability_sourceId(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_StateOfApplicability_snapshotId(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_StateOfApplicability_organization(ctx, field)
|
|
case "owner":
|
|
return ec.fieldContext_StateOfApplicability_owner(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_StateOfApplicability_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_StateOfApplicability_updatedAt(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_StateOfApplicability_controls(ctx, field)
|
|
case "availableControls":
|
|
return ec.fieldContext_StateOfApplicability_availableControls(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_StateOfApplicability_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type StateOfApplicability", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateTaskPayload_task(ctx context.Context, field graphql.CollectedField, obj *types.UpdateTaskPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateTaskPayload_task,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Task, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTask2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTask,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateTaskPayload_task(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateTaskPayload",
|
|
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_Task_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Task_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Task_description(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_Task_state(ctx, field)
|
|
case "timeEstimate":
|
|
return ec.fieldContext_Task_timeEstimate(ctx, field)
|
|
case "deadline":
|
|
return ec.fieldContext_Task_deadline(ctx, field)
|
|
case "assignedTo":
|
|
return ec.fieldContext_Task_assignedTo(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Task_organization(ctx, field)
|
|
case "measure":
|
|
return ec.fieldContext_Task_measure(ctx, field)
|
|
case "evidences":
|
|
return ec.fieldContext_Task_evidences(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Task_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Task_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Task_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Task", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateTransferImpactAssessmentPayload_transferImpactAssessment(ctx context.Context, field graphql.CollectedField, obj *types.UpdateTransferImpactAssessmentPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateTransferImpactAssessmentPayload_transferImpactAssessment,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TransferImpactAssessment, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTransferImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessment,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateTransferImpactAssessmentPayload_transferImpactAssessment(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateTransferImpactAssessmentPayload",
|
|
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_TransferImpactAssessment_id(ctx, field)
|
|
case "processingActivity":
|
|
return ec.fieldContext_TransferImpactAssessment_processingActivity(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_TransferImpactAssessment_organization(ctx, field)
|
|
case "dataSubjects":
|
|
return ec.fieldContext_TransferImpactAssessment_dataSubjects(ctx, field)
|
|
case "legalMechanism":
|
|
return ec.fieldContext_TransferImpactAssessment_legalMechanism(ctx, field)
|
|
case "transfer":
|
|
return ec.fieldContext_TransferImpactAssessment_transfer(ctx, field)
|
|
case "localLawRisk":
|
|
return ec.fieldContext_TransferImpactAssessment_localLawRisk(ctx, field)
|
|
case "supplementaryMeasures":
|
|
return ec.fieldContext_TransferImpactAssessment_supplementaryMeasures(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TransferImpactAssessment_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TransferImpactAssessment_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TransferImpactAssessment_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TransferImpactAssessment", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateTrustCenterAccessPayload_trustCenterAccess(ctx context.Context, field graphql.CollectedField, obj *types.UpdateTrustCenterAccessPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateTrustCenterAccessPayload_trustCenterAccess,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TrustCenterAccess, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterAccess2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterAccess,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateTrustCenterAccessPayload_trustCenterAccess(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateTrustCenterAccessPayload",
|
|
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_TrustCenterAccess_id(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_TrustCenterAccess_email(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_TrustCenterAccess_name(ctx, field)
|
|
case "active":
|
|
return ec.fieldContext_TrustCenterAccess_active(ctx, field)
|
|
case "hasAcceptedNonDisclosureAgreement":
|
|
return ec.fieldContext_TrustCenterAccess_hasAcceptedNonDisclosureAgreement(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TrustCenterAccess_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TrustCenterAccess_updatedAt(ctx, field)
|
|
case "lastTokenExpiresAt":
|
|
return ec.fieldContext_TrustCenterAccess_lastTokenExpiresAt(ctx, field)
|
|
case "pendingRequestCount":
|
|
return ec.fieldContext_TrustCenterAccess_pendingRequestCount(ctx, field)
|
|
case "activeCount":
|
|
return ec.fieldContext_TrustCenterAccess_activeCount(ctx, field)
|
|
case "availableDocumentAccesses":
|
|
return ec.fieldContext_TrustCenterAccess_availableDocumentAccesses(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TrustCenterAccess_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterAccess", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateTrustCenterFilePayload_trustCenterFile(ctx context.Context, field graphql.CollectedField, obj *types.UpdateTrustCenterFilePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateTrustCenterFilePayload_trustCenterFile,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TrustCenterFile, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterFile2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterFile,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateTrustCenterFilePayload_trustCenterFile(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateTrustCenterFilePayload",
|
|
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_TrustCenterFile_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_TrustCenterFile_name(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_TrustCenterFile_category(ctx, field)
|
|
case "fileUrl":
|
|
return ec.fieldContext_TrustCenterFile_fileUrl(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_TrustCenterFile_trustCenterVisibility(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TrustCenterFile_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TrustCenterFile_updatedAt(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_TrustCenterFile_organization(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TrustCenterFile_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterFile", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateTrustCenterPayload_trustCenter(ctx context.Context, field graphql.CollectedField, obj *types.UpdateTrustCenterPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateTrustCenterPayload_trustCenter,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TrustCenter, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenter,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateTrustCenterPayload_trustCenter(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateTrustCenterPayload",
|
|
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_TrustCenter_id(ctx, field)
|
|
case "active":
|
|
return ec.fieldContext_TrustCenter_active(ctx, field)
|
|
case "ndaFileName":
|
|
return ec.fieldContext_TrustCenter_ndaFileName(ctx, field)
|
|
case "ndaFileUrl":
|
|
return ec.fieldContext_TrustCenter_ndaFileUrl(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TrustCenter_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TrustCenter_updatedAt(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_TrustCenter_organization(ctx, field)
|
|
case "accesses":
|
|
return ec.fieldContext_TrustCenter_accesses(ctx, field)
|
|
case "references":
|
|
return ec.fieldContext_TrustCenter_references(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TrustCenter_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenter", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateTrustCenterReferencePayload_trustCenterReference(ctx context.Context, field graphql.CollectedField, obj *types.UpdateTrustCenterReferencePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateTrustCenterReferencePayload_trustCenterReference,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TrustCenterReference, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenterReference2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterReference,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateTrustCenterReferencePayload_trustCenterReference(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateTrustCenterReferencePayload",
|
|
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_TrustCenterReference_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_TrustCenterReference_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_TrustCenterReference_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_TrustCenterReference_websiteUrl(ctx, field)
|
|
case "logoUrl":
|
|
return ec.fieldContext_TrustCenterReference_logoUrl(ctx, field)
|
|
case "rank":
|
|
return ec.fieldContext_TrustCenterReference_rank(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TrustCenterReference_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TrustCenterReference_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TrustCenterReference_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenterReference", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateVendorBusinessAssociateAgreementPayload_vendorBusinessAssociateAgreement(ctx context.Context, field graphql.CollectedField, obj *types.UpdateVendorBusinessAssociateAgreementPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateVendorBusinessAssociateAgreementPayload_vendorBusinessAssociateAgreement,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.VendorBusinessAssociateAgreement, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorBusinessAssociateAgreement2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorBusinessAssociateAgreement,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateVendorBusinessAssociateAgreementPayload_vendorBusinessAssociateAgreement(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateVendorBusinessAssociateAgreementPayload",
|
|
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_VendorBusinessAssociateAgreement_id(ctx, field)
|
|
case "vendor":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_vendor(ctx, field)
|
|
case "validFrom":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_validFrom(ctx, field)
|
|
case "validUntil":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_validUntil(ctx, field)
|
|
case "fileName":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_fileName(ctx, field)
|
|
case "fileUrl":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_fileUrl(ctx, field)
|
|
case "fileSize":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_fileSize(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorBusinessAssociateAgreement", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateVendorContactPayload_vendorContact(ctx context.Context, field graphql.CollectedField, obj *types.UpdateVendorContactPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateVendorContactPayload_vendorContact,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.VendorContact, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorContact2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorContact,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateVendorContactPayload_vendorContact(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateVendorContactPayload",
|
|
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_VendorContact_id(ctx, field)
|
|
case "vendor":
|
|
return ec.fieldContext_VendorContact_vendor(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_VendorContact_fullName(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_VendorContact_email(ctx, field)
|
|
case "phone":
|
|
return ec.fieldContext_VendorContact_phone(ctx, field)
|
|
case "role":
|
|
return ec.fieldContext_VendorContact_role(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_VendorContact_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_VendorContact_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_VendorContact_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorContact", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateVendorDataPrivacyAgreementPayload_vendorDataPrivacyAgreement(ctx context.Context, field graphql.CollectedField, obj *types.UpdateVendorDataPrivacyAgreementPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateVendorDataPrivacyAgreementPayload_vendorDataPrivacyAgreement,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.VendorDataPrivacyAgreement, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorDataPrivacyAgreement2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorDataPrivacyAgreement,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateVendorDataPrivacyAgreementPayload_vendorDataPrivacyAgreement(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateVendorDataPrivacyAgreementPayload",
|
|
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_VendorDataPrivacyAgreement_id(ctx, field)
|
|
case "vendor":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_vendor(ctx, field)
|
|
case "validFrom":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_validFrom(ctx, field)
|
|
case "validUntil":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_validUntil(ctx, field)
|
|
case "fileName":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_fileName(ctx, field)
|
|
case "fileUrl":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_fileUrl(ctx, field)
|
|
case "fileSize":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_fileSize(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorDataPrivacyAgreement", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateVendorPayload_vendor(ctx context.Context, field graphql.CollectedField, obj *types.UpdateVendorPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateVendorPayload_vendor,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Vendor, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendor2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendor,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateVendorPayload_vendor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateVendorPayload",
|
|
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_Vendor_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Vendor_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Vendor_name(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Vendor_category(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Vendor_description(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Vendor_organization(ctx, field)
|
|
case "complianceReports":
|
|
return ec.fieldContext_Vendor_complianceReports(ctx, field)
|
|
case "businessAssociateAgreement":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreement(ctx, field)
|
|
case "dataPrivacyAgreement":
|
|
return ec.fieldContext_Vendor_dataPrivacyAgreement(ctx, field)
|
|
case "contacts":
|
|
return ec.fieldContext_Vendor_contacts(ctx, field)
|
|
case "services":
|
|
return ec.fieldContext_Vendor_services(ctx, field)
|
|
case "riskAssessments":
|
|
return ec.fieldContext_Vendor_riskAssessments(ctx, field)
|
|
case "businessOwner":
|
|
return ec.fieldContext_Vendor_businessOwner(ctx, field)
|
|
case "securityOwner":
|
|
return ec.fieldContext_Vendor_securityOwner(ctx, field)
|
|
case "statusPageUrl":
|
|
return ec.fieldContext_Vendor_statusPageUrl(ctx, field)
|
|
case "termsOfServiceUrl":
|
|
return ec.fieldContext_Vendor_termsOfServiceUrl(ctx, field)
|
|
case "privacyPolicyUrl":
|
|
return ec.fieldContext_Vendor_privacyPolicyUrl(ctx, field)
|
|
case "serviceLevelAgreementUrl":
|
|
return ec.fieldContext_Vendor_serviceLevelAgreementUrl(ctx, field)
|
|
case "dataProcessingAgreementUrl":
|
|
return ec.fieldContext_Vendor_dataProcessingAgreementUrl(ctx, field)
|
|
case "businessAssociateAgreementUrl":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreementUrl(ctx, field)
|
|
case "subprocessorsListUrl":
|
|
return ec.fieldContext_Vendor_subprocessorsListUrl(ctx, field)
|
|
case "certifications":
|
|
return ec.fieldContext_Vendor_certifications(ctx, field)
|
|
case "countries":
|
|
return ec.fieldContext_Vendor_countries(ctx, field)
|
|
case "securityPageUrl":
|
|
return ec.fieldContext_Vendor_securityPageUrl(ctx, field)
|
|
case "trustPageUrl":
|
|
return ec.fieldContext_Vendor_trustPageUrl(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Vendor_headquarterAddress(ctx, field)
|
|
case "legalName":
|
|
return ec.fieldContext_Vendor_legalName(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Vendor_websiteUrl(ctx, field)
|
|
case "showOnTrustCenter":
|
|
return ec.fieldContext_Vendor_showOnTrustCenter(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Vendor_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Vendor_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Vendor_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Vendor", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UpdateVendorServicePayload_vendorService(ctx context.Context, field graphql.CollectedField, obj *types.UpdateVendorServicePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UpdateVendorServicePayload_vendorService,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.VendorService, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorService2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorService,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UpdateVendorServicePayload_vendorService(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UpdateVendorServicePayload",
|
|
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_VendorService_id(ctx, field)
|
|
case "vendor":
|
|
return ec.fieldContext_VendorService_vendor(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_VendorService_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_VendorService_description(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_VendorService_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_VendorService_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_VendorService_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorService", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UploadAuditReportPayload_audit(ctx context.Context, field graphql.CollectedField, obj *types.UploadAuditReportPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UploadAuditReportPayload_audit,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Audit, nil
|
|
},
|
|
nil,
|
|
ec.marshalNAudit2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAudit,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UploadAuditReportPayload_audit(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UploadAuditReportPayload",
|
|
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_Audit_id(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Audit_name(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Audit_organization(ctx, field)
|
|
case "framework":
|
|
return ec.fieldContext_Audit_framework(ctx, field)
|
|
case "validFrom":
|
|
return ec.fieldContext_Audit_validFrom(ctx, field)
|
|
case "validUntil":
|
|
return ec.fieldContext_Audit_validUntil(ctx, field)
|
|
case "report":
|
|
return ec.fieldContext_Audit_report(ctx, field)
|
|
case "reportUrl":
|
|
return ec.fieldContext_Audit_reportUrl(ctx, field)
|
|
case "state":
|
|
return ec.fieldContext_Audit_state(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Audit_controls(ctx, field)
|
|
case "trustCenterVisibility":
|
|
return ec.fieldContext_Audit_trustCenterVisibility(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Audit_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Audit_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Audit_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Audit", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UploadMeasureEvidencePayload_evidenceEdge(ctx context.Context, field graphql.CollectedField, obj *types.UploadMeasureEvidencePayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UploadMeasureEvidencePayload_evidenceEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.EvidenceEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNEvidenceEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐEvidenceEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UploadMeasureEvidencePayload_evidenceEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UploadMeasureEvidencePayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_EvidenceEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_EvidenceEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type EvidenceEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UploadTrustCenterNDAPayload_trustCenter(ctx context.Context, field graphql.CollectedField, obj *types.UploadTrustCenterNDAPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UploadTrustCenterNDAPayload_trustCenter,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TrustCenter, nil
|
|
},
|
|
nil,
|
|
ec.marshalNTrustCenter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenter,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UploadTrustCenterNDAPayload_trustCenter(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UploadTrustCenterNDAPayload",
|
|
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_TrustCenter_id(ctx, field)
|
|
case "active":
|
|
return ec.fieldContext_TrustCenter_active(ctx, field)
|
|
case "ndaFileName":
|
|
return ec.fieldContext_TrustCenter_ndaFileName(ctx, field)
|
|
case "ndaFileUrl":
|
|
return ec.fieldContext_TrustCenter_ndaFileUrl(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_TrustCenter_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_TrustCenter_updatedAt(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_TrustCenter_organization(ctx, field)
|
|
case "accesses":
|
|
return ec.fieldContext_TrustCenter_accesses(ctx, field)
|
|
case "references":
|
|
return ec.fieldContext_TrustCenter_references(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_TrustCenter_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type TrustCenter", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UploadVendorBusinessAssociateAgreementPayload_vendorBusinessAssociateAgreement(ctx context.Context, field graphql.CollectedField, obj *types.UploadVendorBusinessAssociateAgreementPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UploadVendorBusinessAssociateAgreementPayload_vendorBusinessAssociateAgreement,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.VendorBusinessAssociateAgreement, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorBusinessAssociateAgreement2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorBusinessAssociateAgreement,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UploadVendorBusinessAssociateAgreementPayload_vendorBusinessAssociateAgreement(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UploadVendorBusinessAssociateAgreementPayload",
|
|
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_VendorBusinessAssociateAgreement_id(ctx, field)
|
|
case "vendor":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_vendor(ctx, field)
|
|
case "validFrom":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_validFrom(ctx, field)
|
|
case "validUntil":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_validUntil(ctx, field)
|
|
case "fileName":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_fileName(ctx, field)
|
|
case "fileUrl":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_fileUrl(ctx, field)
|
|
case "fileSize":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_fileSize(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorBusinessAssociateAgreement", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UploadVendorComplianceReportPayload_vendorComplianceReportEdge(ctx context.Context, field graphql.CollectedField, obj *types.UploadVendorComplianceReportPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UploadVendorComplianceReportPayload_vendorComplianceReportEdge,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.VendorComplianceReportEdge, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorComplianceReportEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorComplianceReportEdge,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UploadVendorComplianceReportPayload_vendorComplianceReportEdge(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UploadVendorComplianceReportPayload",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_VendorComplianceReportEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_VendorComplianceReportEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorComplianceReportEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _UploadVendorDataPrivacyAgreementPayload_vendorDataPrivacyAgreement(ctx context.Context, field graphql.CollectedField, obj *types.UploadVendorDataPrivacyAgreementPayload) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_UploadVendorDataPrivacyAgreementPayload_vendorDataPrivacyAgreement,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.VendorDataPrivacyAgreement, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorDataPrivacyAgreement2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorDataPrivacyAgreement,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_UploadVendorDataPrivacyAgreementPayload_vendorDataPrivacyAgreement(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "UploadVendorDataPrivacyAgreementPayload",
|
|
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_VendorDataPrivacyAgreement_id(ctx, field)
|
|
case "vendor":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_vendor(ctx, field)
|
|
case "validFrom":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_validFrom(ctx, field)
|
|
case "validUntil":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_validUntil(ctx, field)
|
|
case "fileName":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_fileName(ctx, field)
|
|
case "fileUrl":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_fileUrl(ctx, field)
|
|
case "fileSize":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_fileSize(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorDataPrivacyAgreement", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Vendor_id(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_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_Vendor_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_snapshotId(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_snapshotId,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SnapshotID, nil
|
|
},
|
|
nil,
|
|
ec.marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_snapshotId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_name(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_category(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_category,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Category, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorCategory2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_category(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type VendorCategory does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Vendor_description(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_organization(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_organization,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Vendor().Organization(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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 "description":
|
|
return ec.fieldContext_Organization_description(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Organization_websiteUrl(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_Organization_email(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Organization_headquarterAddress(ctx, field)
|
|
case "context":
|
|
return ec.fieldContext_Organization_context(ctx, field)
|
|
case "slackConnections":
|
|
return ec.fieldContext_Organization_slackConnections(ctx, field)
|
|
case "frameworks":
|
|
return ec.fieldContext_Organization_frameworks(ctx, field)
|
|
case "controls":
|
|
return ec.fieldContext_Organization_controls(ctx, field)
|
|
case "vendors":
|
|
return ec.fieldContext_Organization_vendors(ctx, field)
|
|
case "peoples":
|
|
return ec.fieldContext_Organization_peoples(ctx, field)
|
|
case "documents":
|
|
return ec.fieldContext_Organization_documents(ctx, field)
|
|
case "meetings":
|
|
return ec.fieldContext_Organization_meetings(ctx, field)
|
|
case "statesOfApplicability":
|
|
return ec.fieldContext_Organization_statesOfApplicability(ctx, field)
|
|
case "measures":
|
|
return ec.fieldContext_Organization_measures(ctx, field)
|
|
case "risks":
|
|
return ec.fieldContext_Organization_risks(ctx, field)
|
|
case "tasks":
|
|
return ec.fieldContext_Organization_tasks(ctx, field)
|
|
case "assets":
|
|
return ec.fieldContext_Organization_assets(ctx, field)
|
|
case "data":
|
|
return ec.fieldContext_Organization_data(ctx, field)
|
|
case "audits":
|
|
return ec.fieldContext_Organization_audits(ctx, field)
|
|
case "nonconformities":
|
|
return ec.fieldContext_Organization_nonconformities(ctx, field)
|
|
case "obligations":
|
|
return ec.fieldContext_Organization_obligations(ctx, field)
|
|
case "continualImprovements":
|
|
return ec.fieldContext_Organization_continualImprovements(ctx, field)
|
|
case "rightsRequests":
|
|
return ec.fieldContext_Organization_rightsRequests(ctx, field)
|
|
case "processingActivities":
|
|
return ec.fieldContext_Organization_processingActivities(ctx, field)
|
|
case "dataProtectionImpactAssessments":
|
|
return ec.fieldContext_Organization_dataProtectionImpactAssessments(ctx, field)
|
|
case "transferImpactAssessments":
|
|
return ec.fieldContext_Organization_transferImpactAssessments(ctx, field)
|
|
case "snapshots":
|
|
return ec.fieldContext_Organization_snapshots(ctx, field)
|
|
case "trustCenterFiles":
|
|
return ec.fieldContext_Organization_trustCenterFiles(ctx, field)
|
|
case "trustCenter":
|
|
return ec.fieldContext_Organization_trustCenter(ctx, field)
|
|
case "customDomain":
|
|
return ec.fieldContext_Organization_customDomain(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Organization_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Organization_updatedAt(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) _Vendor_complianceReports(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_complianceReports,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Vendor().ComplianceReports(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.VendorComplianceReportOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNVendorComplianceReportConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorComplianceReportConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_complianceReports(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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_VendorComplianceReportConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_VendorComplianceReportConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorComplianceReportConnection", 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_Vendor_complianceReports_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Vendor_businessAssociateAgreement(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_businessAssociateAgreement,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Vendor().BusinessAssociateAgreement(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOVendorBusinessAssociateAgreement2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorBusinessAssociateAgreement,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_businessAssociateAgreement(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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_VendorBusinessAssociateAgreement_id(ctx, field)
|
|
case "vendor":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_vendor(ctx, field)
|
|
case "validFrom":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_validFrom(ctx, field)
|
|
case "validUntil":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_validUntil(ctx, field)
|
|
case "fileName":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_fileName(ctx, field)
|
|
case "fileUrl":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_fileUrl(ctx, field)
|
|
case "fileSize":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_fileSize(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_VendorBusinessAssociateAgreement_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorBusinessAssociateAgreement", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Vendor_dataPrivacyAgreement(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_dataPrivacyAgreement,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Vendor().DataPrivacyAgreement(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOVendorDataPrivacyAgreement2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorDataPrivacyAgreement,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_dataPrivacyAgreement(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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_VendorDataPrivacyAgreement_id(ctx, field)
|
|
case "vendor":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_vendor(ctx, field)
|
|
case "validFrom":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_validFrom(ctx, field)
|
|
case "validUntil":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_validUntil(ctx, field)
|
|
case "fileName":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_fileName(ctx, field)
|
|
case "fileUrl":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_fileUrl(ctx, field)
|
|
case "fileSize":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_fileSize(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_VendorDataPrivacyAgreement_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorDataPrivacyAgreement", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Vendor_contacts(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_contacts,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Vendor().Contacts(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.VendorContactOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNVendorContactConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorContactConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_contacts(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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_VendorContactConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_VendorContactConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorContactConnection", 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_Vendor_contacts_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Vendor_services(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_services,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Vendor().Services(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.VendorServiceOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNVendorServiceConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorServiceConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_services(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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_VendorServiceConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_VendorServiceConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorServiceConnection", 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_Vendor_services_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Vendor_riskAssessments(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_riskAssessments,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Vendor().RiskAssessments(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.VendorRiskAssessmentOrder))
|
|
},
|
|
nil,
|
|
ec.marshalNVendorRiskAssessmentConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorRiskAssessmentConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_riskAssessments(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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_VendorRiskAssessmentConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_VendorRiskAssessmentConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorRiskAssessmentConnection", 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_Vendor_riskAssessments_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Vendor_businessOwner(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_businessOwner,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Vendor().BusinessOwner(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_businessOwner(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Vendor_securityOwner(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_securityOwner,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.Vendor().SecurityOwner(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_securityOwner(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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_People_id(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_People_fullName(ctx, field)
|
|
case "primaryEmailAddress":
|
|
return ec.fieldContext_People_primaryEmailAddress(ctx, field)
|
|
case "additionalEmailAddresses":
|
|
return ec.fieldContext_People_additionalEmailAddresses(ctx, field)
|
|
case "kind":
|
|
return ec.fieldContext_People_kind(ctx, field)
|
|
case "position":
|
|
return ec.fieldContext_People_position(ctx, field)
|
|
case "contractStartDate":
|
|
return ec.fieldContext_People_contractStartDate(ctx, field)
|
|
case "contractEndDate":
|
|
return ec.fieldContext_People_contractEndDate(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_People_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_People_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_People_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type People", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Vendor_statusPageUrl(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_statusPageUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.StatusPageURL, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_statusPageUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_termsOfServiceUrl(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_termsOfServiceUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TermsOfServiceURL, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_termsOfServiceUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_privacyPolicyUrl(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_privacyPolicyUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PrivacyPolicyURL, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_privacyPolicyUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_serviceLevelAgreementUrl(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_serviceLevelAgreementUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ServiceLevelAgreementURL, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_serviceLevelAgreementUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_dataProcessingAgreementUrl(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_dataProcessingAgreementUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DataProcessingAgreementURL, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_dataProcessingAgreementUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_businessAssociateAgreementUrl(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_businessAssociateAgreementUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.BusinessAssociateAgreementURL, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_businessAssociateAgreementUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_subprocessorsListUrl(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_subprocessorsListUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SubprocessorsListURL, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_subprocessorsListUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_certifications(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_certifications,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Certifications, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2ᚕstringᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_certifications(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_countries(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_countries,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Countries, nil
|
|
},
|
|
nil,
|
|
ec.marshalNCountryCode2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCodeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_countries(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type CountryCode does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Vendor_securityPageUrl(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_securityPageUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SecurityPageURL, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_securityPageUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_trustPageUrl(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_trustPageUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.TrustPageURL, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_trustPageUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_headquarterAddress(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_headquarterAddress,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.HeadquarterAddress, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_headquarterAddress(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_legalName(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_legalName,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.LegalName, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_legalName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_websiteUrl(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_websiteUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.WebsiteURL, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_websiteUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_showOnTrustCenter(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_showOnTrustCenter,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ShowOnTrustCenter, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_showOnTrustCenter(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Vendor_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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) _Vendor_permission(ctx context.Context, field graphql.CollectedField, obj *types.Vendor) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Vendor_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Vendor().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Vendor_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Vendor",
|
|
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_Vendor_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorBusinessAssociateAgreement_id(ctx context.Context, field graphql.CollectedField, obj *types.VendorBusinessAssociateAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorBusinessAssociateAgreement_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_VendorBusinessAssociateAgreement_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorBusinessAssociateAgreement",
|
|
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) _VendorBusinessAssociateAgreement_vendor(ctx context.Context, field graphql.CollectedField, obj *types.VendorBusinessAssociateAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorBusinessAssociateAgreement_vendor,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.VendorBusinessAssociateAgreement().Vendor(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNVendor2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendor,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorBusinessAssociateAgreement_vendor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorBusinessAssociateAgreement",
|
|
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_Vendor_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Vendor_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Vendor_name(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Vendor_category(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Vendor_description(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Vendor_organization(ctx, field)
|
|
case "complianceReports":
|
|
return ec.fieldContext_Vendor_complianceReports(ctx, field)
|
|
case "businessAssociateAgreement":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreement(ctx, field)
|
|
case "dataPrivacyAgreement":
|
|
return ec.fieldContext_Vendor_dataPrivacyAgreement(ctx, field)
|
|
case "contacts":
|
|
return ec.fieldContext_Vendor_contacts(ctx, field)
|
|
case "services":
|
|
return ec.fieldContext_Vendor_services(ctx, field)
|
|
case "riskAssessments":
|
|
return ec.fieldContext_Vendor_riskAssessments(ctx, field)
|
|
case "businessOwner":
|
|
return ec.fieldContext_Vendor_businessOwner(ctx, field)
|
|
case "securityOwner":
|
|
return ec.fieldContext_Vendor_securityOwner(ctx, field)
|
|
case "statusPageUrl":
|
|
return ec.fieldContext_Vendor_statusPageUrl(ctx, field)
|
|
case "termsOfServiceUrl":
|
|
return ec.fieldContext_Vendor_termsOfServiceUrl(ctx, field)
|
|
case "privacyPolicyUrl":
|
|
return ec.fieldContext_Vendor_privacyPolicyUrl(ctx, field)
|
|
case "serviceLevelAgreementUrl":
|
|
return ec.fieldContext_Vendor_serviceLevelAgreementUrl(ctx, field)
|
|
case "dataProcessingAgreementUrl":
|
|
return ec.fieldContext_Vendor_dataProcessingAgreementUrl(ctx, field)
|
|
case "businessAssociateAgreementUrl":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreementUrl(ctx, field)
|
|
case "subprocessorsListUrl":
|
|
return ec.fieldContext_Vendor_subprocessorsListUrl(ctx, field)
|
|
case "certifications":
|
|
return ec.fieldContext_Vendor_certifications(ctx, field)
|
|
case "countries":
|
|
return ec.fieldContext_Vendor_countries(ctx, field)
|
|
case "securityPageUrl":
|
|
return ec.fieldContext_Vendor_securityPageUrl(ctx, field)
|
|
case "trustPageUrl":
|
|
return ec.fieldContext_Vendor_trustPageUrl(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Vendor_headquarterAddress(ctx, field)
|
|
case "legalName":
|
|
return ec.fieldContext_Vendor_legalName(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Vendor_websiteUrl(ctx, field)
|
|
case "showOnTrustCenter":
|
|
return ec.fieldContext_Vendor_showOnTrustCenter(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Vendor_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Vendor_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Vendor_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Vendor", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorBusinessAssociateAgreement_validFrom(ctx context.Context, field graphql.CollectedField, obj *types.VendorBusinessAssociateAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorBusinessAssociateAgreement_validFrom,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ValidFrom, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorBusinessAssociateAgreement_validFrom(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorBusinessAssociateAgreement",
|
|
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) _VendorBusinessAssociateAgreement_validUntil(ctx context.Context, field graphql.CollectedField, obj *types.VendorBusinessAssociateAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorBusinessAssociateAgreement_validUntil,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ValidUntil, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorBusinessAssociateAgreement_validUntil(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorBusinessAssociateAgreement",
|
|
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) _VendorBusinessAssociateAgreement_fileName(ctx context.Context, field graphql.CollectedField, obj *types.VendorBusinessAssociateAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorBusinessAssociateAgreement_fileName,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.FileName, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorBusinessAssociateAgreement_fileName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorBusinessAssociateAgreement",
|
|
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) _VendorBusinessAssociateAgreement_fileUrl(ctx context.Context, field graphql.CollectedField, obj *types.VendorBusinessAssociateAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorBusinessAssociateAgreement_fileUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.VendorBusinessAssociateAgreement().FileURL(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorBusinessAssociateAgreement_fileUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorBusinessAssociateAgreement",
|
|
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) _VendorBusinessAssociateAgreement_fileSize(ctx context.Context, field graphql.CollectedField, obj *types.VendorBusinessAssociateAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorBusinessAssociateAgreement_fileSize,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.FileSize, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBigInt2int64,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorBusinessAssociateAgreement_fileSize(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorBusinessAssociateAgreement",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type BigInt does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorBusinessAssociateAgreement_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.VendorBusinessAssociateAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorBusinessAssociateAgreement_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorBusinessAssociateAgreement_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorBusinessAssociateAgreement",
|
|
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) _VendorBusinessAssociateAgreement_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.VendorBusinessAssociateAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorBusinessAssociateAgreement_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorBusinessAssociateAgreement_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorBusinessAssociateAgreement",
|
|
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) _VendorBusinessAssociateAgreement_permission(ctx context.Context, field graphql.CollectedField, obj *types.VendorBusinessAssociateAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorBusinessAssociateAgreement_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.VendorBusinessAssociateAgreement().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorBusinessAssociateAgreement_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorBusinessAssociateAgreement",
|
|
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_VendorBusinessAssociateAgreement_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorComplianceReport_id(ctx context.Context, field graphql.CollectedField, obj *types.VendorComplianceReport) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorComplianceReport_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_VendorComplianceReport_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorComplianceReport",
|
|
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) _VendorComplianceReport_vendor(ctx context.Context, field graphql.CollectedField, obj *types.VendorComplianceReport) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorComplianceReport_vendor,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.VendorComplianceReport().Vendor(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNVendor2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendor,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorComplianceReport_vendor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorComplianceReport",
|
|
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_Vendor_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Vendor_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Vendor_name(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Vendor_category(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Vendor_description(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Vendor_organization(ctx, field)
|
|
case "complianceReports":
|
|
return ec.fieldContext_Vendor_complianceReports(ctx, field)
|
|
case "businessAssociateAgreement":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreement(ctx, field)
|
|
case "dataPrivacyAgreement":
|
|
return ec.fieldContext_Vendor_dataPrivacyAgreement(ctx, field)
|
|
case "contacts":
|
|
return ec.fieldContext_Vendor_contacts(ctx, field)
|
|
case "services":
|
|
return ec.fieldContext_Vendor_services(ctx, field)
|
|
case "riskAssessments":
|
|
return ec.fieldContext_Vendor_riskAssessments(ctx, field)
|
|
case "businessOwner":
|
|
return ec.fieldContext_Vendor_businessOwner(ctx, field)
|
|
case "securityOwner":
|
|
return ec.fieldContext_Vendor_securityOwner(ctx, field)
|
|
case "statusPageUrl":
|
|
return ec.fieldContext_Vendor_statusPageUrl(ctx, field)
|
|
case "termsOfServiceUrl":
|
|
return ec.fieldContext_Vendor_termsOfServiceUrl(ctx, field)
|
|
case "privacyPolicyUrl":
|
|
return ec.fieldContext_Vendor_privacyPolicyUrl(ctx, field)
|
|
case "serviceLevelAgreementUrl":
|
|
return ec.fieldContext_Vendor_serviceLevelAgreementUrl(ctx, field)
|
|
case "dataProcessingAgreementUrl":
|
|
return ec.fieldContext_Vendor_dataProcessingAgreementUrl(ctx, field)
|
|
case "businessAssociateAgreementUrl":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreementUrl(ctx, field)
|
|
case "subprocessorsListUrl":
|
|
return ec.fieldContext_Vendor_subprocessorsListUrl(ctx, field)
|
|
case "certifications":
|
|
return ec.fieldContext_Vendor_certifications(ctx, field)
|
|
case "countries":
|
|
return ec.fieldContext_Vendor_countries(ctx, field)
|
|
case "securityPageUrl":
|
|
return ec.fieldContext_Vendor_securityPageUrl(ctx, field)
|
|
case "trustPageUrl":
|
|
return ec.fieldContext_Vendor_trustPageUrl(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Vendor_headquarterAddress(ctx, field)
|
|
case "legalName":
|
|
return ec.fieldContext_Vendor_legalName(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Vendor_websiteUrl(ctx, field)
|
|
case "showOnTrustCenter":
|
|
return ec.fieldContext_Vendor_showOnTrustCenter(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Vendor_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Vendor_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Vendor_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Vendor", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorComplianceReport_reportDate(ctx context.Context, field graphql.CollectedField, obj *types.VendorComplianceReport) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorComplianceReport_reportDate,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ReportDate, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorComplianceReport_reportDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorComplianceReport",
|
|
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) _VendorComplianceReport_validUntil(ctx context.Context, field graphql.CollectedField, obj *types.VendorComplianceReport) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorComplianceReport_validUntil,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ValidUntil, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorComplianceReport_validUntil(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorComplianceReport",
|
|
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) _VendorComplianceReport_reportName(ctx context.Context, field graphql.CollectedField, obj *types.VendorComplianceReport) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorComplianceReport_reportName,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ReportName, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorComplianceReport_reportName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorComplianceReport",
|
|
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) _VendorComplianceReport_file(ctx context.Context, field graphql.CollectedField, obj *types.VendorComplianceReport) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorComplianceReport_file,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.VendorComplianceReport().File(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalOFile2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFile,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorComplianceReport_file(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorComplianceReport",
|
|
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_File_id(ctx, field)
|
|
case "mimeType":
|
|
return ec.fieldContext_File_mimeType(ctx, field)
|
|
case "fileName":
|
|
return ec.fieldContext_File_fileName(ctx, field)
|
|
case "size":
|
|
return ec.fieldContext_File_size(ctx, field)
|
|
case "downloadUrl":
|
|
return ec.fieldContext_File_downloadUrl(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_File_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_File_updatedAt(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type File", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorComplianceReport_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.VendorComplianceReport) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorComplianceReport_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorComplianceReport_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorComplianceReport",
|
|
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) _VendorComplianceReport_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.VendorComplianceReport) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorComplianceReport_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorComplianceReport_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorComplianceReport",
|
|
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) _VendorComplianceReport_permission(ctx context.Context, field graphql.CollectedField, obj *types.VendorComplianceReport) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorComplianceReport_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.VendorComplianceReport().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorComplianceReport_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorComplianceReport",
|
|
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_VendorComplianceReport_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorComplianceReportConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.VendorComplianceReportConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorComplianceReportConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorComplianceReportEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorComplianceReportEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorComplianceReportConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorComplianceReportConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_VendorComplianceReportEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_VendorComplianceReportEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorComplianceReportEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorComplianceReportConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.VendorComplianceReportConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorComplianceReportConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorComplianceReportConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorComplianceReportConnection",
|
|
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) _VendorComplianceReportEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.VendorComplianceReportEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorComplianceReportEdge_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_VendorComplianceReportEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorComplianceReportEdge",
|
|
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) _VendorComplianceReportEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.VendorComplianceReportEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorComplianceReportEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorComplianceReport2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorComplianceReport,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorComplianceReportEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorComplianceReportEdge",
|
|
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_VendorComplianceReport_id(ctx, field)
|
|
case "vendor":
|
|
return ec.fieldContext_VendorComplianceReport_vendor(ctx, field)
|
|
case "reportDate":
|
|
return ec.fieldContext_VendorComplianceReport_reportDate(ctx, field)
|
|
case "validUntil":
|
|
return ec.fieldContext_VendorComplianceReport_validUntil(ctx, field)
|
|
case "reportName":
|
|
return ec.fieldContext_VendorComplianceReport_reportName(ctx, field)
|
|
case "file":
|
|
return ec.fieldContext_VendorComplianceReport_file(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_VendorComplianceReport_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_VendorComplianceReport_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_VendorComplianceReport_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorComplianceReport", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.VendorConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorConnection_totalCount,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.VendorConnection().TotalCount(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNInt2int,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorConnection",
|
|
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) _VendorConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.VendorConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_VendorEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_VendorEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.VendorConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorConnection",
|
|
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) _VendorContact_id(ctx context.Context, field graphql.CollectedField, obj *types.VendorContact) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorContact_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_VendorContact_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorContact",
|
|
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) _VendorContact_vendor(ctx context.Context, field graphql.CollectedField, obj *types.VendorContact) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorContact_vendor,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.VendorContact().Vendor(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNVendor2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendor,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorContact_vendor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorContact",
|
|
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_Vendor_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Vendor_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Vendor_name(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Vendor_category(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Vendor_description(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Vendor_organization(ctx, field)
|
|
case "complianceReports":
|
|
return ec.fieldContext_Vendor_complianceReports(ctx, field)
|
|
case "businessAssociateAgreement":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreement(ctx, field)
|
|
case "dataPrivacyAgreement":
|
|
return ec.fieldContext_Vendor_dataPrivacyAgreement(ctx, field)
|
|
case "contacts":
|
|
return ec.fieldContext_Vendor_contacts(ctx, field)
|
|
case "services":
|
|
return ec.fieldContext_Vendor_services(ctx, field)
|
|
case "riskAssessments":
|
|
return ec.fieldContext_Vendor_riskAssessments(ctx, field)
|
|
case "businessOwner":
|
|
return ec.fieldContext_Vendor_businessOwner(ctx, field)
|
|
case "securityOwner":
|
|
return ec.fieldContext_Vendor_securityOwner(ctx, field)
|
|
case "statusPageUrl":
|
|
return ec.fieldContext_Vendor_statusPageUrl(ctx, field)
|
|
case "termsOfServiceUrl":
|
|
return ec.fieldContext_Vendor_termsOfServiceUrl(ctx, field)
|
|
case "privacyPolicyUrl":
|
|
return ec.fieldContext_Vendor_privacyPolicyUrl(ctx, field)
|
|
case "serviceLevelAgreementUrl":
|
|
return ec.fieldContext_Vendor_serviceLevelAgreementUrl(ctx, field)
|
|
case "dataProcessingAgreementUrl":
|
|
return ec.fieldContext_Vendor_dataProcessingAgreementUrl(ctx, field)
|
|
case "businessAssociateAgreementUrl":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreementUrl(ctx, field)
|
|
case "subprocessorsListUrl":
|
|
return ec.fieldContext_Vendor_subprocessorsListUrl(ctx, field)
|
|
case "certifications":
|
|
return ec.fieldContext_Vendor_certifications(ctx, field)
|
|
case "countries":
|
|
return ec.fieldContext_Vendor_countries(ctx, field)
|
|
case "securityPageUrl":
|
|
return ec.fieldContext_Vendor_securityPageUrl(ctx, field)
|
|
case "trustPageUrl":
|
|
return ec.fieldContext_Vendor_trustPageUrl(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Vendor_headquarterAddress(ctx, field)
|
|
case "legalName":
|
|
return ec.fieldContext_Vendor_legalName(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Vendor_websiteUrl(ctx, field)
|
|
case "showOnTrustCenter":
|
|
return ec.fieldContext_Vendor_showOnTrustCenter(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Vendor_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Vendor_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Vendor_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Vendor", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorContact_fullName(ctx context.Context, field graphql.CollectedField, obj *types.VendorContact) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorContact_fullName,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.FullName, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorContact_fullName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorContact",
|
|
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) _VendorContact_email(ctx context.Context, field graphql.CollectedField, obj *types.VendorContact) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorContact_email,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Email, nil
|
|
},
|
|
nil,
|
|
ec.marshalOEmailAddr2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorContact_email(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorContact",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type EmailAddr does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorContact_phone(ctx context.Context, field graphql.CollectedField, obj *types.VendorContact) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorContact_phone,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Phone, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorContact_phone(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorContact",
|
|
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) _VendorContact_role(ctx context.Context, field graphql.CollectedField, obj *types.VendorContact) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorContact_role,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Role, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorContact_role(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorContact",
|
|
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) _VendorContact_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.VendorContact) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorContact_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorContact_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorContact",
|
|
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) _VendorContact_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.VendorContact) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorContact_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorContact_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorContact",
|
|
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) _VendorContact_permission(ctx context.Context, field graphql.CollectedField, obj *types.VendorContact) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorContact_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.VendorContact().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorContact_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorContact",
|
|
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_VendorContact_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorContactConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.VendorContactConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorContactConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorContactEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorContactEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorContactConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorContactConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_VendorContactEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_VendorContactEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorContactEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorContactConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.VendorContactConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorContactConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorContactConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorContactConnection",
|
|
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) _VendorContactEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.VendorContactEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorContactEdge_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_VendorContactEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorContactEdge",
|
|
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) _VendorContactEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.VendorContactEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorContactEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorContact2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorContact,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorContactEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorContactEdge",
|
|
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_VendorContact_id(ctx, field)
|
|
case "vendor":
|
|
return ec.fieldContext_VendorContact_vendor(ctx, field)
|
|
case "fullName":
|
|
return ec.fieldContext_VendorContact_fullName(ctx, field)
|
|
case "email":
|
|
return ec.fieldContext_VendorContact_email(ctx, field)
|
|
case "phone":
|
|
return ec.fieldContext_VendorContact_phone(ctx, field)
|
|
case "role":
|
|
return ec.fieldContext_VendorContact_role(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_VendorContact_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_VendorContact_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_VendorContact_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorContact", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorDataPrivacyAgreement_id(ctx context.Context, field graphql.CollectedField, obj *types.VendorDataPrivacyAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorDataPrivacyAgreement_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_VendorDataPrivacyAgreement_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorDataPrivacyAgreement",
|
|
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) _VendorDataPrivacyAgreement_vendor(ctx context.Context, field graphql.CollectedField, obj *types.VendorDataPrivacyAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorDataPrivacyAgreement_vendor,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.VendorDataPrivacyAgreement().Vendor(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNVendor2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendor,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorDataPrivacyAgreement_vendor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorDataPrivacyAgreement",
|
|
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_Vendor_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Vendor_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Vendor_name(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Vendor_category(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Vendor_description(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Vendor_organization(ctx, field)
|
|
case "complianceReports":
|
|
return ec.fieldContext_Vendor_complianceReports(ctx, field)
|
|
case "businessAssociateAgreement":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreement(ctx, field)
|
|
case "dataPrivacyAgreement":
|
|
return ec.fieldContext_Vendor_dataPrivacyAgreement(ctx, field)
|
|
case "contacts":
|
|
return ec.fieldContext_Vendor_contacts(ctx, field)
|
|
case "services":
|
|
return ec.fieldContext_Vendor_services(ctx, field)
|
|
case "riskAssessments":
|
|
return ec.fieldContext_Vendor_riskAssessments(ctx, field)
|
|
case "businessOwner":
|
|
return ec.fieldContext_Vendor_businessOwner(ctx, field)
|
|
case "securityOwner":
|
|
return ec.fieldContext_Vendor_securityOwner(ctx, field)
|
|
case "statusPageUrl":
|
|
return ec.fieldContext_Vendor_statusPageUrl(ctx, field)
|
|
case "termsOfServiceUrl":
|
|
return ec.fieldContext_Vendor_termsOfServiceUrl(ctx, field)
|
|
case "privacyPolicyUrl":
|
|
return ec.fieldContext_Vendor_privacyPolicyUrl(ctx, field)
|
|
case "serviceLevelAgreementUrl":
|
|
return ec.fieldContext_Vendor_serviceLevelAgreementUrl(ctx, field)
|
|
case "dataProcessingAgreementUrl":
|
|
return ec.fieldContext_Vendor_dataProcessingAgreementUrl(ctx, field)
|
|
case "businessAssociateAgreementUrl":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreementUrl(ctx, field)
|
|
case "subprocessorsListUrl":
|
|
return ec.fieldContext_Vendor_subprocessorsListUrl(ctx, field)
|
|
case "certifications":
|
|
return ec.fieldContext_Vendor_certifications(ctx, field)
|
|
case "countries":
|
|
return ec.fieldContext_Vendor_countries(ctx, field)
|
|
case "securityPageUrl":
|
|
return ec.fieldContext_Vendor_securityPageUrl(ctx, field)
|
|
case "trustPageUrl":
|
|
return ec.fieldContext_Vendor_trustPageUrl(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Vendor_headquarterAddress(ctx, field)
|
|
case "legalName":
|
|
return ec.fieldContext_Vendor_legalName(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Vendor_websiteUrl(ctx, field)
|
|
case "showOnTrustCenter":
|
|
return ec.fieldContext_Vendor_showOnTrustCenter(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Vendor_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Vendor_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Vendor_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Vendor", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorDataPrivacyAgreement_validFrom(ctx context.Context, field graphql.CollectedField, obj *types.VendorDataPrivacyAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorDataPrivacyAgreement_validFrom,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ValidFrom, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorDataPrivacyAgreement_validFrom(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorDataPrivacyAgreement",
|
|
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) _VendorDataPrivacyAgreement_validUntil(ctx context.Context, field graphql.CollectedField, obj *types.VendorDataPrivacyAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorDataPrivacyAgreement_validUntil,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ValidUntil, nil
|
|
},
|
|
nil,
|
|
ec.marshalODatetime2ᚖtimeᚐTime,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorDataPrivacyAgreement_validUntil(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorDataPrivacyAgreement",
|
|
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) _VendorDataPrivacyAgreement_fileName(ctx context.Context, field graphql.CollectedField, obj *types.VendorDataPrivacyAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorDataPrivacyAgreement_fileName,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.FileName, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorDataPrivacyAgreement_fileName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorDataPrivacyAgreement",
|
|
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) _VendorDataPrivacyAgreement_fileUrl(ctx context.Context, field graphql.CollectedField, obj *types.VendorDataPrivacyAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorDataPrivacyAgreement_fileUrl,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.VendorDataPrivacyAgreement().FileURL(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorDataPrivacyAgreement_fileUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorDataPrivacyAgreement",
|
|
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) _VendorDataPrivacyAgreement_fileSize(ctx context.Context, field graphql.CollectedField, obj *types.VendorDataPrivacyAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorDataPrivacyAgreement_fileSize,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.FileSize, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBigInt2int64,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorDataPrivacyAgreement_fileSize(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorDataPrivacyAgreement",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type BigInt does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorDataPrivacyAgreement_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.VendorDataPrivacyAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorDataPrivacyAgreement_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorDataPrivacyAgreement_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorDataPrivacyAgreement",
|
|
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) _VendorDataPrivacyAgreement_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.VendorDataPrivacyAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorDataPrivacyAgreement_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorDataPrivacyAgreement_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorDataPrivacyAgreement",
|
|
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) _VendorDataPrivacyAgreement_permission(ctx context.Context, field graphql.CollectedField, obj *types.VendorDataPrivacyAgreement) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorDataPrivacyAgreement_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.VendorDataPrivacyAgreement().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorDataPrivacyAgreement_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorDataPrivacyAgreement",
|
|
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_VendorDataPrivacyAgreement_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.VendorEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorEdge_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_VendorEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorEdge",
|
|
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) _VendorEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.VendorEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendor2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendor,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorEdge",
|
|
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_Vendor_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Vendor_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Vendor_name(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Vendor_category(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Vendor_description(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Vendor_organization(ctx, field)
|
|
case "complianceReports":
|
|
return ec.fieldContext_Vendor_complianceReports(ctx, field)
|
|
case "businessAssociateAgreement":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreement(ctx, field)
|
|
case "dataPrivacyAgreement":
|
|
return ec.fieldContext_Vendor_dataPrivacyAgreement(ctx, field)
|
|
case "contacts":
|
|
return ec.fieldContext_Vendor_contacts(ctx, field)
|
|
case "services":
|
|
return ec.fieldContext_Vendor_services(ctx, field)
|
|
case "riskAssessments":
|
|
return ec.fieldContext_Vendor_riskAssessments(ctx, field)
|
|
case "businessOwner":
|
|
return ec.fieldContext_Vendor_businessOwner(ctx, field)
|
|
case "securityOwner":
|
|
return ec.fieldContext_Vendor_securityOwner(ctx, field)
|
|
case "statusPageUrl":
|
|
return ec.fieldContext_Vendor_statusPageUrl(ctx, field)
|
|
case "termsOfServiceUrl":
|
|
return ec.fieldContext_Vendor_termsOfServiceUrl(ctx, field)
|
|
case "privacyPolicyUrl":
|
|
return ec.fieldContext_Vendor_privacyPolicyUrl(ctx, field)
|
|
case "serviceLevelAgreementUrl":
|
|
return ec.fieldContext_Vendor_serviceLevelAgreementUrl(ctx, field)
|
|
case "dataProcessingAgreementUrl":
|
|
return ec.fieldContext_Vendor_dataProcessingAgreementUrl(ctx, field)
|
|
case "businessAssociateAgreementUrl":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreementUrl(ctx, field)
|
|
case "subprocessorsListUrl":
|
|
return ec.fieldContext_Vendor_subprocessorsListUrl(ctx, field)
|
|
case "certifications":
|
|
return ec.fieldContext_Vendor_certifications(ctx, field)
|
|
case "countries":
|
|
return ec.fieldContext_Vendor_countries(ctx, field)
|
|
case "securityPageUrl":
|
|
return ec.fieldContext_Vendor_securityPageUrl(ctx, field)
|
|
case "trustPageUrl":
|
|
return ec.fieldContext_Vendor_trustPageUrl(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Vendor_headquarterAddress(ctx, field)
|
|
case "legalName":
|
|
return ec.fieldContext_Vendor_legalName(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Vendor_websiteUrl(ctx, field)
|
|
case "showOnTrustCenter":
|
|
return ec.fieldContext_Vendor_showOnTrustCenter(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Vendor_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Vendor_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Vendor_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Vendor", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorRiskAssessment_id(ctx context.Context, field graphql.CollectedField, obj *types.VendorRiskAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorRiskAssessment_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_VendorRiskAssessment_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorRiskAssessment",
|
|
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) _VendorRiskAssessment_vendor(ctx context.Context, field graphql.CollectedField, obj *types.VendorRiskAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorRiskAssessment_vendor,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.VendorRiskAssessment().Vendor(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNVendor2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendor,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorRiskAssessment_vendor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorRiskAssessment",
|
|
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_Vendor_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Vendor_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Vendor_name(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Vendor_category(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Vendor_description(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Vendor_organization(ctx, field)
|
|
case "complianceReports":
|
|
return ec.fieldContext_Vendor_complianceReports(ctx, field)
|
|
case "businessAssociateAgreement":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreement(ctx, field)
|
|
case "dataPrivacyAgreement":
|
|
return ec.fieldContext_Vendor_dataPrivacyAgreement(ctx, field)
|
|
case "contacts":
|
|
return ec.fieldContext_Vendor_contacts(ctx, field)
|
|
case "services":
|
|
return ec.fieldContext_Vendor_services(ctx, field)
|
|
case "riskAssessments":
|
|
return ec.fieldContext_Vendor_riskAssessments(ctx, field)
|
|
case "businessOwner":
|
|
return ec.fieldContext_Vendor_businessOwner(ctx, field)
|
|
case "securityOwner":
|
|
return ec.fieldContext_Vendor_securityOwner(ctx, field)
|
|
case "statusPageUrl":
|
|
return ec.fieldContext_Vendor_statusPageUrl(ctx, field)
|
|
case "termsOfServiceUrl":
|
|
return ec.fieldContext_Vendor_termsOfServiceUrl(ctx, field)
|
|
case "privacyPolicyUrl":
|
|
return ec.fieldContext_Vendor_privacyPolicyUrl(ctx, field)
|
|
case "serviceLevelAgreementUrl":
|
|
return ec.fieldContext_Vendor_serviceLevelAgreementUrl(ctx, field)
|
|
case "dataProcessingAgreementUrl":
|
|
return ec.fieldContext_Vendor_dataProcessingAgreementUrl(ctx, field)
|
|
case "businessAssociateAgreementUrl":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreementUrl(ctx, field)
|
|
case "subprocessorsListUrl":
|
|
return ec.fieldContext_Vendor_subprocessorsListUrl(ctx, field)
|
|
case "certifications":
|
|
return ec.fieldContext_Vendor_certifications(ctx, field)
|
|
case "countries":
|
|
return ec.fieldContext_Vendor_countries(ctx, field)
|
|
case "securityPageUrl":
|
|
return ec.fieldContext_Vendor_securityPageUrl(ctx, field)
|
|
case "trustPageUrl":
|
|
return ec.fieldContext_Vendor_trustPageUrl(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Vendor_headquarterAddress(ctx, field)
|
|
case "legalName":
|
|
return ec.fieldContext_Vendor_legalName(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Vendor_websiteUrl(ctx, field)
|
|
case "showOnTrustCenter":
|
|
return ec.fieldContext_Vendor_showOnTrustCenter(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Vendor_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Vendor_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Vendor_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Vendor", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorRiskAssessment_expiresAt(ctx context.Context, field graphql.CollectedField, obj *types.VendorRiskAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorRiskAssessment_expiresAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.ExpiresAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorRiskAssessment_expiresAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorRiskAssessment",
|
|
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) _VendorRiskAssessment_dataSensitivity(ctx context.Context, field graphql.CollectedField, obj *types.VendorRiskAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorRiskAssessment_dataSensitivity,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DataSensitivity, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDataSensitivity2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataSensitivity,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorRiskAssessment_dataSensitivity(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorRiskAssessment",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type DataSensitivity does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorRiskAssessment_businessImpact(ctx context.Context, field graphql.CollectedField, obj *types.VendorRiskAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorRiskAssessment_businessImpact,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.BusinessImpact, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBusinessImpact2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐBusinessImpact,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorRiskAssessment_businessImpact(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorRiskAssessment",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type BusinessImpact does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorRiskAssessment_notes(ctx context.Context, field graphql.CollectedField, obj *types.VendorRiskAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorRiskAssessment_notes,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Notes, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorRiskAssessment_notes(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorRiskAssessment",
|
|
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) _VendorRiskAssessment_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.VendorRiskAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorRiskAssessment_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorRiskAssessment_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorRiskAssessment",
|
|
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) _VendorRiskAssessment_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.VendorRiskAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorRiskAssessment_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorRiskAssessment_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorRiskAssessment",
|
|
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) _VendorRiskAssessment_permission(ctx context.Context, field graphql.CollectedField, obj *types.VendorRiskAssessment) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorRiskAssessment_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.VendorRiskAssessment().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorRiskAssessment_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorRiskAssessment",
|
|
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_VendorRiskAssessment_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorRiskAssessmentConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.VendorRiskAssessmentConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorRiskAssessmentConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorRiskAssessmentEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorRiskAssessmentEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorRiskAssessmentConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorRiskAssessmentConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_VendorRiskAssessmentEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_VendorRiskAssessmentEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorRiskAssessmentEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorRiskAssessmentConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.VendorRiskAssessmentConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorRiskAssessmentConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorRiskAssessmentConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorRiskAssessmentConnection",
|
|
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) _VendorRiskAssessmentEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.VendorRiskAssessmentEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorRiskAssessmentEdge_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_VendorRiskAssessmentEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorRiskAssessmentEdge",
|
|
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) _VendorRiskAssessmentEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.VendorRiskAssessmentEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorRiskAssessmentEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorRiskAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorRiskAssessment,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorRiskAssessmentEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorRiskAssessmentEdge",
|
|
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_VendorRiskAssessment_id(ctx, field)
|
|
case "vendor":
|
|
return ec.fieldContext_VendorRiskAssessment_vendor(ctx, field)
|
|
case "expiresAt":
|
|
return ec.fieldContext_VendorRiskAssessment_expiresAt(ctx, field)
|
|
case "dataSensitivity":
|
|
return ec.fieldContext_VendorRiskAssessment_dataSensitivity(ctx, field)
|
|
case "businessImpact":
|
|
return ec.fieldContext_VendorRiskAssessment_businessImpact(ctx, field)
|
|
case "notes":
|
|
return ec.fieldContext_VendorRiskAssessment_notes(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_VendorRiskAssessment_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_VendorRiskAssessment_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_VendorRiskAssessment_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorRiskAssessment", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorService_id(ctx context.Context, field graphql.CollectedField, obj *types.VendorService) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorService_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_VendorService_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorService",
|
|
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) _VendorService_vendor(ctx context.Context, field graphql.CollectedField, obj *types.VendorService) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorService_vendor,
|
|
func(ctx context.Context) (any, error) {
|
|
return ec.resolvers.VendorService().Vendor(ctx, obj)
|
|
},
|
|
nil,
|
|
ec.marshalNVendor2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendor,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorService_vendor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorService",
|
|
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_Vendor_id(ctx, field)
|
|
case "snapshotId":
|
|
return ec.fieldContext_Vendor_snapshotId(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_Vendor_name(ctx, field)
|
|
case "category":
|
|
return ec.fieldContext_Vendor_category(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_Vendor_description(ctx, field)
|
|
case "organization":
|
|
return ec.fieldContext_Vendor_organization(ctx, field)
|
|
case "complianceReports":
|
|
return ec.fieldContext_Vendor_complianceReports(ctx, field)
|
|
case "businessAssociateAgreement":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreement(ctx, field)
|
|
case "dataPrivacyAgreement":
|
|
return ec.fieldContext_Vendor_dataPrivacyAgreement(ctx, field)
|
|
case "contacts":
|
|
return ec.fieldContext_Vendor_contacts(ctx, field)
|
|
case "services":
|
|
return ec.fieldContext_Vendor_services(ctx, field)
|
|
case "riskAssessments":
|
|
return ec.fieldContext_Vendor_riskAssessments(ctx, field)
|
|
case "businessOwner":
|
|
return ec.fieldContext_Vendor_businessOwner(ctx, field)
|
|
case "securityOwner":
|
|
return ec.fieldContext_Vendor_securityOwner(ctx, field)
|
|
case "statusPageUrl":
|
|
return ec.fieldContext_Vendor_statusPageUrl(ctx, field)
|
|
case "termsOfServiceUrl":
|
|
return ec.fieldContext_Vendor_termsOfServiceUrl(ctx, field)
|
|
case "privacyPolicyUrl":
|
|
return ec.fieldContext_Vendor_privacyPolicyUrl(ctx, field)
|
|
case "serviceLevelAgreementUrl":
|
|
return ec.fieldContext_Vendor_serviceLevelAgreementUrl(ctx, field)
|
|
case "dataProcessingAgreementUrl":
|
|
return ec.fieldContext_Vendor_dataProcessingAgreementUrl(ctx, field)
|
|
case "businessAssociateAgreementUrl":
|
|
return ec.fieldContext_Vendor_businessAssociateAgreementUrl(ctx, field)
|
|
case "subprocessorsListUrl":
|
|
return ec.fieldContext_Vendor_subprocessorsListUrl(ctx, field)
|
|
case "certifications":
|
|
return ec.fieldContext_Vendor_certifications(ctx, field)
|
|
case "countries":
|
|
return ec.fieldContext_Vendor_countries(ctx, field)
|
|
case "securityPageUrl":
|
|
return ec.fieldContext_Vendor_securityPageUrl(ctx, field)
|
|
case "trustPageUrl":
|
|
return ec.fieldContext_Vendor_trustPageUrl(ctx, field)
|
|
case "headquarterAddress":
|
|
return ec.fieldContext_Vendor_headquarterAddress(ctx, field)
|
|
case "legalName":
|
|
return ec.fieldContext_Vendor_legalName(ctx, field)
|
|
case "websiteUrl":
|
|
return ec.fieldContext_Vendor_websiteUrl(ctx, field)
|
|
case "showOnTrustCenter":
|
|
return ec.fieldContext_Vendor_showOnTrustCenter(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_Vendor_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_Vendor_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_Vendor_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type Vendor", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorService_name(ctx context.Context, field graphql.CollectedField, obj *types.VendorService) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorService_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorService_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorService",
|
|
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) _VendorService_description(ctx context.Context, field graphql.CollectedField, obj *types.VendorService) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorService_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorService_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorService",
|
|
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) _VendorService_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.VendorService) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorService_createdAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.CreatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorService_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorService",
|
|
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) _VendorService_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.VendorService) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorService_updatedAt,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.UpdatedAt, nil
|
|
},
|
|
nil,
|
|
ec.marshalNDatetime2timeᚐTime,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorService_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorService",
|
|
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) _VendorService_permission(ctx context.Context, field graphql.CollectedField, obj *types.VendorService) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorService_permission,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.VendorService().Permission(ctx, obj, fc.Args["action"].(string))
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorService_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorService",
|
|
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_VendorService_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorServiceConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.VendorServiceConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorServiceConnection_edges,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Edges, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorServiceEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorServiceEdgeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorServiceConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorServiceConnection",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "cursor":
|
|
return ec.fieldContext_VendorServiceEdge_cursor(ctx, field)
|
|
case "node":
|
|
return ec.fieldContext_VendorServiceEdge_node(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorServiceEdge", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _VendorServiceConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.VendorServiceConnection) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorServiceConnection_pageInfo,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PageInfo, nil
|
|
},
|
|
nil,
|
|
ec.marshalNPageInfo2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorServiceConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorServiceConnection",
|
|
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) _VendorServiceEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.VendorServiceEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorServiceEdge_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_VendorServiceEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorServiceEdge",
|
|
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) _VendorServiceEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.VendorServiceEdge) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_VendorServiceEdge_node,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Node, nil
|
|
},
|
|
nil,
|
|
ec.marshalNVendorService2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorService,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_VendorServiceEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "VendorServiceEdge",
|
|
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_VendorService_id(ctx, field)
|
|
case "vendor":
|
|
return ec.fieldContext_VendorService_vendor(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext_VendorService_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_VendorService_description(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_VendorService_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_VendorService_updatedAt(ctx, field)
|
|
case "permission":
|
|
return ec.fieldContext_VendorService_permission(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type VendorService", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Viewer_id(ctx context.Context, field graphql.CollectedField, obj *types.Viewer) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Viewer_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_Viewer_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Viewer",
|
|
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) _Viewer_signableDocuments(ctx context.Context, field graphql.CollectedField, obj *types.Viewer) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Viewer_signableDocuments,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Viewer().SignableDocuments(ctx, obj, fc.Args["organizationId"].(gid.GID), fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.DocumentOrderBy))
|
|
},
|
|
nil,
|
|
ec.marshalNSignableDocumentConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignableDocumentConnection,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Viewer_signableDocuments(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Viewer",
|
|
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_SignableDocumentConnection_edges(ctx, field)
|
|
case "pageInfo":
|
|
return ec.fieldContext_SignableDocumentConnection_pageInfo(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type SignableDocumentConnection", 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_Viewer_signableDocuments_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) _Viewer_signableDocument(ctx context.Context, field graphql.CollectedField, obj *types.Viewer) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext_Viewer_signableDocument,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return ec.resolvers.Viewer().SignableDocument(ctx, obj, fc.Args["id"].(gid.GID))
|
|
},
|
|
nil,
|
|
ec.marshalOSignableDocument2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignableDocument,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext_Viewer_signableDocument(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "Viewer",
|
|
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_SignableDocument_id(ctx, field)
|
|
case "title":
|
|
return ec.fieldContext_SignableDocument_title(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext_SignableDocument_description(ctx, field)
|
|
case "documentType":
|
|
return ec.fieldContext_SignableDocument_documentType(ctx, field)
|
|
case "classification":
|
|
return ec.fieldContext_SignableDocument_classification(ctx, field)
|
|
case "signed":
|
|
return ec.fieldContext_SignableDocument_signed(ctx, field)
|
|
case "versions":
|
|
return ec.fieldContext_SignableDocument_versions(ctx, field)
|
|
case "createdAt":
|
|
return ec.fieldContext_SignableDocument_createdAt(ctx, field)
|
|
case "updatedAt":
|
|
return ec.fieldContext_SignableDocument_updatedAt(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type SignableDocument", 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_Viewer_signableDocument_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Directive_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Directive_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Directive_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Directive",
|
|
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) ___Directive_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Directive_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description(), nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Directive_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Directive",
|
|
Field: field,
|
|
IsMethod: true,
|
|
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) ___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Directive_isRepeatable,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.IsRepeatable, nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Directive_isRepeatable(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Directive",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Directive_locations(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Directive_locations,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Locations, nil
|
|
},
|
|
nil,
|
|
ec.marshalN__DirectiveLocation2ᚕstringᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Directive_locations(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Directive",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type __DirectiveLocation does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Directive_args,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Args, nil
|
|
},
|
|
nil,
|
|
ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Directive_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Directive",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "name":
|
|
return ec.fieldContext___InputValue_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___InputValue_description(ctx, field)
|
|
case "type":
|
|
return ec.fieldContext___InputValue_type(ctx, field)
|
|
case "defaultValue":
|
|
return ec.fieldContext___InputValue_defaultValue(ctx, field)
|
|
case "isDeprecated":
|
|
return ec.fieldContext___InputValue_isDeprecated(ctx, field)
|
|
case "deprecationReason":
|
|
return ec.fieldContext___InputValue_deprecationReason(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __InputValue", 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___Directive_args_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___EnumValue_name(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___EnumValue_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___EnumValue_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__EnumValue",
|
|
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) ___EnumValue_description(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___EnumValue_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description(), nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___EnumValue_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__EnumValue",
|
|
Field: field,
|
|
IsMethod: true,
|
|
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) ___EnumValue_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___EnumValue_isDeprecated,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.IsDeprecated(), nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___EnumValue_isDeprecated(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__EnumValue",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___EnumValue_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___EnumValue_deprecationReason,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeprecationReason(), nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___EnumValue_deprecationReason(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__EnumValue",
|
|
Field: field,
|
|
IsMethod: true,
|
|
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) ___Field_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Field_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Field_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Field",
|
|
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) ___Field_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Field_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description(), nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Field_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Field",
|
|
Field: field,
|
|
IsMethod: true,
|
|
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) ___Field_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Field_args,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Args, nil
|
|
},
|
|
nil,
|
|
ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Field_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Field",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "name":
|
|
return ec.fieldContext___InputValue_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___InputValue_description(ctx, field)
|
|
case "type":
|
|
return ec.fieldContext___InputValue_type(ctx, field)
|
|
case "defaultValue":
|
|
return ec.fieldContext___InputValue_defaultValue(ctx, field)
|
|
case "isDeprecated":
|
|
return ec.fieldContext___InputValue_isDeprecated(ctx, field)
|
|
case "deprecationReason":
|
|
return ec.fieldContext___InputValue_deprecationReason(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __InputValue", 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___Field_args_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Field_type(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Field_type,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Type, nil
|
|
},
|
|
nil,
|
|
ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Field_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Field",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "kind":
|
|
return ec.fieldContext___Type_kind(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext___Type_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___Type_description(ctx, field)
|
|
case "specifiedByURL":
|
|
return ec.fieldContext___Type_specifiedByURL(ctx, field)
|
|
case "fields":
|
|
return ec.fieldContext___Type_fields(ctx, field)
|
|
case "interfaces":
|
|
return ec.fieldContext___Type_interfaces(ctx, field)
|
|
case "possibleTypes":
|
|
return ec.fieldContext___Type_possibleTypes(ctx, field)
|
|
case "enumValues":
|
|
return ec.fieldContext___Type_enumValues(ctx, field)
|
|
case "inputFields":
|
|
return ec.fieldContext___Type_inputFields(ctx, field)
|
|
case "ofType":
|
|
return ec.fieldContext___Type_ofType(ctx, field)
|
|
case "isOneOf":
|
|
return ec.fieldContext___Type_isOneOf(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Field_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Field_isDeprecated,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.IsDeprecated(), nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Field_isDeprecated(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Field",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Field_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Field_deprecationReason,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeprecationReason(), nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Field_deprecationReason(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Field",
|
|
Field: field,
|
|
IsMethod: true,
|
|
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) ___InputValue_name(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___InputValue_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name, nil
|
|
},
|
|
nil,
|
|
ec.marshalNString2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___InputValue_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__InputValue",
|
|
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) ___InputValue_description(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___InputValue_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description(), nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___InputValue_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__InputValue",
|
|
Field: field,
|
|
IsMethod: true,
|
|
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) ___InputValue_type(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___InputValue_type,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Type, nil
|
|
},
|
|
nil,
|
|
ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___InputValue_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__InputValue",
|
|
Field: field,
|
|
IsMethod: false,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "kind":
|
|
return ec.fieldContext___Type_kind(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext___Type_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___Type_description(ctx, field)
|
|
case "specifiedByURL":
|
|
return ec.fieldContext___Type_specifiedByURL(ctx, field)
|
|
case "fields":
|
|
return ec.fieldContext___Type_fields(ctx, field)
|
|
case "interfaces":
|
|
return ec.fieldContext___Type_interfaces(ctx, field)
|
|
case "possibleTypes":
|
|
return ec.fieldContext___Type_possibleTypes(ctx, field)
|
|
case "enumValues":
|
|
return ec.fieldContext___Type_enumValues(ctx, field)
|
|
case "inputFields":
|
|
return ec.fieldContext___Type_inputFields(ctx, field)
|
|
case "ofType":
|
|
return ec.fieldContext___Type_ofType(ctx, field)
|
|
case "isOneOf":
|
|
return ec.fieldContext___Type_isOneOf(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___InputValue_defaultValue(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___InputValue_defaultValue,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DefaultValue, nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___InputValue_defaultValue(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__InputValue",
|
|
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) ___InputValue_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___InputValue_isDeprecated,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.IsDeprecated(), nil
|
|
},
|
|
nil,
|
|
ec.marshalNBoolean2bool,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___InputValue_isDeprecated(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__InputValue",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___InputValue_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___InputValue_deprecationReason,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.DeprecationReason(), nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___InputValue_deprecationReason(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__InputValue",
|
|
Field: field,
|
|
IsMethod: true,
|
|
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) ___Schema_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Schema_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description(), nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Schema_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Schema",
|
|
Field: field,
|
|
IsMethod: true,
|
|
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) ___Schema_types(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Schema_types,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Types(), nil
|
|
},
|
|
nil,
|
|
ec.marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Schema_types(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Schema",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "kind":
|
|
return ec.fieldContext___Type_kind(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext___Type_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___Type_description(ctx, field)
|
|
case "specifiedByURL":
|
|
return ec.fieldContext___Type_specifiedByURL(ctx, field)
|
|
case "fields":
|
|
return ec.fieldContext___Type_fields(ctx, field)
|
|
case "interfaces":
|
|
return ec.fieldContext___Type_interfaces(ctx, field)
|
|
case "possibleTypes":
|
|
return ec.fieldContext___Type_possibleTypes(ctx, field)
|
|
case "enumValues":
|
|
return ec.fieldContext___Type_enumValues(ctx, field)
|
|
case "inputFields":
|
|
return ec.fieldContext___Type_inputFields(ctx, field)
|
|
case "ofType":
|
|
return ec.fieldContext___Type_ofType(ctx, field)
|
|
case "isOneOf":
|
|
return ec.fieldContext___Type_isOneOf(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Schema_queryType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Schema_queryType,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.QueryType(), nil
|
|
},
|
|
nil,
|
|
ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Schema_queryType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Schema",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "kind":
|
|
return ec.fieldContext___Type_kind(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext___Type_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___Type_description(ctx, field)
|
|
case "specifiedByURL":
|
|
return ec.fieldContext___Type_specifiedByURL(ctx, field)
|
|
case "fields":
|
|
return ec.fieldContext___Type_fields(ctx, field)
|
|
case "interfaces":
|
|
return ec.fieldContext___Type_interfaces(ctx, field)
|
|
case "possibleTypes":
|
|
return ec.fieldContext___Type_possibleTypes(ctx, field)
|
|
case "enumValues":
|
|
return ec.fieldContext___Type_enumValues(ctx, field)
|
|
case "inputFields":
|
|
return ec.fieldContext___Type_inputFields(ctx, field)
|
|
case "ofType":
|
|
return ec.fieldContext___Type_ofType(ctx, field)
|
|
case "isOneOf":
|
|
return ec.fieldContext___Type_isOneOf(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Schema_mutationType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Schema_mutationType,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.MutationType(), nil
|
|
},
|
|
nil,
|
|
ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Schema_mutationType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Schema",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "kind":
|
|
return ec.fieldContext___Type_kind(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext___Type_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___Type_description(ctx, field)
|
|
case "specifiedByURL":
|
|
return ec.fieldContext___Type_specifiedByURL(ctx, field)
|
|
case "fields":
|
|
return ec.fieldContext___Type_fields(ctx, field)
|
|
case "interfaces":
|
|
return ec.fieldContext___Type_interfaces(ctx, field)
|
|
case "possibleTypes":
|
|
return ec.fieldContext___Type_possibleTypes(ctx, field)
|
|
case "enumValues":
|
|
return ec.fieldContext___Type_enumValues(ctx, field)
|
|
case "inputFields":
|
|
return ec.fieldContext___Type_inputFields(ctx, field)
|
|
case "ofType":
|
|
return ec.fieldContext___Type_ofType(ctx, field)
|
|
case "isOneOf":
|
|
return ec.fieldContext___Type_isOneOf(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Schema_subscriptionType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Schema_subscriptionType,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SubscriptionType(), nil
|
|
},
|
|
nil,
|
|
ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Schema_subscriptionType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Schema",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "kind":
|
|
return ec.fieldContext___Type_kind(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext___Type_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___Type_description(ctx, field)
|
|
case "specifiedByURL":
|
|
return ec.fieldContext___Type_specifiedByURL(ctx, field)
|
|
case "fields":
|
|
return ec.fieldContext___Type_fields(ctx, field)
|
|
case "interfaces":
|
|
return ec.fieldContext___Type_interfaces(ctx, field)
|
|
case "possibleTypes":
|
|
return ec.fieldContext___Type_possibleTypes(ctx, field)
|
|
case "enumValues":
|
|
return ec.fieldContext___Type_enumValues(ctx, field)
|
|
case "inputFields":
|
|
return ec.fieldContext___Type_inputFields(ctx, field)
|
|
case "ofType":
|
|
return ec.fieldContext___Type_ofType(ctx, field)
|
|
case "isOneOf":
|
|
return ec.fieldContext___Type_isOneOf(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Schema_directives(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Schema_directives,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Directives(), nil
|
|
},
|
|
nil,
|
|
ec.marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirectiveᚄ,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Schema_directives(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Schema",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "name":
|
|
return ec.fieldContext___Directive_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___Directive_description(ctx, field)
|
|
case "isRepeatable":
|
|
return ec.fieldContext___Directive_isRepeatable(ctx, field)
|
|
case "locations":
|
|
return ec.fieldContext___Directive_locations(ctx, field)
|
|
case "args":
|
|
return ec.fieldContext___Directive_args(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __Directive", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Type_kind(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Type_kind,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Kind(), nil
|
|
},
|
|
nil,
|
|
ec.marshalN__TypeKind2string,
|
|
true,
|
|
true,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Type_kind(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Type",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type __TypeKind does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Type_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Type_name,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Name(), nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Type_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Type",
|
|
Field: field,
|
|
IsMethod: true,
|
|
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) ___Type_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Type_description,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Description(), nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Type_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Type",
|
|
Field: field,
|
|
IsMethod: true,
|
|
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) ___Type_specifiedByURL(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Type_specifiedByURL,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.SpecifiedByURL(), nil
|
|
},
|
|
nil,
|
|
ec.marshalOString2ᚖstring,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Type_specifiedByURL(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Type",
|
|
Field: field,
|
|
IsMethod: true,
|
|
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) ___Type_fields(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Type_fields,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return obj.Fields(fc.Args["includeDeprecated"].(bool)), nil
|
|
},
|
|
nil,
|
|
ec.marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐFieldᚄ,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Type_fields(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Type",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "name":
|
|
return ec.fieldContext___Field_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___Field_description(ctx, field)
|
|
case "args":
|
|
return ec.fieldContext___Field_args(ctx, field)
|
|
case "type":
|
|
return ec.fieldContext___Field_type(ctx, field)
|
|
case "isDeprecated":
|
|
return ec.fieldContext___Field_isDeprecated(ctx, field)
|
|
case "deprecationReason":
|
|
return ec.fieldContext___Field_deprecationReason(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __Field", 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___Type_fields_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Type_interfaces(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Type_interfaces,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.Interfaces(), nil
|
|
},
|
|
nil,
|
|
ec.marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Type_interfaces(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Type",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "kind":
|
|
return ec.fieldContext___Type_kind(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext___Type_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___Type_description(ctx, field)
|
|
case "specifiedByURL":
|
|
return ec.fieldContext___Type_specifiedByURL(ctx, field)
|
|
case "fields":
|
|
return ec.fieldContext___Type_fields(ctx, field)
|
|
case "interfaces":
|
|
return ec.fieldContext___Type_interfaces(ctx, field)
|
|
case "possibleTypes":
|
|
return ec.fieldContext___Type_possibleTypes(ctx, field)
|
|
case "enumValues":
|
|
return ec.fieldContext___Type_enumValues(ctx, field)
|
|
case "inputFields":
|
|
return ec.fieldContext___Type_inputFields(ctx, field)
|
|
case "ofType":
|
|
return ec.fieldContext___Type_ofType(ctx, field)
|
|
case "isOneOf":
|
|
return ec.fieldContext___Type_isOneOf(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Type_possibleTypes(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Type_possibleTypes,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.PossibleTypes(), nil
|
|
},
|
|
nil,
|
|
ec.marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Type_possibleTypes(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Type",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "kind":
|
|
return ec.fieldContext___Type_kind(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext___Type_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___Type_description(ctx, field)
|
|
case "specifiedByURL":
|
|
return ec.fieldContext___Type_specifiedByURL(ctx, field)
|
|
case "fields":
|
|
return ec.fieldContext___Type_fields(ctx, field)
|
|
case "interfaces":
|
|
return ec.fieldContext___Type_interfaces(ctx, field)
|
|
case "possibleTypes":
|
|
return ec.fieldContext___Type_possibleTypes(ctx, field)
|
|
case "enumValues":
|
|
return ec.fieldContext___Type_enumValues(ctx, field)
|
|
case "inputFields":
|
|
return ec.fieldContext___Type_inputFields(ctx, field)
|
|
case "ofType":
|
|
return ec.fieldContext___Type_ofType(ctx, field)
|
|
case "isOneOf":
|
|
return ec.fieldContext___Type_isOneOf(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Type_enumValues(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Type_enumValues,
|
|
func(ctx context.Context) (any, error) {
|
|
fc := graphql.GetFieldContext(ctx)
|
|
return obj.EnumValues(fc.Args["includeDeprecated"].(bool)), nil
|
|
},
|
|
nil,
|
|
ec.marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValueᚄ,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Type_enumValues(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Type",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "name":
|
|
return ec.fieldContext___EnumValue_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___EnumValue_description(ctx, field)
|
|
case "isDeprecated":
|
|
return ec.fieldContext___EnumValue_isDeprecated(ctx, field)
|
|
case "deprecationReason":
|
|
return ec.fieldContext___EnumValue_deprecationReason(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __EnumValue", 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___Type_enumValues_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
|
|
ec.Error(ctx, err)
|
|
return fc, err
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Type_inputFields,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.InputFields(), nil
|
|
},
|
|
nil,
|
|
ec.marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Type_inputFields(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Type",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "name":
|
|
return ec.fieldContext___InputValue_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___InputValue_description(ctx, field)
|
|
case "type":
|
|
return ec.fieldContext___InputValue_type(ctx, field)
|
|
case "defaultValue":
|
|
return ec.fieldContext___InputValue_defaultValue(ctx, field)
|
|
case "isDeprecated":
|
|
return ec.fieldContext___InputValue_isDeprecated(ctx, field)
|
|
case "deprecationReason":
|
|
return ec.fieldContext___InputValue_deprecationReason(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Type_ofType(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Type_ofType,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.OfType(), nil
|
|
},
|
|
nil,
|
|
ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Type_ofType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Type",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
switch field.Name {
|
|
case "kind":
|
|
return ec.fieldContext___Type_kind(ctx, field)
|
|
case "name":
|
|
return ec.fieldContext___Type_name(ctx, field)
|
|
case "description":
|
|
return ec.fieldContext___Type_description(ctx, field)
|
|
case "specifiedByURL":
|
|
return ec.fieldContext___Type_specifiedByURL(ctx, field)
|
|
case "fields":
|
|
return ec.fieldContext___Type_fields(ctx, field)
|
|
case "interfaces":
|
|
return ec.fieldContext___Type_interfaces(ctx, field)
|
|
case "possibleTypes":
|
|
return ec.fieldContext___Type_possibleTypes(ctx, field)
|
|
case "enumValues":
|
|
return ec.fieldContext___Type_enumValues(ctx, field)
|
|
case "inputFields":
|
|
return ec.fieldContext___Type_inputFields(ctx, field)
|
|
case "ofType":
|
|
return ec.fieldContext___Type_ofType(ctx, field)
|
|
case "isOneOf":
|
|
return ec.fieldContext___Type_isOneOf(ctx, field)
|
|
}
|
|
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
func (ec *executionContext) ___Type_isOneOf(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
|
|
return graphql.ResolveField(
|
|
ctx,
|
|
ec.OperationContext,
|
|
field,
|
|
ec.fieldContext___Type_isOneOf,
|
|
func(ctx context.Context) (any, error) {
|
|
return obj.IsOneOf(), nil
|
|
},
|
|
nil,
|
|
ec.marshalOBoolean2bool,
|
|
true,
|
|
false,
|
|
)
|
|
}
|
|
|
|
func (ec *executionContext) fieldContext___Type_isOneOf(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
|
fc = &graphql.FieldContext{
|
|
Object: "__Type",
|
|
Field: field,
|
|
IsMethod: true,
|
|
IsResolver: false,
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
return nil, errors.New("field of type Boolean does not have child fields")
|
|
},
|
|
}
|
|
return fc, nil
|
|
}
|
|
|
|
// endregion **************************** field.gotpl *****************************
|
|
|
|
// region **************************** input.gotpl *****************************
|
|
|
|
func (ec *executionContext) unmarshalInputAssessVendorInput(ctx context.Context, obj any) (types.AssessVendorInput, error) {
|
|
var it types.AssessVendorInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "websiteUrl"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "websiteUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("websiteUrl"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.WebsiteURL = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputAssetFilter(ctx context.Context, obj any) (types.AssetFilter, error) {
|
|
var it types.AssetFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"snapshotId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "snapshotId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("snapshotId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SnapshotID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputAssetOrder(ctx context.Context, obj any) (types.AssetOrderBy, error) {
|
|
var it types.AssetOrderBy
|
|
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.unmarshalNAssetOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputAuditOrder(ctx context.Context, obj any) (types.AuditOrderBy, error) {
|
|
var it types.AuditOrderBy
|
|
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.unmarshalNAuditOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputBulkDeleteDocumentsInput(ctx context.Context, obj any) (types.BulkDeleteDocumentsInput, error) {
|
|
var it types.BulkDeleteDocumentsInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentIds"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentIds":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentIds"))
|
|
data, err := ec.unmarshalNID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentIds = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputBulkExportDocumentsInput(ctx context.Context, obj any) (types.BulkExportDocumentsInput, error) {
|
|
var it types.BulkExportDocumentsInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentIds", "withWatermark", "watermarkEmail", "withSignatures"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentIds":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentIds"))
|
|
data, err := ec.unmarshalNID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentIds = data
|
|
case "withWatermark":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("withWatermark"))
|
|
data, err := ec.unmarshalNBoolean2bool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.WithWatermark = data
|
|
case "watermarkEmail":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("watermarkEmail"))
|
|
data, err := ec.unmarshalOEmailAddr2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.WatermarkEmail = data
|
|
case "withSignatures":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("withSignatures"))
|
|
data, err := ec.unmarshalNBoolean2bool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.WithSignatures = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputBulkPublishDocumentVersionsInput(ctx context.Context, obj any) (types.BulkPublishDocumentVersionsInput, error) {
|
|
var it types.BulkPublishDocumentVersionsInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentIds", "changelog"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentIds":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentIds"))
|
|
data, err := ec.unmarshalNID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentIds = data
|
|
case "changelog":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("changelog"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Changelog = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputBulkRequestSignaturesInput(ctx context.Context, obj any) (types.BulkRequestSignaturesInput, error) {
|
|
var it types.BulkRequestSignaturesInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentIds", "signatoryIds"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentIds":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentIds"))
|
|
data, err := ec.unmarshalNID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentIds = data
|
|
case "signatoryIds":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("signatoryIds"))
|
|
data, err := ec.unmarshalNID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SignatoryIds = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCancelSignatureRequestInput(ctx context.Context, obj any) (types.CancelSignatureRequestInput, error) {
|
|
var it types.CancelSignatureRequestInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentVersionSignatureId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentVersionSignatureId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentVersionSignatureId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentVersionSignatureID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputContinualImprovementFilter(ctx context.Context, obj any) (types.ContinualImprovementFilter, error) {
|
|
var it types.ContinualImprovementFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"snapshotId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "snapshotId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("snapshotId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SnapshotID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputContinualImprovementOrder(ctx context.Context, obj any) (types.ContinualImprovementOrderBy, error) {
|
|
var it types.ContinualImprovementOrderBy
|
|
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.unmarshalNContinualImprovementOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputControlFilter(ctx context.Context, obj any) (types.ControlFilter, error) {
|
|
var it types.ControlFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"query"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "query":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("query"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Query = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputControlOrder(ctx context.Context, obj any) (types.ControlOrderBy, error) {
|
|
var it types.ControlOrderBy
|
|
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.unmarshalNControlOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateAssetInput(ctx context.Context, obj any) (types.CreateAssetInput, error) {
|
|
var it types.CreateAssetInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "name", "amount", "ownerId", "assetType", "dataTypesStored", "vendorIds"}
|
|
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 "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "amount":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("amount"))
|
|
data, err := ec.unmarshalNInt2int(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Amount = data
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
case "assetType":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("assetType"))
|
|
data, err := ec.unmarshalNAssetType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AssetType = data
|
|
case "dataTypesStored":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataTypesStored"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataTypesStored = data
|
|
case "vendorIds":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorIds"))
|
|
data, err := ec.unmarshalOID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorIds = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateAuditInput(ctx context.Context, obj any) (types.CreateAuditInput, error) {
|
|
var it types.CreateAuditInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "frameworkId", "name", "validFrom", "validUntil", "state", "trustCenterVisibility"}
|
|
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 "frameworkId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("frameworkId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.FrameworkID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "validFrom":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("validFrom"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ValidFrom = data
|
|
case "validUntil":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("validUntil"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ValidUntil = data
|
|
case "state":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("state"))
|
|
data, err := ec.unmarshalOAuditState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.State = data
|
|
case "trustCenterVisibility":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trustCenterVisibility"))
|
|
data, err := ec.unmarshalOTrustCenterVisibility2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TrustCenterVisibility = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateContinualImprovementInput(ctx context.Context, obj any) (types.CreateContinualImprovementInput, error) {
|
|
var it types.CreateContinualImprovementInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "referenceId", "description", "source", "ownerId", "targetDate", "status", "priority"}
|
|
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 "referenceId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("referenceId"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ReferenceID = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = data
|
|
case "source":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("source"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Source = data
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
case "targetDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("targetDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TargetDate = data
|
|
case "status":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status"))
|
|
data, err := ec.unmarshalNContinualImprovementStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Status = data
|
|
case "priority":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("priority"))
|
|
data, err := ec.unmarshalNContinualImprovementPriority2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Priority = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateControlAuditMappingInput(ctx context.Context, obj any) (types.CreateControlAuditMappingInput, error) {
|
|
var it types.CreateControlAuditMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"controlId", "auditId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "controlId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("controlId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ControlID = data
|
|
case "auditId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("auditId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AuditID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateControlDocumentMappingInput(ctx context.Context, obj any) (types.CreateControlDocumentMappingInput, error) {
|
|
var it types.CreateControlDocumentMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"controlId", "documentId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "controlId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("controlId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ControlID = data
|
|
case "documentId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateControlInput(ctx context.Context, obj any) (types.CreateControlInput, error) {
|
|
var it types.CreateControlInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"frameworkId", "sectionTitle", "name", "description", "status", "exclusionJustification", "bestPractice"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "frameworkId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("frameworkId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.FrameworkID = data
|
|
case "sectionTitle":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("sectionTitle"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SectionTitle = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = data
|
|
case "status":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status"))
|
|
data, err := ec.unmarshalNControlStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Status = data
|
|
case "exclusionJustification":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("exclusionJustification"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ExclusionJustification = data
|
|
case "bestPractice":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("bestPractice"))
|
|
data, err := ec.unmarshalNBoolean2bool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.BestPractice = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateControlMeasureMappingInput(ctx context.Context, obj any) (types.CreateControlMeasureMappingInput, error) {
|
|
var it types.CreateControlMeasureMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"controlId", "measureId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "controlId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("controlId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ControlID = data
|
|
case "measureId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("measureId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.MeasureID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateControlObligationMappingInput(ctx context.Context, obj any) (types.CreateControlObligationMappingInput, error) {
|
|
var it types.CreateControlObligationMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"controlId", "obligationId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "controlId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("controlId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ControlID = data
|
|
case "obligationId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("obligationId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ObligationID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateControlSnapshotMappingInput(ctx context.Context, obj any) (types.CreateControlSnapshotMappingInput, error) {
|
|
var it types.CreateControlSnapshotMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"controlId", "snapshotId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "controlId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("controlId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ControlID = data
|
|
case "snapshotId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("snapshotId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SnapshotID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateCustomDomainInput(ctx context.Context, obj any) (types.CreateCustomDomainInput, error) {
|
|
var it types.CreateCustomDomainInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "domain"}
|
|
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 "domain":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("domain"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Domain = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateDataProtectionImpactAssessmentInput(ctx context.Context, obj any) (types.CreateDataProtectionImpactAssessmentInput, error) {
|
|
var it types.CreateDataProtectionImpactAssessmentInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"processingActivityId", "description", "necessityAndProportionality", "potentialRisk", "mitigations", "residualRisk"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "processingActivityId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("processingActivityId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ProcessingActivityID = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = data
|
|
case "necessityAndProportionality":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("necessityAndProportionality"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.NecessityAndProportionality = data
|
|
case "potentialRisk":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("potentialRisk"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.PotentialRisk = data
|
|
case "mitigations":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("mitigations"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Mitigations = data
|
|
case "residualRisk":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("residualRisk"))
|
|
data, err := ec.unmarshalODataProtectionImpactAssessmentResidualRisk2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentResidualRisk(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ResidualRisk = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateDatumInput(ctx context.Context, obj any) (types.CreateDatumInput, error) {
|
|
var it types.CreateDatumInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "name", "dataClassification", "ownerId", "vendorIds"}
|
|
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 "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "dataClassification":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataClassification"))
|
|
data, err := ec.unmarshalNDataClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataClassification = data
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
case "vendorIds":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorIds"))
|
|
data, err := ec.unmarshalOID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorIds = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateDocumentInput(ctx context.Context, obj any) (types.CreateDocumentInput, error) {
|
|
var it types.CreateDocumentInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "title", "content", "ownerId", "documentType", "classification", "trustCenterVisibility"}
|
|
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 "title":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Title = data
|
|
case "content":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("content"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Content = data
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
case "documentType":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentType"))
|
|
data, err := ec.unmarshalNDocumentType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentType = data
|
|
case "classification":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("classification"))
|
|
data, err := ec.unmarshalNDocumentClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Classification = data
|
|
case "trustCenterVisibility":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trustCenterVisibility"))
|
|
data, err := ec.unmarshalOTrustCenterVisibility2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TrustCenterVisibility = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateDraftDocumentVersionInput(ctx context.Context, obj any) (types.CreateDraftDocumentVersionInput, error) {
|
|
var it types.CreateDraftDocumentVersionInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentID"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentID":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentID"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateFrameworkInput(ctx context.Context, obj any) (types.CreateFrameworkInput, error) {
|
|
var it types.CreateFrameworkInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "name", "description"}
|
|
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 "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateMeasureInput(ctx context.Context, obj any) (types.CreateMeasureInput, error) {
|
|
var it types.CreateMeasureInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "name", "description", "category"}
|
|
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 "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = data
|
|
case "category":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("category"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Category = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateMeetingInput(ctx context.Context, obj any) (types.CreateMeetingInput, error) {
|
|
var it types.CreateMeetingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "name", "date", "attendeeIds", "minutes"}
|
|
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 "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "date":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("date"))
|
|
data, err := ec.unmarshalNDatetime2timeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Date = data
|
|
case "attendeeIds":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("attendeeIds"))
|
|
data, err := ec.unmarshalOID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AttendeeIds = data
|
|
case "minutes":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("minutes"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Minutes = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateNonconformityInput(ctx context.Context, obj any) (types.CreateNonconformityInput, error) {
|
|
var it types.CreateNonconformityInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "referenceId", "description", "auditId", "dateIdentified", "rootCause", "correctiveAction", "ownerId", "dueDate", "status", "effectivenessCheck"}
|
|
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 "referenceId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("referenceId"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ReferenceID = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = data
|
|
case "auditId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("auditId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AuditID = data
|
|
case "dateIdentified":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dateIdentified"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DateIdentified = data
|
|
case "rootCause":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("rootCause"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RootCause = data
|
|
case "correctiveAction":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("correctiveAction"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.CorrectiveAction = data
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
case "dueDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dueDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DueDate = data
|
|
case "status":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status"))
|
|
data, err := ec.unmarshalNNonconformityStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Status = data
|
|
case "effectivenessCheck":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("effectivenessCheck"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.EffectivenessCheck = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateObligationInput(ctx context.Context, obj any) (types.CreateObligationInput, error) {
|
|
var it types.CreateObligationInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "area", "source", "requirement", "actionsToBeImplemented", "regulator", "ownerId", "lastReviewDate", "dueDate", "status", "type"}
|
|
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 "area":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("area"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Area = data
|
|
case "source":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("source"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Source = data
|
|
case "requirement":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requirement"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Requirement = data
|
|
case "actionsToBeImplemented":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionsToBeImplemented"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ActionsToBeImplemented = data
|
|
case "regulator":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("regulator"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Regulator = data
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
case "lastReviewDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("lastReviewDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.LastReviewDate = data
|
|
case "dueDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dueDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DueDate = data
|
|
case "status":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status"))
|
|
data, err := ec.unmarshalNObligationStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Status = data
|
|
case "type":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type"))
|
|
data, err := ec.unmarshalNObligationType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Type = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreatePeopleInput(ctx context.Context, obj any) (types.CreatePeopleInput, error) {
|
|
var it types.CreatePeopleInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "fullName", "primaryEmailAddress", "additionalEmailAddresses", "kind", "position", "contractStartDate", "contractEndDate"}
|
|
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 "fullName":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fullName"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.FullName = data
|
|
case "primaryEmailAddress":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("primaryEmailAddress"))
|
|
data, err := ec.unmarshalNEmailAddr2goᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.PrimaryEmailAddress = data
|
|
case "additionalEmailAddresses":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalEmailAddresses"))
|
|
data, err := ec.unmarshalNEmailAddr2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddrᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AdditionalEmailAddresses = data
|
|
case "kind":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("kind"))
|
|
data, err := ec.unmarshalNPeopleKind2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Kind = data
|
|
case "position":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("position"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Position = data
|
|
case "contractStartDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contractStartDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ContractStartDate = data
|
|
case "contractEndDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contractEndDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ContractEndDate = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateProcessingActivityInput(ctx context.Context, obj any) (types.CreateProcessingActivityInput, error) {
|
|
var it types.CreateProcessingActivityInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "name", "purpose", "dataSubjectCategory", "personalDataCategory", "specialOrCriminalData", "consentEvidenceLink", "lawfulBasis", "recipients", "location", "internationalTransfers", "transferSafeguards", "retentionPeriod", "securityMeasures", "dataProtectionImpactAssessmentNeeded", "transferImpactAssessmentNeeded", "lastReviewDate", "nextReviewDate", "role", "dataProtectionOfficerId", "vendorIds"}
|
|
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 "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "purpose":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("purpose"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Purpose = data
|
|
case "dataSubjectCategory":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataSubjectCategory"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataSubjectCategory = data
|
|
case "personalDataCategory":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("personalDataCategory"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.PersonalDataCategory = data
|
|
case "specialOrCriminalData":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("specialOrCriminalData"))
|
|
data, err := ec.unmarshalNProcessingActivitySpecialOrCriminalDatum2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SpecialOrCriminalData = data
|
|
case "consentEvidenceLink":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("consentEvidenceLink"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ConsentEvidenceLink = data
|
|
case "lawfulBasis":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("lawfulBasis"))
|
|
data, err := ec.unmarshalNProcessingActivityLawfulBasis2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.LawfulBasis = data
|
|
case "recipients":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("recipients"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Recipients = data
|
|
case "location":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("location"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Location = data
|
|
case "internationalTransfers":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("internationalTransfers"))
|
|
data, err := ec.unmarshalNBoolean2bool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.InternationalTransfers = data
|
|
case "transferSafeguards":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("transferSafeguards"))
|
|
data, err := ec.unmarshalOProcessingActivityTransferSafeguard2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferSafeguard(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TransferSafeguards = data
|
|
case "retentionPeriod":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("retentionPeriod"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RetentionPeriod = data
|
|
case "securityMeasures":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("securityMeasures"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SecurityMeasures = data
|
|
case "dataProtectionImpactAssessmentNeeded":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataProtectionImpactAssessmentNeeded"))
|
|
data, err := ec.unmarshalNProcessingActivityDataProtectionImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataProtectionImpactAssessmentNeeded = data
|
|
case "transferImpactAssessmentNeeded":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("transferImpactAssessmentNeeded"))
|
|
data, err := ec.unmarshalNProcessingActivityTransferImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TransferImpactAssessmentNeeded = data
|
|
case "lastReviewDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("lastReviewDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.LastReviewDate = data
|
|
case "nextReviewDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nextReviewDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.NextReviewDate = data
|
|
case "role":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("role"))
|
|
data, err := ec.unmarshalNProcessingActivityRole2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Role = data
|
|
case "dataProtectionOfficerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataProtectionOfficerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataProtectionOfficerID = data
|
|
case "vendorIds":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorIds"))
|
|
data, err := ec.unmarshalOID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorIds = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateRightsRequestInput(ctx context.Context, obj any) (types.CreateRightsRequestInput, error) {
|
|
var it types.CreateRightsRequestInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "requestType", "requestState", "dataSubject", "contact", "details", "deadline", "actionTaken"}
|
|
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 "requestType":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requestType"))
|
|
data, err := ec.unmarshalNRightsRequestType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RequestType = data
|
|
case "requestState":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requestState"))
|
|
data, err := ec.unmarshalNRightsRequestState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RequestState = data
|
|
case "dataSubject":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataSubject"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataSubject = data
|
|
case "contact":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contact"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Contact = data
|
|
case "details":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("details"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Details = data
|
|
case "deadline":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("deadline"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Deadline = data
|
|
case "actionTaken":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionTaken"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ActionTaken = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateRiskDocumentMappingInput(ctx context.Context, obj any) (types.CreateRiskDocumentMappingInput, error) {
|
|
var it types.CreateRiskDocumentMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"riskId", "documentId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "riskId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("riskId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RiskID = data
|
|
case "documentId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateRiskInput(ctx context.Context, obj any) (types.CreateRiskInput, error) {
|
|
var it types.CreateRiskInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "name", "description", "category", "ownerId", "treatment", "inherentLikelihood", "inherentImpact", "residualLikelihood", "residualImpact", "note"}
|
|
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 "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = data
|
|
case "category":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("category"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Category = data
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
case "treatment":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("treatment"))
|
|
data, err := ec.unmarshalNRiskTreatment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Treatment = data
|
|
case "inherentLikelihood":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("inherentLikelihood"))
|
|
data, err := ec.unmarshalNInt2int(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.InherentLikelihood = data
|
|
case "inherentImpact":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("inherentImpact"))
|
|
data, err := ec.unmarshalNInt2int(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.InherentImpact = data
|
|
case "residualLikelihood":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("residualLikelihood"))
|
|
data, err := ec.unmarshalOInt2ᚖint(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ResidualLikelihood = data
|
|
case "residualImpact":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("residualImpact"))
|
|
data, err := ec.unmarshalOInt2ᚖint(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ResidualImpact = data
|
|
case "note":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("note"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Note = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateRiskMeasureMappingInput(ctx context.Context, obj any) (types.CreateRiskMeasureMappingInput, error) {
|
|
var it types.CreateRiskMeasureMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"riskId", "measureId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "riskId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("riskId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RiskID = data
|
|
case "measureId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("measureId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.MeasureID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateRiskObligationMappingInput(ctx context.Context, obj any) (types.CreateRiskObligationMappingInput, error) {
|
|
var it types.CreateRiskObligationMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"riskId", "obligationId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "riskId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("riskId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RiskID = data
|
|
case "obligationId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("obligationId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ObligationID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateSnapshotInput(ctx context.Context, obj any) (types.CreateSnapshotInput, error) {
|
|
var it types.CreateSnapshotInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "name", "description", "type"}
|
|
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 "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = data
|
|
case "type":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type"))
|
|
data, err := ec.unmarshalNSnapshotsType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotsType(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Type = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateStateOfApplicabilityControlMappingInput(ctx context.Context, obj any) (types.CreateStateOfApplicabilityControlMappingInput, error) {
|
|
var it types.CreateStateOfApplicabilityControlMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"stateOfApplicabilityId", "controlId", "applicability", "justification"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "stateOfApplicabilityId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("stateOfApplicabilityId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.StateOfApplicabilityID = data
|
|
case "controlId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("controlId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ControlID = data
|
|
case "applicability":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("applicability"))
|
|
data, err := ec.unmarshalNBoolean2bool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Applicability = data
|
|
case "justification":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("justification"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Justification = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateStateOfApplicabilityInput(ctx context.Context, obj any) (types.CreateStateOfApplicabilityInput, error) {
|
|
var it types.CreateStateOfApplicabilityInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "name", "ownerId"}
|
|
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 "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateTaskInput(ctx context.Context, obj any) (types.CreateTaskInput, error) {
|
|
var it types.CreateTaskInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "measureId", "name", "description", "timeEstimate", "assignedToId", "deadline"}
|
|
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 "measureId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("measureId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.MeasureID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = data
|
|
case "timeEstimate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("timeEstimate"))
|
|
data, err := ec.unmarshalODuration2ᚖtimeᚐDuration(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TimeEstimate = data
|
|
case "assignedToId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("assignedToId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AssignedToID = data
|
|
case "deadline":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("deadline"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Deadline = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateTransferImpactAssessmentInput(ctx context.Context, obj any) (types.CreateTransferImpactAssessmentInput, error) {
|
|
var it types.CreateTransferImpactAssessmentInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"processingActivityId", "dataSubjects", "legalMechanism", "transfer", "localLawRisk", "supplementaryMeasures"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "processingActivityId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("processingActivityId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ProcessingActivityID = data
|
|
case "dataSubjects":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataSubjects"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataSubjects = data
|
|
case "legalMechanism":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("legalMechanism"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.LegalMechanism = data
|
|
case "transfer":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("transfer"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Transfer = data
|
|
case "localLawRisk":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("localLawRisk"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.LocalLawRisk = data
|
|
case "supplementaryMeasures":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("supplementaryMeasures"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SupplementaryMeasures = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateTrustCenterAccessInput(ctx context.Context, obj any) (types.CreateTrustCenterAccessInput, error) {
|
|
var it types.CreateTrustCenterAccessInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"trustCenterId", "email", "name", "active"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "trustCenterId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trustCenterId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TrustCenterID = data
|
|
case "email":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("email"))
|
|
data, err := ec.unmarshalNEmailAddr2goᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Email = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "active":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("active"))
|
|
data, err := ec.unmarshalNBoolean2bool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Active = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateTrustCenterFileInput(ctx context.Context, obj any) (types.CreateTrustCenterFileInput, error) {
|
|
var it types.CreateTrustCenterFileInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "name", "category", "file", "trustCenterVisibility"}
|
|
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 "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "category":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("category"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Category = data
|
|
case "file":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("file"))
|
|
data, err := ec.unmarshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.File = data
|
|
case "trustCenterVisibility":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trustCenterVisibility"))
|
|
data, err := ec.unmarshalNTrustCenterVisibility2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TrustCenterVisibility = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateTrustCenterReferenceInput(ctx context.Context, obj any) (types.CreateTrustCenterReferenceInput, error) {
|
|
var it types.CreateTrustCenterReferenceInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"trustCenterId", "name", "description", "websiteUrl", "logoFile"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "trustCenterId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trustCenterId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TrustCenterID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = data
|
|
case "websiteUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("websiteUrl"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.WebsiteURL = data
|
|
case "logoFile":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("logoFile"))
|
|
data, err := ec.unmarshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.LogoFile = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateVendorContactInput(ctx context.Context, obj any) (types.CreateVendorContactInput, error) {
|
|
var it types.CreateVendorContactInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"vendorId", "fullName", "email", "phone", "role"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "vendorId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorID = data
|
|
case "fullName":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fullName"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.FullName = data
|
|
case "email":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("email"))
|
|
data, err := ec.unmarshalOEmailAddr2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Email = data
|
|
case "phone":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("phone"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Phone = data
|
|
case "role":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("role"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Role = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateVendorInput(ctx context.Context, obj any) (types.CreateVendorInput, error) {
|
|
var it types.CreateVendorInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "name", "description", "headquarterAddress", "legalName", "websiteUrl", "privacyPolicyUrl", "category", "serviceLevelAgreementUrl", "dataProcessingAgreementUrl", "businessAssociateAgreementUrl", "subprocessorsListUrl", "certifications", "countries", "securityPageUrl", "trustPageUrl", "statusPageUrl", "termsOfServiceUrl", "businessOwnerId", "securityOwnerId"}
|
|
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 "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = data
|
|
case "headquarterAddress":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("headquarterAddress"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.HeadquarterAddress = data
|
|
case "legalName":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("legalName"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.LegalName = data
|
|
case "websiteUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("websiteUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.WebsiteURL = data
|
|
case "privacyPolicyUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("privacyPolicyUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.PrivacyPolicyURL = data
|
|
case "category":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("category"))
|
|
data, err := ec.unmarshalOVendorCategory2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Category = data
|
|
case "serviceLevelAgreementUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceLevelAgreementUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ServiceLevelAgreementURL = data
|
|
case "dataProcessingAgreementUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataProcessingAgreementUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataProcessingAgreementURL = data
|
|
case "businessAssociateAgreementUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("businessAssociateAgreementUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.BusinessAssociateAgreementURL = data
|
|
case "subprocessorsListUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("subprocessorsListUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SubprocessorsListURL = data
|
|
case "certifications":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("certifications"))
|
|
data, err := ec.unmarshalOString2ᚕstringᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Certifications = data
|
|
case "countries":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("countries"))
|
|
data, err := ec.unmarshalOCountryCode2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCodeᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Countries = data
|
|
case "securityPageUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("securityPageUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SecurityPageURL = data
|
|
case "trustPageUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trustPageUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TrustPageURL = data
|
|
case "statusPageUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("statusPageUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.StatusPageURL = data
|
|
case "termsOfServiceUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("termsOfServiceUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TermsOfServiceURL = data
|
|
case "businessOwnerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("businessOwnerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.BusinessOwnerID = data
|
|
case "securityOwnerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("securityOwnerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SecurityOwnerID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateVendorRiskAssessmentInput(ctx context.Context, obj any) (types.CreateVendorRiskAssessmentInput, error) {
|
|
var it types.CreateVendorRiskAssessmentInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"vendorId", "expiresAt", "dataSensitivity", "businessImpact", "notes"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "vendorId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorID = data
|
|
case "expiresAt":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("expiresAt"))
|
|
data, err := ec.unmarshalNDatetime2timeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ExpiresAt = data
|
|
case "dataSensitivity":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataSensitivity"))
|
|
data, err := ec.unmarshalNDataSensitivity2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataSensitivity(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataSensitivity = data
|
|
case "businessImpact":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("businessImpact"))
|
|
data, err := ec.unmarshalNBusinessImpact2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐBusinessImpact(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.BusinessImpact = data
|
|
case "notes":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notes"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Notes = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputCreateVendorServiceInput(ctx context.Context, obj any) (types.CreateVendorServiceInput, error) {
|
|
var it types.CreateVendorServiceInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"vendorId", "name", "description", "url", "type"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "vendorId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = data
|
|
case "url":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("url"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.URL = data
|
|
case "type":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Type = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDataProtectionImpactAssessmentFilter(ctx context.Context, obj any) (types.DataProtectionImpactAssessmentFilter, error) {
|
|
var it types.DataProtectionImpactAssessmentFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"snapshotId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "snapshotId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("snapshotId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SnapshotID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDataProtectionImpactAssessmentOrder(ctx context.Context, obj any) (types.DataProtectionImpactAssessmentOrderBy, error) {
|
|
var it types.DataProtectionImpactAssessmentOrderBy
|
|
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.unmarshalNDataProtectionImpactAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDatumFilter(ctx context.Context, obj any) (types.DatumFilter, error) {
|
|
var it types.DatumFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"snapshotId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "snapshotId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("snapshotId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SnapshotID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDatumOrder(ctx context.Context, obj any) (types.DatumOrderBy, error) {
|
|
var it types.DatumOrderBy
|
|
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.unmarshalNDatumOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDatumOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteAssetInput(ctx context.Context, obj any) (types.DeleteAssetInput, error) {
|
|
var it types.DeleteAssetInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"assetId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "assetId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("assetId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AssetID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteAuditInput(ctx context.Context, obj any) (types.DeleteAuditInput, error) {
|
|
var it types.DeleteAuditInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"auditId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "auditId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("auditId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AuditID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteAuditReportInput(ctx context.Context, obj any) (types.DeleteAuditReportInput, error) {
|
|
var it types.DeleteAuditReportInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"auditId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "auditId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("auditId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AuditID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteContinualImprovementInput(ctx context.Context, obj any) (types.DeleteContinualImprovementInput, error) {
|
|
var it types.DeleteContinualImprovementInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"continualImprovementId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "continualImprovementId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("continualImprovementId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ContinualImprovementID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteControlAuditMappingInput(ctx context.Context, obj any) (types.DeleteControlAuditMappingInput, error) {
|
|
var it types.DeleteControlAuditMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"controlId", "auditId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "controlId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("controlId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ControlID = data
|
|
case "auditId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("auditId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AuditID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteControlDocumentMappingInput(ctx context.Context, obj any) (types.DeleteControlDocumentMappingInput, error) {
|
|
var it types.DeleteControlDocumentMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"controlId", "documentId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "controlId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("controlId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ControlID = data
|
|
case "documentId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteControlInput(ctx context.Context, obj any) (types.DeleteControlInput, error) {
|
|
var it types.DeleteControlInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"controlId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "controlId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("controlId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ControlID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteControlMeasureMappingInput(ctx context.Context, obj any) (types.DeleteControlMeasureMappingInput, error) {
|
|
var it types.DeleteControlMeasureMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"controlId", "measureId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "controlId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("controlId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ControlID = data
|
|
case "measureId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("measureId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.MeasureID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteControlObligationMappingInput(ctx context.Context, obj any) (types.DeleteControlObligationMappingInput, error) {
|
|
var it types.DeleteControlObligationMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"controlId", "obligationId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "controlId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("controlId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ControlID = data
|
|
case "obligationId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("obligationId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ObligationID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteControlSnapshotMappingInput(ctx context.Context, obj any) (types.DeleteControlSnapshotMappingInput, error) {
|
|
var it types.DeleteControlSnapshotMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"controlId", "snapshotId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "controlId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("controlId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ControlID = data
|
|
case "snapshotId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("snapshotId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SnapshotID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteCustomDomainInput(ctx context.Context, obj any) (types.DeleteCustomDomainInput, error) {
|
|
var it types.DeleteCustomDomainInput
|
|
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) unmarshalInputDeleteDataProtectionImpactAssessmentInput(ctx context.Context, obj any) (types.DeleteDataProtectionImpactAssessmentInput, error) {
|
|
var it types.DeleteDataProtectionImpactAssessmentInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"dataProtectionImpactAssessmentId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "dataProtectionImpactAssessmentId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataProtectionImpactAssessmentId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataProtectionImpactAssessmentID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteDatumInput(ctx context.Context, obj any) (types.DeleteDatumInput, error) {
|
|
var it types.DeleteDatumInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"datumId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "datumId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("datumId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DatumID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteDocumentInput(ctx context.Context, obj any) (types.DeleteDocumentInput, error) {
|
|
var it types.DeleteDocumentInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteDraftDocumentVersionInput(ctx context.Context, obj any) (types.DeleteDraftDocumentVersionInput, error) {
|
|
var it types.DeleteDraftDocumentVersionInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentVersionId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentVersionId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentVersionId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentVersionID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteEvidenceInput(ctx context.Context, obj any) (types.DeleteEvidenceInput, error) {
|
|
var it types.DeleteEvidenceInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"evidenceId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "evidenceId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("evidenceId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.EvidenceID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteFrameworkInput(ctx context.Context, obj any) (types.DeleteFrameworkInput, error) {
|
|
var it types.DeleteFrameworkInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"frameworkId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "frameworkId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("frameworkId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.FrameworkID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteMeasureInput(ctx context.Context, obj any) (types.DeleteMeasureInput, error) {
|
|
var it types.DeleteMeasureInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"measureId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "measureId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("measureId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.MeasureID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteMeetingInput(ctx context.Context, obj any) (types.DeleteMeetingInput, error) {
|
|
var it types.DeleteMeetingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"meetingId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "meetingId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("meetingId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.MeetingID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteNonconformityInput(ctx context.Context, obj any) (types.DeleteNonconformityInput, error) {
|
|
var it types.DeleteNonconformityInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"nonconformityId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "nonconformityId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nonconformityId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.NonconformityID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteObligationInput(ctx context.Context, obj any) (types.DeleteObligationInput, error) {
|
|
var it types.DeleteObligationInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"obligationId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "obligationId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("obligationId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ObligationID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeletePeopleInput(ctx context.Context, obj any) (types.DeletePeopleInput, error) {
|
|
var it types.DeletePeopleInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"peopleId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "peopleId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("peopleId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.PeopleID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteProcessingActivityInput(ctx context.Context, obj any) (types.DeleteProcessingActivityInput, error) {
|
|
var it types.DeleteProcessingActivityInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"processingActivityId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "processingActivityId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("processingActivityId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ProcessingActivityID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteRightsRequestInput(ctx context.Context, obj any) (types.DeleteRightsRequestInput, error) {
|
|
var it types.DeleteRightsRequestInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"rightsRequestId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "rightsRequestId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("rightsRequestId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RightsRequestID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteRiskDocumentMappingInput(ctx context.Context, obj any) (types.DeleteRiskDocumentMappingInput, error) {
|
|
var it types.DeleteRiskDocumentMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"riskId", "documentId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "riskId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("riskId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RiskID = data
|
|
case "documentId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteRiskInput(ctx context.Context, obj any) (types.DeleteRiskInput, error) {
|
|
var it types.DeleteRiskInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"riskId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "riskId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("riskId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RiskID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteRiskMeasureMappingInput(ctx context.Context, obj any) (types.DeleteRiskMeasureMappingInput, error) {
|
|
var it types.DeleteRiskMeasureMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"riskId", "measureId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "riskId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("riskId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RiskID = data
|
|
case "measureId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("measureId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.MeasureID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteRiskObligationMappingInput(ctx context.Context, obj any) (types.DeleteRiskObligationMappingInput, error) {
|
|
var it types.DeleteRiskObligationMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"riskId", "obligationId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "riskId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("riskId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RiskID = data
|
|
case "obligationId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("obligationId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ObligationID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteSnapshotInput(ctx context.Context, obj any) (types.DeleteSnapshotInput, error) {
|
|
var it types.DeleteSnapshotInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"snapshotId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "snapshotId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("snapshotId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SnapshotID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteStateOfApplicabilityControlMappingInput(ctx context.Context, obj any) (types.DeleteStateOfApplicabilityControlMappingInput, error) {
|
|
var it types.DeleteStateOfApplicabilityControlMappingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"stateOfApplicabilityId", "controlId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "stateOfApplicabilityId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("stateOfApplicabilityId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.StateOfApplicabilityID = data
|
|
case "controlId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("controlId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ControlID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteStateOfApplicabilityInput(ctx context.Context, obj any) (types.DeleteStateOfApplicabilityInput, error) {
|
|
var it types.DeleteStateOfApplicabilityInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"stateOfApplicabilityId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "stateOfApplicabilityId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("stateOfApplicabilityId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.StateOfApplicabilityID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteTaskInput(ctx context.Context, obj any) (types.DeleteTaskInput, error) {
|
|
var it types.DeleteTaskInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"taskId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "taskId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("taskId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TaskID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteTransferImpactAssessmentInput(ctx context.Context, obj any) (types.DeleteTransferImpactAssessmentInput, error) {
|
|
var it types.DeleteTransferImpactAssessmentInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"transferImpactAssessmentId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "transferImpactAssessmentId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("transferImpactAssessmentId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TransferImpactAssessmentID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteTrustCenterAccessInput(ctx context.Context, obj any) (types.DeleteTrustCenterAccessInput, error) {
|
|
var it types.DeleteTrustCenterAccessInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteTrustCenterFileInput(ctx context.Context, obj any) (types.DeleteTrustCenterFileInput, error) {
|
|
var it types.DeleteTrustCenterFileInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteTrustCenterNDAInput(ctx context.Context, obj any) (types.DeleteTrustCenterNDAInput, error) {
|
|
var it types.DeleteTrustCenterNDAInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"trustCenterId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "trustCenterId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trustCenterId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TrustCenterID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteTrustCenterReferenceInput(ctx context.Context, obj any) (types.DeleteTrustCenterReferenceInput, error) {
|
|
var it types.DeleteTrustCenterReferenceInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteVendorBusinessAssociateAgreementInput(ctx context.Context, obj any) (types.DeleteVendorBusinessAssociateAgreementInput, error) {
|
|
var it types.DeleteVendorBusinessAssociateAgreementInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"vendorId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "vendorId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteVendorComplianceReportInput(ctx context.Context, obj any) (types.DeleteVendorComplianceReportInput, error) {
|
|
var it types.DeleteVendorComplianceReportInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"reportId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "reportId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reportId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ReportID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteVendorContactInput(ctx context.Context, obj any) (types.DeleteVendorContactInput, error) {
|
|
var it types.DeleteVendorContactInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"vendorContactId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "vendorContactId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorContactId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorContactID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteVendorDataPrivacyAgreementInput(ctx context.Context, obj any) (types.DeleteVendorDataPrivacyAgreementInput, error) {
|
|
var it types.DeleteVendorDataPrivacyAgreementInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"vendorId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "vendorId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteVendorInput(ctx context.Context, obj any) (types.DeleteVendorInput, error) {
|
|
var it types.DeleteVendorInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"vendorId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "vendorId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDeleteVendorServiceInput(ctx context.Context, obj any) (types.DeleteVendorServiceInput, error) {
|
|
var it types.DeleteVendorServiceInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"vendorServiceId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "vendorServiceId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorServiceId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorServiceID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDocumentFilter(ctx context.Context, obj any) (types.DocumentFilter, error) {
|
|
var it types.DocumentFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"query"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "query":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("query"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Query = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDocumentOrder(ctx context.Context, obj any) (types.DocumentOrderBy, error) {
|
|
var it types.DocumentOrderBy
|
|
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.unmarshalNDocumentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDocumentVersionFilter(ctx context.Context, obj any) (types.DocumentVersionFilter, error) {
|
|
var it types.DocumentVersionFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"status"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "status":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status"))
|
|
data, err := ec.unmarshalODocumentStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentStatus(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Status = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDocumentVersionOrder(ctx context.Context, obj any) (types.DocumentVersionOrderBy, error) {
|
|
var it types.DocumentVersionOrderBy
|
|
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.unmarshalNDocumentVersionOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDocumentVersionSignatureFilter(ctx context.Context, obj any) (types.DocumentVersionSignatureFilter, error) {
|
|
var it types.DocumentVersionSignatureFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"states"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "states":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("states"))
|
|
data, err := ec.unmarshalODocumentVersionSignatureState2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureStateᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.States = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputDocumentVersionSignatureOrder(ctx context.Context, obj any) (types.DocumentVersionSignatureOrder, error) {
|
|
var it types.DocumentVersionSignatureOrder
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"field", "direction"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "field":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("field"))
|
|
data, err := ec.unmarshalNDocumentVersionSignatureOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
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
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputEvidenceOrder(ctx context.Context, obj any) (types.EvidenceOrderBy, error) {
|
|
var it types.EvidenceOrderBy
|
|
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.unmarshalNEvidenceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputExportDataProtectionImpactAssessmentsPDFInput(ctx context.Context, obj any) (types.ExportDataProtectionImpactAssessmentsPDFInput, error) {
|
|
var it types.ExportDataProtectionImpactAssessmentsPDFInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "filter"}
|
|
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 "filter":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("filter"))
|
|
data, err := ec.unmarshalODataProtectionImpactAssessmentFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessmentFilter(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Filter = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputExportDocumentVersionPDFInput(ctx context.Context, obj any) (types.ExportDocumentVersionPDFInput, error) {
|
|
var it types.ExportDocumentVersionPDFInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentVersionId", "withWatermark", "watermarkEmail", "withSignatures"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentVersionId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentVersionId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentVersionID = data
|
|
case "withWatermark":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("withWatermark"))
|
|
data, err := ec.unmarshalNBoolean2bool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.WithWatermark = data
|
|
case "watermarkEmail":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("watermarkEmail"))
|
|
data, err := ec.unmarshalOEmailAddr2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.WatermarkEmail = data
|
|
case "withSignatures":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("withSignatures"))
|
|
data, err := ec.unmarshalNBoolean2bool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.WithSignatures = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputExportFrameworkInput(ctx context.Context, obj any) (types.ExportFrameworkInput, error) {
|
|
var it types.ExportFrameworkInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"frameworkId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "frameworkId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("frameworkId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.FrameworkID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputExportProcessingActivitiesPDFInput(ctx context.Context, obj any) (types.ExportProcessingActivitiesPDFInput, error) {
|
|
var it types.ExportProcessingActivitiesPDFInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "filter"}
|
|
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 "filter":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("filter"))
|
|
data, err := ec.unmarshalOProcessingActivityFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivityFilter(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Filter = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputExportSignableDocumentVersionPDFInput(ctx context.Context, obj any) (types.ExportSignableDocumentVersionPDFInput, error) {
|
|
var it types.ExportSignableDocumentVersionPDFInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentVersionId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentVersionId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentVersionId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentVersionID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputExportStateOfApplicabilityPDFInput(ctx context.Context, obj any) (types.ExportStateOfApplicabilityPDFInput, error) {
|
|
var it types.ExportStateOfApplicabilityPDFInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"stateOfApplicabilityId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "stateOfApplicabilityId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("stateOfApplicabilityId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.StateOfApplicabilityID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputExportTransferImpactAssessmentsPDFInput(ctx context.Context, obj any) (types.ExportTransferImpactAssessmentsPDFInput, error) {
|
|
var it types.ExportTransferImpactAssessmentsPDFInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "filter"}
|
|
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 "filter":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("filter"))
|
|
data, err := ec.unmarshalOTransferImpactAssessmentFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessmentFilter(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Filter = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputFrameworkOrder(ctx context.Context, obj any) (types.FrameworkOrderBy, error) {
|
|
var it types.FrameworkOrderBy
|
|
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.unmarshalNFrameworkOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐFrameworkOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputGenerateDocumentChangelogInput(ctx context.Context, obj any) (types.GenerateDocumentChangelogInput, error) {
|
|
var it types.GenerateDocumentChangelogInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputGenerateFrameworkStateOfApplicabilityInput(ctx context.Context, obj any) (types.GenerateFrameworkStateOfApplicabilityInput, error) {
|
|
var it types.GenerateFrameworkStateOfApplicabilityInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"frameworkId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "frameworkId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("frameworkId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.FrameworkID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputGetTrustCenterFileInput(ctx context.Context, obj any) (types.GetTrustCenterFileInput, error) {
|
|
var it types.GetTrustCenterFileInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputImportFrameworkInput(ctx context.Context, obj any) (types.ImportFrameworkInput, error) {
|
|
var it types.ImportFrameworkInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "file"}
|
|
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 "file":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("file"))
|
|
data, err := ec.unmarshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.File = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputImportMeasureInput(ctx context.Context, obj any) (types.ImportMeasureInput, error) {
|
|
var it types.ImportMeasureInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "file"}
|
|
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 "file":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("file"))
|
|
data, err := ec.unmarshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.File = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputMeasureFilter(ctx context.Context, obj any) (types.MeasureFilter, error) {
|
|
var it types.MeasureFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"query", "state"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "query":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("query"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Query = data
|
|
case "state":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("state"))
|
|
data, err := ec.unmarshalOMeasureState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.State = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputMeasureOrder(ctx context.Context, obj any) (types.MeasureOrderBy, error) {
|
|
var it types.MeasureOrderBy
|
|
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.unmarshalNMeasureOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputMeetingOrder(ctx context.Context, obj any) (types.MeetingOrderBy, error) {
|
|
var it types.MeetingOrderBy
|
|
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.unmarshalNMeetingOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeetingOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputNonconformityFilter(ctx context.Context, obj any) (types.NonconformityFilter, error) {
|
|
var it types.NonconformityFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"snapshotId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "snapshotId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("snapshotId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SnapshotID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputNonconformityOrder(ctx context.Context, obj any) (types.NonconformityOrderBy, error) {
|
|
var it types.NonconformityOrderBy
|
|
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.unmarshalNNonconformityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputObligationFilter(ctx context.Context, obj any) (types.ObligationFilter, error) {
|
|
var it types.ObligationFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"snapshotId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "snapshotId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("snapshotId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SnapshotID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputObligationOrder(ctx context.Context, obj any) (types.ObligationOrderBy, error) {
|
|
var it types.ObligationOrderBy
|
|
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.unmarshalNObligationOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputPeopleFilter(ctx context.Context, obj any) (types.PeopleFilter, error) {
|
|
var it types.PeopleFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"excludeContractEnded"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "excludeContractEnded":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("excludeContractEnded"))
|
|
data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ExcludeContractEnded = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputPeopleOrder(ctx context.Context, obj any) (types.PeopleOrderBy, error) {
|
|
var it types.PeopleOrderBy
|
|
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.unmarshalNPeopleOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputProcessingActivityFilter(ctx context.Context, obj any) (types.ProcessingActivityFilter, error) {
|
|
var it types.ProcessingActivityFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"snapshotId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "snapshotId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("snapshotId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SnapshotID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputProcessingActivityOrder(ctx context.Context, obj any) (types.ProcessingActivityOrderBy, error) {
|
|
var it types.ProcessingActivityOrderBy
|
|
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.unmarshalNProcessingActivityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputPublishDocumentVersionInput(ctx context.Context, obj any) (types.PublishDocumentVersionInput, error) {
|
|
var it types.PublishDocumentVersionInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentId", "changelog"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentID = data
|
|
case "changelog":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("changelog"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Changelog = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputRequestSignatureInput(ctx context.Context, obj any) (types.RequestSignatureInput, error) {
|
|
var it types.RequestSignatureInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentVersionId", "signatoryId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentVersionId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentVersionId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentVersionID = data
|
|
case "signatoryId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("signatoryId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SignatoryID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputRightsRequestOrder(ctx context.Context, obj any) (types.RightsRequestOrderBy, error) {
|
|
var it types.RightsRequestOrderBy
|
|
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.unmarshalNRightsRequestOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputRiskFilter(ctx context.Context, obj any) (types.RiskFilter, error) {
|
|
var it types.RiskFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"query", "snapshotId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "query":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("query"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Query = data
|
|
case "snapshotId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("snapshotId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SnapshotID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputRiskOrder(ctx context.Context, obj any) (types.RiskOrderBy, error) {
|
|
var it types.RiskOrderBy
|
|
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.unmarshalNRiskOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputSendSigningNotificationsInput(ctx context.Context, obj any) (types.SendSigningNotificationsInput, error) {
|
|
var it types.SendSigningNotificationsInput
|
|
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) unmarshalInputSignDocumentInput(ctx context.Context, obj any) (types.SignDocumentInput, error) {
|
|
var it types.SignDocumentInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentVersionId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentVersionId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentVersionId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentVersionID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputSnapshotOrder(ctx context.Context, obj any) (types.SnapshotOrderBy, error) {
|
|
var it types.SnapshotOrderBy
|
|
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.unmarshalNSnapshotOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputStateOfApplicabilityControlInput(ctx context.Context, obj any) (types.StateOfApplicabilityControlInput, error) {
|
|
var it types.StateOfApplicabilityControlInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"controlId", "applicability", "justification"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "controlId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("controlId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ControlID = data
|
|
case "applicability":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("applicability"))
|
|
data, err := ec.unmarshalNBoolean2bool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Applicability = data
|
|
case "justification":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("justification"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Justification = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputStateOfApplicabilityFilter(ctx context.Context, obj any) (types.StateOfApplicabilityFilter, error) {
|
|
var it types.StateOfApplicabilityFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"snapshotId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "snapshotId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("snapshotId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SnapshotID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputStateOfApplicabilityOrder(ctx context.Context, obj any) (types.StateOfApplicabilityOrderBy, error) {
|
|
var it types.StateOfApplicabilityOrderBy
|
|
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.unmarshalNStateOfApplicabilityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐStateOfApplicabilityOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputTaskOrder(ctx context.Context, obj any) (types.TaskOrderBy, error) {
|
|
var it types.TaskOrderBy
|
|
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.unmarshalNTaskOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputTransferImpactAssessmentFilter(ctx context.Context, obj any) (types.TransferImpactAssessmentFilter, error) {
|
|
var it types.TransferImpactAssessmentFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"snapshotId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "snapshotId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("snapshotId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SnapshotID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputTransferImpactAssessmentOrder(ctx context.Context, obj any) (types.TransferImpactAssessmentOrderBy, error) {
|
|
var it types.TransferImpactAssessmentOrderBy
|
|
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.unmarshalNTransferImpactAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTransferImpactAssessmentOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputTrustCenterAccessOrder(ctx context.Context, obj any) (types.OrderBy[coredata.TrustCenterAccessOrderField], error) {
|
|
var it types.OrderBy[coredata.TrustCenterAccessOrderField]
|
|
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.unmarshalNTrustCenterAccessOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterAccessOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputTrustCenterDocumentAccessInput(ctx context.Context, obj any) (types.TrustCenterDocumentAccessInput, error) {
|
|
var it types.TrustCenterDocumentAccessInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "status"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "status":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status"))
|
|
data, err := ec.unmarshalNTrustCenterDocumentAccessStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessStatus(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Status = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputTrustCenterDocumentAccessOrder(ctx context.Context, obj any) (types.OrderBy[coredata.TrustCenterDocumentAccessOrderField], error) {
|
|
var it types.OrderBy[coredata.TrustCenterDocumentAccessOrderField]
|
|
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.unmarshalNTrustCenterDocumentAccessOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputTrustCenterFileOrder(ctx context.Context, obj any) (types.OrderBy[coredata.TrustCenterFileOrderField], error) {
|
|
var it types.OrderBy[coredata.TrustCenterFileOrderField]
|
|
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.unmarshalNTrustCenterFileOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterFileOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputTrustCenterReferenceOrder(ctx context.Context, obj any) (types.OrderBy[coredata.TrustCenterReferenceOrderField], error) {
|
|
var it types.OrderBy[coredata.TrustCenterReferenceOrderField]
|
|
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.unmarshalNTrustCenterReferenceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterReferenceOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateAssetInput(ctx context.Context, obj any) (types.UpdateAssetInput, error) {
|
|
var it types.UpdateAssetInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "name", "amount", "ownerId", "assetType", "dataTypesStored", "vendorIds"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "amount":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("amount"))
|
|
data, err := ec.unmarshalOInt2ᚖint(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Amount = data
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
case "assetType":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("assetType"))
|
|
data, err := ec.unmarshalOAssetType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AssetType = data
|
|
case "dataTypesStored":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataTypesStored"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataTypesStored = data
|
|
case "vendorIds":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorIds"))
|
|
data, err := ec.unmarshalOID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorIds = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateAuditInput(ctx context.Context, obj any) (types.UpdateAuditInput, error) {
|
|
var it types.UpdateAuditInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "name", "validFrom", "validUntil", "state", "trustCenterVisibility"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = graphql.OmittableOf(data)
|
|
case "validFrom":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("validFrom"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ValidFrom = data
|
|
case "validUntil":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("validUntil"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ValidUntil = data
|
|
case "state":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("state"))
|
|
data, err := ec.unmarshalOAuditState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.State = data
|
|
case "trustCenterVisibility":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trustCenterVisibility"))
|
|
data, err := ec.unmarshalOTrustCenterVisibility2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TrustCenterVisibility = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateContinualImprovementInput(ctx context.Context, obj any) (types.UpdateContinualImprovementInput, error) {
|
|
var it types.UpdateContinualImprovementInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "referenceId", "description", "source", "ownerId", "targetDate", "status", "priority"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "referenceId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("referenceId"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ReferenceID = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = graphql.OmittableOf(data)
|
|
case "source":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("source"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Source = graphql.OmittableOf(data)
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
case "targetDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("targetDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TargetDate = graphql.OmittableOf(data)
|
|
case "status":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status"))
|
|
data, err := ec.unmarshalOContinualImprovementStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Status = data
|
|
case "priority":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("priority"))
|
|
data, err := ec.unmarshalOContinualImprovementPriority2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Priority = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateControlInput(ctx context.Context, obj any) (types.UpdateControlInput, error) {
|
|
var it types.UpdateControlInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "sectionTitle", "name", "description", "status", "exclusionJustification", "bestPractice"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "sectionTitle":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("sectionTitle"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SectionTitle = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = graphql.OmittableOf(data)
|
|
case "status":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status"))
|
|
data, err := ec.unmarshalOControlStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Status = data
|
|
case "exclusionJustification":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("exclusionJustification"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ExclusionJustification = data
|
|
case "bestPractice":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("bestPractice"))
|
|
data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.BestPractice = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateDataProtectionImpactAssessmentInput(ctx context.Context, obj any) (types.UpdateDataProtectionImpactAssessmentInput, error) {
|
|
var it types.UpdateDataProtectionImpactAssessmentInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "description", "necessityAndProportionality", "potentialRisk", "mitigations", "residualRisk"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = graphql.OmittableOf(data)
|
|
case "necessityAndProportionality":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("necessityAndProportionality"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.NecessityAndProportionality = graphql.OmittableOf(data)
|
|
case "potentialRisk":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("potentialRisk"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.PotentialRisk = graphql.OmittableOf(data)
|
|
case "mitigations":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("mitigations"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Mitigations = graphql.OmittableOf(data)
|
|
case "residualRisk":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("residualRisk"))
|
|
data, err := ec.unmarshalODataProtectionImpactAssessmentResidualRisk2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentResidualRisk(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ResidualRisk = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateDatumInput(ctx context.Context, obj any) (types.UpdateDatumInput, error) {
|
|
var it types.UpdateDatumInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "name", "dataClassification", "ownerId", "vendorIds"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "dataClassification":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataClassification"))
|
|
data, err := ec.unmarshalODataClassification2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataClassification = data
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
case "vendorIds":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorIds"))
|
|
data, err := ec.unmarshalOID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorIds = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateDocumentInput(ctx context.Context, obj any) (types.UpdateDocumentInput, error) {
|
|
var it types.UpdateDocumentInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "title", "content", "ownerId", "documentType", "classification", "trustCenterVisibility"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "title":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Title = data
|
|
case "content":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("content"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Content = data
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
case "documentType":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentType"))
|
|
data, err := ec.unmarshalODocumentType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentType = data
|
|
case "classification":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("classification"))
|
|
data, err := ec.unmarshalODocumentClassification2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Classification = data
|
|
case "trustCenterVisibility":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trustCenterVisibility"))
|
|
data, err := ec.unmarshalOTrustCenterVisibility2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TrustCenterVisibility = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateDocumentVersionInput(ctx context.Context, obj any) (types.UpdateDocumentVersionInput, error) {
|
|
var it types.UpdateDocumentVersionInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"documentVersionId", "content"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "documentVersionId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentVersionId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DocumentVersionID = data
|
|
case "content":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("content"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Content = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateFrameworkInput(ctx context.Context, obj any) (types.UpdateFrameworkInput, error) {
|
|
var it types.UpdateFrameworkInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "name", "description"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = graphql.OmittableOf(data)
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateMeasureInput(ctx context.Context, obj any) (types.UpdateMeasureInput, error) {
|
|
var it types.UpdateMeasureInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "name", "description", "category", "state"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = graphql.OmittableOf(data)
|
|
case "category":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("category"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Category = data
|
|
case "state":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("state"))
|
|
data, err := ec.unmarshalOMeasureState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.State = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateMeetingInput(ctx context.Context, obj any) (types.UpdateMeetingInput, error) {
|
|
var it types.UpdateMeetingInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"meetingId", "name", "date", "attendeeIds", "minutes"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "meetingId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("meetingId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.MeetingID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "date":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("date"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Date = data
|
|
case "attendeeIds":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("attendeeIds"))
|
|
data, err := ec.unmarshalOID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AttendeeIds = data
|
|
case "minutes":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("minutes"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Minutes = graphql.OmittableOf(data)
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateNonconformityInput(ctx context.Context, obj any) (types.UpdateNonconformityInput, error) {
|
|
var it types.UpdateNonconformityInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "referenceId", "description", "dateIdentified", "rootCause", "correctiveAction", "ownerId", "auditId", "dueDate", "status", "effectivenessCheck"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "referenceId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("referenceId"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ReferenceID = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = graphql.OmittableOf(data)
|
|
case "dateIdentified":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dateIdentified"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DateIdentified = graphql.OmittableOf(data)
|
|
case "rootCause":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("rootCause"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RootCause = data
|
|
case "correctiveAction":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("correctiveAction"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.CorrectiveAction = graphql.OmittableOf(data)
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
case "auditId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("auditId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AuditID = graphql.OmittableOf(data)
|
|
case "dueDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dueDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DueDate = graphql.OmittableOf(data)
|
|
case "status":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status"))
|
|
data, err := ec.unmarshalONonconformityStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Status = data
|
|
case "effectivenessCheck":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("effectivenessCheck"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.EffectivenessCheck = graphql.OmittableOf(data)
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateObligationInput(ctx context.Context, obj any) (types.UpdateObligationInput, error) {
|
|
var it types.UpdateObligationInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "area", "source", "requirement", "actionsToBeImplemented", "regulator", "ownerId", "lastReviewDate", "dueDate", "status", "type"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "area":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("area"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Area = graphql.OmittableOf(data)
|
|
case "source":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("source"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Source = graphql.OmittableOf(data)
|
|
case "requirement":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requirement"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Requirement = graphql.OmittableOf(data)
|
|
case "actionsToBeImplemented":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionsToBeImplemented"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ActionsToBeImplemented = graphql.OmittableOf(data)
|
|
case "regulator":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("regulator"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Regulator = graphql.OmittableOf(data)
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
case "lastReviewDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("lastReviewDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.LastReviewDate = graphql.OmittableOf(data)
|
|
case "dueDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dueDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DueDate = graphql.OmittableOf(data)
|
|
case "status":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status"))
|
|
data, err := ec.unmarshalOObligationStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Status = data
|
|
case "type":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type"))
|
|
data, err := ec.unmarshalOObligationType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Type = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateOrganizationContextInput(ctx context.Context, obj any) (types.UpdateOrganizationContextInput, error) {
|
|
var it types.UpdateOrganizationContextInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"organizationId", "summary"}
|
|
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 "summary":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("summary"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Summary = graphql.OmittableOf(data)
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdatePeopleInput(ctx context.Context, obj any) (types.UpdatePeopleInput, error) {
|
|
var it types.UpdatePeopleInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "fullName", "primaryEmailAddress", "additionalEmailAddresses", "kind", "position", "contractStartDate", "contractEndDate"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "fullName":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fullName"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.FullName = data
|
|
case "primaryEmailAddress":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("primaryEmailAddress"))
|
|
data, err := ec.unmarshalOEmailAddr2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.PrimaryEmailAddress = data
|
|
case "additionalEmailAddresses":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalEmailAddresses"))
|
|
data, err := ec.unmarshalOEmailAddr2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddrᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AdditionalEmailAddresses = graphql.OmittableOf(data)
|
|
case "kind":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("kind"))
|
|
data, err := ec.unmarshalOPeopleKind2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Kind = data
|
|
case "position":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("position"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Position = graphql.OmittableOf(data)
|
|
case "contractStartDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contractStartDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ContractStartDate = graphql.OmittableOf(data)
|
|
case "contractEndDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contractEndDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ContractEndDate = graphql.OmittableOf(data)
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateProcessingActivityInput(ctx context.Context, obj any) (types.UpdateProcessingActivityInput, error) {
|
|
var it types.UpdateProcessingActivityInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "name", "purpose", "dataSubjectCategory", "personalDataCategory", "specialOrCriminalData", "consentEvidenceLink", "lawfulBasis", "recipients", "location", "internationalTransfers", "transferSafeguards", "retentionPeriod", "securityMeasures", "dataProtectionImpactAssessmentNeeded", "transferImpactAssessmentNeeded", "lastReviewDate", "nextReviewDate", "role", "dataProtectionOfficerId", "vendorIds"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "purpose":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("purpose"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Purpose = graphql.OmittableOf(data)
|
|
case "dataSubjectCategory":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataSubjectCategory"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataSubjectCategory = graphql.OmittableOf(data)
|
|
case "personalDataCategory":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("personalDataCategory"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.PersonalDataCategory = graphql.OmittableOf(data)
|
|
case "specialOrCriminalData":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("specialOrCriminalData"))
|
|
data, err := ec.unmarshalOProcessingActivitySpecialOrCriminalDatum2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SpecialOrCriminalData = data
|
|
case "consentEvidenceLink":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("consentEvidenceLink"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ConsentEvidenceLink = data
|
|
case "lawfulBasis":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("lawfulBasis"))
|
|
data, err := ec.unmarshalOProcessingActivityLawfulBasis2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.LawfulBasis = data
|
|
case "recipients":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("recipients"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Recipients = graphql.OmittableOf(data)
|
|
case "location":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("location"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Location = graphql.OmittableOf(data)
|
|
case "internationalTransfers":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("internationalTransfers"))
|
|
data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.InternationalTransfers = data
|
|
case "transferSafeguards":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("transferSafeguards"))
|
|
data, err := ec.unmarshalOProcessingActivityTransferSafeguard2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferSafeguard(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TransferSafeguards = graphql.OmittableOf(data)
|
|
case "retentionPeriod":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("retentionPeriod"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RetentionPeriod = graphql.OmittableOf(data)
|
|
case "securityMeasures":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("securityMeasures"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SecurityMeasures = graphql.OmittableOf(data)
|
|
case "dataProtectionImpactAssessmentNeeded":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataProtectionImpactAssessmentNeeded"))
|
|
data, err := ec.unmarshalOProcessingActivityDataProtectionImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataProtectionImpactAssessmentNeeded = data
|
|
case "transferImpactAssessmentNeeded":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("transferImpactAssessmentNeeded"))
|
|
data, err := ec.unmarshalOProcessingActivityTransferImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TransferImpactAssessmentNeeded = data
|
|
case "lastReviewDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("lastReviewDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.LastReviewDate = graphql.OmittableOf(data)
|
|
case "nextReviewDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nextReviewDate"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.NextReviewDate = graphql.OmittableOf(data)
|
|
case "role":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("role"))
|
|
data, err := ec.unmarshalOProcessingActivityRole2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Role = data
|
|
case "dataProtectionOfficerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataProtectionOfficerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataProtectionOfficerID = graphql.OmittableOf(data)
|
|
case "vendorIds":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorIds"))
|
|
data, err := ec.unmarshalOID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorIds = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateRightsRequestInput(ctx context.Context, obj any) (types.UpdateRightsRequestInput, error) {
|
|
var it types.UpdateRightsRequestInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "requestType", "requestState", "dataSubject", "contact", "details", "deadline", "actionTaken"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "requestType":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requestType"))
|
|
data, err := ec.unmarshalORightsRequestType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RequestType = data
|
|
case "requestState":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requestState"))
|
|
data, err := ec.unmarshalORightsRequestState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.RequestState = data
|
|
case "dataSubject":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataSubject"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataSubject = graphql.OmittableOf(data)
|
|
case "contact":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contact"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Contact = graphql.OmittableOf(data)
|
|
case "details":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("details"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Details = graphql.OmittableOf(data)
|
|
case "deadline":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("deadline"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Deadline = graphql.OmittableOf(data)
|
|
case "actionTaken":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionTaken"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ActionTaken = graphql.OmittableOf(data)
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateRiskInput(ctx context.Context, obj any) (types.UpdateRiskInput, error) {
|
|
var it types.UpdateRiskInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "name", "description", "category", "ownerId", "treatment", "inherentLikelihood", "inherentImpact", "residualLikelihood", "residualImpact", "note"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = graphql.OmittableOf(data)
|
|
case "category":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("category"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Category = data
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = graphql.OmittableOf(data)
|
|
case "treatment":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("treatment"))
|
|
data, err := ec.unmarshalORiskTreatment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Treatment = data
|
|
case "inherentLikelihood":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("inherentLikelihood"))
|
|
data, err := ec.unmarshalOInt2ᚖint(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.InherentLikelihood = data
|
|
case "inherentImpact":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("inherentImpact"))
|
|
data, err := ec.unmarshalOInt2ᚖint(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.InherentImpact = data
|
|
case "residualLikelihood":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("residualLikelihood"))
|
|
data, err := ec.unmarshalOInt2ᚖint(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ResidualLikelihood = data
|
|
case "residualImpact":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("residualImpact"))
|
|
data, err := ec.unmarshalOInt2ᚖint(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ResidualImpact = data
|
|
case "note":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("note"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Note = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateStateOfApplicabilityInput(ctx context.Context, obj any) (types.UpdateStateOfApplicabilityInput, error) {
|
|
var it types.UpdateStateOfApplicabilityInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "name", "ownerId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "ownerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.OwnerID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateTaskInput(ctx context.Context, obj any) (types.UpdateTaskInput, error) {
|
|
var it types.UpdateTaskInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"taskId", "name", "description", "state", "timeEstimate", "deadline", "assignedToId", "measureId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "taskId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("taskId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TaskID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = graphql.OmittableOf(data)
|
|
case "state":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("state"))
|
|
data, err := ec.unmarshalOTaskState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskState(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.State = data
|
|
case "timeEstimate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("timeEstimate"))
|
|
data, err := ec.unmarshalODuration2ᚖtimeᚐDuration(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TimeEstimate = graphql.OmittableOf(data)
|
|
case "deadline":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("deadline"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Deadline = graphql.OmittableOf(data)
|
|
case "assignedToId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("assignedToId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AssignedToID = graphql.OmittableOf(data)
|
|
case "measureId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("measureId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.MeasureID = graphql.OmittableOf(data)
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateTransferImpactAssessmentInput(ctx context.Context, obj any) (types.UpdateTransferImpactAssessmentInput, error) {
|
|
var it types.UpdateTransferImpactAssessmentInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "dataSubjects", "legalMechanism", "transfer", "localLawRisk", "supplementaryMeasures"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "dataSubjects":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataSubjects"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataSubjects = graphql.OmittableOf(data)
|
|
case "legalMechanism":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("legalMechanism"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.LegalMechanism = graphql.OmittableOf(data)
|
|
case "transfer":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("transfer"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Transfer = graphql.OmittableOf(data)
|
|
case "localLawRisk":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("localLawRisk"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.LocalLawRisk = graphql.OmittableOf(data)
|
|
case "supplementaryMeasures":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("supplementaryMeasures"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SupplementaryMeasures = graphql.OmittableOf(data)
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateTrustCenterAccessInput(ctx context.Context, obj any) (types.UpdateTrustCenterAccessInput, error) {
|
|
var it types.UpdateTrustCenterAccessInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "name", "active", "documents", "reports", "trustCenterFiles"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "active":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("active"))
|
|
data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Active = data
|
|
case "documents":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documents"))
|
|
data, err := ec.unmarshalOTrustCenterDocumentAccessInput2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccessInputᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Documents = data
|
|
case "reports":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reports"))
|
|
data, err := ec.unmarshalOTrustCenterDocumentAccessInput2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccessInputᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Reports = data
|
|
case "trustCenterFiles":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trustCenterFiles"))
|
|
data, err := ec.unmarshalOTrustCenterDocumentAccessInput2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccessInputᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TrustCenterFiles = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateTrustCenterFileInput(ctx context.Context, obj any) (types.UpdateTrustCenterFileInput, error) {
|
|
var it types.UpdateTrustCenterFileInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "name", "category", "trustCenterVisibility"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "category":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("category"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Category = data
|
|
case "trustCenterVisibility":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trustCenterVisibility"))
|
|
data, err := ec.unmarshalOTrustCenterVisibility2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TrustCenterVisibility = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateTrustCenterInput(ctx context.Context, obj any) (types.UpdateTrustCenterInput, error) {
|
|
var it types.UpdateTrustCenterInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"trustCenterId", "active"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "trustCenterId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trustCenterId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TrustCenterID = data
|
|
case "active":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("active"))
|
|
data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Active = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateTrustCenterReferenceInput(ctx context.Context, obj any) (types.UpdateTrustCenterReferenceInput, error) {
|
|
var it types.UpdateTrustCenterReferenceInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "name", "description", "websiteUrl", "logoFile", "rank"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = graphql.OmittableOf(data)
|
|
case "websiteUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("websiteUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.WebsiteURL = data
|
|
case "logoFile":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("logoFile"))
|
|
data, err := ec.unmarshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.LogoFile = data
|
|
case "rank":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("rank"))
|
|
data, err := ec.unmarshalOInt2ᚖint(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Rank = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateVendorBusinessAssociateAgreementInput(ctx context.Context, obj any) (types.UpdateVendorBusinessAssociateAgreementInput, error) {
|
|
var it types.UpdateVendorBusinessAssociateAgreementInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"vendorId", "validFrom", "validUntil"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "vendorId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorID = data
|
|
case "validFrom":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("validFrom"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ValidFrom = graphql.OmittableOf(data)
|
|
case "validUntil":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("validUntil"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ValidUntil = graphql.OmittableOf(data)
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateVendorContactInput(ctx context.Context, obj any) (types.UpdateVendorContactInput, error) {
|
|
var it types.UpdateVendorContactInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "fullName", "email", "phone", "role"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "fullName":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fullName"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.FullName = graphql.OmittableOf(data)
|
|
case "email":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("email"))
|
|
data, err := ec.unmarshalOEmailAddr2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Email = graphql.OmittableOf(data)
|
|
case "phone":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("phone"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Phone = graphql.OmittableOf(data)
|
|
case "role":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("role"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Role = graphql.OmittableOf(data)
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateVendorDataPrivacyAgreementInput(ctx context.Context, obj any) (types.UpdateVendorDataPrivacyAgreementInput, error) {
|
|
var it types.UpdateVendorDataPrivacyAgreementInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"vendorId", "validFrom", "validUntil"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "vendorId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorID = data
|
|
case "validFrom":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("validFrom"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ValidFrom = graphql.OmittableOf(data)
|
|
case "validUntil":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("validUntil"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ValidUntil = graphql.OmittableOf(data)
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateVendorInput(ctx context.Context, obj any) (types.UpdateVendorInput, error) {
|
|
var it types.UpdateVendorInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "name", "description", "statusPageUrl", "termsOfServiceUrl", "privacyPolicyUrl", "serviceLevelAgreementUrl", "dataProcessingAgreementUrl", "businessAssociateAgreementUrl", "subprocessorsListUrl", "websiteUrl", "legalName", "headquarterAddress", "category", "certifications", "countries", "securityPageUrl", "trustPageUrl", "businessOwnerId", "securityOwnerId", "showOnTrustCenter"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = graphql.OmittableOf(data)
|
|
case "statusPageUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("statusPageUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.StatusPageURL = graphql.OmittableOf(data)
|
|
case "termsOfServiceUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("termsOfServiceUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TermsOfServiceURL = graphql.OmittableOf(data)
|
|
case "privacyPolicyUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("privacyPolicyUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.PrivacyPolicyURL = graphql.OmittableOf(data)
|
|
case "serviceLevelAgreementUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serviceLevelAgreementUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ServiceLevelAgreementURL = graphql.OmittableOf(data)
|
|
case "dataProcessingAgreementUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dataProcessingAgreementUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.DataProcessingAgreementURL = graphql.OmittableOf(data)
|
|
case "businessAssociateAgreementUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("businessAssociateAgreementUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.BusinessAssociateAgreementURL = graphql.OmittableOf(data)
|
|
case "subprocessorsListUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("subprocessorsListUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SubprocessorsListURL = graphql.OmittableOf(data)
|
|
case "websiteUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("websiteUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.WebsiteURL = graphql.OmittableOf(data)
|
|
case "legalName":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("legalName"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.LegalName = graphql.OmittableOf(data)
|
|
case "headquarterAddress":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("headquarterAddress"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.HeadquarterAddress = graphql.OmittableOf(data)
|
|
case "category":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("category"))
|
|
data, err := ec.unmarshalOVendorCategory2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Category = data
|
|
case "certifications":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("certifications"))
|
|
data, err := ec.unmarshalOString2ᚕstringᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Certifications = data
|
|
case "countries":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("countries"))
|
|
data, err := ec.unmarshalOCountryCode2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCodeᚄ(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Countries = data
|
|
case "securityPageUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("securityPageUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SecurityPageURL = graphql.OmittableOf(data)
|
|
case "trustPageUrl":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trustPageUrl"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TrustPageURL = graphql.OmittableOf(data)
|
|
case "businessOwnerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("businessOwnerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.BusinessOwnerID = graphql.OmittableOf(data)
|
|
case "securityOwnerId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("securityOwnerId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SecurityOwnerID = graphql.OmittableOf(data)
|
|
case "showOnTrustCenter":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("showOnTrustCenter"))
|
|
data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ShowOnTrustCenter = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUpdateVendorServiceInput(ctx context.Context, obj any) (types.UpdateVendorServiceInput, error) {
|
|
var it types.UpdateVendorServiceInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"id", "name", "description", "url", "type"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "id":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ID = data
|
|
case "name":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Name = data
|
|
case "description":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Description = graphql.OmittableOf(data)
|
|
case "url":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("url"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.URL = data
|
|
case "type":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type"))
|
|
data, err := ec.unmarshalOString2ᚖstring(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Type = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUploadAuditReportInput(ctx context.Context, obj any) (types.UploadAuditReportInput, error) {
|
|
var it types.UploadAuditReportInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"auditId", "file"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "auditId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("auditId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.AuditID = data
|
|
case "file":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("file"))
|
|
data, err := ec.unmarshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.File = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUploadMeasureEvidenceInput(ctx context.Context, obj any) (types.UploadMeasureEvidenceInput, error) {
|
|
var it types.UploadMeasureEvidenceInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"measureId", "file"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "measureId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("measureId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.MeasureID = data
|
|
case "file":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("file"))
|
|
data, err := ec.unmarshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.File = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUploadTrustCenterNDAInput(ctx context.Context, obj any) (types.UploadTrustCenterNDAInput, error) {
|
|
var it types.UploadTrustCenterNDAInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"trustCenterId", "fileName", "file"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "trustCenterId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trustCenterId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.TrustCenterID = data
|
|
case "fileName":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fileName"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.FileName = data
|
|
case "file":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("file"))
|
|
data, err := ec.unmarshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.File = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUploadVendorBusinessAssociateAgreementInput(ctx context.Context, obj any) (types.UploadVendorBusinessAssociateAgreementInput, error) {
|
|
var it types.UploadVendorBusinessAssociateAgreementInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"vendorId", "validFrom", "validUntil", "fileName", "file"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "vendorId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorID = data
|
|
case "validFrom":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("validFrom"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ValidFrom = data
|
|
case "validUntil":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("validUntil"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ValidUntil = data
|
|
case "fileName":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fileName"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.FileName = data
|
|
case "file":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("file"))
|
|
data, err := ec.unmarshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.File = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUploadVendorComplianceReportInput(ctx context.Context, obj any) (types.UploadVendorComplianceReportInput, error) {
|
|
var it types.UploadVendorComplianceReportInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"vendorId", "reportDate", "validUntil", "reportName", "file"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "vendorId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorID = data
|
|
case "reportDate":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reportDate"))
|
|
data, err := ec.unmarshalNDatetime2timeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ReportDate = data
|
|
case "validUntil":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("validUntil"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ValidUntil = data
|
|
case "reportName":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reportName"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ReportName = data
|
|
case "file":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("file"))
|
|
data, err := ec.unmarshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.File = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputUploadVendorDataPrivacyAgreementInput(ctx context.Context, obj any) (types.UploadVendorDataPrivacyAgreementInput, error) {
|
|
var it types.UploadVendorDataPrivacyAgreementInput
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"vendorId", "validFrom", "validUntil", "fileName", "file"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "vendorId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vendorId"))
|
|
data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.VendorID = data
|
|
case "validFrom":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("validFrom"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ValidFrom = data
|
|
case "validUntil":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("validUntil"))
|
|
data, err := ec.unmarshalODatetime2ᚖtimeᚐTime(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.ValidUntil = data
|
|
case "fileName":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fileName"))
|
|
data, err := ec.unmarshalNString2string(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.FileName = data
|
|
case "file":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("file"))
|
|
data, err := ec.unmarshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.File = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputVendorComplianceReportOrder(ctx context.Context, obj any) (types.VendorComplianceReportOrderBy, error) {
|
|
var it types.VendorComplianceReportOrderBy
|
|
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.unmarshalNVendorComplianceReportOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorComplianceReportOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputVendorContactOrder(ctx context.Context, obj any) (types.VendorContactOrderBy, error) {
|
|
var it types.VendorContactOrderBy
|
|
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.unmarshalNVendorContactOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorContactOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputVendorFilter(ctx context.Context, obj any) (types.VendorFilter, error) {
|
|
var it types.VendorFilter
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"snapshotId"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "snapshotId":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("snapshotId"))
|
|
data, err := ec.unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.SnapshotID = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputVendorOrder(ctx context.Context, obj any) (types.VendorOrderBy, error) {
|
|
var it types.VendorOrderBy
|
|
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.unmarshalNVendorOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputVendorRiskAssessmentOrder(ctx context.Context, obj any) (types.VendorRiskAssessmentOrder, error) {
|
|
var it types.VendorRiskAssessmentOrder
|
|
asMap := map[string]any{}
|
|
for k, v := range obj.(map[string]any) {
|
|
asMap[k] = v
|
|
}
|
|
|
|
fieldsInOrder := [...]string{"field", "direction"}
|
|
for _, k := range fieldsInOrder {
|
|
v, ok := asMap[k]
|
|
if !ok {
|
|
continue
|
|
}
|
|
switch k {
|
|
case "field":
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("field"))
|
|
data, err := ec.unmarshalNVendorRiskAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorRiskAssessmentOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
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
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalInputVendorServiceOrder(ctx context.Context, obj any) (types.VendorServiceOrderBy, error) {
|
|
var it types.VendorServiceOrderBy
|
|
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.unmarshalNVendorServiceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorServiceOrderField(ctx, v)
|
|
if err != nil {
|
|
return it, err
|
|
}
|
|
it.Field = data
|
|
}
|
|
}
|
|
|
|
return it, nil
|
|
}
|
|
|
|
// endregion **************************** input.gotpl *****************************
|
|
|
|
// region ************************** interface.gotpl ***************************
|
|
|
|
func (ec *executionContext) _Node(ctx context.Context, sel ast.SelectionSet, obj types.Node) graphql.Marshaler {
|
|
switch obj := (obj).(type) {
|
|
case nil:
|
|
return graphql.Null
|
|
case types.VendorService:
|
|
return ec._VendorService(ctx, sel, &obj)
|
|
case *types.VendorService:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._VendorService(ctx, sel, obj)
|
|
case types.VendorRiskAssessment:
|
|
return ec._VendorRiskAssessment(ctx, sel, &obj)
|
|
case *types.VendorRiskAssessment:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._VendorRiskAssessment(ctx, sel, obj)
|
|
case types.VendorDataPrivacyAgreement:
|
|
return ec._VendorDataPrivacyAgreement(ctx, sel, &obj)
|
|
case *types.VendorDataPrivacyAgreement:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._VendorDataPrivacyAgreement(ctx, sel, obj)
|
|
case types.VendorContact:
|
|
return ec._VendorContact(ctx, sel, &obj)
|
|
case *types.VendorContact:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._VendorContact(ctx, sel, obj)
|
|
case types.VendorComplianceReport:
|
|
return ec._VendorComplianceReport(ctx, sel, &obj)
|
|
case *types.VendorComplianceReport:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._VendorComplianceReport(ctx, sel, obj)
|
|
case types.VendorBusinessAssociateAgreement:
|
|
return ec._VendorBusinessAssociateAgreement(ctx, sel, &obj)
|
|
case *types.VendorBusinessAssociateAgreement:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._VendorBusinessAssociateAgreement(ctx, sel, obj)
|
|
case types.Vendor:
|
|
return ec._Vendor(ctx, sel, &obj)
|
|
case *types.Vendor:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Vendor(ctx, sel, obj)
|
|
case types.TrustCenterReference:
|
|
return ec._TrustCenterReference(ctx, sel, &obj)
|
|
case *types.TrustCenterReference:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._TrustCenterReference(ctx, sel, obj)
|
|
case types.TrustCenterFile:
|
|
return ec._TrustCenterFile(ctx, sel, &obj)
|
|
case *types.TrustCenterFile:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._TrustCenterFile(ctx, sel, obj)
|
|
case types.TrustCenterAccess:
|
|
return ec._TrustCenterAccess(ctx, sel, &obj)
|
|
case *types.TrustCenterAccess:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._TrustCenterAccess(ctx, sel, obj)
|
|
case types.TrustCenter:
|
|
return ec._TrustCenter(ctx, sel, &obj)
|
|
case *types.TrustCenter:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._TrustCenter(ctx, sel, obj)
|
|
case types.TransferImpactAssessment:
|
|
return ec._TransferImpactAssessment(ctx, sel, &obj)
|
|
case *types.TransferImpactAssessment:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._TransferImpactAssessment(ctx, sel, obj)
|
|
case types.Task:
|
|
return ec._Task(ctx, sel, &obj)
|
|
case *types.Task:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Task(ctx, sel, obj)
|
|
case types.StateOfApplicability:
|
|
return ec._StateOfApplicability(ctx, sel, &obj)
|
|
case *types.StateOfApplicability:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._StateOfApplicability(ctx, sel, obj)
|
|
case types.Snapshot:
|
|
return ec._Snapshot(ctx, sel, &obj)
|
|
case *types.Snapshot:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Snapshot(ctx, sel, obj)
|
|
case types.Risk:
|
|
return ec._Risk(ctx, sel, &obj)
|
|
case *types.Risk:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Risk(ctx, sel, obj)
|
|
case types.RightsRequest:
|
|
return ec._RightsRequest(ctx, sel, &obj)
|
|
case *types.RightsRequest:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._RightsRequest(ctx, sel, obj)
|
|
case types.Report:
|
|
return ec._Report(ctx, sel, &obj)
|
|
case *types.Report:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Report(ctx, sel, obj)
|
|
case types.ProcessingActivity:
|
|
return ec._ProcessingActivity(ctx, sel, &obj)
|
|
case *types.ProcessingActivity:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._ProcessingActivity(ctx, sel, obj)
|
|
case types.People:
|
|
return ec._People(ctx, sel, &obj)
|
|
case *types.People:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._People(ctx, sel, obj)
|
|
case types.Organization:
|
|
return ec._Organization(ctx, sel, &obj)
|
|
case *types.Organization:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Organization(ctx, sel, obj)
|
|
case types.Obligation:
|
|
return ec._Obligation(ctx, sel, &obj)
|
|
case *types.Obligation:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Obligation(ctx, sel, obj)
|
|
case types.Nonconformity:
|
|
return ec._Nonconformity(ctx, sel, &obj)
|
|
case *types.Nonconformity:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Nonconformity(ctx, sel, obj)
|
|
case types.Meeting:
|
|
return ec._Meeting(ctx, sel, &obj)
|
|
case *types.Meeting:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Meeting(ctx, sel, obj)
|
|
case types.Measure:
|
|
return ec._Measure(ctx, sel, &obj)
|
|
case *types.Measure:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Measure(ctx, sel, obj)
|
|
case types.Framework:
|
|
return ec._Framework(ctx, sel, &obj)
|
|
case *types.Framework:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Framework(ctx, sel, obj)
|
|
case types.Evidence:
|
|
return ec._Evidence(ctx, sel, &obj)
|
|
case *types.Evidence:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Evidence(ctx, sel, obj)
|
|
case types.DocumentVersionSignature:
|
|
return ec._DocumentVersionSignature(ctx, sel, &obj)
|
|
case *types.DocumentVersionSignature:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._DocumentVersionSignature(ctx, sel, obj)
|
|
case types.DocumentVersion:
|
|
return ec._DocumentVersion(ctx, sel, &obj)
|
|
case *types.DocumentVersion:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._DocumentVersion(ctx, sel, obj)
|
|
case types.Document:
|
|
return ec._Document(ctx, sel, &obj)
|
|
case *types.Document:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Document(ctx, sel, obj)
|
|
case types.Datum:
|
|
return ec._Datum(ctx, sel, &obj)
|
|
case *types.Datum:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Datum(ctx, sel, obj)
|
|
case types.DataProtectionImpactAssessment:
|
|
return ec._DataProtectionImpactAssessment(ctx, sel, &obj)
|
|
case *types.DataProtectionImpactAssessment:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._DataProtectionImpactAssessment(ctx, sel, obj)
|
|
case types.CustomDomain:
|
|
return ec._CustomDomain(ctx, sel, &obj)
|
|
case *types.CustomDomain:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._CustomDomain(ctx, sel, obj)
|
|
case types.Control:
|
|
return ec._Control(ctx, sel, &obj)
|
|
case *types.Control:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Control(ctx, sel, obj)
|
|
case types.ContinualImprovement:
|
|
return ec._ContinualImprovement(ctx, sel, &obj)
|
|
case *types.ContinualImprovement:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._ContinualImprovement(ctx, sel, obj)
|
|
case types.Audit:
|
|
return ec._Audit(ctx, sel, &obj)
|
|
case *types.Audit:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Audit(ctx, sel, obj)
|
|
case types.Asset:
|
|
return ec._Asset(ctx, sel, &obj)
|
|
case *types.Asset:
|
|
if obj == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Asset(ctx, sel, obj)
|
|
default:
|
|
panic(fmt.Errorf("unexpected type %T", obj))
|
|
}
|
|
}
|
|
|
|
// endregion ************************** interface.gotpl ***************************
|
|
|
|
// region **************************** object.gotpl ****************************
|
|
|
|
var assessVendorPayloadImplementors = []string{"AssessVendorPayload"}
|
|
|
|
func (ec *executionContext) _AssessVendorPayload(ctx context.Context, sel ast.SelectionSet, obj *types.AssessVendorPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, assessVendorPayloadImplementors)
|
|
|
|
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("AssessVendorPayload")
|
|
case "vendor":
|
|
out.Values[i] = ec._AssessVendorPayload_vendor(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 assetImplementors = []string{"Asset", "Node"}
|
|
|
|
func (ec *executionContext) _Asset(ctx context.Context, sel ast.SelectionSet, obj *types.Asset) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, assetImplementors)
|
|
|
|
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("Asset")
|
|
case "id":
|
|
out.Values[i] = ec._Asset_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "snapshotId":
|
|
out.Values[i] = ec._Asset_snapshotId(ctx, field, obj)
|
|
case "name":
|
|
out.Values[i] = ec._Asset_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "amount":
|
|
out.Values[i] = ec._Asset_amount(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "owner":
|
|
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._Asset_owner(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 "vendors":
|
|
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._Asset_vendors(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 "assetType":
|
|
out.Values[i] = ec._Asset_assetType(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "dataTypesStored":
|
|
out.Values[i] = ec._Asset_dataTypesStored(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "organization":
|
|
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._Asset_organization(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._Asset_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Asset_updatedAt(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._Asset_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 assetConnectionImplementors = []string{"AssetConnection"}
|
|
|
|
func (ec *executionContext) _AssetConnection(ctx context.Context, sel ast.SelectionSet, obj *types.AssetConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, assetConnectionImplementors)
|
|
|
|
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("AssetConnection")
|
|
case "totalCount":
|
|
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._AssetConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._AssetConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._AssetConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 assetEdgeImplementors = []string{"AssetEdge"}
|
|
|
|
func (ec *executionContext) _AssetEdge(ctx context.Context, sel ast.SelectionSet, obj *types.AssetEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, assetEdgeImplementors)
|
|
|
|
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("AssetEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._AssetEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._AssetEdge_node(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 auditImplementors = []string{"Audit", "Node"}
|
|
|
|
func (ec *executionContext) _Audit(ctx context.Context, sel ast.SelectionSet, obj *types.Audit) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, auditImplementors)
|
|
|
|
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("Audit")
|
|
case "id":
|
|
out.Values[i] = ec._Audit_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "name":
|
|
out.Values[i] = ec._Audit_name(ctx, field, obj)
|
|
case "organization":
|
|
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._Audit_organization(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 "framework":
|
|
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._Audit_framework(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 "validFrom":
|
|
out.Values[i] = ec._Audit_validFrom(ctx, field, obj)
|
|
case "validUntil":
|
|
out.Values[i] = ec._Audit_validUntil(ctx, field, obj)
|
|
case "report":
|
|
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._Audit_report(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 "reportUrl":
|
|
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._Audit_reportUrl(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 "state":
|
|
out.Values[i] = ec._Audit_state(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "controls":
|
|
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._Audit_controls(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 "trustCenterVisibility":
|
|
out.Values[i] = ec._Audit_trustCenterVisibility(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "createdAt":
|
|
out.Values[i] = ec._Audit_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Audit_updatedAt(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._Audit_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 auditConnectionImplementors = []string{"AuditConnection"}
|
|
|
|
func (ec *executionContext) _AuditConnection(ctx context.Context, sel ast.SelectionSet, obj *types.AuditConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, auditConnectionImplementors)
|
|
|
|
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("AuditConnection")
|
|
case "totalCount":
|
|
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._AuditConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._AuditConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._AuditConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 auditEdgeImplementors = []string{"AuditEdge"}
|
|
|
|
func (ec *executionContext) _AuditEdge(ctx context.Context, sel ast.SelectionSet, obj *types.AuditEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, auditEdgeImplementors)
|
|
|
|
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("AuditEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._AuditEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._AuditEdge_node(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 availableStateOfApplicabilityControlImplementors = []string{"AvailableStateOfApplicabilityControl"}
|
|
|
|
func (ec *executionContext) _AvailableStateOfApplicabilityControl(ctx context.Context, sel ast.SelectionSet, obj *types.AvailableStateOfApplicabilityControl) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, availableStateOfApplicabilityControlImplementors)
|
|
|
|
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("AvailableStateOfApplicabilityControl")
|
|
case "controlId":
|
|
out.Values[i] = ec._AvailableStateOfApplicabilityControl_controlId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "sectionTitle":
|
|
out.Values[i] = ec._AvailableStateOfApplicabilityControl_sectionTitle(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "name":
|
|
out.Values[i] = ec._AvailableStateOfApplicabilityControl_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "frameworkId":
|
|
out.Values[i] = ec._AvailableStateOfApplicabilityControl_frameworkId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "frameworkName":
|
|
out.Values[i] = ec._AvailableStateOfApplicabilityControl_frameworkName(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "organizationId":
|
|
out.Values[i] = ec._AvailableStateOfApplicabilityControl_organizationId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "stateOfApplicabilityId":
|
|
out.Values[i] = ec._AvailableStateOfApplicabilityControl_stateOfApplicabilityId(ctx, field, obj)
|
|
case "applicability":
|
|
out.Values[i] = ec._AvailableStateOfApplicabilityControl_applicability(ctx, field, obj)
|
|
case "justification":
|
|
out.Values[i] = ec._AvailableStateOfApplicabilityControl_justification(ctx, field, obj)
|
|
case "bestPractice":
|
|
out.Values[i] = ec._AvailableStateOfApplicabilityControl_bestPractice(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "regulatory":
|
|
out.Values[i] = ec._AvailableStateOfApplicabilityControl_regulatory(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "contractual":
|
|
out.Values[i] = ec._AvailableStateOfApplicabilityControl_contractual(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "riskAssessment":
|
|
out.Values[i] = ec._AvailableStateOfApplicabilityControl_riskAssessment(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 bulkDeleteDocumentsPayloadImplementors = []string{"BulkDeleteDocumentsPayload"}
|
|
|
|
func (ec *executionContext) _BulkDeleteDocumentsPayload(ctx context.Context, sel ast.SelectionSet, obj *types.BulkDeleteDocumentsPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, bulkDeleteDocumentsPayloadImplementors)
|
|
|
|
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("BulkDeleteDocumentsPayload")
|
|
case "deletedDocumentIds":
|
|
out.Values[i] = ec._BulkDeleteDocumentsPayload_deletedDocumentIds(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 bulkExportDocumentsPayloadImplementors = []string{"BulkExportDocumentsPayload"}
|
|
|
|
func (ec *executionContext) _BulkExportDocumentsPayload(ctx context.Context, sel ast.SelectionSet, obj *types.BulkExportDocumentsPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, bulkExportDocumentsPayloadImplementors)
|
|
|
|
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("BulkExportDocumentsPayload")
|
|
case "exportJobId":
|
|
out.Values[i] = ec._BulkExportDocumentsPayload_exportJobId(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 bulkPublishDocumentVersionsPayloadImplementors = []string{"BulkPublishDocumentVersionsPayload"}
|
|
|
|
func (ec *executionContext) _BulkPublishDocumentVersionsPayload(ctx context.Context, sel ast.SelectionSet, obj *types.BulkPublishDocumentVersionsPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, bulkPublishDocumentVersionsPayloadImplementors)
|
|
|
|
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("BulkPublishDocumentVersionsPayload")
|
|
case "documentVersionEdges":
|
|
out.Values[i] = ec._BulkPublishDocumentVersionsPayload_documentVersionEdges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "documentEdges":
|
|
out.Values[i] = ec._BulkPublishDocumentVersionsPayload_documentEdges(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 bulkRequestSignaturesPayloadImplementors = []string{"BulkRequestSignaturesPayload"}
|
|
|
|
func (ec *executionContext) _BulkRequestSignaturesPayload(ctx context.Context, sel ast.SelectionSet, obj *types.BulkRequestSignaturesPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, bulkRequestSignaturesPayloadImplementors)
|
|
|
|
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("BulkRequestSignaturesPayload")
|
|
case "documentVersionSignatureEdges":
|
|
out.Values[i] = ec._BulkRequestSignaturesPayload_documentVersionSignatureEdges(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 cancelSignatureRequestPayloadImplementors = []string{"CancelSignatureRequestPayload"}
|
|
|
|
func (ec *executionContext) _CancelSignatureRequestPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CancelSignatureRequestPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, cancelSignatureRequestPayloadImplementors)
|
|
|
|
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("CancelSignatureRequestPayload")
|
|
case "deletedDocumentVersionSignatureId":
|
|
out.Values[i] = ec._CancelSignatureRequestPayload_deletedDocumentVersionSignatureId(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 continualImprovementImplementors = []string{"ContinualImprovement", "Node"}
|
|
|
|
func (ec *executionContext) _ContinualImprovement(ctx context.Context, sel ast.SelectionSet, obj *types.ContinualImprovement) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, continualImprovementImplementors)
|
|
|
|
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("ContinualImprovement")
|
|
case "id":
|
|
out.Values[i] = ec._ContinualImprovement_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "snapshotId":
|
|
out.Values[i] = ec._ContinualImprovement_snapshotId(ctx, field, obj)
|
|
case "sourceId":
|
|
out.Values[i] = ec._ContinualImprovement_sourceId(ctx, field, obj)
|
|
case "organization":
|
|
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._ContinualImprovement_organization(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 "referenceId":
|
|
out.Values[i] = ec._ContinualImprovement_referenceId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec._ContinualImprovement_description(ctx, field, obj)
|
|
case "source":
|
|
out.Values[i] = ec._ContinualImprovement_source(ctx, field, obj)
|
|
case "owner":
|
|
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._ContinualImprovement_owner(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 "targetDate":
|
|
out.Values[i] = ec._ContinualImprovement_targetDate(ctx, field, obj)
|
|
case "status":
|
|
out.Values[i] = ec._ContinualImprovement_status(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "priority":
|
|
out.Values[i] = ec._ContinualImprovement_priority(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "createdAt":
|
|
out.Values[i] = ec._ContinualImprovement_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._ContinualImprovement_updatedAt(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._ContinualImprovement_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 continualImprovementConnectionImplementors = []string{"ContinualImprovementConnection"}
|
|
|
|
func (ec *executionContext) _ContinualImprovementConnection(ctx context.Context, sel ast.SelectionSet, obj *types.ContinualImprovementConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, continualImprovementConnectionImplementors)
|
|
|
|
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("ContinualImprovementConnection")
|
|
case "totalCount":
|
|
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._ContinualImprovementConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._ContinualImprovementConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._ContinualImprovementConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 continualImprovementEdgeImplementors = []string{"ContinualImprovementEdge"}
|
|
|
|
func (ec *executionContext) _ContinualImprovementEdge(ctx context.Context, sel ast.SelectionSet, obj *types.ContinualImprovementEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, continualImprovementEdgeImplementors)
|
|
|
|
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("ContinualImprovementEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._ContinualImprovementEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._ContinualImprovementEdge_node(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 controlImplementors = []string{"Control", "Node"}
|
|
|
|
func (ec *executionContext) _Control(ctx context.Context, sel ast.SelectionSet, obj *types.Control) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, controlImplementors)
|
|
|
|
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("Control")
|
|
case "id":
|
|
out.Values[i] = ec._Control_id(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._Control_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 "sectionTitle":
|
|
out.Values[i] = ec._Control_sectionTitle(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "name":
|
|
out.Values[i] = ec._Control_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec._Control_description(ctx, field, obj)
|
|
case "status":
|
|
out.Values[i] = ec._Control_status(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "exclusionJustification":
|
|
out.Values[i] = ec._Control_exclusionJustification(ctx, field, obj)
|
|
case "bestPractice":
|
|
out.Values[i] = ec._Control_bestPractice(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "framework":
|
|
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._Control_framework(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 "measures":
|
|
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._Control_measures(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 "documents":
|
|
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._Control_documents(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 "audits":
|
|
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._Control_audits(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 "obligations":
|
|
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._Control_obligations(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 "snapshots":
|
|
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._Control_snapshots(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 "stateOfApplicabilityControls":
|
|
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._Control_stateOfApplicabilityControls(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._Control_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Control_updatedAt(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._Control_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 controlConnectionImplementors = []string{"ControlConnection"}
|
|
|
|
func (ec *executionContext) _ControlConnection(ctx context.Context, sel ast.SelectionSet, obj *types.ControlConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, controlConnectionImplementors)
|
|
|
|
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("ControlConnection")
|
|
case "totalCount":
|
|
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._ControlConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._ControlConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._ControlConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 controlEdgeImplementors = []string{"ControlEdge"}
|
|
|
|
func (ec *executionContext) _ControlEdge(ctx context.Context, sel ast.SelectionSet, obj *types.ControlEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, controlEdgeImplementors)
|
|
|
|
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("ControlEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._ControlEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._ControlEdge_node(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 createAssetPayloadImplementors = []string{"CreateAssetPayload"}
|
|
|
|
func (ec *executionContext) _CreateAssetPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateAssetPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createAssetPayloadImplementors)
|
|
|
|
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("CreateAssetPayload")
|
|
case "assetEdge":
|
|
out.Values[i] = ec._CreateAssetPayload_assetEdge(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 createAuditPayloadImplementors = []string{"CreateAuditPayload"}
|
|
|
|
func (ec *executionContext) _CreateAuditPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateAuditPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createAuditPayloadImplementors)
|
|
|
|
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("CreateAuditPayload")
|
|
case "auditEdge":
|
|
out.Values[i] = ec._CreateAuditPayload_auditEdge(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 createContinualImprovementPayloadImplementors = []string{"CreateContinualImprovementPayload"}
|
|
|
|
func (ec *executionContext) _CreateContinualImprovementPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateContinualImprovementPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createContinualImprovementPayloadImplementors)
|
|
|
|
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("CreateContinualImprovementPayload")
|
|
case "continualImprovementEdge":
|
|
out.Values[i] = ec._CreateContinualImprovementPayload_continualImprovementEdge(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 createControlAuditMappingPayloadImplementors = []string{"CreateControlAuditMappingPayload"}
|
|
|
|
func (ec *executionContext) _CreateControlAuditMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateControlAuditMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createControlAuditMappingPayloadImplementors)
|
|
|
|
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("CreateControlAuditMappingPayload")
|
|
case "controlEdge":
|
|
out.Values[i] = ec._CreateControlAuditMappingPayload_controlEdge(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "auditEdge":
|
|
out.Values[i] = ec._CreateControlAuditMappingPayload_auditEdge(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 createControlDocumentMappingPayloadImplementors = []string{"CreateControlDocumentMappingPayload"}
|
|
|
|
func (ec *executionContext) _CreateControlDocumentMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateControlDocumentMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createControlDocumentMappingPayloadImplementors)
|
|
|
|
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("CreateControlDocumentMappingPayload")
|
|
case "controlEdge":
|
|
out.Values[i] = ec._CreateControlDocumentMappingPayload_controlEdge(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "documentEdge":
|
|
out.Values[i] = ec._CreateControlDocumentMappingPayload_documentEdge(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 createControlMeasureMappingPayloadImplementors = []string{"CreateControlMeasureMappingPayload"}
|
|
|
|
func (ec *executionContext) _CreateControlMeasureMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateControlMeasureMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createControlMeasureMappingPayloadImplementors)
|
|
|
|
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("CreateControlMeasureMappingPayload")
|
|
case "controlEdge":
|
|
out.Values[i] = ec._CreateControlMeasureMappingPayload_controlEdge(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "measureEdge":
|
|
out.Values[i] = ec._CreateControlMeasureMappingPayload_measureEdge(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 createControlObligationMappingPayloadImplementors = []string{"CreateControlObligationMappingPayload"}
|
|
|
|
func (ec *executionContext) _CreateControlObligationMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateControlObligationMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createControlObligationMappingPayloadImplementors)
|
|
|
|
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("CreateControlObligationMappingPayload")
|
|
case "controlEdge":
|
|
out.Values[i] = ec._CreateControlObligationMappingPayload_controlEdge(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "obligationEdge":
|
|
out.Values[i] = ec._CreateControlObligationMappingPayload_obligationEdge(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 createControlPayloadImplementors = []string{"CreateControlPayload"}
|
|
|
|
func (ec *executionContext) _CreateControlPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateControlPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createControlPayloadImplementors)
|
|
|
|
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("CreateControlPayload")
|
|
case "controlEdge":
|
|
out.Values[i] = ec._CreateControlPayload_controlEdge(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 createControlSnapshotMappingPayloadImplementors = []string{"CreateControlSnapshotMappingPayload"}
|
|
|
|
func (ec *executionContext) _CreateControlSnapshotMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateControlSnapshotMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createControlSnapshotMappingPayloadImplementors)
|
|
|
|
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("CreateControlSnapshotMappingPayload")
|
|
case "controlEdge":
|
|
out.Values[i] = ec._CreateControlSnapshotMappingPayload_controlEdge(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "snapshotEdge":
|
|
out.Values[i] = ec._CreateControlSnapshotMappingPayload_snapshotEdge(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 createCustomDomainPayloadImplementors = []string{"CreateCustomDomainPayload"}
|
|
|
|
func (ec *executionContext) _CreateCustomDomainPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateCustomDomainPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createCustomDomainPayloadImplementors)
|
|
|
|
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("CreateCustomDomainPayload")
|
|
case "customDomain":
|
|
out.Values[i] = ec._CreateCustomDomainPayload_customDomain(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 createDataProtectionImpactAssessmentPayloadImplementors = []string{"CreateDataProtectionImpactAssessmentPayload"}
|
|
|
|
func (ec *executionContext) _CreateDataProtectionImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateDataProtectionImpactAssessmentPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createDataProtectionImpactAssessmentPayloadImplementors)
|
|
|
|
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("CreateDataProtectionImpactAssessmentPayload")
|
|
case "dataProtectionImpactAssessment":
|
|
out.Values[i] = ec._CreateDataProtectionImpactAssessmentPayload_dataProtectionImpactAssessment(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 createDatumPayloadImplementors = []string{"CreateDatumPayload"}
|
|
|
|
func (ec *executionContext) _CreateDatumPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateDatumPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createDatumPayloadImplementors)
|
|
|
|
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("CreateDatumPayload")
|
|
case "datumEdge":
|
|
out.Values[i] = ec._CreateDatumPayload_datumEdge(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 createDocumentPayloadImplementors = []string{"CreateDocumentPayload"}
|
|
|
|
func (ec *executionContext) _CreateDocumentPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateDocumentPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createDocumentPayloadImplementors)
|
|
|
|
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("CreateDocumentPayload")
|
|
case "documentEdge":
|
|
out.Values[i] = ec._CreateDocumentPayload_documentEdge(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "documentVersionEdge":
|
|
out.Values[i] = ec._CreateDocumentPayload_documentVersionEdge(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 createDraftDocumentVersionPayloadImplementors = []string{"CreateDraftDocumentVersionPayload"}
|
|
|
|
func (ec *executionContext) _CreateDraftDocumentVersionPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateDraftDocumentVersionPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createDraftDocumentVersionPayloadImplementors)
|
|
|
|
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("CreateDraftDocumentVersionPayload")
|
|
case "documentVersionEdge":
|
|
out.Values[i] = ec._CreateDraftDocumentVersionPayload_documentVersionEdge(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 createFrameworkPayloadImplementors = []string{"CreateFrameworkPayload"}
|
|
|
|
func (ec *executionContext) _CreateFrameworkPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateFrameworkPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createFrameworkPayloadImplementors)
|
|
|
|
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("CreateFrameworkPayload")
|
|
case "frameworkEdge":
|
|
out.Values[i] = ec._CreateFrameworkPayload_frameworkEdge(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 createMeasurePayloadImplementors = []string{"CreateMeasurePayload"}
|
|
|
|
func (ec *executionContext) _CreateMeasurePayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateMeasurePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createMeasurePayloadImplementors)
|
|
|
|
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("CreateMeasurePayload")
|
|
case "measureEdge":
|
|
out.Values[i] = ec._CreateMeasurePayload_measureEdge(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 createMeetingPayloadImplementors = []string{"CreateMeetingPayload"}
|
|
|
|
func (ec *executionContext) _CreateMeetingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateMeetingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createMeetingPayloadImplementors)
|
|
|
|
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("CreateMeetingPayload")
|
|
case "meetingEdge":
|
|
out.Values[i] = ec._CreateMeetingPayload_meetingEdge(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 createNonconformityPayloadImplementors = []string{"CreateNonconformityPayload"}
|
|
|
|
func (ec *executionContext) _CreateNonconformityPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateNonconformityPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createNonconformityPayloadImplementors)
|
|
|
|
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("CreateNonconformityPayload")
|
|
case "nonconformityEdge":
|
|
out.Values[i] = ec._CreateNonconformityPayload_nonconformityEdge(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 createObligationPayloadImplementors = []string{"CreateObligationPayload"}
|
|
|
|
func (ec *executionContext) _CreateObligationPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateObligationPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createObligationPayloadImplementors)
|
|
|
|
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("CreateObligationPayload")
|
|
case "obligationEdge":
|
|
out.Values[i] = ec._CreateObligationPayload_obligationEdge(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 createPeoplePayloadImplementors = []string{"CreatePeoplePayload"}
|
|
|
|
func (ec *executionContext) _CreatePeoplePayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreatePeoplePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createPeoplePayloadImplementors)
|
|
|
|
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("CreatePeoplePayload")
|
|
case "peopleEdge":
|
|
out.Values[i] = ec._CreatePeoplePayload_peopleEdge(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 createProcessingActivityPayloadImplementors = []string{"CreateProcessingActivityPayload"}
|
|
|
|
func (ec *executionContext) _CreateProcessingActivityPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateProcessingActivityPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createProcessingActivityPayloadImplementors)
|
|
|
|
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("CreateProcessingActivityPayload")
|
|
case "processingActivityEdge":
|
|
out.Values[i] = ec._CreateProcessingActivityPayload_processingActivityEdge(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 createRightsRequestPayloadImplementors = []string{"CreateRightsRequestPayload"}
|
|
|
|
func (ec *executionContext) _CreateRightsRequestPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateRightsRequestPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createRightsRequestPayloadImplementors)
|
|
|
|
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("CreateRightsRequestPayload")
|
|
case "rightsRequestEdge":
|
|
out.Values[i] = ec._CreateRightsRequestPayload_rightsRequestEdge(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 createRiskDocumentMappingPayloadImplementors = []string{"CreateRiskDocumentMappingPayload"}
|
|
|
|
func (ec *executionContext) _CreateRiskDocumentMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateRiskDocumentMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createRiskDocumentMappingPayloadImplementors)
|
|
|
|
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("CreateRiskDocumentMappingPayload")
|
|
case "riskEdge":
|
|
out.Values[i] = ec._CreateRiskDocumentMappingPayload_riskEdge(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "documentEdge":
|
|
out.Values[i] = ec._CreateRiskDocumentMappingPayload_documentEdge(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 createRiskMeasureMappingPayloadImplementors = []string{"CreateRiskMeasureMappingPayload"}
|
|
|
|
func (ec *executionContext) _CreateRiskMeasureMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateRiskMeasureMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createRiskMeasureMappingPayloadImplementors)
|
|
|
|
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("CreateRiskMeasureMappingPayload")
|
|
case "riskEdge":
|
|
out.Values[i] = ec._CreateRiskMeasureMappingPayload_riskEdge(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "measureEdge":
|
|
out.Values[i] = ec._CreateRiskMeasureMappingPayload_measureEdge(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 createRiskObligationMappingPayloadImplementors = []string{"CreateRiskObligationMappingPayload"}
|
|
|
|
func (ec *executionContext) _CreateRiskObligationMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateRiskObligationMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createRiskObligationMappingPayloadImplementors)
|
|
|
|
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("CreateRiskObligationMappingPayload")
|
|
case "riskEdge":
|
|
out.Values[i] = ec._CreateRiskObligationMappingPayload_riskEdge(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "obligationEdge":
|
|
out.Values[i] = ec._CreateRiskObligationMappingPayload_obligationEdge(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 createRiskPayloadImplementors = []string{"CreateRiskPayload"}
|
|
|
|
func (ec *executionContext) _CreateRiskPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateRiskPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createRiskPayloadImplementors)
|
|
|
|
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("CreateRiskPayload")
|
|
case "riskEdge":
|
|
out.Values[i] = ec._CreateRiskPayload_riskEdge(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 createSnapshotPayloadImplementors = []string{"CreateSnapshotPayload"}
|
|
|
|
func (ec *executionContext) _CreateSnapshotPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateSnapshotPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createSnapshotPayloadImplementors)
|
|
|
|
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("CreateSnapshotPayload")
|
|
case "snapshotEdge":
|
|
out.Values[i] = ec._CreateSnapshotPayload_snapshotEdge(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 createStateOfApplicabilityControlMappingPayloadImplementors = []string{"CreateStateOfApplicabilityControlMappingPayload"}
|
|
|
|
func (ec *executionContext) _CreateStateOfApplicabilityControlMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateStateOfApplicabilityControlMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createStateOfApplicabilityControlMappingPayloadImplementors)
|
|
|
|
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("CreateStateOfApplicabilityControlMappingPayload")
|
|
case "stateOfApplicabilityControlEdge":
|
|
out.Values[i] = ec._CreateStateOfApplicabilityControlMappingPayload_stateOfApplicabilityControlEdge(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 createStateOfApplicabilityPayloadImplementors = []string{"CreateStateOfApplicabilityPayload"}
|
|
|
|
func (ec *executionContext) _CreateStateOfApplicabilityPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateStateOfApplicabilityPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createStateOfApplicabilityPayloadImplementors)
|
|
|
|
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("CreateStateOfApplicabilityPayload")
|
|
case "stateOfApplicabilityEdge":
|
|
out.Values[i] = ec._CreateStateOfApplicabilityPayload_stateOfApplicabilityEdge(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 createTaskPayloadImplementors = []string{"CreateTaskPayload"}
|
|
|
|
func (ec *executionContext) _CreateTaskPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateTaskPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createTaskPayloadImplementors)
|
|
|
|
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("CreateTaskPayload")
|
|
case "taskEdge":
|
|
out.Values[i] = ec._CreateTaskPayload_taskEdge(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 createTransferImpactAssessmentPayloadImplementors = []string{"CreateTransferImpactAssessmentPayload"}
|
|
|
|
func (ec *executionContext) _CreateTransferImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateTransferImpactAssessmentPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createTransferImpactAssessmentPayloadImplementors)
|
|
|
|
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("CreateTransferImpactAssessmentPayload")
|
|
case "transferImpactAssessment":
|
|
out.Values[i] = ec._CreateTransferImpactAssessmentPayload_transferImpactAssessment(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 createTrustCenterAccessPayloadImplementors = []string{"CreateTrustCenterAccessPayload"}
|
|
|
|
func (ec *executionContext) _CreateTrustCenterAccessPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateTrustCenterAccessPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createTrustCenterAccessPayloadImplementors)
|
|
|
|
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("CreateTrustCenterAccessPayload")
|
|
case "trustCenterAccessEdge":
|
|
out.Values[i] = ec._CreateTrustCenterAccessPayload_trustCenterAccessEdge(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 createTrustCenterFilePayloadImplementors = []string{"CreateTrustCenterFilePayload"}
|
|
|
|
func (ec *executionContext) _CreateTrustCenterFilePayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateTrustCenterFilePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createTrustCenterFilePayloadImplementors)
|
|
|
|
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("CreateTrustCenterFilePayload")
|
|
case "trustCenterFileEdge":
|
|
out.Values[i] = ec._CreateTrustCenterFilePayload_trustCenterFileEdge(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 createTrustCenterReferencePayloadImplementors = []string{"CreateTrustCenterReferencePayload"}
|
|
|
|
func (ec *executionContext) _CreateTrustCenterReferencePayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateTrustCenterReferencePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createTrustCenterReferencePayloadImplementors)
|
|
|
|
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("CreateTrustCenterReferencePayload")
|
|
case "trustCenterReferenceEdge":
|
|
out.Values[i] = ec._CreateTrustCenterReferencePayload_trustCenterReferenceEdge(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 createVendorContactPayloadImplementors = []string{"CreateVendorContactPayload"}
|
|
|
|
func (ec *executionContext) _CreateVendorContactPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateVendorContactPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createVendorContactPayloadImplementors)
|
|
|
|
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("CreateVendorContactPayload")
|
|
case "vendorContactEdge":
|
|
out.Values[i] = ec._CreateVendorContactPayload_vendorContactEdge(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 createVendorPayloadImplementors = []string{"CreateVendorPayload"}
|
|
|
|
func (ec *executionContext) _CreateVendorPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateVendorPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createVendorPayloadImplementors)
|
|
|
|
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("CreateVendorPayload")
|
|
case "vendorEdge":
|
|
out.Values[i] = ec._CreateVendorPayload_vendorEdge(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 createVendorRiskAssessmentPayloadImplementors = []string{"CreateVendorRiskAssessmentPayload"}
|
|
|
|
func (ec *executionContext) _CreateVendorRiskAssessmentPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateVendorRiskAssessmentPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createVendorRiskAssessmentPayloadImplementors)
|
|
|
|
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("CreateVendorRiskAssessmentPayload")
|
|
case "vendorRiskAssessmentEdge":
|
|
out.Values[i] = ec._CreateVendorRiskAssessmentPayload_vendorRiskAssessmentEdge(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 createVendorServicePayloadImplementors = []string{"CreateVendorServicePayload"}
|
|
|
|
func (ec *executionContext) _CreateVendorServicePayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateVendorServicePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, createVendorServicePayloadImplementors)
|
|
|
|
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("CreateVendorServicePayload")
|
|
case "vendorServiceEdge":
|
|
out.Values[i] = ec._CreateVendorServicePayload_vendorServiceEdge(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 customDomainImplementors = []string{"CustomDomain", "Node"}
|
|
|
|
func (ec *executionContext) _CustomDomain(ctx context.Context, sel ast.SelectionSet, obj *types.CustomDomain) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, customDomainImplementors)
|
|
|
|
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("CustomDomain")
|
|
case "id":
|
|
out.Values[i] = ec._CustomDomain_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "organization":
|
|
out.Values[i] = ec._CustomDomain_organization(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "domain":
|
|
out.Values[i] = ec._CustomDomain_domain(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "sslStatus":
|
|
out.Values[i] = ec._CustomDomain_sslStatus(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "sslExpiresAt":
|
|
out.Values[i] = ec._CustomDomain_sslExpiresAt(ctx, field, obj)
|
|
case "dnsRecords":
|
|
out.Values[i] = ec._CustomDomain_dnsRecords(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "createdAt":
|
|
out.Values[i] = ec._CustomDomain_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._CustomDomain_updatedAt(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._CustomDomain_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 dNSRecordInstructionImplementors = []string{"DNSRecordInstruction"}
|
|
|
|
func (ec *executionContext) _DNSRecordInstruction(ctx context.Context, sel ast.SelectionSet, obj *types.DNSRecordInstruction) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, dNSRecordInstructionImplementors)
|
|
|
|
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("DNSRecordInstruction")
|
|
case "type":
|
|
out.Values[i] = ec._DNSRecordInstruction_type(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "name":
|
|
out.Values[i] = ec._DNSRecordInstruction_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "value":
|
|
out.Values[i] = ec._DNSRecordInstruction_value(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "ttl":
|
|
out.Values[i] = ec._DNSRecordInstruction_ttl(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "purpose":
|
|
out.Values[i] = ec._DNSRecordInstruction_purpose(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 dataProtectionImpactAssessmentImplementors = []string{"DataProtectionImpactAssessment", "Node"}
|
|
|
|
func (ec *executionContext) _DataProtectionImpactAssessment(ctx context.Context, sel ast.SelectionSet, obj *types.DataProtectionImpactAssessment) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, dataProtectionImpactAssessmentImplementors)
|
|
|
|
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("DataProtectionImpactAssessment")
|
|
case "id":
|
|
out.Values[i] = ec._DataProtectionImpactAssessment_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "processingActivity":
|
|
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._DataProtectionImpactAssessment_processingActivity(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 "organization":
|
|
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._DataProtectionImpactAssessment_organization(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 "description":
|
|
out.Values[i] = ec._DataProtectionImpactAssessment_description(ctx, field, obj)
|
|
case "necessityAndProportionality":
|
|
out.Values[i] = ec._DataProtectionImpactAssessment_necessityAndProportionality(ctx, field, obj)
|
|
case "potentialRisk":
|
|
out.Values[i] = ec._DataProtectionImpactAssessment_potentialRisk(ctx, field, obj)
|
|
case "mitigations":
|
|
out.Values[i] = ec._DataProtectionImpactAssessment_mitigations(ctx, field, obj)
|
|
case "residualRisk":
|
|
out.Values[i] = ec._DataProtectionImpactAssessment_residualRisk(ctx, field, obj)
|
|
case "createdAt":
|
|
out.Values[i] = ec._DataProtectionImpactAssessment_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._DataProtectionImpactAssessment_updatedAt(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._DataProtectionImpactAssessment_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 dataProtectionImpactAssessmentConnectionImplementors = []string{"DataProtectionImpactAssessmentConnection"}
|
|
|
|
func (ec *executionContext) _DataProtectionImpactAssessmentConnection(ctx context.Context, sel ast.SelectionSet, obj *types.DataProtectionImpactAssessmentConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, dataProtectionImpactAssessmentConnectionImplementors)
|
|
|
|
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("DataProtectionImpactAssessmentConnection")
|
|
case "totalCount":
|
|
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._DataProtectionImpactAssessmentConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._DataProtectionImpactAssessmentConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._DataProtectionImpactAssessmentConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 dataProtectionImpactAssessmentEdgeImplementors = []string{"DataProtectionImpactAssessmentEdge"}
|
|
|
|
func (ec *executionContext) _DataProtectionImpactAssessmentEdge(ctx context.Context, sel ast.SelectionSet, obj *types.DataProtectionImpactAssessmentEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, dataProtectionImpactAssessmentEdgeImplementors)
|
|
|
|
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("DataProtectionImpactAssessmentEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._DataProtectionImpactAssessmentEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._DataProtectionImpactAssessmentEdge_node(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 datumImplementors = []string{"Datum", "Node"}
|
|
|
|
func (ec *executionContext) _Datum(ctx context.Context, sel ast.SelectionSet, obj *types.Datum) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, datumImplementors)
|
|
|
|
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("Datum")
|
|
case "id":
|
|
out.Values[i] = ec._Datum_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "snapshotId":
|
|
out.Values[i] = ec._Datum_snapshotId(ctx, field, obj)
|
|
case "name":
|
|
out.Values[i] = ec._Datum_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "dataClassification":
|
|
out.Values[i] = ec._Datum_dataClassification(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "owner":
|
|
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._Datum_owner(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 "vendors":
|
|
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._Datum_vendors(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 "organization":
|
|
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._Datum_organization(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._Datum_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Datum_updatedAt(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._Datum_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 datumConnectionImplementors = []string{"DatumConnection"}
|
|
|
|
func (ec *executionContext) _DatumConnection(ctx context.Context, sel ast.SelectionSet, obj *types.DatumConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, datumConnectionImplementors)
|
|
|
|
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("DatumConnection")
|
|
case "totalCount":
|
|
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._DatumConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._DatumConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._DatumConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 datumEdgeImplementors = []string{"DatumEdge"}
|
|
|
|
func (ec *executionContext) _DatumEdge(ctx context.Context, sel ast.SelectionSet, obj *types.DatumEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, datumEdgeImplementors)
|
|
|
|
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("DatumEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._DatumEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._DatumEdge_node(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 deleteAssetPayloadImplementors = []string{"DeleteAssetPayload"}
|
|
|
|
func (ec *executionContext) _DeleteAssetPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteAssetPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteAssetPayloadImplementors)
|
|
|
|
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("DeleteAssetPayload")
|
|
case "deletedAssetId":
|
|
out.Values[i] = ec._DeleteAssetPayload_deletedAssetId(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 deleteAuditPayloadImplementors = []string{"DeleteAuditPayload"}
|
|
|
|
func (ec *executionContext) _DeleteAuditPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteAuditPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteAuditPayloadImplementors)
|
|
|
|
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("DeleteAuditPayload")
|
|
case "deletedAuditId":
|
|
out.Values[i] = ec._DeleteAuditPayload_deletedAuditId(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 deleteAuditReportPayloadImplementors = []string{"DeleteAuditReportPayload"}
|
|
|
|
func (ec *executionContext) _DeleteAuditReportPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteAuditReportPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteAuditReportPayloadImplementors)
|
|
|
|
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("DeleteAuditReportPayload")
|
|
case "audit":
|
|
out.Values[i] = ec._DeleteAuditReportPayload_audit(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 deleteContinualImprovementPayloadImplementors = []string{"DeleteContinualImprovementPayload"}
|
|
|
|
func (ec *executionContext) _DeleteContinualImprovementPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteContinualImprovementPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteContinualImprovementPayloadImplementors)
|
|
|
|
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("DeleteContinualImprovementPayload")
|
|
case "deletedContinualImprovementId":
|
|
out.Values[i] = ec._DeleteContinualImprovementPayload_deletedContinualImprovementId(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 deleteControlAuditMappingPayloadImplementors = []string{"DeleteControlAuditMappingPayload"}
|
|
|
|
func (ec *executionContext) _DeleteControlAuditMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteControlAuditMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteControlAuditMappingPayloadImplementors)
|
|
|
|
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("DeleteControlAuditMappingPayload")
|
|
case "deletedControlId":
|
|
out.Values[i] = ec._DeleteControlAuditMappingPayload_deletedControlId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deletedAuditId":
|
|
out.Values[i] = ec._DeleteControlAuditMappingPayload_deletedAuditId(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 deleteControlDocumentMappingPayloadImplementors = []string{"DeleteControlDocumentMappingPayload"}
|
|
|
|
func (ec *executionContext) _DeleteControlDocumentMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteControlDocumentMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteControlDocumentMappingPayloadImplementors)
|
|
|
|
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("DeleteControlDocumentMappingPayload")
|
|
case "deletedControlId":
|
|
out.Values[i] = ec._DeleteControlDocumentMappingPayload_deletedControlId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deletedDocumentId":
|
|
out.Values[i] = ec._DeleteControlDocumentMappingPayload_deletedDocumentId(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 deleteControlMeasureMappingPayloadImplementors = []string{"DeleteControlMeasureMappingPayload"}
|
|
|
|
func (ec *executionContext) _DeleteControlMeasureMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteControlMeasureMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteControlMeasureMappingPayloadImplementors)
|
|
|
|
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("DeleteControlMeasureMappingPayload")
|
|
case "deletedControlId":
|
|
out.Values[i] = ec._DeleteControlMeasureMappingPayload_deletedControlId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deletedMeasureId":
|
|
out.Values[i] = ec._DeleteControlMeasureMappingPayload_deletedMeasureId(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 deleteControlObligationMappingPayloadImplementors = []string{"DeleteControlObligationMappingPayload"}
|
|
|
|
func (ec *executionContext) _DeleteControlObligationMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteControlObligationMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteControlObligationMappingPayloadImplementors)
|
|
|
|
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("DeleteControlObligationMappingPayload")
|
|
case "deletedControlId":
|
|
out.Values[i] = ec._DeleteControlObligationMappingPayload_deletedControlId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deletedObligationId":
|
|
out.Values[i] = ec._DeleteControlObligationMappingPayload_deletedObligationId(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 deleteControlPayloadImplementors = []string{"DeleteControlPayload"}
|
|
|
|
func (ec *executionContext) _DeleteControlPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteControlPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteControlPayloadImplementors)
|
|
|
|
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("DeleteControlPayload")
|
|
case "deletedControlId":
|
|
out.Values[i] = ec._DeleteControlPayload_deletedControlId(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 deleteControlSnapshotMappingPayloadImplementors = []string{"DeleteControlSnapshotMappingPayload"}
|
|
|
|
func (ec *executionContext) _DeleteControlSnapshotMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteControlSnapshotMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteControlSnapshotMappingPayloadImplementors)
|
|
|
|
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("DeleteControlSnapshotMappingPayload")
|
|
case "deletedControlId":
|
|
out.Values[i] = ec._DeleteControlSnapshotMappingPayload_deletedControlId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deletedSnapshotId":
|
|
out.Values[i] = ec._DeleteControlSnapshotMappingPayload_deletedSnapshotId(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 deleteCustomDomainPayloadImplementors = []string{"DeleteCustomDomainPayload"}
|
|
|
|
func (ec *executionContext) _DeleteCustomDomainPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteCustomDomainPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteCustomDomainPayloadImplementors)
|
|
|
|
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("DeleteCustomDomainPayload")
|
|
case "deletedCustomDomainId":
|
|
out.Values[i] = ec._DeleteCustomDomainPayload_deletedCustomDomainId(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 deleteDataProtectionImpactAssessmentPayloadImplementors = []string{"DeleteDataProtectionImpactAssessmentPayload"}
|
|
|
|
func (ec *executionContext) _DeleteDataProtectionImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteDataProtectionImpactAssessmentPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteDataProtectionImpactAssessmentPayloadImplementors)
|
|
|
|
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("DeleteDataProtectionImpactAssessmentPayload")
|
|
case "deletedDataProtectionImpactAssessmentId":
|
|
out.Values[i] = ec._DeleteDataProtectionImpactAssessmentPayload_deletedDataProtectionImpactAssessmentId(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 deleteDatumPayloadImplementors = []string{"DeleteDatumPayload"}
|
|
|
|
func (ec *executionContext) _DeleteDatumPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteDatumPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteDatumPayloadImplementors)
|
|
|
|
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("DeleteDatumPayload")
|
|
case "deletedDatumId":
|
|
out.Values[i] = ec._DeleteDatumPayload_deletedDatumId(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 deleteDocumentPayloadImplementors = []string{"DeleteDocumentPayload"}
|
|
|
|
func (ec *executionContext) _DeleteDocumentPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteDocumentPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteDocumentPayloadImplementors)
|
|
|
|
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("DeleteDocumentPayload")
|
|
case "deletedDocumentId":
|
|
out.Values[i] = ec._DeleteDocumentPayload_deletedDocumentId(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 deleteDraftDocumentVersionPayloadImplementors = []string{"DeleteDraftDocumentVersionPayload"}
|
|
|
|
func (ec *executionContext) _DeleteDraftDocumentVersionPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteDraftDocumentVersionPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteDraftDocumentVersionPayloadImplementors)
|
|
|
|
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("DeleteDraftDocumentVersionPayload")
|
|
case "deletedDocumentVersionId":
|
|
out.Values[i] = ec._DeleteDraftDocumentVersionPayload_deletedDocumentVersionId(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 deleteEvidencePayloadImplementors = []string{"DeleteEvidencePayload"}
|
|
|
|
func (ec *executionContext) _DeleteEvidencePayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteEvidencePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteEvidencePayloadImplementors)
|
|
|
|
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("DeleteEvidencePayload")
|
|
case "deletedEvidenceId":
|
|
out.Values[i] = ec._DeleteEvidencePayload_deletedEvidenceId(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 deleteFrameworkPayloadImplementors = []string{"DeleteFrameworkPayload"}
|
|
|
|
func (ec *executionContext) _DeleteFrameworkPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteFrameworkPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteFrameworkPayloadImplementors)
|
|
|
|
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("DeleteFrameworkPayload")
|
|
case "deletedFrameworkId":
|
|
out.Values[i] = ec._DeleteFrameworkPayload_deletedFrameworkId(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 deleteMeasurePayloadImplementors = []string{"DeleteMeasurePayload"}
|
|
|
|
func (ec *executionContext) _DeleteMeasurePayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteMeasurePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteMeasurePayloadImplementors)
|
|
|
|
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("DeleteMeasurePayload")
|
|
case "deletedMeasureId":
|
|
out.Values[i] = ec._DeleteMeasurePayload_deletedMeasureId(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 deleteMeetingPayloadImplementors = []string{"DeleteMeetingPayload"}
|
|
|
|
func (ec *executionContext) _DeleteMeetingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteMeetingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteMeetingPayloadImplementors)
|
|
|
|
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("DeleteMeetingPayload")
|
|
case "deletedMeetingId":
|
|
out.Values[i] = ec._DeleteMeetingPayload_deletedMeetingId(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 deleteNonconformityPayloadImplementors = []string{"DeleteNonconformityPayload"}
|
|
|
|
func (ec *executionContext) _DeleteNonconformityPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteNonconformityPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteNonconformityPayloadImplementors)
|
|
|
|
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("DeleteNonconformityPayload")
|
|
case "deletedNonconformityId":
|
|
out.Values[i] = ec._DeleteNonconformityPayload_deletedNonconformityId(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 deleteObligationPayloadImplementors = []string{"DeleteObligationPayload"}
|
|
|
|
func (ec *executionContext) _DeleteObligationPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteObligationPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteObligationPayloadImplementors)
|
|
|
|
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("DeleteObligationPayload")
|
|
case "deletedObligationId":
|
|
out.Values[i] = ec._DeleteObligationPayload_deletedObligationId(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 deletePeoplePayloadImplementors = []string{"DeletePeoplePayload"}
|
|
|
|
func (ec *executionContext) _DeletePeoplePayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeletePeoplePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deletePeoplePayloadImplementors)
|
|
|
|
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("DeletePeoplePayload")
|
|
case "deletedPeopleId":
|
|
out.Values[i] = ec._DeletePeoplePayload_deletedPeopleId(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 deleteProcessingActivityPayloadImplementors = []string{"DeleteProcessingActivityPayload"}
|
|
|
|
func (ec *executionContext) _DeleteProcessingActivityPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteProcessingActivityPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteProcessingActivityPayloadImplementors)
|
|
|
|
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("DeleteProcessingActivityPayload")
|
|
case "deletedProcessingActivityId":
|
|
out.Values[i] = ec._DeleteProcessingActivityPayload_deletedProcessingActivityId(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 deleteRightsRequestPayloadImplementors = []string{"DeleteRightsRequestPayload"}
|
|
|
|
func (ec *executionContext) _DeleteRightsRequestPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteRightsRequestPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteRightsRequestPayloadImplementors)
|
|
|
|
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("DeleteRightsRequestPayload")
|
|
case "deletedRightsRequestId":
|
|
out.Values[i] = ec._DeleteRightsRequestPayload_deletedRightsRequestId(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 deleteRiskDocumentMappingPayloadImplementors = []string{"DeleteRiskDocumentMappingPayload"}
|
|
|
|
func (ec *executionContext) _DeleteRiskDocumentMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteRiskDocumentMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteRiskDocumentMappingPayloadImplementors)
|
|
|
|
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("DeleteRiskDocumentMappingPayload")
|
|
case "deletedRiskId":
|
|
out.Values[i] = ec._DeleteRiskDocumentMappingPayload_deletedRiskId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deletedDocumentId":
|
|
out.Values[i] = ec._DeleteRiskDocumentMappingPayload_deletedDocumentId(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 deleteRiskMeasureMappingPayloadImplementors = []string{"DeleteRiskMeasureMappingPayload"}
|
|
|
|
func (ec *executionContext) _DeleteRiskMeasureMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteRiskMeasureMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteRiskMeasureMappingPayloadImplementors)
|
|
|
|
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("DeleteRiskMeasureMappingPayload")
|
|
case "deletedMeasureId":
|
|
out.Values[i] = ec._DeleteRiskMeasureMappingPayload_deletedMeasureId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deletedRiskId":
|
|
out.Values[i] = ec._DeleteRiskMeasureMappingPayload_deletedRiskId(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 deleteRiskObligationMappingPayloadImplementors = []string{"DeleteRiskObligationMappingPayload"}
|
|
|
|
func (ec *executionContext) _DeleteRiskObligationMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteRiskObligationMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteRiskObligationMappingPayloadImplementors)
|
|
|
|
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("DeleteRiskObligationMappingPayload")
|
|
case "deletedRiskId":
|
|
out.Values[i] = ec._DeleteRiskObligationMappingPayload_deletedRiskId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deletedObligationId":
|
|
out.Values[i] = ec._DeleteRiskObligationMappingPayload_deletedObligationId(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 deleteRiskPayloadImplementors = []string{"DeleteRiskPayload"}
|
|
|
|
func (ec *executionContext) _DeleteRiskPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteRiskPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteRiskPayloadImplementors)
|
|
|
|
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("DeleteRiskPayload")
|
|
case "deletedRiskId":
|
|
out.Values[i] = ec._DeleteRiskPayload_deletedRiskId(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 deleteSnapshotPayloadImplementors = []string{"DeleteSnapshotPayload"}
|
|
|
|
func (ec *executionContext) _DeleteSnapshotPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteSnapshotPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteSnapshotPayloadImplementors)
|
|
|
|
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("DeleteSnapshotPayload")
|
|
case "deletedSnapshotId":
|
|
out.Values[i] = ec._DeleteSnapshotPayload_deletedSnapshotId(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 deleteStateOfApplicabilityControlMappingPayloadImplementors = []string{"DeleteStateOfApplicabilityControlMappingPayload"}
|
|
|
|
func (ec *executionContext) _DeleteStateOfApplicabilityControlMappingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteStateOfApplicabilityControlMappingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteStateOfApplicabilityControlMappingPayloadImplementors)
|
|
|
|
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("DeleteStateOfApplicabilityControlMappingPayload")
|
|
case "deletedStateOfApplicabilityId":
|
|
out.Values[i] = ec._DeleteStateOfApplicabilityControlMappingPayload_deletedStateOfApplicabilityId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deletedControlId":
|
|
out.Values[i] = ec._DeleteStateOfApplicabilityControlMappingPayload_deletedControlId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deletedStateOfApplicabilityControlId":
|
|
out.Values[i] = ec._DeleteStateOfApplicabilityControlMappingPayload_deletedStateOfApplicabilityControlId(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 deleteStateOfApplicabilityPayloadImplementors = []string{"DeleteStateOfApplicabilityPayload"}
|
|
|
|
func (ec *executionContext) _DeleteStateOfApplicabilityPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteStateOfApplicabilityPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteStateOfApplicabilityPayloadImplementors)
|
|
|
|
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("DeleteStateOfApplicabilityPayload")
|
|
case "deletedStateOfApplicabilityId":
|
|
out.Values[i] = ec._DeleteStateOfApplicabilityPayload_deletedStateOfApplicabilityId(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 deleteTaskPayloadImplementors = []string{"DeleteTaskPayload"}
|
|
|
|
func (ec *executionContext) _DeleteTaskPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteTaskPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteTaskPayloadImplementors)
|
|
|
|
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("DeleteTaskPayload")
|
|
case "deletedTaskId":
|
|
out.Values[i] = ec._DeleteTaskPayload_deletedTaskId(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 deleteTransferImpactAssessmentPayloadImplementors = []string{"DeleteTransferImpactAssessmentPayload"}
|
|
|
|
func (ec *executionContext) _DeleteTransferImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteTransferImpactAssessmentPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteTransferImpactAssessmentPayloadImplementors)
|
|
|
|
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("DeleteTransferImpactAssessmentPayload")
|
|
case "deletedTransferImpactAssessmentId":
|
|
out.Values[i] = ec._DeleteTransferImpactAssessmentPayload_deletedTransferImpactAssessmentId(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 deleteTrustCenterAccessPayloadImplementors = []string{"DeleteTrustCenterAccessPayload"}
|
|
|
|
func (ec *executionContext) _DeleteTrustCenterAccessPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteTrustCenterAccessPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteTrustCenterAccessPayloadImplementors)
|
|
|
|
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("DeleteTrustCenterAccessPayload")
|
|
case "deletedTrustCenterAccessId":
|
|
out.Values[i] = ec._DeleteTrustCenterAccessPayload_deletedTrustCenterAccessId(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 deleteTrustCenterFilePayloadImplementors = []string{"DeleteTrustCenterFilePayload"}
|
|
|
|
func (ec *executionContext) _DeleteTrustCenterFilePayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteTrustCenterFilePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteTrustCenterFilePayloadImplementors)
|
|
|
|
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("DeleteTrustCenterFilePayload")
|
|
case "deletedTrustCenterFileId":
|
|
out.Values[i] = ec._DeleteTrustCenterFilePayload_deletedTrustCenterFileId(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 deleteTrustCenterNDAPayloadImplementors = []string{"DeleteTrustCenterNDAPayload"}
|
|
|
|
func (ec *executionContext) _DeleteTrustCenterNDAPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteTrustCenterNDAPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteTrustCenterNDAPayloadImplementors)
|
|
|
|
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("DeleteTrustCenterNDAPayload")
|
|
case "trustCenter":
|
|
out.Values[i] = ec._DeleteTrustCenterNDAPayload_trustCenter(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 deleteTrustCenterReferencePayloadImplementors = []string{"DeleteTrustCenterReferencePayload"}
|
|
|
|
func (ec *executionContext) _DeleteTrustCenterReferencePayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteTrustCenterReferencePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteTrustCenterReferencePayloadImplementors)
|
|
|
|
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("DeleteTrustCenterReferencePayload")
|
|
case "deletedTrustCenterReferenceId":
|
|
out.Values[i] = ec._DeleteTrustCenterReferencePayload_deletedTrustCenterReferenceId(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 deleteVendorBusinessAssociateAgreementPayloadImplementors = []string{"DeleteVendorBusinessAssociateAgreementPayload"}
|
|
|
|
func (ec *executionContext) _DeleteVendorBusinessAssociateAgreementPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteVendorBusinessAssociateAgreementPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteVendorBusinessAssociateAgreementPayloadImplementors)
|
|
|
|
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("DeleteVendorBusinessAssociateAgreementPayload")
|
|
case "deletedVendorId":
|
|
out.Values[i] = ec._DeleteVendorBusinessAssociateAgreementPayload_deletedVendorId(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 deleteVendorComplianceReportPayloadImplementors = []string{"DeleteVendorComplianceReportPayload"}
|
|
|
|
func (ec *executionContext) _DeleteVendorComplianceReportPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteVendorComplianceReportPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteVendorComplianceReportPayloadImplementors)
|
|
|
|
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("DeleteVendorComplianceReportPayload")
|
|
case "deletedVendorComplianceReportId":
|
|
out.Values[i] = ec._DeleteVendorComplianceReportPayload_deletedVendorComplianceReportId(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 deleteVendorContactPayloadImplementors = []string{"DeleteVendorContactPayload"}
|
|
|
|
func (ec *executionContext) _DeleteVendorContactPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteVendorContactPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteVendorContactPayloadImplementors)
|
|
|
|
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("DeleteVendorContactPayload")
|
|
case "deletedVendorContactId":
|
|
out.Values[i] = ec._DeleteVendorContactPayload_deletedVendorContactId(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 deleteVendorDataPrivacyAgreementPayloadImplementors = []string{"DeleteVendorDataPrivacyAgreementPayload"}
|
|
|
|
func (ec *executionContext) _DeleteVendorDataPrivacyAgreementPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteVendorDataPrivacyAgreementPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteVendorDataPrivacyAgreementPayloadImplementors)
|
|
|
|
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("DeleteVendorDataPrivacyAgreementPayload")
|
|
case "deletedVendorId":
|
|
out.Values[i] = ec._DeleteVendorDataPrivacyAgreementPayload_deletedVendorId(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 deleteVendorPayloadImplementors = []string{"DeleteVendorPayload"}
|
|
|
|
func (ec *executionContext) _DeleteVendorPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteVendorPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteVendorPayloadImplementors)
|
|
|
|
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("DeleteVendorPayload")
|
|
case "deletedVendorId":
|
|
out.Values[i] = ec._DeleteVendorPayload_deletedVendorId(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 deleteVendorServicePayloadImplementors = []string{"DeleteVendorServicePayload"}
|
|
|
|
func (ec *executionContext) _DeleteVendorServicePayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteVendorServicePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, deleteVendorServicePayloadImplementors)
|
|
|
|
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("DeleteVendorServicePayload")
|
|
case "deletedVendorServiceId":
|
|
out.Values[i] = ec._DeleteVendorServicePayload_deletedVendorServiceId(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 documentImplementors = []string{"Document", "Node"}
|
|
|
|
func (ec *executionContext) _Document(ctx context.Context, sel ast.SelectionSet, obj *types.Document) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, documentImplementors)
|
|
|
|
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("Document")
|
|
case "id":
|
|
out.Values[i] = ec._Document_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "title":
|
|
out.Values[i] = ec._Document_title(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec._Document_description(ctx, field, obj)
|
|
case "documentType":
|
|
out.Values[i] = ec._Document_documentType(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "classification":
|
|
out.Values[i] = ec._Document_classification(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "currentPublishedVersion":
|
|
out.Values[i] = ec._Document_currentPublishedVersion(ctx, field, obj)
|
|
case "trustCenterVisibility":
|
|
out.Values[i] = ec._Document_trustCenterVisibility(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "owner":
|
|
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._Document_owner(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 "organization":
|
|
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._Document_organization(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 "versions":
|
|
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._Document_versions(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 "controls":
|
|
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._Document_controls(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._Document_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Document_updatedAt(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._Document_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 documentConnectionImplementors = []string{"DocumentConnection"}
|
|
|
|
func (ec *executionContext) _DocumentConnection(ctx context.Context, sel ast.SelectionSet, obj *types.DocumentConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, documentConnectionImplementors)
|
|
|
|
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("DocumentConnection")
|
|
case "totalCount":
|
|
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._DocumentConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._DocumentConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._DocumentConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 documentEdgeImplementors = []string{"DocumentEdge"}
|
|
|
|
func (ec *executionContext) _DocumentEdge(ctx context.Context, sel ast.SelectionSet, obj *types.DocumentEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, documentEdgeImplementors)
|
|
|
|
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("DocumentEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._DocumentEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._DocumentEdge_node(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 documentVersionImplementors = []string{"DocumentVersion", "Node"}
|
|
|
|
func (ec *executionContext) _DocumentVersion(ctx context.Context, sel ast.SelectionSet, obj *types.DocumentVersion) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, documentVersionImplementors)
|
|
|
|
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("DocumentVersion")
|
|
case "id":
|
|
out.Values[i] = ec._DocumentVersion_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "document":
|
|
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._DocumentVersion_document(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 "status":
|
|
out.Values[i] = ec._DocumentVersion_status(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "version":
|
|
out.Values[i] = ec._DocumentVersion_version(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "content":
|
|
out.Values[i] = ec._DocumentVersion_content(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "changelog":
|
|
out.Values[i] = ec._DocumentVersion_changelog(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "title":
|
|
out.Values[i] = ec._DocumentVersion_title(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "classification":
|
|
out.Values[i] = ec._DocumentVersion_classification(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "owner":
|
|
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._DocumentVersion_owner(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 "signatures":
|
|
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._DocumentVersion_signatures(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 "signed":
|
|
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._DocumentVersion_signed(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 "publishedAt":
|
|
out.Values[i] = ec._DocumentVersion_publishedAt(ctx, field, obj)
|
|
case "createdAt":
|
|
out.Values[i] = ec._DocumentVersion_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._DocumentVersion_updatedAt(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._DocumentVersion_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 documentVersionConnectionImplementors = []string{"DocumentVersionConnection"}
|
|
|
|
func (ec *executionContext) _DocumentVersionConnection(ctx context.Context, sel ast.SelectionSet, obj *types.DocumentVersionConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, documentVersionConnectionImplementors)
|
|
|
|
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("DocumentVersionConnection")
|
|
case "edges":
|
|
out.Values[i] = ec._DocumentVersionConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._DocumentVersionConnection_pageInfo(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 documentVersionEdgeImplementors = []string{"DocumentVersionEdge"}
|
|
|
|
func (ec *executionContext) _DocumentVersionEdge(ctx context.Context, sel ast.SelectionSet, obj *types.DocumentVersionEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, documentVersionEdgeImplementors)
|
|
|
|
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("DocumentVersionEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._DocumentVersionEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._DocumentVersionEdge_node(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 documentVersionSignatureImplementors = []string{"DocumentVersionSignature", "Node"}
|
|
|
|
func (ec *executionContext) _DocumentVersionSignature(ctx context.Context, sel ast.SelectionSet, obj *types.DocumentVersionSignature) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, documentVersionSignatureImplementors)
|
|
|
|
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("DocumentVersionSignature")
|
|
case "id":
|
|
out.Values[i] = ec._DocumentVersionSignature_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "documentVersion":
|
|
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._DocumentVersionSignature_documentVersion(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 "state":
|
|
out.Values[i] = ec._DocumentVersionSignature_state(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "signedBy":
|
|
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._DocumentVersionSignature_signedBy(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 "signedAt":
|
|
out.Values[i] = ec._DocumentVersionSignature_signedAt(ctx, field, obj)
|
|
case "requestedAt":
|
|
out.Values[i] = ec._DocumentVersionSignature_requestedAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "createdAt":
|
|
out.Values[i] = ec._DocumentVersionSignature_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._DocumentVersionSignature_updatedAt(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._DocumentVersionSignature_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 documentVersionSignatureConnectionImplementors = []string{"DocumentVersionSignatureConnection"}
|
|
|
|
func (ec *executionContext) _DocumentVersionSignatureConnection(ctx context.Context, sel ast.SelectionSet, obj *types.DocumentVersionSignatureConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, documentVersionSignatureConnectionImplementors)
|
|
|
|
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("DocumentVersionSignatureConnection")
|
|
case "edges":
|
|
out.Values[i] = ec._DocumentVersionSignatureConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._DocumentVersionSignatureConnection_pageInfo(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 documentVersionSignatureEdgeImplementors = []string{"DocumentVersionSignatureEdge"}
|
|
|
|
func (ec *executionContext) _DocumentVersionSignatureEdge(ctx context.Context, sel ast.SelectionSet, obj *types.DocumentVersionSignatureEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, documentVersionSignatureEdgeImplementors)
|
|
|
|
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("DocumentVersionSignatureEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._DocumentVersionSignatureEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._DocumentVersionSignatureEdge_node(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 evidenceImplementors = []string{"Evidence", "Node"}
|
|
|
|
func (ec *executionContext) _Evidence(ctx context.Context, sel ast.SelectionSet, obj *types.Evidence) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, evidenceImplementors)
|
|
|
|
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("Evidence")
|
|
case "id":
|
|
out.Values[i] = ec._Evidence_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "size":
|
|
out.Values[i] = ec._Evidence_size(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "state":
|
|
out.Values[i] = ec._Evidence_state(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "type":
|
|
out.Values[i] = ec._Evidence_type(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "file":
|
|
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._Evidence_file(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 "url":
|
|
out.Values[i] = ec._Evidence_url(ctx, field, obj)
|
|
case "description":
|
|
out.Values[i] = ec._Evidence_description(ctx, field, obj)
|
|
case "task":
|
|
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._Evidence_task(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 "measure":
|
|
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._Evidence_measure(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._Evidence_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Evidence_updatedAt(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._Evidence_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 evidenceConnectionImplementors = []string{"EvidenceConnection"}
|
|
|
|
func (ec *executionContext) _EvidenceConnection(ctx context.Context, sel ast.SelectionSet, obj *types.EvidenceConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, evidenceConnectionImplementors)
|
|
|
|
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("EvidenceConnection")
|
|
case "totalCount":
|
|
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._EvidenceConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._EvidenceConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._EvidenceConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 evidenceEdgeImplementors = []string{"EvidenceEdge"}
|
|
|
|
func (ec *executionContext) _EvidenceEdge(ctx context.Context, sel ast.SelectionSet, obj *types.EvidenceEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, evidenceEdgeImplementors)
|
|
|
|
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("EvidenceEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._EvidenceEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._EvidenceEdge_node(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 exportDataProtectionImpactAssessmentsPDFPayloadImplementors = []string{"ExportDataProtectionImpactAssessmentsPDFPayload"}
|
|
|
|
func (ec *executionContext) _ExportDataProtectionImpactAssessmentsPDFPayload(ctx context.Context, sel ast.SelectionSet, obj *types.ExportDataProtectionImpactAssessmentsPDFPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, exportDataProtectionImpactAssessmentsPDFPayloadImplementors)
|
|
|
|
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("ExportDataProtectionImpactAssessmentsPDFPayload")
|
|
case "data":
|
|
out.Values[i] = ec._ExportDataProtectionImpactAssessmentsPDFPayload_data(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 exportDocumentVersionPDFPayloadImplementors = []string{"ExportDocumentVersionPDFPayload"}
|
|
|
|
func (ec *executionContext) _ExportDocumentVersionPDFPayload(ctx context.Context, sel ast.SelectionSet, obj *types.ExportDocumentVersionPDFPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, exportDocumentVersionPDFPayloadImplementors)
|
|
|
|
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("ExportDocumentVersionPDFPayload")
|
|
case "data":
|
|
out.Values[i] = ec._ExportDocumentVersionPDFPayload_data(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 exportFrameworkPayloadImplementors = []string{"ExportFrameworkPayload"}
|
|
|
|
func (ec *executionContext) _ExportFrameworkPayload(ctx context.Context, sel ast.SelectionSet, obj *types.ExportFrameworkPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, exportFrameworkPayloadImplementors)
|
|
|
|
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("ExportFrameworkPayload")
|
|
case "exportJobId":
|
|
out.Values[i] = ec._ExportFrameworkPayload_exportJobId(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 exportProcessingActivitiesPDFPayloadImplementors = []string{"ExportProcessingActivitiesPDFPayload"}
|
|
|
|
func (ec *executionContext) _ExportProcessingActivitiesPDFPayload(ctx context.Context, sel ast.SelectionSet, obj *types.ExportProcessingActivitiesPDFPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, exportProcessingActivitiesPDFPayloadImplementors)
|
|
|
|
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("ExportProcessingActivitiesPDFPayload")
|
|
case "data":
|
|
out.Values[i] = ec._ExportProcessingActivitiesPDFPayload_data(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 exportSignableDocumentVersionPDFPayloadImplementors = []string{"ExportSignableDocumentVersionPDFPayload"}
|
|
|
|
func (ec *executionContext) _ExportSignableDocumentVersionPDFPayload(ctx context.Context, sel ast.SelectionSet, obj *types.ExportSignableDocumentVersionPDFPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, exportSignableDocumentVersionPDFPayloadImplementors)
|
|
|
|
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("ExportSignableDocumentVersionPDFPayload")
|
|
case "data":
|
|
out.Values[i] = ec._ExportSignableDocumentVersionPDFPayload_data(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 exportStateOfApplicabilityPDFPayloadImplementors = []string{"ExportStateOfApplicabilityPDFPayload"}
|
|
|
|
func (ec *executionContext) _ExportStateOfApplicabilityPDFPayload(ctx context.Context, sel ast.SelectionSet, obj *types.ExportStateOfApplicabilityPDFPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, exportStateOfApplicabilityPDFPayloadImplementors)
|
|
|
|
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("ExportStateOfApplicabilityPDFPayload")
|
|
case "data":
|
|
out.Values[i] = ec._ExportStateOfApplicabilityPDFPayload_data(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 exportTransferImpactAssessmentsPDFPayloadImplementors = []string{"ExportTransferImpactAssessmentsPDFPayload"}
|
|
|
|
func (ec *executionContext) _ExportTransferImpactAssessmentsPDFPayload(ctx context.Context, sel ast.SelectionSet, obj *types.ExportTransferImpactAssessmentsPDFPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, exportTransferImpactAssessmentsPDFPayloadImplementors)
|
|
|
|
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("ExportTransferImpactAssessmentsPDFPayload")
|
|
case "data":
|
|
out.Values[i] = ec._ExportTransferImpactAssessmentsPDFPayload_data(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 fileImplementors = []string{"File"}
|
|
|
|
func (ec *executionContext) _File(ctx context.Context, sel ast.SelectionSet, obj *types.File) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, fileImplementors)
|
|
|
|
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("File")
|
|
case "id":
|
|
out.Values[i] = ec._File_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "mimeType":
|
|
out.Values[i] = ec._File_mimeType(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "fileName":
|
|
out.Values[i] = ec._File_fileName(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "size":
|
|
out.Values[i] = ec._File_size(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "downloadUrl":
|
|
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._File_downloadUrl(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._File_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._File_updatedAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 frameworkImplementors = []string{"Framework", "Node"}
|
|
|
|
func (ec *executionContext) _Framework(ctx context.Context, sel ast.SelectionSet, obj *types.Framework) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, frameworkImplementors)
|
|
|
|
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("Framework")
|
|
case "id":
|
|
out.Values[i] = ec._Framework_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "name":
|
|
out.Values[i] = ec._Framework_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec._Framework_description(ctx, field, obj)
|
|
case "organization":
|
|
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._Framework_organization(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 "controls":
|
|
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._Framework_controls(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 "lightLogoURL":
|
|
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._Framework_lightLogoURL(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 "darkLogoURL":
|
|
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._Framework_darkLogoURL(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 "createdAt":
|
|
out.Values[i] = ec._Framework_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Framework_updatedAt(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._Framework_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 frameworkConnectionImplementors = []string{"FrameworkConnection"}
|
|
|
|
func (ec *executionContext) _FrameworkConnection(ctx context.Context, sel ast.SelectionSet, obj *types.FrameworkConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, frameworkConnectionImplementors)
|
|
|
|
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("FrameworkConnection")
|
|
case "totalCount":
|
|
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._FrameworkConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._FrameworkConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._FrameworkConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 frameworkEdgeImplementors = []string{"FrameworkEdge"}
|
|
|
|
func (ec *executionContext) _FrameworkEdge(ctx context.Context, sel ast.SelectionSet, obj *types.FrameworkEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, frameworkEdgeImplementors)
|
|
|
|
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("FrameworkEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._FrameworkEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._FrameworkEdge_node(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 generateDocumentChangelogPayloadImplementors = []string{"GenerateDocumentChangelogPayload"}
|
|
|
|
func (ec *executionContext) _GenerateDocumentChangelogPayload(ctx context.Context, sel ast.SelectionSet, obj *types.GenerateDocumentChangelogPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, generateDocumentChangelogPayloadImplementors)
|
|
|
|
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("GenerateDocumentChangelogPayload")
|
|
case "changelog":
|
|
out.Values[i] = ec._GenerateDocumentChangelogPayload_changelog(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 generateFrameworkStateOfApplicabilityPayloadImplementors = []string{"GenerateFrameworkStateOfApplicabilityPayload"}
|
|
|
|
func (ec *executionContext) _GenerateFrameworkStateOfApplicabilityPayload(ctx context.Context, sel ast.SelectionSet, obj *types.GenerateFrameworkStateOfApplicabilityPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, generateFrameworkStateOfApplicabilityPayloadImplementors)
|
|
|
|
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("GenerateFrameworkStateOfApplicabilityPayload")
|
|
case "data":
|
|
out.Values[i] = ec._GenerateFrameworkStateOfApplicabilityPayload_data(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 getTrustCenterFilePayloadImplementors = []string{"GetTrustCenterFilePayload"}
|
|
|
|
func (ec *executionContext) _GetTrustCenterFilePayload(ctx context.Context, sel ast.SelectionSet, obj *types.GetTrustCenterFilePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, getTrustCenterFilePayloadImplementors)
|
|
|
|
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("GetTrustCenterFilePayload")
|
|
case "trustCenterFile":
|
|
out.Values[i] = ec._GetTrustCenterFilePayload_trustCenterFile(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 importFrameworkPayloadImplementors = []string{"ImportFrameworkPayload"}
|
|
|
|
func (ec *executionContext) _ImportFrameworkPayload(ctx context.Context, sel ast.SelectionSet, obj *types.ImportFrameworkPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, importFrameworkPayloadImplementors)
|
|
|
|
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("ImportFrameworkPayload")
|
|
case "frameworkEdge":
|
|
out.Values[i] = ec._ImportFrameworkPayload_frameworkEdge(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 importMeasurePayloadImplementors = []string{"ImportMeasurePayload"}
|
|
|
|
func (ec *executionContext) _ImportMeasurePayload(ctx context.Context, sel ast.SelectionSet, obj *types.ImportMeasurePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, importMeasurePayloadImplementors)
|
|
|
|
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("ImportMeasurePayload")
|
|
case "measureEdges":
|
|
out.Values[i] = ec._ImportMeasurePayload_measureEdges(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 measureImplementors = []string{"Measure", "Node"}
|
|
|
|
func (ec *executionContext) _Measure(ctx context.Context, sel ast.SelectionSet, obj *types.Measure) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, measureImplementors)
|
|
|
|
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("Measure")
|
|
case "id":
|
|
out.Values[i] = ec._Measure_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "category":
|
|
out.Values[i] = ec._Measure_category(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "name":
|
|
out.Values[i] = ec._Measure_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec._Measure_description(ctx, field, obj)
|
|
case "state":
|
|
out.Values[i] = ec._Measure_state(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "evidences":
|
|
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._Measure_evidences(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 "tasks":
|
|
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._Measure_tasks(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 "risks":
|
|
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._Measure_risks(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 "controls":
|
|
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._Measure_controls(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._Measure_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Measure_updatedAt(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._Measure_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 measureConnectionImplementors = []string{"MeasureConnection"}
|
|
|
|
func (ec *executionContext) _MeasureConnection(ctx context.Context, sel ast.SelectionSet, obj *types.MeasureConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, measureConnectionImplementors)
|
|
|
|
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("MeasureConnection")
|
|
case "totalCount":
|
|
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._MeasureConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._MeasureConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._MeasureConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 measureEdgeImplementors = []string{"MeasureEdge"}
|
|
|
|
func (ec *executionContext) _MeasureEdge(ctx context.Context, sel ast.SelectionSet, obj *types.MeasureEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, measureEdgeImplementors)
|
|
|
|
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("MeasureEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._MeasureEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._MeasureEdge_node(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 meetingImplementors = []string{"Meeting", "Node"}
|
|
|
|
func (ec *executionContext) _Meeting(ctx context.Context, sel ast.SelectionSet, obj *types.Meeting) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, meetingImplementors)
|
|
|
|
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("Meeting")
|
|
case "id":
|
|
out.Values[i] = ec._Meeting_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "name":
|
|
out.Values[i] = ec._Meeting_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "date":
|
|
out.Values[i] = ec._Meeting_date(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "minutes":
|
|
out.Values[i] = ec._Meeting_minutes(ctx, field, obj)
|
|
case "attendees":
|
|
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._Meeting_attendees(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 "organization":
|
|
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._Meeting_organization(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._Meeting_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Meeting_updatedAt(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._Meeting_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 meetingConnectionImplementors = []string{"MeetingConnection"}
|
|
|
|
func (ec *executionContext) _MeetingConnection(ctx context.Context, sel ast.SelectionSet, obj *types.MeetingConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, meetingConnectionImplementors)
|
|
|
|
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("MeetingConnection")
|
|
case "totalCount":
|
|
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._MeetingConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._MeetingConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._MeetingConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 meetingEdgeImplementors = []string{"MeetingEdge"}
|
|
|
|
func (ec *executionContext) _MeetingEdge(ctx context.Context, sel ast.SelectionSet, obj *types.MeetingEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, meetingEdgeImplementors)
|
|
|
|
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("MeetingEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._MeetingEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._MeetingEdge_node(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 mutationImplementors = []string{"Mutation"}
|
|
|
|
func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, mutationImplementors)
|
|
ctx = graphql.WithFieldContext(ctx, &graphql.FieldContext{
|
|
Object: "Mutation",
|
|
})
|
|
|
|
out := graphql.NewFieldSet(fields)
|
|
deferred := make(map[string]*graphql.FieldSet)
|
|
for i, field := range fields {
|
|
innerCtx := graphql.WithRootFieldContext(ctx, &graphql.RootFieldContext{
|
|
Object: field.Name,
|
|
Field: field,
|
|
})
|
|
|
|
switch field.Name {
|
|
case "__typename":
|
|
out.Values[i] = graphql.MarshalString("Mutation")
|
|
case "updateOrganizationContext":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateOrganizationContext(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateTrustCenter":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateTrustCenter(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "uploadTrustCenterNDA":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_uploadTrustCenterNDA(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteTrustCenterNDA":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteTrustCenterNDA(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createTrustCenterAccess":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createTrustCenterAccess(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateTrustCenterAccess":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateTrustCenterAccess(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteTrustCenterAccess":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteTrustCenterAccess(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createTrustCenterReference":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createTrustCenterReference(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateTrustCenterReference":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateTrustCenterReference(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteTrustCenterReference":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteTrustCenterReference(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createTrustCenterFile":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createTrustCenterFile(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateTrustCenterFile":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateTrustCenterFile(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "getTrustCenterFile":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_getTrustCenterFile(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteTrustCenterFile":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteTrustCenterFile(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createPeople":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createPeople(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updatePeople":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updatePeople(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deletePeople":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deletePeople(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createVendor":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createVendor(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateVendor":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateVendor(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteVendor":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteVendor(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createVendorContact":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createVendorContact(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateVendorContact":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateVendorContact(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteVendorContact":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteVendorContact(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createVendorService":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createVendorService(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateVendorService":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateVendorService(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteVendorService":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteVendorService(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createFramework":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createFramework(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateFramework":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateFramework(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "importFramework":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_importFramework(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteFramework":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteFramework(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "generateFrameworkStateOfApplicability":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_generateFrameworkStateOfApplicability(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "exportFramework":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_exportFramework(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createControl":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createControl(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateControl":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateControl(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteControl":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteControl(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createMeasure":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createMeasure(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateMeasure":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateMeasure(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "importMeasure":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_importMeasure(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteMeasure":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteMeasure(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createControlMeasureMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createControlMeasureMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createControlDocumentMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createControlDocumentMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteControlMeasureMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteControlMeasureMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteControlDocumentMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteControlDocumentMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createStateOfApplicabilityControlMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createStateOfApplicabilityControlMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteStateOfApplicabilityControlMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteStateOfApplicabilityControlMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createControlAuditMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createControlAuditMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteControlAuditMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteControlAuditMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createControlObligationMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createControlObligationMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteControlObligationMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteControlObligationMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createControlSnapshotMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createControlSnapshotMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteControlSnapshotMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteControlSnapshotMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createTask":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createTask(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateTask":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateTask(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteTask":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteTask(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createRisk":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createRisk(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateRisk":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateRisk(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteRisk":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteRisk(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createRiskMeasureMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createRiskMeasureMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteRiskMeasureMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteRiskMeasureMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createRiskDocumentMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createRiskDocumentMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteRiskDocumentMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteRiskDocumentMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createRiskObligationMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createRiskObligationMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteRiskObligationMapping":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteRiskObligationMapping(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteEvidence":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteEvidence(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "uploadMeasureEvidence":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_uploadMeasureEvidence(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "uploadVendorComplianceReport":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_uploadVendorComplianceReport(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteVendorComplianceReport":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteVendorComplianceReport(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "uploadVendorBusinessAssociateAgreement":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_uploadVendorBusinessAssociateAgreement(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateVendorBusinessAssociateAgreement":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateVendorBusinessAssociateAgreement(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteVendorBusinessAssociateAgreement":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteVendorBusinessAssociateAgreement(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "uploadVendorDataPrivacyAgreement":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_uploadVendorDataPrivacyAgreement(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateVendorDataPrivacyAgreement":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateVendorDataPrivacyAgreement(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteVendorDataPrivacyAgreement":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteVendorDataPrivacyAgreement(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createDocument":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createDocument(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateDocument":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateDocument(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteDocument":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteDocument(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createMeeting":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createMeeting(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateMeeting":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateMeeting(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteMeeting":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteMeeting(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createStateOfApplicability":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createStateOfApplicability(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateStateOfApplicability":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateStateOfApplicability(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteStateOfApplicability":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteStateOfApplicability(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "exportStateOfApplicabilityPDF":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_exportStateOfApplicabilityPDF(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "publishDocumentVersion":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_publishDocumentVersion(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "bulkPublishDocumentVersions":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_bulkPublishDocumentVersions(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "bulkDeleteDocuments":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_bulkDeleteDocuments(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "bulkExportDocuments":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_bulkExportDocuments(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "generateDocumentChangelog":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_generateDocumentChangelog(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createDraftDocumentVersion":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createDraftDocumentVersion(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteDraftDocumentVersion":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteDraftDocumentVersion(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateDocumentVersion":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateDocumentVersion(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "requestSignature":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_requestSignature(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "bulkRequestSignatures":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_bulkRequestSignatures(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "sendSigningNotifications":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_sendSigningNotifications(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "cancelSignatureRequest":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_cancelSignatureRequest(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "signDocument":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_signDocument(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "exportDocumentVersionPDF":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_exportDocumentVersionPDF(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "exportSignableVersionDocumentPDF":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_exportSignableVersionDocumentPDF(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "exportProcessingActivitiesPDF":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_exportProcessingActivitiesPDF(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "exportDataProtectionImpactAssessmentsPDF":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_exportDataProtectionImpactAssessmentsPDF(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "exportTransferImpactAssessmentsPDF":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_exportTransferImpactAssessmentsPDF(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createVendorRiskAssessment":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createVendorRiskAssessment(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "assessVendor":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_assessVendor(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createAsset":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createAsset(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateAsset":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateAsset(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteAsset":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteAsset(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createDatum":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createDatum(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateDatum":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateDatum(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteDatum":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteDatum(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createAudit":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createAudit(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateAudit":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateAudit(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteAudit":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteAudit(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "uploadAuditReport":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_uploadAuditReport(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteAuditReport":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteAuditReport(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createNonconformity":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createNonconformity(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateNonconformity":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateNonconformity(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteNonconformity":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteNonconformity(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createObligation":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createObligation(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateObligation":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateObligation(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteObligation":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteObligation(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createContinualImprovement":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createContinualImprovement(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateContinualImprovement":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateContinualImprovement(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteContinualImprovement":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteContinualImprovement(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createRightsRequest":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createRightsRequest(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateRightsRequest":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateRightsRequest(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteRightsRequest":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteRightsRequest(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createProcessingActivity":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createProcessingActivity(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateProcessingActivity":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateProcessingActivity(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteProcessingActivity":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteProcessingActivity(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createDataProtectionImpactAssessment":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createDataProtectionImpactAssessment(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateDataProtectionImpactAssessment":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateDataProtectionImpactAssessment(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteDataProtectionImpactAssessment":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteDataProtectionImpactAssessment(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createTransferImpactAssessment":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createTransferImpactAssessment(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updateTransferImpactAssessment":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_updateTransferImpactAssessment(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteTransferImpactAssessment":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteTransferImpactAssessment(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createSnapshot":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createSnapshot(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteSnapshot":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteSnapshot(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "createCustomDomain":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_createCustomDomain(ctx, field)
|
|
})
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deleteCustomDomain":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Mutation_deleteCustomDomain(ctx, field)
|
|
})
|
|
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 nonconformityImplementors = []string{"Nonconformity", "Node"}
|
|
|
|
func (ec *executionContext) _Nonconformity(ctx context.Context, sel ast.SelectionSet, obj *types.Nonconformity) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, nonconformityImplementors)
|
|
|
|
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("Nonconformity")
|
|
case "id":
|
|
out.Values[i] = ec._Nonconformity_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "snapshotId":
|
|
out.Values[i] = ec._Nonconformity_snapshotId(ctx, field, obj)
|
|
case "organization":
|
|
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._Nonconformity_organization(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 "referenceId":
|
|
out.Values[i] = ec._Nonconformity_referenceId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec._Nonconformity_description(ctx, field, obj)
|
|
case "audit":
|
|
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._Nonconformity_audit(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 "dateIdentified":
|
|
out.Values[i] = ec._Nonconformity_dateIdentified(ctx, field, obj)
|
|
case "rootCause":
|
|
out.Values[i] = ec._Nonconformity_rootCause(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "correctiveAction":
|
|
out.Values[i] = ec._Nonconformity_correctiveAction(ctx, field, obj)
|
|
case "owner":
|
|
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._Nonconformity_owner(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 "dueDate":
|
|
out.Values[i] = ec._Nonconformity_dueDate(ctx, field, obj)
|
|
case "status":
|
|
out.Values[i] = ec._Nonconformity_status(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "effectivenessCheck":
|
|
out.Values[i] = ec._Nonconformity_effectivenessCheck(ctx, field, obj)
|
|
case "createdAt":
|
|
out.Values[i] = ec._Nonconformity_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Nonconformity_updatedAt(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._Nonconformity_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 nonconformityConnectionImplementors = []string{"NonconformityConnection"}
|
|
|
|
func (ec *executionContext) _NonconformityConnection(ctx context.Context, sel ast.SelectionSet, obj *types.NonconformityConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, nonconformityConnectionImplementors)
|
|
|
|
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("NonconformityConnection")
|
|
case "totalCount":
|
|
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._NonconformityConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._NonconformityConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._NonconformityConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 nonconformityEdgeImplementors = []string{"NonconformityEdge"}
|
|
|
|
func (ec *executionContext) _NonconformityEdge(ctx context.Context, sel ast.SelectionSet, obj *types.NonconformityEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, nonconformityEdgeImplementors)
|
|
|
|
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("NonconformityEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._NonconformityEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._NonconformityEdge_node(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 obligationImplementors = []string{"Obligation", "Node"}
|
|
|
|
func (ec *executionContext) _Obligation(ctx context.Context, sel ast.SelectionSet, obj *types.Obligation) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, obligationImplementors)
|
|
|
|
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("Obligation")
|
|
case "id":
|
|
out.Values[i] = ec._Obligation_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "snapshotId":
|
|
out.Values[i] = ec._Obligation_snapshotId(ctx, field, obj)
|
|
case "sourceId":
|
|
out.Values[i] = ec._Obligation_sourceId(ctx, field, obj)
|
|
case "organization":
|
|
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._Obligation_organization(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 "area":
|
|
out.Values[i] = ec._Obligation_area(ctx, field, obj)
|
|
case "source":
|
|
out.Values[i] = ec._Obligation_source(ctx, field, obj)
|
|
case "requirement":
|
|
out.Values[i] = ec._Obligation_requirement(ctx, field, obj)
|
|
case "actionsToBeImplemented":
|
|
out.Values[i] = ec._Obligation_actionsToBeImplemented(ctx, field, obj)
|
|
case "regulator":
|
|
out.Values[i] = ec._Obligation_regulator(ctx, field, obj)
|
|
case "owner":
|
|
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._Obligation_owner(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 "lastReviewDate":
|
|
out.Values[i] = ec._Obligation_lastReviewDate(ctx, field, obj)
|
|
case "dueDate":
|
|
out.Values[i] = ec._Obligation_dueDate(ctx, field, obj)
|
|
case "status":
|
|
out.Values[i] = ec._Obligation_status(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "type":
|
|
out.Values[i] = ec._Obligation_type(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "createdAt":
|
|
out.Values[i] = ec._Obligation_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Obligation_updatedAt(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._Obligation_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 obligationConnectionImplementors = []string{"ObligationConnection"}
|
|
|
|
func (ec *executionContext) _ObligationConnection(ctx context.Context, sel ast.SelectionSet, obj *types.ObligationConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, obligationConnectionImplementors)
|
|
|
|
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("ObligationConnection")
|
|
case "totalCount":
|
|
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._ObligationConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._ObligationConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._ObligationConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 obligationEdgeImplementors = []string{"ObligationEdge"}
|
|
|
|
func (ec *executionContext) _ObligationEdge(ctx context.Context, sel ast.SelectionSet, obj *types.ObligationEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, obligationEdgeImplementors)
|
|
|
|
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("ObligationEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._ObligationEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._ObligationEdge_node(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 organizationImplementors = []string{"Organization", "Node"}
|
|
|
|
func (ec *executionContext) _Organization(ctx context.Context, sel ast.SelectionSet, obj *types.Organization) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, organizationImplementors)
|
|
|
|
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("Organization")
|
|
case "id":
|
|
out.Values[i] = ec._Organization_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "name":
|
|
out.Values[i] = ec._Organization_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "logoUrl":
|
|
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_logoUrl(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 "horizontalLogoUrl":
|
|
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_horizontalLogoUrl(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 "description":
|
|
out.Values[i] = ec._Organization_description(ctx, field, obj)
|
|
case "websiteUrl":
|
|
out.Values[i] = ec._Organization_websiteUrl(ctx, field, obj)
|
|
case "email":
|
|
out.Values[i] = ec._Organization_email(ctx, field, obj)
|
|
case "headquarterAddress":
|
|
out.Values[i] = ec._Organization_headquarterAddress(ctx, field, obj)
|
|
case "context":
|
|
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_context(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 "slackConnections":
|
|
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._Organization_slackConnections(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 "frameworks":
|
|
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._Organization_frameworks(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 "controls":
|
|
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._Organization_controls(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 "vendors":
|
|
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._Organization_vendors(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 "peoples":
|
|
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._Organization_peoples(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 "documents":
|
|
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._Organization_documents(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 "meetings":
|
|
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._Organization_meetings(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 "statesOfApplicability":
|
|
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._Organization_statesOfApplicability(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 "measures":
|
|
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._Organization_measures(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 "risks":
|
|
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._Organization_risks(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 "tasks":
|
|
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._Organization_tasks(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 "assets":
|
|
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._Organization_assets(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 "data":
|
|
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._Organization_data(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 "audits":
|
|
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._Organization_audits(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 "nonconformities":
|
|
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._Organization_nonconformities(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 "obligations":
|
|
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._Organization_obligations(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 "continualImprovements":
|
|
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._Organization_continualImprovements(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 "rightsRequests":
|
|
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._Organization_rightsRequests(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 "processingActivities":
|
|
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._Organization_processingActivities(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 "dataProtectionImpactAssessments":
|
|
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._Organization_dataProtectionImpactAssessments(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 "transferImpactAssessments":
|
|
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._Organization_transferImpactAssessments(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 "snapshots":
|
|
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._Organization_snapshots(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 "trustCenterFiles":
|
|
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._Organization_trustCenterFiles(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 "trustCenter":
|
|
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_trustCenter(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 "customDomain":
|
|
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_customDomain(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 "createdAt":
|
|
out.Values[i] = ec._Organization_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Organization_updatedAt(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._Organization_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 organizationContextImplementors = []string{"OrganizationContext"}
|
|
|
|
func (ec *executionContext) _OrganizationContext(ctx context.Context, sel ast.SelectionSet, obj *types.OrganizationContext) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, organizationContextImplementors)
|
|
|
|
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("OrganizationContext")
|
|
case "organizationId":
|
|
out.Values[i] = ec._OrganizationContext_organizationId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "summary":
|
|
out.Values[i] = ec._OrganizationContext_summary(ctx, field, obj)
|
|
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 pageInfoImplementors = []string{"PageInfo"}
|
|
|
|
func (ec *executionContext) _PageInfo(ctx context.Context, sel ast.SelectionSet, obj *types.PageInfo) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, pageInfoImplementors)
|
|
|
|
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("PageInfo")
|
|
case "hasNextPage":
|
|
out.Values[i] = ec._PageInfo_hasNextPage(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "hasPreviousPage":
|
|
out.Values[i] = ec._PageInfo_hasPreviousPage(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "startCursor":
|
|
out.Values[i] = ec._PageInfo_startCursor(ctx, field, obj)
|
|
case "endCursor":
|
|
out.Values[i] = ec._PageInfo_endCursor(ctx, field, obj)
|
|
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 peopleImplementors = []string{"People", "Node"}
|
|
|
|
func (ec *executionContext) _People(ctx context.Context, sel ast.SelectionSet, obj *types.People) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, peopleImplementors)
|
|
|
|
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("People")
|
|
case "id":
|
|
out.Values[i] = ec._People_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "fullName":
|
|
out.Values[i] = ec._People_fullName(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "primaryEmailAddress":
|
|
out.Values[i] = ec._People_primaryEmailAddress(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "additionalEmailAddresses":
|
|
out.Values[i] = ec._People_additionalEmailAddresses(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "kind":
|
|
out.Values[i] = ec._People_kind(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "position":
|
|
out.Values[i] = ec._People_position(ctx, field, obj)
|
|
case "contractStartDate":
|
|
out.Values[i] = ec._People_contractStartDate(ctx, field, obj)
|
|
case "contractEndDate":
|
|
out.Values[i] = ec._People_contractEndDate(ctx, field, obj)
|
|
case "createdAt":
|
|
out.Values[i] = ec._People_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._People_updatedAt(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._People_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 peopleConnectionImplementors = []string{"PeopleConnection"}
|
|
|
|
func (ec *executionContext) _PeopleConnection(ctx context.Context, sel ast.SelectionSet, obj *types.PeopleConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, peopleConnectionImplementors)
|
|
|
|
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("PeopleConnection")
|
|
case "totalCount":
|
|
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._PeopleConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._PeopleConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._PeopleConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 peopleEdgeImplementors = []string{"PeopleEdge"}
|
|
|
|
func (ec *executionContext) _PeopleEdge(ctx context.Context, sel ast.SelectionSet, obj *types.PeopleEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, peopleEdgeImplementors)
|
|
|
|
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("PeopleEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._PeopleEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._PeopleEdge_node(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 processingActivityImplementors = []string{"ProcessingActivity", "Node"}
|
|
|
|
func (ec *executionContext) _ProcessingActivity(ctx context.Context, sel ast.SelectionSet, obj *types.ProcessingActivity) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, processingActivityImplementors)
|
|
|
|
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("ProcessingActivity")
|
|
case "id":
|
|
out.Values[i] = ec._ProcessingActivity_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "snapshotId":
|
|
out.Values[i] = ec._ProcessingActivity_snapshotId(ctx, field, obj)
|
|
case "sourceId":
|
|
out.Values[i] = ec._ProcessingActivity_sourceId(ctx, field, obj)
|
|
case "organization":
|
|
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._ProcessingActivity_organization(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 "name":
|
|
out.Values[i] = ec._ProcessingActivity_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "purpose":
|
|
out.Values[i] = ec._ProcessingActivity_purpose(ctx, field, obj)
|
|
case "dataSubjectCategory":
|
|
out.Values[i] = ec._ProcessingActivity_dataSubjectCategory(ctx, field, obj)
|
|
case "personalDataCategory":
|
|
out.Values[i] = ec._ProcessingActivity_personalDataCategory(ctx, field, obj)
|
|
case "specialOrCriminalData":
|
|
out.Values[i] = ec._ProcessingActivity_specialOrCriminalData(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "consentEvidenceLink":
|
|
out.Values[i] = ec._ProcessingActivity_consentEvidenceLink(ctx, field, obj)
|
|
case "lawfulBasis":
|
|
out.Values[i] = ec._ProcessingActivity_lawfulBasis(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "recipients":
|
|
out.Values[i] = ec._ProcessingActivity_recipients(ctx, field, obj)
|
|
case "location":
|
|
out.Values[i] = ec._ProcessingActivity_location(ctx, field, obj)
|
|
case "internationalTransfers":
|
|
out.Values[i] = ec._ProcessingActivity_internationalTransfers(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "transferSafeguards":
|
|
out.Values[i] = ec._ProcessingActivity_transferSafeguards(ctx, field, obj)
|
|
case "retentionPeriod":
|
|
out.Values[i] = ec._ProcessingActivity_retentionPeriod(ctx, field, obj)
|
|
case "securityMeasures":
|
|
out.Values[i] = ec._ProcessingActivity_securityMeasures(ctx, field, obj)
|
|
case "dataProtectionImpactAssessmentNeeded":
|
|
out.Values[i] = ec._ProcessingActivity_dataProtectionImpactAssessmentNeeded(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "transferImpactAssessmentNeeded":
|
|
out.Values[i] = ec._ProcessingActivity_transferImpactAssessmentNeeded(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "lastReviewDate":
|
|
out.Values[i] = ec._ProcessingActivity_lastReviewDate(ctx, field, obj)
|
|
case "nextReviewDate":
|
|
out.Values[i] = ec._ProcessingActivity_nextReviewDate(ctx, field, obj)
|
|
case "role":
|
|
out.Values[i] = ec._ProcessingActivity_role(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "dataProtectionOfficer":
|
|
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._ProcessingActivity_dataProtectionOfficer(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 "vendors":
|
|
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._ProcessingActivity_vendors(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 "dataProtectionImpactAssessment":
|
|
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._ProcessingActivity_dataProtectionImpactAssessment(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 "transferImpactAssessment":
|
|
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._ProcessingActivity_transferImpactAssessment(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 "createdAt":
|
|
out.Values[i] = ec._ProcessingActivity_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._ProcessingActivity_updatedAt(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._ProcessingActivity_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 processingActivityConnectionImplementors = []string{"ProcessingActivityConnection"}
|
|
|
|
func (ec *executionContext) _ProcessingActivityConnection(ctx context.Context, sel ast.SelectionSet, obj *types.ProcessingActivityConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, processingActivityConnectionImplementors)
|
|
|
|
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("ProcessingActivityConnection")
|
|
case "totalCount":
|
|
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._ProcessingActivityConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._ProcessingActivityConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._ProcessingActivityConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 processingActivityEdgeImplementors = []string{"ProcessingActivityEdge"}
|
|
|
|
func (ec *executionContext) _ProcessingActivityEdge(ctx context.Context, sel ast.SelectionSet, obj *types.ProcessingActivityEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, processingActivityEdgeImplementors)
|
|
|
|
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("ProcessingActivityEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._ProcessingActivityEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._ProcessingActivityEdge_node(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 publishDocumentVersionPayloadImplementors = []string{"PublishDocumentVersionPayload"}
|
|
|
|
func (ec *executionContext) _PublishDocumentVersionPayload(ctx context.Context, sel ast.SelectionSet, obj *types.PublishDocumentVersionPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, publishDocumentVersionPayloadImplementors)
|
|
|
|
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("PublishDocumentVersionPayload")
|
|
case "documentVersion":
|
|
out.Values[i] = ec._PublishDocumentVersionPayload_documentVersion(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "document":
|
|
out.Values[i] = ec._PublishDocumentVersionPayload_document(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 queryImplementors = []string{"Query"}
|
|
|
|
func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, queryImplementors)
|
|
ctx = graphql.WithFieldContext(ctx, &graphql.FieldContext{
|
|
Object: "Query",
|
|
})
|
|
|
|
out := graphql.NewFieldSet(fields)
|
|
deferred := make(map[string]*graphql.FieldSet)
|
|
for i, field := range fields {
|
|
innerCtx := graphql.WithRootFieldContext(ctx, &graphql.RootFieldContext{
|
|
Object: field.Name,
|
|
Field: field,
|
|
})
|
|
|
|
switch field.Name {
|
|
case "__typename":
|
|
out.Values[i] = graphql.MarshalString("Query")
|
|
case "node":
|
|
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._Query_node(ctx, field)
|
|
if res == graphql.Null {
|
|
atomic.AddUint32(&fs.Invalids, 1)
|
|
}
|
|
return res
|
|
}
|
|
|
|
rrm := func(ctx context.Context) graphql.Marshaler {
|
|
return ec.OperationContext.RootResolverMiddleware(ctx,
|
|
func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
|
|
}
|
|
|
|
out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
|
|
case "viewer":
|
|
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._Query_viewer(ctx, field)
|
|
if res == graphql.Null {
|
|
atomic.AddUint32(&fs.Invalids, 1)
|
|
}
|
|
return res
|
|
}
|
|
|
|
rrm := func(ctx context.Context) graphql.Marshaler {
|
|
return ec.OperationContext.RootResolverMiddleware(ctx,
|
|
func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
|
|
}
|
|
|
|
out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
|
|
case "__type":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Query___type(ctx, field)
|
|
})
|
|
case "__schema":
|
|
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
|
|
return ec._Query___schema(ctx, field)
|
|
})
|
|
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 reportImplementors = []string{"Report", "Node"}
|
|
|
|
func (ec *executionContext) _Report(ctx context.Context, sel ast.SelectionSet, obj *types.Report) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, reportImplementors)
|
|
|
|
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("Report")
|
|
case "id":
|
|
out.Values[i] = ec._Report_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "objectKey":
|
|
out.Values[i] = ec._Report_objectKey(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "mimeType":
|
|
out.Values[i] = ec._Report_mimeType(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "filename":
|
|
out.Values[i] = ec._Report_filename(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "size":
|
|
out.Values[i] = ec._Report_size(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "downloadUrl":
|
|
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._Report_downloadUrl(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 "createdAt":
|
|
out.Values[i] = ec._Report_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Report_updatedAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "audit":
|
|
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._Report_audit(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._Report_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 requestSignaturePayloadImplementors = []string{"RequestSignaturePayload"}
|
|
|
|
func (ec *executionContext) _RequestSignaturePayload(ctx context.Context, sel ast.SelectionSet, obj *types.RequestSignaturePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, requestSignaturePayloadImplementors)
|
|
|
|
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("RequestSignaturePayload")
|
|
case "documentVersionSignatureEdge":
|
|
out.Values[i] = ec._RequestSignaturePayload_documentVersionSignatureEdge(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 rightsRequestImplementors = []string{"RightsRequest", "Node"}
|
|
|
|
func (ec *executionContext) _RightsRequest(ctx context.Context, sel ast.SelectionSet, obj *types.RightsRequest) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, rightsRequestImplementors)
|
|
|
|
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("RightsRequest")
|
|
case "id":
|
|
out.Values[i] = ec._RightsRequest_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "organization":
|
|
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._RightsRequest_organization(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 "requestType":
|
|
out.Values[i] = ec._RightsRequest_requestType(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "requestState":
|
|
out.Values[i] = ec._RightsRequest_requestState(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "dataSubject":
|
|
out.Values[i] = ec._RightsRequest_dataSubject(ctx, field, obj)
|
|
case "contact":
|
|
out.Values[i] = ec._RightsRequest_contact(ctx, field, obj)
|
|
case "details":
|
|
out.Values[i] = ec._RightsRequest_details(ctx, field, obj)
|
|
case "deadline":
|
|
out.Values[i] = ec._RightsRequest_deadline(ctx, field, obj)
|
|
case "actionTaken":
|
|
out.Values[i] = ec._RightsRequest_actionTaken(ctx, field, obj)
|
|
case "createdAt":
|
|
out.Values[i] = ec._RightsRequest_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._RightsRequest_updatedAt(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._RightsRequest_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 rightsRequestConnectionImplementors = []string{"RightsRequestConnection"}
|
|
|
|
func (ec *executionContext) _RightsRequestConnection(ctx context.Context, sel ast.SelectionSet, obj *types.RightsRequestConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, rightsRequestConnectionImplementors)
|
|
|
|
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("RightsRequestConnection")
|
|
case "totalCount":
|
|
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._RightsRequestConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._RightsRequestConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._RightsRequestConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 rightsRequestEdgeImplementors = []string{"RightsRequestEdge"}
|
|
|
|
func (ec *executionContext) _RightsRequestEdge(ctx context.Context, sel ast.SelectionSet, obj *types.RightsRequestEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, rightsRequestEdgeImplementors)
|
|
|
|
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("RightsRequestEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._RightsRequestEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._RightsRequestEdge_node(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 riskImplementors = []string{"Risk", "Node"}
|
|
|
|
func (ec *executionContext) _Risk(ctx context.Context, sel ast.SelectionSet, obj *types.Risk) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, riskImplementors)
|
|
|
|
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("Risk")
|
|
case "id":
|
|
out.Values[i] = ec._Risk_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "snapshotId":
|
|
out.Values[i] = ec._Risk_snapshotId(ctx, field, obj)
|
|
case "name":
|
|
out.Values[i] = ec._Risk_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec._Risk_description(ctx, field, obj)
|
|
case "category":
|
|
out.Values[i] = ec._Risk_category(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "treatment":
|
|
out.Values[i] = ec._Risk_treatment(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "inherentLikelihood":
|
|
out.Values[i] = ec._Risk_inherentLikelihood(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "inherentImpact":
|
|
out.Values[i] = ec._Risk_inherentImpact(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "inherentRiskScore":
|
|
out.Values[i] = ec._Risk_inherentRiskScore(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "residualLikelihood":
|
|
out.Values[i] = ec._Risk_residualLikelihood(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "residualImpact":
|
|
out.Values[i] = ec._Risk_residualImpact(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "residualRiskScore":
|
|
out.Values[i] = ec._Risk_residualRiskScore(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "note":
|
|
out.Values[i] = ec._Risk_note(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "owner":
|
|
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._Risk_owner(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 "organization":
|
|
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._Risk_organization(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 "measures":
|
|
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._Risk_measures(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 "documents":
|
|
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._Risk_documents(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 "controls":
|
|
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._Risk_controls(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 "obligations":
|
|
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._Risk_obligations(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._Risk_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Risk_updatedAt(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._Risk_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 riskConnectionImplementors = []string{"RiskConnection"}
|
|
|
|
func (ec *executionContext) _RiskConnection(ctx context.Context, sel ast.SelectionSet, obj *types.RiskConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, riskConnectionImplementors)
|
|
|
|
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("RiskConnection")
|
|
case "totalCount":
|
|
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._RiskConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._RiskConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._RiskConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 riskEdgeImplementors = []string{"RiskEdge"}
|
|
|
|
func (ec *executionContext) _RiskEdge(ctx context.Context, sel ast.SelectionSet, obj *types.RiskEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, riskEdgeImplementors)
|
|
|
|
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("RiskEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._RiskEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._RiskEdge_node(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 sendSigningNotificationsPayloadImplementors = []string{"SendSigningNotificationsPayload"}
|
|
|
|
func (ec *executionContext) _SendSigningNotificationsPayload(ctx context.Context, sel ast.SelectionSet, obj *types.SendSigningNotificationsPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, sendSigningNotificationsPayloadImplementors)
|
|
|
|
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("SendSigningNotificationsPayload")
|
|
case "success":
|
|
out.Values[i] = ec._SendSigningNotificationsPayload_success(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 signDocumentPayloadImplementors = []string{"SignDocumentPayload"}
|
|
|
|
func (ec *executionContext) _SignDocumentPayload(ctx context.Context, sel ast.SelectionSet, obj *types.SignDocumentPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, signDocumentPayloadImplementors)
|
|
|
|
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("SignDocumentPayload")
|
|
case "documentVersionSignature":
|
|
out.Values[i] = ec._SignDocumentPayload_documentVersionSignature(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 signableDocumentImplementors = []string{"SignableDocument"}
|
|
|
|
func (ec *executionContext) _SignableDocument(ctx context.Context, sel ast.SelectionSet, obj *types.SignableDocument) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, signableDocumentImplementors)
|
|
|
|
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("SignableDocument")
|
|
case "id":
|
|
out.Values[i] = ec._SignableDocument_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "title":
|
|
out.Values[i] = ec._SignableDocument_title(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec._SignableDocument_description(ctx, field, obj)
|
|
case "documentType":
|
|
out.Values[i] = ec._SignableDocument_documentType(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "classification":
|
|
out.Values[i] = ec._SignableDocument_classification(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "signed":
|
|
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._SignableDocument_signed(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 "versions":
|
|
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._SignableDocument_versions(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._SignableDocument_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._SignableDocument_updatedAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 signableDocumentConnectionImplementors = []string{"SignableDocumentConnection"}
|
|
|
|
func (ec *executionContext) _SignableDocumentConnection(ctx context.Context, sel ast.SelectionSet, obj *types.SignableDocumentConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, signableDocumentConnectionImplementors)
|
|
|
|
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("SignableDocumentConnection")
|
|
case "edges":
|
|
out.Values[i] = ec._SignableDocumentConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._SignableDocumentConnection_pageInfo(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 signableDocumentEdgeImplementors = []string{"SignableDocumentEdge"}
|
|
|
|
func (ec *executionContext) _SignableDocumentEdge(ctx context.Context, sel ast.SelectionSet, obj *types.SignableDocumentEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, signableDocumentEdgeImplementors)
|
|
|
|
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("SignableDocumentEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._SignableDocumentEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._SignableDocumentEdge_node(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 slackConnectionImplementors = []string{"SlackConnection"}
|
|
|
|
func (ec *executionContext) _SlackConnection(ctx context.Context, sel ast.SelectionSet, obj *types.SlackConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, slackConnectionImplementors)
|
|
|
|
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("SlackConnection")
|
|
case "id":
|
|
out.Values[i] = ec._SlackConnection_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "channel":
|
|
out.Values[i] = ec._SlackConnection_channel(ctx, field, obj)
|
|
case "channelId":
|
|
out.Values[i] = ec._SlackConnection_channelId(ctx, field, obj)
|
|
case "createdAt":
|
|
out.Values[i] = ec._SlackConnection_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._SlackConnection_updatedAt(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 slackConnectionConnectionImplementors = []string{"SlackConnectionConnection"}
|
|
|
|
func (ec *executionContext) _SlackConnectionConnection(ctx context.Context, sel ast.SelectionSet, obj *types.SlackConnectionConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, slackConnectionConnectionImplementors)
|
|
|
|
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("SlackConnectionConnection")
|
|
case "edges":
|
|
out.Values[i] = ec._SlackConnectionConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._SlackConnectionConnection_pageInfo(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 slackConnectionEdgeImplementors = []string{"SlackConnectionEdge"}
|
|
|
|
func (ec *executionContext) _SlackConnectionEdge(ctx context.Context, sel ast.SelectionSet, obj *types.SlackConnectionEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, slackConnectionEdgeImplementors)
|
|
|
|
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("SlackConnectionEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._SlackConnectionEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._SlackConnectionEdge_node(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 snapshotImplementors = []string{"Snapshot", "Node"}
|
|
|
|
func (ec *executionContext) _Snapshot(ctx context.Context, sel ast.SelectionSet, obj *types.Snapshot) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, snapshotImplementors)
|
|
|
|
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("Snapshot")
|
|
case "id":
|
|
out.Values[i] = ec._Snapshot_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "organization":
|
|
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._Snapshot_organization(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 "name":
|
|
out.Values[i] = ec._Snapshot_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec._Snapshot_description(ctx, field, obj)
|
|
case "type":
|
|
out.Values[i] = ec._Snapshot_type(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "controls":
|
|
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._Snapshot_controls(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._Snapshot_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._Snapshot_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 snapshotConnectionImplementors = []string{"SnapshotConnection"}
|
|
|
|
func (ec *executionContext) _SnapshotConnection(ctx context.Context, sel ast.SelectionSet, obj *types.SnapshotConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, snapshotConnectionImplementors)
|
|
|
|
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("SnapshotConnection")
|
|
case "totalCount":
|
|
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._SnapshotConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._SnapshotConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._SnapshotConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 snapshotEdgeImplementors = []string{"SnapshotEdge"}
|
|
|
|
func (ec *executionContext) _SnapshotEdge(ctx context.Context, sel ast.SelectionSet, obj *types.SnapshotEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, snapshotEdgeImplementors)
|
|
|
|
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("SnapshotEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._SnapshotEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._SnapshotEdge_node(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 stateOfApplicabilityImplementors = []string{"StateOfApplicability", "Node"}
|
|
|
|
func (ec *executionContext) _StateOfApplicability(ctx context.Context, sel ast.SelectionSet, obj *types.StateOfApplicability) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, stateOfApplicabilityImplementors)
|
|
|
|
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("StateOfApplicability")
|
|
case "id":
|
|
out.Values[i] = ec._StateOfApplicability_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "name":
|
|
out.Values[i] = ec._StateOfApplicability_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "sourceId":
|
|
out.Values[i] = ec._StateOfApplicability_sourceId(ctx, field, obj)
|
|
case "snapshotId":
|
|
out.Values[i] = ec._StateOfApplicability_snapshotId(ctx, field, obj)
|
|
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._StateOfApplicability_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 "owner":
|
|
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._StateOfApplicability_owner(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._StateOfApplicability_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._StateOfApplicability_updatedAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "controls":
|
|
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._StateOfApplicability_controls(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 "availableControls":
|
|
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._StateOfApplicability_availableControls(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 "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._StateOfApplicability_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 stateOfApplicabilityConnectionImplementors = []string{"StateOfApplicabilityConnection"}
|
|
|
|
func (ec *executionContext) _StateOfApplicabilityConnection(ctx context.Context, sel ast.SelectionSet, obj *types.StateOfApplicabilityConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, stateOfApplicabilityConnectionImplementors)
|
|
|
|
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("StateOfApplicabilityConnection")
|
|
case "totalCount":
|
|
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._StateOfApplicabilityConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._StateOfApplicabilityConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._StateOfApplicabilityConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 stateOfApplicabilityControlImplementors = []string{"StateOfApplicabilityControl"}
|
|
|
|
func (ec *executionContext) _StateOfApplicabilityControl(ctx context.Context, sel ast.SelectionSet, obj *types.StateOfApplicabilityControl) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, stateOfApplicabilityControlImplementors)
|
|
|
|
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("StateOfApplicabilityControl")
|
|
case "id":
|
|
out.Values[i] = ec._StateOfApplicabilityControl_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "stateOfApplicabilityId":
|
|
out.Values[i] = ec._StateOfApplicabilityControl_stateOfApplicabilityId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "controlId":
|
|
out.Values[i] = ec._StateOfApplicabilityControl_controlId(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "stateOfApplicability":
|
|
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._StateOfApplicabilityControl_stateOfApplicability(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 "applicability":
|
|
out.Values[i] = ec._StateOfApplicabilityControl_applicability(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "justification":
|
|
out.Values[i] = ec._StateOfApplicabilityControl_justification(ctx, field, obj)
|
|
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 stateOfApplicabilityControlConnectionImplementors = []string{"StateOfApplicabilityControlConnection"}
|
|
|
|
func (ec *executionContext) _StateOfApplicabilityControlConnection(ctx context.Context, sel ast.SelectionSet, obj *types.StateOfApplicabilityControlConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, stateOfApplicabilityControlConnectionImplementors)
|
|
|
|
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("StateOfApplicabilityControlConnection")
|
|
case "totalCount":
|
|
out.Values[i] = ec._StateOfApplicabilityControlConnection_totalCount(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "edges":
|
|
out.Values[i] = ec._StateOfApplicabilityControlConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._StateOfApplicabilityControlConnection_pageInfo(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 stateOfApplicabilityControlEdgeImplementors = []string{"StateOfApplicabilityControlEdge"}
|
|
|
|
func (ec *executionContext) _StateOfApplicabilityControlEdge(ctx context.Context, sel ast.SelectionSet, obj *types.StateOfApplicabilityControlEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, stateOfApplicabilityControlEdgeImplementors)
|
|
|
|
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("StateOfApplicabilityControlEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._StateOfApplicabilityControlEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._StateOfApplicabilityControlEdge_node(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 stateOfApplicabilityEdgeImplementors = []string{"StateOfApplicabilityEdge"}
|
|
|
|
func (ec *executionContext) _StateOfApplicabilityEdge(ctx context.Context, sel ast.SelectionSet, obj *types.StateOfApplicabilityEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, stateOfApplicabilityEdgeImplementors)
|
|
|
|
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("StateOfApplicabilityEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._StateOfApplicabilityEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._StateOfApplicabilityEdge_node(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 taskImplementors = []string{"Task", "Node"}
|
|
|
|
func (ec *executionContext) _Task(ctx context.Context, sel ast.SelectionSet, obj *types.Task) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, taskImplementors)
|
|
|
|
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("Task")
|
|
case "id":
|
|
out.Values[i] = ec._Task_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "name":
|
|
out.Values[i] = ec._Task_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec._Task_description(ctx, field, obj)
|
|
case "state":
|
|
out.Values[i] = ec._Task_state(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "timeEstimate":
|
|
out.Values[i] = ec._Task_timeEstimate(ctx, field, obj)
|
|
case "deadline":
|
|
out.Values[i] = ec._Task_deadline(ctx, field, obj)
|
|
case "assignedTo":
|
|
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._Task_assignedTo(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 "organization":
|
|
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._Task_organization(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 "measure":
|
|
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._Task_measure(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 "evidences":
|
|
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._Task_evidences(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._Task_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Task_updatedAt(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._Task_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 taskConnectionImplementors = []string{"TaskConnection"}
|
|
|
|
func (ec *executionContext) _TaskConnection(ctx context.Context, sel ast.SelectionSet, obj *types.TaskConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, taskConnectionImplementors)
|
|
|
|
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("TaskConnection")
|
|
case "totalCount":
|
|
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._TaskConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._TaskConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._TaskConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 taskEdgeImplementors = []string{"TaskEdge"}
|
|
|
|
func (ec *executionContext) _TaskEdge(ctx context.Context, sel ast.SelectionSet, obj *types.TaskEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, taskEdgeImplementors)
|
|
|
|
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("TaskEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._TaskEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._TaskEdge_node(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 transferImpactAssessmentImplementors = []string{"TransferImpactAssessment", "Node"}
|
|
|
|
func (ec *executionContext) _TransferImpactAssessment(ctx context.Context, sel ast.SelectionSet, obj *types.TransferImpactAssessment) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, transferImpactAssessmentImplementors)
|
|
|
|
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("TransferImpactAssessment")
|
|
case "id":
|
|
out.Values[i] = ec._TransferImpactAssessment_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "processingActivity":
|
|
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._TransferImpactAssessment_processingActivity(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 "organization":
|
|
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._TransferImpactAssessment_organization(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 "dataSubjects":
|
|
out.Values[i] = ec._TransferImpactAssessment_dataSubjects(ctx, field, obj)
|
|
case "legalMechanism":
|
|
out.Values[i] = ec._TransferImpactAssessment_legalMechanism(ctx, field, obj)
|
|
case "transfer":
|
|
out.Values[i] = ec._TransferImpactAssessment_transfer(ctx, field, obj)
|
|
case "localLawRisk":
|
|
out.Values[i] = ec._TransferImpactAssessment_localLawRisk(ctx, field, obj)
|
|
case "supplementaryMeasures":
|
|
out.Values[i] = ec._TransferImpactAssessment_supplementaryMeasures(ctx, field, obj)
|
|
case "createdAt":
|
|
out.Values[i] = ec._TransferImpactAssessment_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._TransferImpactAssessment_updatedAt(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._TransferImpactAssessment_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 transferImpactAssessmentConnectionImplementors = []string{"TransferImpactAssessmentConnection"}
|
|
|
|
func (ec *executionContext) _TransferImpactAssessmentConnection(ctx context.Context, sel ast.SelectionSet, obj *types.TransferImpactAssessmentConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, transferImpactAssessmentConnectionImplementors)
|
|
|
|
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("TransferImpactAssessmentConnection")
|
|
case "totalCount":
|
|
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._TransferImpactAssessmentConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._TransferImpactAssessmentConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._TransferImpactAssessmentConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 transferImpactAssessmentEdgeImplementors = []string{"TransferImpactAssessmentEdge"}
|
|
|
|
func (ec *executionContext) _TransferImpactAssessmentEdge(ctx context.Context, sel ast.SelectionSet, obj *types.TransferImpactAssessmentEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, transferImpactAssessmentEdgeImplementors)
|
|
|
|
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("TransferImpactAssessmentEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._TransferImpactAssessmentEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._TransferImpactAssessmentEdge_node(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 trustCenterImplementors = []string{"TrustCenter", "Node"}
|
|
|
|
func (ec *executionContext) _TrustCenter(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenter) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterImplementors)
|
|
|
|
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("TrustCenter")
|
|
case "id":
|
|
out.Values[i] = ec._TrustCenter_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "active":
|
|
out.Values[i] = ec._TrustCenter_active(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "ndaFileName":
|
|
out.Values[i] = ec._TrustCenter_ndaFileName(ctx, field, obj)
|
|
case "ndaFileUrl":
|
|
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._TrustCenter_ndaFileUrl(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 "createdAt":
|
|
out.Values[i] = ec._TrustCenter_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._TrustCenter_updatedAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "organization":
|
|
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._TrustCenter_organization(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 "accesses":
|
|
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._TrustCenter_accesses(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 "references":
|
|
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._TrustCenter_references(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 "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._TrustCenter_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 trustCenterAccessImplementors = []string{"TrustCenterAccess", "Node"}
|
|
|
|
func (ec *executionContext) _TrustCenterAccess(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenterAccess) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterAccessImplementors)
|
|
|
|
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("TrustCenterAccess")
|
|
case "id":
|
|
out.Values[i] = ec._TrustCenterAccess_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "email":
|
|
out.Values[i] = ec._TrustCenterAccess_email(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "name":
|
|
out.Values[i] = ec._TrustCenterAccess_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "active":
|
|
out.Values[i] = ec._TrustCenterAccess_active(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "hasAcceptedNonDisclosureAgreement":
|
|
out.Values[i] = ec._TrustCenterAccess_hasAcceptedNonDisclosureAgreement(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "createdAt":
|
|
out.Values[i] = ec._TrustCenterAccess_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._TrustCenterAccess_updatedAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "lastTokenExpiresAt":
|
|
out.Values[i] = ec._TrustCenterAccess_lastTokenExpiresAt(ctx, field, obj)
|
|
case "pendingRequestCount":
|
|
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._TrustCenterAccess_pendingRequestCount(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 "activeCount":
|
|
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._TrustCenterAccess_activeCount(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 "availableDocumentAccesses":
|
|
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._TrustCenterAccess_availableDocumentAccesses(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 "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._TrustCenterAccess_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 trustCenterAccessConnectionImplementors = []string{"TrustCenterAccessConnection"}
|
|
|
|
func (ec *executionContext) _TrustCenterAccessConnection(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenterAccessConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterAccessConnectionImplementors)
|
|
|
|
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("TrustCenterAccessConnection")
|
|
case "edges":
|
|
out.Values[i] = ec._TrustCenterAccessConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._TrustCenterAccessConnection_pageInfo(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 trustCenterAccessEdgeImplementors = []string{"TrustCenterAccessEdge"}
|
|
|
|
func (ec *executionContext) _TrustCenterAccessEdge(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenterAccessEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterAccessEdgeImplementors)
|
|
|
|
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("TrustCenterAccessEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._TrustCenterAccessEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._TrustCenterAccessEdge_node(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 trustCenterConnectionImplementors = []string{"TrustCenterConnection"}
|
|
|
|
func (ec *executionContext) _TrustCenterConnection(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenterConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterConnectionImplementors)
|
|
|
|
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("TrustCenterConnection")
|
|
case "edges":
|
|
out.Values[i] = ec._TrustCenterConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._TrustCenterConnection_pageInfo(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 trustCenterDocumentAccessImplementors = []string{"TrustCenterDocumentAccess"}
|
|
|
|
func (ec *executionContext) _TrustCenterDocumentAccess(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenterDocumentAccess) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterDocumentAccessImplementors)
|
|
|
|
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("TrustCenterDocumentAccess")
|
|
case "id":
|
|
out.Values[i] = ec._TrustCenterDocumentAccess_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "status":
|
|
out.Values[i] = ec._TrustCenterDocumentAccess_status(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "document":
|
|
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._TrustCenterDocumentAccess_document(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 "report":
|
|
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._TrustCenterDocumentAccess_report(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 "trustCenterFile":
|
|
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._TrustCenterDocumentAccess_trustCenterFile(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 trustCenterDocumentAccessConnectionImplementors = []string{"TrustCenterDocumentAccessConnection"}
|
|
|
|
func (ec *executionContext) _TrustCenterDocumentAccessConnection(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenterDocumentAccessConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterDocumentAccessConnectionImplementors)
|
|
|
|
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("TrustCenterDocumentAccessConnection")
|
|
case "totalCount":
|
|
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._TrustCenterDocumentAccessConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._TrustCenterDocumentAccessConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._TrustCenterDocumentAccessConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 trustCenterDocumentAccessEdgeImplementors = []string{"TrustCenterDocumentAccessEdge"}
|
|
|
|
func (ec *executionContext) _TrustCenterDocumentAccessEdge(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenterDocumentAccessEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterDocumentAccessEdgeImplementors)
|
|
|
|
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("TrustCenterDocumentAccessEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._TrustCenterDocumentAccessEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._TrustCenterDocumentAccessEdge_node(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 trustCenterEdgeImplementors = []string{"TrustCenterEdge"}
|
|
|
|
func (ec *executionContext) _TrustCenterEdge(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenterEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterEdgeImplementors)
|
|
|
|
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("TrustCenterEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._TrustCenterEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._TrustCenterEdge_node(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 trustCenterFileImplementors = []string{"TrustCenterFile", "Node"}
|
|
|
|
func (ec *executionContext) _TrustCenterFile(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenterFile) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterFileImplementors)
|
|
|
|
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("TrustCenterFile")
|
|
case "id":
|
|
out.Values[i] = ec._TrustCenterFile_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "name":
|
|
out.Values[i] = ec._TrustCenterFile_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "category":
|
|
out.Values[i] = ec._TrustCenterFile_category(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "fileUrl":
|
|
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._TrustCenterFile_fileUrl(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 "trustCenterVisibility":
|
|
out.Values[i] = ec._TrustCenterFile_trustCenterVisibility(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "createdAt":
|
|
out.Values[i] = ec._TrustCenterFile_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._TrustCenterFile_updatedAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "organization":
|
|
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._TrustCenterFile_organization(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 "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._TrustCenterFile_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 trustCenterFileConnectionImplementors = []string{"TrustCenterFileConnection"}
|
|
|
|
func (ec *executionContext) _TrustCenterFileConnection(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenterFileConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterFileConnectionImplementors)
|
|
|
|
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("TrustCenterFileConnection")
|
|
case "totalCount":
|
|
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._TrustCenterFileConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._TrustCenterFileConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._TrustCenterFileConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 trustCenterFileEdgeImplementors = []string{"TrustCenterFileEdge"}
|
|
|
|
func (ec *executionContext) _TrustCenterFileEdge(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenterFileEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterFileEdgeImplementors)
|
|
|
|
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("TrustCenterFileEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._TrustCenterFileEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._TrustCenterFileEdge_node(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 trustCenterReferenceImplementors = []string{"TrustCenterReference", "Node"}
|
|
|
|
func (ec *executionContext) _TrustCenterReference(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenterReference) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterReferenceImplementors)
|
|
|
|
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("TrustCenterReference")
|
|
case "id":
|
|
out.Values[i] = ec._TrustCenterReference_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "name":
|
|
out.Values[i] = ec._TrustCenterReference_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec._TrustCenterReference_description(ctx, field, obj)
|
|
case "websiteUrl":
|
|
out.Values[i] = ec._TrustCenterReference_websiteUrl(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "logoUrl":
|
|
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._TrustCenterReference_logoUrl(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 "rank":
|
|
out.Values[i] = ec._TrustCenterReference_rank(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "createdAt":
|
|
out.Values[i] = ec._TrustCenterReference_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._TrustCenterReference_updatedAt(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._TrustCenterReference_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 trustCenterReferenceConnectionImplementors = []string{"TrustCenterReferenceConnection"}
|
|
|
|
func (ec *executionContext) _TrustCenterReferenceConnection(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenterReferenceConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterReferenceConnectionImplementors)
|
|
|
|
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("TrustCenterReferenceConnection")
|
|
case "totalCount":
|
|
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._TrustCenterReferenceConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._TrustCenterReferenceConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._TrustCenterReferenceConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 trustCenterReferenceEdgeImplementors = []string{"TrustCenterReferenceEdge"}
|
|
|
|
func (ec *executionContext) _TrustCenterReferenceEdge(ctx context.Context, sel ast.SelectionSet, obj *types.TrustCenterReferenceEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, trustCenterReferenceEdgeImplementors)
|
|
|
|
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("TrustCenterReferenceEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._TrustCenterReferenceEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._TrustCenterReferenceEdge_node(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 updateAssetPayloadImplementors = []string{"UpdateAssetPayload"}
|
|
|
|
func (ec *executionContext) _UpdateAssetPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateAssetPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateAssetPayloadImplementors)
|
|
|
|
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("UpdateAssetPayload")
|
|
case "asset":
|
|
out.Values[i] = ec._UpdateAssetPayload_asset(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 updateAuditPayloadImplementors = []string{"UpdateAuditPayload"}
|
|
|
|
func (ec *executionContext) _UpdateAuditPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateAuditPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateAuditPayloadImplementors)
|
|
|
|
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("UpdateAuditPayload")
|
|
case "audit":
|
|
out.Values[i] = ec._UpdateAuditPayload_audit(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 updateContinualImprovementPayloadImplementors = []string{"UpdateContinualImprovementPayload"}
|
|
|
|
func (ec *executionContext) _UpdateContinualImprovementPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateContinualImprovementPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateContinualImprovementPayloadImplementors)
|
|
|
|
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("UpdateContinualImprovementPayload")
|
|
case "continualImprovement":
|
|
out.Values[i] = ec._UpdateContinualImprovementPayload_continualImprovement(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 updateControlPayloadImplementors = []string{"UpdateControlPayload"}
|
|
|
|
func (ec *executionContext) _UpdateControlPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateControlPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateControlPayloadImplementors)
|
|
|
|
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("UpdateControlPayload")
|
|
case "control":
|
|
out.Values[i] = ec._UpdateControlPayload_control(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 updateDataProtectionImpactAssessmentPayloadImplementors = []string{"UpdateDataProtectionImpactAssessmentPayload"}
|
|
|
|
func (ec *executionContext) _UpdateDataProtectionImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateDataProtectionImpactAssessmentPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateDataProtectionImpactAssessmentPayloadImplementors)
|
|
|
|
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("UpdateDataProtectionImpactAssessmentPayload")
|
|
case "dataProtectionImpactAssessment":
|
|
out.Values[i] = ec._UpdateDataProtectionImpactAssessmentPayload_dataProtectionImpactAssessment(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 updateDatumPayloadImplementors = []string{"UpdateDatumPayload"}
|
|
|
|
func (ec *executionContext) _UpdateDatumPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateDatumPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateDatumPayloadImplementors)
|
|
|
|
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("UpdateDatumPayload")
|
|
case "datum":
|
|
out.Values[i] = ec._UpdateDatumPayload_datum(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 updateDocumentPayloadImplementors = []string{"UpdateDocumentPayload"}
|
|
|
|
func (ec *executionContext) _UpdateDocumentPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateDocumentPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateDocumentPayloadImplementors)
|
|
|
|
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("UpdateDocumentPayload")
|
|
case "document":
|
|
out.Values[i] = ec._UpdateDocumentPayload_document(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 updateDocumentVersionPayloadImplementors = []string{"UpdateDocumentVersionPayload"}
|
|
|
|
func (ec *executionContext) _UpdateDocumentVersionPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateDocumentVersionPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateDocumentVersionPayloadImplementors)
|
|
|
|
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("UpdateDocumentVersionPayload")
|
|
case "documentVersion":
|
|
out.Values[i] = ec._UpdateDocumentVersionPayload_documentVersion(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 updateFrameworkPayloadImplementors = []string{"UpdateFrameworkPayload"}
|
|
|
|
func (ec *executionContext) _UpdateFrameworkPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateFrameworkPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateFrameworkPayloadImplementors)
|
|
|
|
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("UpdateFrameworkPayload")
|
|
case "framework":
|
|
out.Values[i] = ec._UpdateFrameworkPayload_framework(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 updateMeasurePayloadImplementors = []string{"UpdateMeasurePayload"}
|
|
|
|
func (ec *executionContext) _UpdateMeasurePayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateMeasurePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateMeasurePayloadImplementors)
|
|
|
|
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("UpdateMeasurePayload")
|
|
case "measure":
|
|
out.Values[i] = ec._UpdateMeasurePayload_measure(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 updateMeetingPayloadImplementors = []string{"UpdateMeetingPayload"}
|
|
|
|
func (ec *executionContext) _UpdateMeetingPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateMeetingPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateMeetingPayloadImplementors)
|
|
|
|
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("UpdateMeetingPayload")
|
|
case "meeting":
|
|
out.Values[i] = ec._UpdateMeetingPayload_meeting(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 updateNonconformityPayloadImplementors = []string{"UpdateNonconformityPayload"}
|
|
|
|
func (ec *executionContext) _UpdateNonconformityPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateNonconformityPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateNonconformityPayloadImplementors)
|
|
|
|
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("UpdateNonconformityPayload")
|
|
case "nonconformity":
|
|
out.Values[i] = ec._UpdateNonconformityPayload_nonconformity(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 updateObligationPayloadImplementors = []string{"UpdateObligationPayload"}
|
|
|
|
func (ec *executionContext) _UpdateObligationPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateObligationPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateObligationPayloadImplementors)
|
|
|
|
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("UpdateObligationPayload")
|
|
case "obligation":
|
|
out.Values[i] = ec._UpdateObligationPayload_obligation(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 updateOrganizationContextPayloadImplementors = []string{"UpdateOrganizationContextPayload"}
|
|
|
|
func (ec *executionContext) _UpdateOrganizationContextPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateOrganizationContextPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateOrganizationContextPayloadImplementors)
|
|
|
|
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("UpdateOrganizationContextPayload")
|
|
case "context":
|
|
out.Values[i] = ec._UpdateOrganizationContextPayload_context(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 updatePeoplePayloadImplementors = []string{"UpdatePeoplePayload"}
|
|
|
|
func (ec *executionContext) _UpdatePeoplePayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdatePeoplePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updatePeoplePayloadImplementors)
|
|
|
|
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("UpdatePeoplePayload")
|
|
case "people":
|
|
out.Values[i] = ec._UpdatePeoplePayload_people(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 updateProcessingActivityPayloadImplementors = []string{"UpdateProcessingActivityPayload"}
|
|
|
|
func (ec *executionContext) _UpdateProcessingActivityPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateProcessingActivityPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateProcessingActivityPayloadImplementors)
|
|
|
|
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("UpdateProcessingActivityPayload")
|
|
case "processingActivity":
|
|
out.Values[i] = ec._UpdateProcessingActivityPayload_processingActivity(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 updateRightsRequestPayloadImplementors = []string{"UpdateRightsRequestPayload"}
|
|
|
|
func (ec *executionContext) _UpdateRightsRequestPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateRightsRequestPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateRightsRequestPayloadImplementors)
|
|
|
|
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("UpdateRightsRequestPayload")
|
|
case "rightsRequest":
|
|
out.Values[i] = ec._UpdateRightsRequestPayload_rightsRequest(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 updateRiskPayloadImplementors = []string{"UpdateRiskPayload"}
|
|
|
|
func (ec *executionContext) _UpdateRiskPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateRiskPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateRiskPayloadImplementors)
|
|
|
|
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("UpdateRiskPayload")
|
|
case "risk":
|
|
out.Values[i] = ec._UpdateRiskPayload_risk(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 updateStateOfApplicabilityPayloadImplementors = []string{"UpdateStateOfApplicabilityPayload"}
|
|
|
|
func (ec *executionContext) _UpdateStateOfApplicabilityPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateStateOfApplicabilityPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateStateOfApplicabilityPayloadImplementors)
|
|
|
|
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("UpdateStateOfApplicabilityPayload")
|
|
case "stateOfApplicability":
|
|
out.Values[i] = ec._UpdateStateOfApplicabilityPayload_stateOfApplicability(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 updateTaskPayloadImplementors = []string{"UpdateTaskPayload"}
|
|
|
|
func (ec *executionContext) _UpdateTaskPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateTaskPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateTaskPayloadImplementors)
|
|
|
|
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("UpdateTaskPayload")
|
|
case "task":
|
|
out.Values[i] = ec._UpdateTaskPayload_task(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 updateTransferImpactAssessmentPayloadImplementors = []string{"UpdateTransferImpactAssessmentPayload"}
|
|
|
|
func (ec *executionContext) _UpdateTransferImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateTransferImpactAssessmentPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateTransferImpactAssessmentPayloadImplementors)
|
|
|
|
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("UpdateTransferImpactAssessmentPayload")
|
|
case "transferImpactAssessment":
|
|
out.Values[i] = ec._UpdateTransferImpactAssessmentPayload_transferImpactAssessment(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 updateTrustCenterAccessPayloadImplementors = []string{"UpdateTrustCenterAccessPayload"}
|
|
|
|
func (ec *executionContext) _UpdateTrustCenterAccessPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateTrustCenterAccessPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateTrustCenterAccessPayloadImplementors)
|
|
|
|
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("UpdateTrustCenterAccessPayload")
|
|
case "trustCenterAccess":
|
|
out.Values[i] = ec._UpdateTrustCenterAccessPayload_trustCenterAccess(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 updateTrustCenterFilePayloadImplementors = []string{"UpdateTrustCenterFilePayload"}
|
|
|
|
func (ec *executionContext) _UpdateTrustCenterFilePayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateTrustCenterFilePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateTrustCenterFilePayloadImplementors)
|
|
|
|
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("UpdateTrustCenterFilePayload")
|
|
case "trustCenterFile":
|
|
out.Values[i] = ec._UpdateTrustCenterFilePayload_trustCenterFile(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 updateTrustCenterPayloadImplementors = []string{"UpdateTrustCenterPayload"}
|
|
|
|
func (ec *executionContext) _UpdateTrustCenterPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateTrustCenterPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateTrustCenterPayloadImplementors)
|
|
|
|
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("UpdateTrustCenterPayload")
|
|
case "trustCenter":
|
|
out.Values[i] = ec._UpdateTrustCenterPayload_trustCenter(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 updateTrustCenterReferencePayloadImplementors = []string{"UpdateTrustCenterReferencePayload"}
|
|
|
|
func (ec *executionContext) _UpdateTrustCenterReferencePayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateTrustCenterReferencePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateTrustCenterReferencePayloadImplementors)
|
|
|
|
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("UpdateTrustCenterReferencePayload")
|
|
case "trustCenterReference":
|
|
out.Values[i] = ec._UpdateTrustCenterReferencePayload_trustCenterReference(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 updateVendorBusinessAssociateAgreementPayloadImplementors = []string{"UpdateVendorBusinessAssociateAgreementPayload"}
|
|
|
|
func (ec *executionContext) _UpdateVendorBusinessAssociateAgreementPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateVendorBusinessAssociateAgreementPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateVendorBusinessAssociateAgreementPayloadImplementors)
|
|
|
|
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("UpdateVendorBusinessAssociateAgreementPayload")
|
|
case "vendorBusinessAssociateAgreement":
|
|
out.Values[i] = ec._UpdateVendorBusinessAssociateAgreementPayload_vendorBusinessAssociateAgreement(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 updateVendorContactPayloadImplementors = []string{"UpdateVendorContactPayload"}
|
|
|
|
func (ec *executionContext) _UpdateVendorContactPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateVendorContactPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateVendorContactPayloadImplementors)
|
|
|
|
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("UpdateVendorContactPayload")
|
|
case "vendorContact":
|
|
out.Values[i] = ec._UpdateVendorContactPayload_vendorContact(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 updateVendorDataPrivacyAgreementPayloadImplementors = []string{"UpdateVendorDataPrivacyAgreementPayload"}
|
|
|
|
func (ec *executionContext) _UpdateVendorDataPrivacyAgreementPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateVendorDataPrivacyAgreementPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateVendorDataPrivacyAgreementPayloadImplementors)
|
|
|
|
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("UpdateVendorDataPrivacyAgreementPayload")
|
|
case "vendorDataPrivacyAgreement":
|
|
out.Values[i] = ec._UpdateVendorDataPrivacyAgreementPayload_vendorDataPrivacyAgreement(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 updateVendorPayloadImplementors = []string{"UpdateVendorPayload"}
|
|
|
|
func (ec *executionContext) _UpdateVendorPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateVendorPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateVendorPayloadImplementors)
|
|
|
|
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("UpdateVendorPayload")
|
|
case "vendor":
|
|
out.Values[i] = ec._UpdateVendorPayload_vendor(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 updateVendorServicePayloadImplementors = []string{"UpdateVendorServicePayload"}
|
|
|
|
func (ec *executionContext) _UpdateVendorServicePayload(ctx context.Context, sel ast.SelectionSet, obj *types.UpdateVendorServicePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, updateVendorServicePayloadImplementors)
|
|
|
|
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("UpdateVendorServicePayload")
|
|
case "vendorService":
|
|
out.Values[i] = ec._UpdateVendorServicePayload_vendorService(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 uploadAuditReportPayloadImplementors = []string{"UploadAuditReportPayload"}
|
|
|
|
func (ec *executionContext) _UploadAuditReportPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UploadAuditReportPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, uploadAuditReportPayloadImplementors)
|
|
|
|
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("UploadAuditReportPayload")
|
|
case "audit":
|
|
out.Values[i] = ec._UploadAuditReportPayload_audit(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 uploadMeasureEvidencePayloadImplementors = []string{"UploadMeasureEvidencePayload"}
|
|
|
|
func (ec *executionContext) _UploadMeasureEvidencePayload(ctx context.Context, sel ast.SelectionSet, obj *types.UploadMeasureEvidencePayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, uploadMeasureEvidencePayloadImplementors)
|
|
|
|
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("UploadMeasureEvidencePayload")
|
|
case "evidenceEdge":
|
|
out.Values[i] = ec._UploadMeasureEvidencePayload_evidenceEdge(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 uploadTrustCenterNDAPayloadImplementors = []string{"UploadTrustCenterNDAPayload"}
|
|
|
|
func (ec *executionContext) _UploadTrustCenterNDAPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UploadTrustCenterNDAPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, uploadTrustCenterNDAPayloadImplementors)
|
|
|
|
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("UploadTrustCenterNDAPayload")
|
|
case "trustCenter":
|
|
out.Values[i] = ec._UploadTrustCenterNDAPayload_trustCenter(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 uploadVendorBusinessAssociateAgreementPayloadImplementors = []string{"UploadVendorBusinessAssociateAgreementPayload"}
|
|
|
|
func (ec *executionContext) _UploadVendorBusinessAssociateAgreementPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UploadVendorBusinessAssociateAgreementPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, uploadVendorBusinessAssociateAgreementPayloadImplementors)
|
|
|
|
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("UploadVendorBusinessAssociateAgreementPayload")
|
|
case "vendorBusinessAssociateAgreement":
|
|
out.Values[i] = ec._UploadVendorBusinessAssociateAgreementPayload_vendorBusinessAssociateAgreement(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 uploadVendorComplianceReportPayloadImplementors = []string{"UploadVendorComplianceReportPayload"}
|
|
|
|
func (ec *executionContext) _UploadVendorComplianceReportPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UploadVendorComplianceReportPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, uploadVendorComplianceReportPayloadImplementors)
|
|
|
|
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("UploadVendorComplianceReportPayload")
|
|
case "vendorComplianceReportEdge":
|
|
out.Values[i] = ec._UploadVendorComplianceReportPayload_vendorComplianceReportEdge(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 uploadVendorDataPrivacyAgreementPayloadImplementors = []string{"UploadVendorDataPrivacyAgreementPayload"}
|
|
|
|
func (ec *executionContext) _UploadVendorDataPrivacyAgreementPayload(ctx context.Context, sel ast.SelectionSet, obj *types.UploadVendorDataPrivacyAgreementPayload) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, uploadVendorDataPrivacyAgreementPayloadImplementors)
|
|
|
|
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("UploadVendorDataPrivacyAgreementPayload")
|
|
case "vendorDataPrivacyAgreement":
|
|
out.Values[i] = ec._UploadVendorDataPrivacyAgreementPayload_vendorDataPrivacyAgreement(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 vendorImplementors = []string{"Vendor", "Node"}
|
|
|
|
func (ec *executionContext) _Vendor(ctx context.Context, sel ast.SelectionSet, obj *types.Vendor) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorImplementors)
|
|
|
|
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("Vendor")
|
|
case "id":
|
|
out.Values[i] = ec._Vendor_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "snapshotId":
|
|
out.Values[i] = ec._Vendor_snapshotId(ctx, field, obj)
|
|
case "name":
|
|
out.Values[i] = ec._Vendor_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "category":
|
|
out.Values[i] = ec._Vendor_category(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec._Vendor_description(ctx, field, obj)
|
|
case "organization":
|
|
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._Vendor_organization(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 "complianceReports":
|
|
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._Vendor_complianceReports(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 "businessAssociateAgreement":
|
|
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._Vendor_businessAssociateAgreement(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 "dataPrivacyAgreement":
|
|
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._Vendor_dataPrivacyAgreement(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 "contacts":
|
|
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._Vendor_contacts(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 "services":
|
|
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._Vendor_services(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 "riskAssessments":
|
|
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._Vendor_riskAssessments(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 "businessOwner":
|
|
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._Vendor_businessOwner(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 "securityOwner":
|
|
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._Vendor_securityOwner(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 "statusPageUrl":
|
|
out.Values[i] = ec._Vendor_statusPageUrl(ctx, field, obj)
|
|
case "termsOfServiceUrl":
|
|
out.Values[i] = ec._Vendor_termsOfServiceUrl(ctx, field, obj)
|
|
case "privacyPolicyUrl":
|
|
out.Values[i] = ec._Vendor_privacyPolicyUrl(ctx, field, obj)
|
|
case "serviceLevelAgreementUrl":
|
|
out.Values[i] = ec._Vendor_serviceLevelAgreementUrl(ctx, field, obj)
|
|
case "dataProcessingAgreementUrl":
|
|
out.Values[i] = ec._Vendor_dataProcessingAgreementUrl(ctx, field, obj)
|
|
case "businessAssociateAgreementUrl":
|
|
out.Values[i] = ec._Vendor_businessAssociateAgreementUrl(ctx, field, obj)
|
|
case "subprocessorsListUrl":
|
|
out.Values[i] = ec._Vendor_subprocessorsListUrl(ctx, field, obj)
|
|
case "certifications":
|
|
out.Values[i] = ec._Vendor_certifications(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "countries":
|
|
out.Values[i] = ec._Vendor_countries(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "securityPageUrl":
|
|
out.Values[i] = ec._Vendor_securityPageUrl(ctx, field, obj)
|
|
case "trustPageUrl":
|
|
out.Values[i] = ec._Vendor_trustPageUrl(ctx, field, obj)
|
|
case "headquarterAddress":
|
|
out.Values[i] = ec._Vendor_headquarterAddress(ctx, field, obj)
|
|
case "legalName":
|
|
out.Values[i] = ec._Vendor_legalName(ctx, field, obj)
|
|
case "websiteUrl":
|
|
out.Values[i] = ec._Vendor_websiteUrl(ctx, field, obj)
|
|
case "showOnTrustCenter":
|
|
out.Values[i] = ec._Vendor_showOnTrustCenter(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "createdAt":
|
|
out.Values[i] = ec._Vendor_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._Vendor_updatedAt(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._Vendor_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 vendorBusinessAssociateAgreementImplementors = []string{"VendorBusinessAssociateAgreement", "Node"}
|
|
|
|
func (ec *executionContext) _VendorBusinessAssociateAgreement(ctx context.Context, sel ast.SelectionSet, obj *types.VendorBusinessAssociateAgreement) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorBusinessAssociateAgreementImplementors)
|
|
|
|
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("VendorBusinessAssociateAgreement")
|
|
case "id":
|
|
out.Values[i] = ec._VendorBusinessAssociateAgreement_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "vendor":
|
|
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._VendorBusinessAssociateAgreement_vendor(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 "validFrom":
|
|
out.Values[i] = ec._VendorBusinessAssociateAgreement_validFrom(ctx, field, obj)
|
|
case "validUntil":
|
|
out.Values[i] = ec._VendorBusinessAssociateAgreement_validUntil(ctx, field, obj)
|
|
case "fileName":
|
|
out.Values[i] = ec._VendorBusinessAssociateAgreement_fileName(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "fileUrl":
|
|
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._VendorBusinessAssociateAgreement_fileUrl(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 "fileSize":
|
|
out.Values[i] = ec._VendorBusinessAssociateAgreement_fileSize(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "createdAt":
|
|
out.Values[i] = ec._VendorBusinessAssociateAgreement_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._VendorBusinessAssociateAgreement_updatedAt(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._VendorBusinessAssociateAgreement_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 vendorComplianceReportImplementors = []string{"VendorComplianceReport", "Node"}
|
|
|
|
func (ec *executionContext) _VendorComplianceReport(ctx context.Context, sel ast.SelectionSet, obj *types.VendorComplianceReport) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorComplianceReportImplementors)
|
|
|
|
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("VendorComplianceReport")
|
|
case "id":
|
|
out.Values[i] = ec._VendorComplianceReport_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "vendor":
|
|
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._VendorComplianceReport_vendor(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 "reportDate":
|
|
out.Values[i] = ec._VendorComplianceReport_reportDate(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "validUntil":
|
|
out.Values[i] = ec._VendorComplianceReport_validUntil(ctx, field, obj)
|
|
case "reportName":
|
|
out.Values[i] = ec._VendorComplianceReport_reportName(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "file":
|
|
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._VendorComplianceReport_file(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 "createdAt":
|
|
out.Values[i] = ec._VendorComplianceReport_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._VendorComplianceReport_updatedAt(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._VendorComplianceReport_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 vendorComplianceReportConnectionImplementors = []string{"VendorComplianceReportConnection"}
|
|
|
|
func (ec *executionContext) _VendorComplianceReportConnection(ctx context.Context, sel ast.SelectionSet, obj *types.VendorComplianceReportConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorComplianceReportConnectionImplementors)
|
|
|
|
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("VendorComplianceReportConnection")
|
|
case "edges":
|
|
out.Values[i] = ec._VendorComplianceReportConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._VendorComplianceReportConnection_pageInfo(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 vendorComplianceReportEdgeImplementors = []string{"VendorComplianceReportEdge"}
|
|
|
|
func (ec *executionContext) _VendorComplianceReportEdge(ctx context.Context, sel ast.SelectionSet, obj *types.VendorComplianceReportEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorComplianceReportEdgeImplementors)
|
|
|
|
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("VendorComplianceReportEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._VendorComplianceReportEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._VendorComplianceReportEdge_node(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 vendorConnectionImplementors = []string{"VendorConnection"}
|
|
|
|
func (ec *executionContext) _VendorConnection(ctx context.Context, sel ast.SelectionSet, obj *types.VendorConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorConnectionImplementors)
|
|
|
|
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("VendorConnection")
|
|
case "totalCount":
|
|
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._VendorConnection_totalCount(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 "edges":
|
|
out.Values[i] = ec._VendorConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._VendorConnection_pageInfo(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
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 vendorContactImplementors = []string{"VendorContact", "Node"}
|
|
|
|
func (ec *executionContext) _VendorContact(ctx context.Context, sel ast.SelectionSet, obj *types.VendorContact) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorContactImplementors)
|
|
|
|
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("VendorContact")
|
|
case "id":
|
|
out.Values[i] = ec._VendorContact_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "vendor":
|
|
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._VendorContact_vendor(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 "fullName":
|
|
out.Values[i] = ec._VendorContact_fullName(ctx, field, obj)
|
|
case "email":
|
|
out.Values[i] = ec._VendorContact_email(ctx, field, obj)
|
|
case "phone":
|
|
out.Values[i] = ec._VendorContact_phone(ctx, field, obj)
|
|
case "role":
|
|
out.Values[i] = ec._VendorContact_role(ctx, field, obj)
|
|
case "createdAt":
|
|
out.Values[i] = ec._VendorContact_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._VendorContact_updatedAt(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._VendorContact_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 vendorContactConnectionImplementors = []string{"VendorContactConnection"}
|
|
|
|
func (ec *executionContext) _VendorContactConnection(ctx context.Context, sel ast.SelectionSet, obj *types.VendorContactConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorContactConnectionImplementors)
|
|
|
|
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("VendorContactConnection")
|
|
case "edges":
|
|
out.Values[i] = ec._VendorContactConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._VendorContactConnection_pageInfo(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 vendorContactEdgeImplementors = []string{"VendorContactEdge"}
|
|
|
|
func (ec *executionContext) _VendorContactEdge(ctx context.Context, sel ast.SelectionSet, obj *types.VendorContactEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorContactEdgeImplementors)
|
|
|
|
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("VendorContactEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._VendorContactEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._VendorContactEdge_node(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 vendorDataPrivacyAgreementImplementors = []string{"VendorDataPrivacyAgreement", "Node"}
|
|
|
|
func (ec *executionContext) _VendorDataPrivacyAgreement(ctx context.Context, sel ast.SelectionSet, obj *types.VendorDataPrivacyAgreement) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorDataPrivacyAgreementImplementors)
|
|
|
|
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("VendorDataPrivacyAgreement")
|
|
case "id":
|
|
out.Values[i] = ec._VendorDataPrivacyAgreement_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "vendor":
|
|
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._VendorDataPrivacyAgreement_vendor(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 "validFrom":
|
|
out.Values[i] = ec._VendorDataPrivacyAgreement_validFrom(ctx, field, obj)
|
|
case "validUntil":
|
|
out.Values[i] = ec._VendorDataPrivacyAgreement_validUntil(ctx, field, obj)
|
|
case "fileName":
|
|
out.Values[i] = ec._VendorDataPrivacyAgreement_fileName(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "fileUrl":
|
|
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._VendorDataPrivacyAgreement_fileUrl(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 "fileSize":
|
|
out.Values[i] = ec._VendorDataPrivacyAgreement_fileSize(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "createdAt":
|
|
out.Values[i] = ec._VendorDataPrivacyAgreement_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._VendorDataPrivacyAgreement_updatedAt(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._VendorDataPrivacyAgreement_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 vendorEdgeImplementors = []string{"VendorEdge"}
|
|
|
|
func (ec *executionContext) _VendorEdge(ctx context.Context, sel ast.SelectionSet, obj *types.VendorEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorEdgeImplementors)
|
|
|
|
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("VendorEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._VendorEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._VendorEdge_node(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 vendorRiskAssessmentImplementors = []string{"VendorRiskAssessment", "Node"}
|
|
|
|
func (ec *executionContext) _VendorRiskAssessment(ctx context.Context, sel ast.SelectionSet, obj *types.VendorRiskAssessment) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorRiskAssessmentImplementors)
|
|
|
|
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("VendorRiskAssessment")
|
|
case "id":
|
|
out.Values[i] = ec._VendorRiskAssessment_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "vendor":
|
|
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._VendorRiskAssessment_vendor(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 "expiresAt":
|
|
out.Values[i] = ec._VendorRiskAssessment_expiresAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "dataSensitivity":
|
|
out.Values[i] = ec._VendorRiskAssessment_dataSensitivity(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "businessImpact":
|
|
out.Values[i] = ec._VendorRiskAssessment_businessImpact(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "notes":
|
|
out.Values[i] = ec._VendorRiskAssessment_notes(ctx, field, obj)
|
|
case "createdAt":
|
|
out.Values[i] = ec._VendorRiskAssessment_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._VendorRiskAssessment_updatedAt(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._VendorRiskAssessment_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 vendorRiskAssessmentConnectionImplementors = []string{"VendorRiskAssessmentConnection"}
|
|
|
|
func (ec *executionContext) _VendorRiskAssessmentConnection(ctx context.Context, sel ast.SelectionSet, obj *types.VendorRiskAssessmentConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorRiskAssessmentConnectionImplementors)
|
|
|
|
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("VendorRiskAssessmentConnection")
|
|
case "edges":
|
|
out.Values[i] = ec._VendorRiskAssessmentConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._VendorRiskAssessmentConnection_pageInfo(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 vendorRiskAssessmentEdgeImplementors = []string{"VendorRiskAssessmentEdge"}
|
|
|
|
func (ec *executionContext) _VendorRiskAssessmentEdge(ctx context.Context, sel ast.SelectionSet, obj *types.VendorRiskAssessmentEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorRiskAssessmentEdgeImplementors)
|
|
|
|
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("VendorRiskAssessmentEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._VendorRiskAssessmentEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._VendorRiskAssessmentEdge_node(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 vendorServiceImplementors = []string{"VendorService", "Node"}
|
|
|
|
func (ec *executionContext) _VendorService(ctx context.Context, sel ast.SelectionSet, obj *types.VendorService) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorServiceImplementors)
|
|
|
|
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("VendorService")
|
|
case "id":
|
|
out.Values[i] = ec._VendorService_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "vendor":
|
|
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._VendorService_vendor(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 "name":
|
|
out.Values[i] = ec._VendorService_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec._VendorService_description(ctx, field, obj)
|
|
case "createdAt":
|
|
out.Values[i] = ec._VendorService_createdAt(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "updatedAt":
|
|
out.Values[i] = ec._VendorService_updatedAt(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._VendorService_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 vendorServiceConnectionImplementors = []string{"VendorServiceConnection"}
|
|
|
|
func (ec *executionContext) _VendorServiceConnection(ctx context.Context, sel ast.SelectionSet, obj *types.VendorServiceConnection) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorServiceConnectionImplementors)
|
|
|
|
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("VendorServiceConnection")
|
|
case "edges":
|
|
out.Values[i] = ec._VendorServiceConnection_edges(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "pageInfo":
|
|
out.Values[i] = ec._VendorServiceConnection_pageInfo(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 vendorServiceEdgeImplementors = []string{"VendorServiceEdge"}
|
|
|
|
func (ec *executionContext) _VendorServiceEdge(ctx context.Context, sel ast.SelectionSet, obj *types.VendorServiceEdge) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, vendorServiceEdgeImplementors)
|
|
|
|
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("VendorServiceEdge")
|
|
case "cursor":
|
|
out.Values[i] = ec._VendorServiceEdge_cursor(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "node":
|
|
out.Values[i] = ec._VendorServiceEdge_node(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 viewerImplementors = []string{"Viewer"}
|
|
|
|
func (ec *executionContext) _Viewer(ctx context.Context, sel ast.SelectionSet, obj *types.Viewer) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, viewerImplementors)
|
|
|
|
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("Viewer")
|
|
case "id":
|
|
out.Values[i] = ec._Viewer_id(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
atomic.AddUint32(&out.Invalids, 1)
|
|
}
|
|
case "signableDocuments":
|
|
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._Viewer_signableDocuments(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 "signableDocument":
|
|
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._Viewer_signableDocument(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 __DirectiveImplementors = []string{"__Directive"}
|
|
|
|
func (ec *executionContext) ___Directive(ctx context.Context, sel ast.SelectionSet, obj *introspection.Directive) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, __DirectiveImplementors)
|
|
|
|
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("__Directive")
|
|
case "name":
|
|
out.Values[i] = ec.___Directive_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec.___Directive_description(ctx, field, obj)
|
|
case "isRepeatable":
|
|
out.Values[i] = ec.___Directive_isRepeatable(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "locations":
|
|
out.Values[i] = ec.___Directive_locations(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "args":
|
|
out.Values[i] = ec.___Directive_args(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 __EnumValueImplementors = []string{"__EnumValue"}
|
|
|
|
func (ec *executionContext) ___EnumValue(ctx context.Context, sel ast.SelectionSet, obj *introspection.EnumValue) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, __EnumValueImplementors)
|
|
|
|
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("__EnumValue")
|
|
case "name":
|
|
out.Values[i] = ec.___EnumValue_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec.___EnumValue_description(ctx, field, obj)
|
|
case "isDeprecated":
|
|
out.Values[i] = ec.___EnumValue_isDeprecated(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deprecationReason":
|
|
out.Values[i] = ec.___EnumValue_deprecationReason(ctx, field, obj)
|
|
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 __FieldImplementors = []string{"__Field"}
|
|
|
|
func (ec *executionContext) ___Field(ctx context.Context, sel ast.SelectionSet, obj *introspection.Field) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, __FieldImplementors)
|
|
|
|
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("__Field")
|
|
case "name":
|
|
out.Values[i] = ec.___Field_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec.___Field_description(ctx, field, obj)
|
|
case "args":
|
|
out.Values[i] = ec.___Field_args(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "type":
|
|
out.Values[i] = ec.___Field_type(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "isDeprecated":
|
|
out.Values[i] = ec.___Field_isDeprecated(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deprecationReason":
|
|
out.Values[i] = ec.___Field_deprecationReason(ctx, field, obj)
|
|
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 __InputValueImplementors = []string{"__InputValue"}
|
|
|
|
func (ec *executionContext) ___InputValue(ctx context.Context, sel ast.SelectionSet, obj *introspection.InputValue) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, __InputValueImplementors)
|
|
|
|
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("__InputValue")
|
|
case "name":
|
|
out.Values[i] = ec.___InputValue_name(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "description":
|
|
out.Values[i] = ec.___InputValue_description(ctx, field, obj)
|
|
case "type":
|
|
out.Values[i] = ec.___InputValue_type(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "defaultValue":
|
|
out.Values[i] = ec.___InputValue_defaultValue(ctx, field, obj)
|
|
case "isDeprecated":
|
|
out.Values[i] = ec.___InputValue_isDeprecated(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "deprecationReason":
|
|
out.Values[i] = ec.___InputValue_deprecationReason(ctx, field, obj)
|
|
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 __SchemaImplementors = []string{"__Schema"}
|
|
|
|
func (ec *executionContext) ___Schema(ctx context.Context, sel ast.SelectionSet, obj *introspection.Schema) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, __SchemaImplementors)
|
|
|
|
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("__Schema")
|
|
case "description":
|
|
out.Values[i] = ec.___Schema_description(ctx, field, obj)
|
|
case "types":
|
|
out.Values[i] = ec.___Schema_types(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "queryType":
|
|
out.Values[i] = ec.___Schema_queryType(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "mutationType":
|
|
out.Values[i] = ec.___Schema_mutationType(ctx, field, obj)
|
|
case "subscriptionType":
|
|
out.Values[i] = ec.___Schema_subscriptionType(ctx, field, obj)
|
|
case "directives":
|
|
out.Values[i] = ec.___Schema_directives(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 __TypeImplementors = []string{"__Type"}
|
|
|
|
func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, obj *introspection.Type) graphql.Marshaler {
|
|
fields := graphql.CollectFields(ec.OperationContext, sel, __TypeImplementors)
|
|
|
|
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("__Type")
|
|
case "kind":
|
|
out.Values[i] = ec.___Type_kind(ctx, field, obj)
|
|
if out.Values[i] == graphql.Null {
|
|
out.Invalids++
|
|
}
|
|
case "name":
|
|
out.Values[i] = ec.___Type_name(ctx, field, obj)
|
|
case "description":
|
|
out.Values[i] = ec.___Type_description(ctx, field, obj)
|
|
case "specifiedByURL":
|
|
out.Values[i] = ec.___Type_specifiedByURL(ctx, field, obj)
|
|
case "fields":
|
|
out.Values[i] = ec.___Type_fields(ctx, field, obj)
|
|
case "interfaces":
|
|
out.Values[i] = ec.___Type_interfaces(ctx, field, obj)
|
|
case "possibleTypes":
|
|
out.Values[i] = ec.___Type_possibleTypes(ctx, field, obj)
|
|
case "enumValues":
|
|
out.Values[i] = ec.___Type_enumValues(ctx, field, obj)
|
|
case "inputFields":
|
|
out.Values[i] = ec.___Type_inputFields(ctx, field, obj)
|
|
case "ofType":
|
|
out.Values[i] = ec.___Type_ofType(ctx, field, obj)
|
|
case "isOneOf":
|
|
out.Values[i] = ec.___Type_isOneOf(ctx, field, obj)
|
|
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
|
|
}
|
|
|
|
// endregion **************************** object.gotpl ****************************
|
|
|
|
// region ***************************** type.gotpl *****************************
|
|
|
|
func (ec *executionContext) unmarshalNAssessVendorInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssessVendorInput(ctx context.Context, v any) (types.AssessVendorInput, error) {
|
|
res, err := ec.unmarshalInputAssessVendorInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNAssessVendorPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssessVendorPayload(ctx context.Context, sel ast.SelectionSet, v types.AssessVendorPayload) graphql.Marshaler {
|
|
return ec._AssessVendorPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNAssessVendorPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssessVendorPayload(ctx context.Context, sel ast.SelectionSet, v *types.AssessVendorPayload) 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._AssessVendorPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNAsset2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAsset(ctx context.Context, sel ast.SelectionSet, v *types.Asset) 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._Asset(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNAssetConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssetConnection(ctx context.Context, sel ast.SelectionSet, v types.AssetConnection) graphql.Marshaler {
|
|
return ec._AssetConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNAssetConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssetConnection(ctx context.Context, sel ast.SelectionSet, v *types.AssetConnection) 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._AssetConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNAssetEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssetEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.AssetEdge) 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.marshalNAssetEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssetEdge(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) marshalNAssetEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssetEdge(ctx context.Context, sel ast.SelectionSet, v *types.AssetEdge) 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._AssetEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNAssetOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetOrderField(ctx context.Context, v any) (coredata.AssetOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNAssetOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNAssetOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.AssetOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNAssetOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetOrderField[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 (
|
|
unmarshalNAssetOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetOrderField = map[string]coredata.AssetOrderField{
|
|
"CREATED_AT": coredata.AssetOrderFieldCreatedAt,
|
|
"AMOUNT": coredata.AssetOrderFieldAmount,
|
|
}
|
|
marshalNAssetOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetOrderField = map[coredata.AssetOrderField]string{
|
|
coredata.AssetOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.AssetOrderFieldAmount: "AMOUNT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNAssetType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType(ctx context.Context, v any) (coredata.AssetType, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNAssetType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNAssetType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType(ctx context.Context, sel ast.SelectionSet, v coredata.AssetType) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNAssetType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType[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 (
|
|
unmarshalNAssetType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType = map[string]coredata.AssetType{
|
|
"PHYSICAL": coredata.AssetTypePhysical,
|
|
"VIRTUAL": coredata.AssetTypeVirtual,
|
|
}
|
|
marshalNAssetType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType = map[coredata.AssetType]string{
|
|
coredata.AssetTypePhysical: "PHYSICAL",
|
|
coredata.AssetTypeVirtual: "VIRTUAL",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNAudit2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAudit(ctx context.Context, sel ast.SelectionSet, v *types.Audit) 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._Audit(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNAuditConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAuditConnection(ctx context.Context, sel ast.SelectionSet, v types.AuditConnection) graphql.Marshaler {
|
|
return ec._AuditConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNAuditConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAuditConnection(ctx context.Context, sel ast.SelectionSet, v *types.AuditConnection) 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._AuditConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNAuditEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAuditEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.AuditEdge) 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.marshalNAuditEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAuditEdge(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) marshalNAuditEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAuditEdge(ctx context.Context, sel ast.SelectionSet, v *types.AuditEdge) 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._AuditEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNAuditOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditOrderField(ctx context.Context, v any) (coredata.AuditOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNAuditOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNAuditOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.AuditOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNAuditOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditOrderField[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 (
|
|
unmarshalNAuditOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditOrderField = map[string]coredata.AuditOrderField{
|
|
"CREATED_AT": coredata.AuditOrderFieldCreatedAt,
|
|
"VALID_FROM": coredata.AuditOrderFieldValidFrom,
|
|
"VALID_UNTIL": coredata.AuditOrderFieldValidUntil,
|
|
"STATE": coredata.AuditOrderFieldState,
|
|
}
|
|
marshalNAuditOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditOrderField = map[coredata.AuditOrderField]string{
|
|
coredata.AuditOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.AuditOrderFieldValidFrom: "VALID_FROM",
|
|
coredata.AuditOrderFieldValidUntil: "VALID_UNTIL",
|
|
coredata.AuditOrderFieldState: "STATE",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNAuditState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState(ctx context.Context, v any) (coredata.AuditState, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNAuditState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNAuditState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState(ctx context.Context, sel ast.SelectionSet, v coredata.AuditState) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNAuditState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState[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 (
|
|
unmarshalNAuditState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState = map[string]coredata.AuditState{
|
|
"NOT_STARTED": coredata.AuditStateNotStarted,
|
|
"IN_PROGRESS": coredata.AuditStateInProgress,
|
|
"COMPLETED": coredata.AuditStateCompleted,
|
|
"REJECTED": coredata.AuditStateRejected,
|
|
"OUTDATED": coredata.AuditStateOutdated,
|
|
}
|
|
marshalNAuditState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState = map[coredata.AuditState]string{
|
|
coredata.AuditStateNotStarted: "NOT_STARTED",
|
|
coredata.AuditStateInProgress: "IN_PROGRESS",
|
|
coredata.AuditStateCompleted: "COMPLETED",
|
|
coredata.AuditStateRejected: "REJECTED",
|
|
coredata.AuditStateOutdated: "OUTDATED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNAvailableStateOfApplicabilityControl2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAvailableStateOfApplicabilityControlᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.AvailableStateOfApplicabilityControl) 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.marshalNAvailableStateOfApplicabilityControl2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAvailableStateOfApplicabilityControl(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) marshalNAvailableStateOfApplicabilityControl2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAvailableStateOfApplicabilityControl(ctx context.Context, sel ast.SelectionSet, v *types.AvailableStateOfApplicabilityControl) 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._AvailableStateOfApplicabilityControl(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNBigInt2int64(ctx context.Context, v any) (int64, error) {
|
|
res, err := bigint.UnmarshalBigIntScalar(v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNBigInt2int64(ctx context.Context, sel ast.SelectionSet, v int64) graphql.Marshaler {
|
|
_ = sel
|
|
res := bigint.MarshalBigIntScalar(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
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context, v any) (bool, error) {
|
|
res, err := graphql.UnmarshalBoolean(v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalBoolean(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
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNBulkDeleteDocumentsInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkDeleteDocumentsInput(ctx context.Context, v any) (types.BulkDeleteDocumentsInput, error) {
|
|
res, err := ec.unmarshalInputBulkDeleteDocumentsInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNBulkDeleteDocumentsPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkDeleteDocumentsPayload(ctx context.Context, sel ast.SelectionSet, v types.BulkDeleteDocumentsPayload) graphql.Marshaler {
|
|
return ec._BulkDeleteDocumentsPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNBulkDeleteDocumentsPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkDeleteDocumentsPayload(ctx context.Context, sel ast.SelectionSet, v *types.BulkDeleteDocumentsPayload) 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._BulkDeleteDocumentsPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNBulkExportDocumentsInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkExportDocumentsInput(ctx context.Context, v any) (types.BulkExportDocumentsInput, error) {
|
|
res, err := ec.unmarshalInputBulkExportDocumentsInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNBulkExportDocumentsPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkExportDocumentsPayload(ctx context.Context, sel ast.SelectionSet, v types.BulkExportDocumentsPayload) graphql.Marshaler {
|
|
return ec._BulkExportDocumentsPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNBulkExportDocumentsPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkExportDocumentsPayload(ctx context.Context, sel ast.SelectionSet, v *types.BulkExportDocumentsPayload) 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._BulkExportDocumentsPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNBulkPublishDocumentVersionsInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkPublishDocumentVersionsInput(ctx context.Context, v any) (types.BulkPublishDocumentVersionsInput, error) {
|
|
res, err := ec.unmarshalInputBulkPublishDocumentVersionsInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNBulkPublishDocumentVersionsPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkPublishDocumentVersionsPayload(ctx context.Context, sel ast.SelectionSet, v types.BulkPublishDocumentVersionsPayload) graphql.Marshaler {
|
|
return ec._BulkPublishDocumentVersionsPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNBulkPublishDocumentVersionsPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkPublishDocumentVersionsPayload(ctx context.Context, sel ast.SelectionSet, v *types.BulkPublishDocumentVersionsPayload) 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._BulkPublishDocumentVersionsPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNBulkRequestSignaturesInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkRequestSignaturesInput(ctx context.Context, v any) (types.BulkRequestSignaturesInput, error) {
|
|
res, err := ec.unmarshalInputBulkRequestSignaturesInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNBulkRequestSignaturesPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkRequestSignaturesPayload(ctx context.Context, sel ast.SelectionSet, v types.BulkRequestSignaturesPayload) graphql.Marshaler {
|
|
return ec._BulkRequestSignaturesPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNBulkRequestSignaturesPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐBulkRequestSignaturesPayload(ctx context.Context, sel ast.SelectionSet, v *types.BulkRequestSignaturesPayload) 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._BulkRequestSignaturesPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNBusinessImpact2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐBusinessImpact(ctx context.Context, v any) (coredata.BusinessImpact, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNBusinessImpact2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐBusinessImpact[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNBusinessImpact2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐBusinessImpact(ctx context.Context, sel ast.SelectionSet, v coredata.BusinessImpact) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNBusinessImpact2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐBusinessImpact[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 (
|
|
unmarshalNBusinessImpact2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐBusinessImpact = map[string]coredata.BusinessImpact{
|
|
"LOW": coredata.BusinessImpactLow,
|
|
"MEDIUM": coredata.BusinessImpactMedium,
|
|
"HIGH": coredata.BusinessImpactHigh,
|
|
"CRITICAL": coredata.BusinessImpactCritical,
|
|
}
|
|
marshalNBusinessImpact2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐBusinessImpact = map[coredata.BusinessImpact]string{
|
|
coredata.BusinessImpactLow: "LOW",
|
|
coredata.BusinessImpactMedium: "MEDIUM",
|
|
coredata.BusinessImpactHigh: "HIGH",
|
|
coredata.BusinessImpactCritical: "CRITICAL",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNCancelSignatureRequestInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCancelSignatureRequestInput(ctx context.Context, v any) (types.CancelSignatureRequestInput, error) {
|
|
res, err := ec.unmarshalInputCancelSignatureRequestInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCancelSignatureRequestPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCancelSignatureRequestPayload(ctx context.Context, sel ast.SelectionSet, v types.CancelSignatureRequestPayload) graphql.Marshaler {
|
|
return ec._CancelSignatureRequestPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCancelSignatureRequestPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCancelSignatureRequestPayload(ctx context.Context, sel ast.SelectionSet, v *types.CancelSignatureRequestPayload) 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._CancelSignatureRequestPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNContinualImprovement2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovement(ctx context.Context, sel ast.SelectionSet, v *types.ContinualImprovement) 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._ContinualImprovement(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNContinualImprovementConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovementConnection(ctx context.Context, sel ast.SelectionSet, v types.ContinualImprovementConnection) graphql.Marshaler {
|
|
return ec._ContinualImprovementConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNContinualImprovementConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovementConnection(ctx context.Context, sel ast.SelectionSet, v *types.ContinualImprovementConnection) 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._ContinualImprovementConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNContinualImprovementEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovementEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.ContinualImprovementEdge) 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.marshalNContinualImprovementEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovementEdge(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) marshalNContinualImprovementEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovementEdge(ctx context.Context, sel ast.SelectionSet, v *types.ContinualImprovementEdge) 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._ContinualImprovementEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNContinualImprovementOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementOrderField(ctx context.Context, v any) (coredata.ContinualImprovementOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNContinualImprovementOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNContinualImprovementOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.ContinualImprovementOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNContinualImprovementOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementOrderField[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 (
|
|
unmarshalNContinualImprovementOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementOrderField = map[string]coredata.ContinualImprovementOrderField{
|
|
"CREATED_AT": coredata.ContinualImprovementOrderFieldCreatedAt,
|
|
"REFERENCE_ID": coredata.ContinualImprovementOrderFieldReferenceId,
|
|
"TARGET_DATE": coredata.ContinualImprovementOrderFieldTargetDate,
|
|
"STATUS": coredata.ContinualImprovementOrderFieldStatus,
|
|
"PRIORITY": coredata.ContinualImprovementOrderFieldPriority,
|
|
}
|
|
marshalNContinualImprovementOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementOrderField = map[coredata.ContinualImprovementOrderField]string{
|
|
coredata.ContinualImprovementOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.ContinualImprovementOrderFieldReferenceId: "REFERENCE_ID",
|
|
coredata.ContinualImprovementOrderFieldTargetDate: "TARGET_DATE",
|
|
coredata.ContinualImprovementOrderFieldStatus: "STATUS",
|
|
coredata.ContinualImprovementOrderFieldPriority: "PRIORITY",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNContinualImprovementPriority2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority(ctx context.Context, v any) (coredata.ContinualImprovementPriority, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNContinualImprovementPriority2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNContinualImprovementPriority2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority(ctx context.Context, sel ast.SelectionSet, v coredata.ContinualImprovementPriority) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNContinualImprovementPriority2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority[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 (
|
|
unmarshalNContinualImprovementPriority2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority = map[string]coredata.ContinualImprovementPriority{
|
|
"LOW": coredata.ContinualImprovementPriorityLow,
|
|
"MEDIUM": coredata.ContinualImprovementPriorityMedium,
|
|
"HIGH": coredata.ContinualImprovementPriorityHigh,
|
|
}
|
|
marshalNContinualImprovementPriority2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority = map[coredata.ContinualImprovementPriority]string{
|
|
coredata.ContinualImprovementPriorityLow: "LOW",
|
|
coredata.ContinualImprovementPriorityMedium: "MEDIUM",
|
|
coredata.ContinualImprovementPriorityHigh: "HIGH",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNContinualImprovementStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus(ctx context.Context, v any) (coredata.ContinualImprovementStatus, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNContinualImprovementStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNContinualImprovementStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus(ctx context.Context, sel ast.SelectionSet, v coredata.ContinualImprovementStatus) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNContinualImprovementStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus[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 (
|
|
unmarshalNContinualImprovementStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus = map[string]coredata.ContinualImprovementStatus{
|
|
"OPEN": coredata.ContinualImprovementStatusOpen,
|
|
"IN_PROGRESS": coredata.ContinualImprovementStatusInProgress,
|
|
"CLOSED": coredata.ContinualImprovementStatusClosed,
|
|
}
|
|
marshalNContinualImprovementStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus = map[coredata.ContinualImprovementStatus]string{
|
|
coredata.ContinualImprovementStatusOpen: "OPEN",
|
|
coredata.ContinualImprovementStatusInProgress: "IN_PROGRESS",
|
|
coredata.ContinualImprovementStatusClosed: "CLOSED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNControl2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControl(ctx context.Context, sel ast.SelectionSet, v *types.Control) 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._Control(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNControlConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlConnection(ctx context.Context, sel ast.SelectionSet, v types.ControlConnection) graphql.Marshaler {
|
|
return ec._ControlConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNControlConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlConnection(ctx context.Context, sel ast.SelectionSet, v *types.ControlConnection) 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._ControlConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNControlEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.ControlEdge) 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.marshalNControlEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlEdge(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) marshalNControlEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlEdge(ctx context.Context, sel ast.SelectionSet, v *types.ControlEdge) 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._ControlEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNControlOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlOrderField(ctx context.Context, v any) (coredata.ControlOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNControlOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNControlOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.ControlOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNControlOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlOrderField[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 (
|
|
unmarshalNControlOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlOrderField = map[string]coredata.ControlOrderField{
|
|
"CREATED_AT": coredata.ControlOrderFieldCreatedAt,
|
|
"SECTION_TITLE": coredata.ControlOrderFieldSectionTitle,
|
|
}
|
|
marshalNControlOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlOrderField = map[coredata.ControlOrderField]string{
|
|
coredata.ControlOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.ControlOrderFieldSectionTitle: "SECTION_TITLE",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNControlStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus(ctx context.Context, v any) (coredata.ControlStatus, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNControlStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNControlStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus(ctx context.Context, sel ast.SelectionSet, v coredata.ControlStatus) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNControlStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus[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 (
|
|
unmarshalNControlStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus = map[string]coredata.ControlStatus{
|
|
"INCLUDED": coredata.ControlStatusIncluded,
|
|
"EXCLUDED": coredata.ControlStatusExcluded,
|
|
}
|
|
marshalNControlStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus = map[coredata.ControlStatus]string{
|
|
coredata.ControlStatusIncluded: "INCLUDED",
|
|
coredata.ControlStatusExcluded: "EXCLUDED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNCountryCode2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCode(ctx context.Context, v any) (coredata.CountryCode, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNCountryCode2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCode[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCountryCode2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCode(ctx context.Context, sel ast.SelectionSet, v coredata.CountryCode) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNCountryCode2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCode[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 (
|
|
unmarshalNCountryCode2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCode = map[string]coredata.CountryCode{
|
|
"AD": coredata.CountryCodeAD,
|
|
"AE": coredata.CountryCodeAE,
|
|
"AF": coredata.CountryCodeAF,
|
|
"AG": coredata.CountryCodeAG,
|
|
"AI": coredata.CountryCodeAI,
|
|
"AL": coredata.CountryCodeAL,
|
|
"AM": coredata.CountryCodeAM,
|
|
"AO": coredata.CountryCodeAO,
|
|
"AQ": coredata.CountryCodeAQ,
|
|
"AR": coredata.CountryCodeAR,
|
|
"AS": coredata.CountryCodeAS,
|
|
"AT": coredata.CountryCodeAT,
|
|
"AU": coredata.CountryCodeAU,
|
|
"AW": coredata.CountryCodeAW,
|
|
"AX": coredata.CountryCodeAX,
|
|
"AZ": coredata.CountryCodeAZ,
|
|
"BA": coredata.CountryCodeBA,
|
|
"BB": coredata.CountryCodeBB,
|
|
"BD": coredata.CountryCodeBD,
|
|
"BE": coredata.CountryCodeBE,
|
|
"BF": coredata.CountryCodeBF,
|
|
"BG": coredata.CountryCodeBG,
|
|
"BH": coredata.CountryCodeBH,
|
|
"BI": coredata.CountryCodeBI,
|
|
"BJ": coredata.CountryCodeBJ,
|
|
"BL": coredata.CountryCodeBL,
|
|
"BM": coredata.CountryCodeBM,
|
|
"BN": coredata.CountryCodeBN,
|
|
"BO": coredata.CountryCodeBO,
|
|
"BQ": coredata.CountryCodeBQ,
|
|
"BR": coredata.CountryCodeBR,
|
|
"BS": coredata.CountryCodeBS,
|
|
"BT": coredata.CountryCodeBT,
|
|
"BV": coredata.CountryCodeBV,
|
|
"BW": coredata.CountryCodeBW,
|
|
"BY": coredata.CountryCodeBY,
|
|
"BZ": coredata.CountryCodeBZ,
|
|
"CA": coredata.CountryCodeCA,
|
|
"CC": coredata.CountryCodeCC,
|
|
"CD": coredata.CountryCodeCD,
|
|
"CF": coredata.CountryCodeCF,
|
|
"CG": coredata.CountryCodeCG,
|
|
"CH": coredata.CountryCodeCH,
|
|
"CI": coredata.CountryCodeCI,
|
|
"CK": coredata.CountryCodeCK,
|
|
"CL": coredata.CountryCodeCL,
|
|
"CM": coredata.CountryCodeCM,
|
|
"CN": coredata.CountryCodeCN,
|
|
"CO": coredata.CountryCodeCO,
|
|
"CR": coredata.CountryCodeCR,
|
|
"CU": coredata.CountryCodeCU,
|
|
"CV": coredata.CountryCodeCV,
|
|
"CW": coredata.CountryCodeCW,
|
|
"CX": coredata.CountryCodeCX,
|
|
"CY": coredata.CountryCodeCY,
|
|
"CZ": coredata.CountryCodeCZ,
|
|
"DE": coredata.CountryCodeDE,
|
|
"DJ": coredata.CountryCodeDJ,
|
|
"DK": coredata.CountryCodeDK,
|
|
"DM": coredata.CountryCodeDM,
|
|
"DO": coredata.CountryCodeDO,
|
|
"DZ": coredata.CountryCodeDZ,
|
|
"EC": coredata.CountryCodeEC,
|
|
"EE": coredata.CountryCodeEE,
|
|
"EG": coredata.CountryCodeEG,
|
|
"EH": coredata.CountryCodeEH,
|
|
"ER": coredata.CountryCodeER,
|
|
"ES": coredata.CountryCodeES,
|
|
"ET": coredata.CountryCodeET,
|
|
"EU": coredata.CountryCodeEU,
|
|
"FI": coredata.CountryCodeFI,
|
|
"FJ": coredata.CountryCodeFJ,
|
|
"FK": coredata.CountryCodeFK,
|
|
"FM": coredata.CountryCodeFM,
|
|
"FO": coredata.CountryCodeFO,
|
|
"FR": coredata.CountryCodeFR,
|
|
"GA": coredata.CountryCodeGA,
|
|
"GB": coredata.CountryCodeGB,
|
|
"GD": coredata.CountryCodeGD,
|
|
"GE": coredata.CountryCodeGE,
|
|
"GF": coredata.CountryCodeGF,
|
|
"GG": coredata.CountryCodeGG,
|
|
"GH": coredata.CountryCodeGH,
|
|
"GI": coredata.CountryCodeGI,
|
|
"GL": coredata.CountryCodeGL,
|
|
"GM": coredata.CountryCodeGM,
|
|
"GN": coredata.CountryCodeGN,
|
|
"GP": coredata.CountryCodeGP,
|
|
"GQ": coredata.CountryCodeGQ,
|
|
"GR": coredata.CountryCodeGR,
|
|
"GT": coredata.CountryCodeGT,
|
|
"GU": coredata.CountryCodeGU,
|
|
"GW": coredata.CountryCodeGW,
|
|
"GY": coredata.CountryCodeGY,
|
|
"HK": coredata.CountryCodeHK,
|
|
"HM": coredata.CountryCodeHM,
|
|
"HN": coredata.CountryCodeHN,
|
|
"HR": coredata.CountryCodeHR,
|
|
"HT": coredata.CountryCodeHT,
|
|
"HU": coredata.CountryCodeHU,
|
|
"ID": coredata.CountryCodeID,
|
|
"IE": coredata.CountryCodeIE,
|
|
"IL": coredata.CountryCodeIL,
|
|
"IM": coredata.CountryCodeIM,
|
|
"IN": coredata.CountryCodeIN,
|
|
"IO": coredata.CountryCodeIO,
|
|
"IQ": coredata.CountryCodeIQ,
|
|
"IR": coredata.CountryCodeIR,
|
|
"IS": coredata.CountryCodeIS,
|
|
"IT": coredata.CountryCodeIT,
|
|
"JE": coredata.CountryCodeJE,
|
|
"JM": coredata.CountryCodeJM,
|
|
"JO": coredata.CountryCodeJO,
|
|
"JP": coredata.CountryCodeJP,
|
|
"KE": coredata.CountryCodeKE,
|
|
"KG": coredata.CountryCodeKG,
|
|
"KH": coredata.CountryCodeKH,
|
|
"KI": coredata.CountryCodeKI,
|
|
"KM": coredata.CountryCodeKM,
|
|
"KN": coredata.CountryCodeKN,
|
|
"KP": coredata.CountryCodeKP,
|
|
"KR": coredata.CountryCodeKR,
|
|
"KW": coredata.CountryCodeKW,
|
|
"KY": coredata.CountryCodeKY,
|
|
"KZ": coredata.CountryCodeKZ,
|
|
"LA": coredata.CountryCodeLA,
|
|
"LB": coredata.CountryCodeLB,
|
|
"LC": coredata.CountryCodeLC,
|
|
"LI": coredata.CountryCodeLI,
|
|
"LK": coredata.CountryCodeLK,
|
|
"LR": coredata.CountryCodeLR,
|
|
"LS": coredata.CountryCodeLS,
|
|
"LT": coredata.CountryCodeLT,
|
|
"LU": coredata.CountryCodeLU,
|
|
"LV": coredata.CountryCodeLV,
|
|
"LY": coredata.CountryCodeLY,
|
|
"MA": coredata.CountryCodeMA,
|
|
"MC": coredata.CountryCodeMC,
|
|
"MD": coredata.CountryCodeMD,
|
|
"ME": coredata.CountryCodeME,
|
|
"MF": coredata.CountryCodeMF,
|
|
"MG": coredata.CountryCodeMG,
|
|
"MH": coredata.CountryCodeMH,
|
|
"MK": coredata.CountryCodeMK,
|
|
"ML": coredata.CountryCodeML,
|
|
"MM": coredata.CountryCodeMM,
|
|
"MN": coredata.CountryCodeMN,
|
|
"MO": coredata.CountryCodeMO,
|
|
"MP": coredata.CountryCodeMP,
|
|
"MQ": coredata.CountryCodeMQ,
|
|
"MR": coredata.CountryCodeMR,
|
|
"MS": coredata.CountryCodeMS,
|
|
"MT": coredata.CountryCodeMT,
|
|
"MU": coredata.CountryCodeMU,
|
|
"MV": coredata.CountryCodeMV,
|
|
"MW": coredata.CountryCodeMW,
|
|
"MX": coredata.CountryCodeMX,
|
|
"MY": coredata.CountryCodeMY,
|
|
"MZ": coredata.CountryCodeMZ,
|
|
"NA": coredata.CountryCodeNA,
|
|
"NC": coredata.CountryCodeNC,
|
|
"NE": coredata.CountryCodeNE,
|
|
"NF": coredata.CountryCodeNF,
|
|
"NG": coredata.CountryCodeNG,
|
|
"NI": coredata.CountryCodeNI,
|
|
"NL": coredata.CountryCodeNL,
|
|
"NO": coredata.CountryCodeNO,
|
|
"NP": coredata.CountryCodeNP,
|
|
"NR": coredata.CountryCodeNR,
|
|
"NU": coredata.CountryCodeNU,
|
|
"NZ": coredata.CountryCodeNZ,
|
|
"OM": coredata.CountryCodeOM,
|
|
"PA": coredata.CountryCodePA,
|
|
"PE": coredata.CountryCodePE,
|
|
"PF": coredata.CountryCodePF,
|
|
"PG": coredata.CountryCodePG,
|
|
"PH": coredata.CountryCodePH,
|
|
"PK": coredata.CountryCodePK,
|
|
"PL": coredata.CountryCodePL,
|
|
"PM": coredata.CountryCodePM,
|
|
"PN": coredata.CountryCodePN,
|
|
"PR": coredata.CountryCodePR,
|
|
"PS": coredata.CountryCodePS,
|
|
"PT": coredata.CountryCodePT,
|
|
"PW": coredata.CountryCodePW,
|
|
"PY": coredata.CountryCodePY,
|
|
"QA": coredata.CountryCodeQA,
|
|
"RE": coredata.CountryCodeRE,
|
|
"RO": coredata.CountryCodeRO,
|
|
"RS": coredata.CountryCodeRS,
|
|
"RU": coredata.CountryCodeRU,
|
|
"RW": coredata.CountryCodeRW,
|
|
"SA": coredata.CountryCodeSA,
|
|
"SB": coredata.CountryCodeSB,
|
|
"SC": coredata.CountryCodeSC,
|
|
"SD": coredata.CountryCodeSD,
|
|
"SE": coredata.CountryCodeSE,
|
|
"SG": coredata.CountryCodeSG,
|
|
"SH": coredata.CountryCodeSH,
|
|
"SI": coredata.CountryCodeSI,
|
|
"SJ": coredata.CountryCodeSJ,
|
|
"SK": coredata.CountryCodeSK,
|
|
"SL": coredata.CountryCodeSL,
|
|
"SM": coredata.CountryCodeSM,
|
|
"SN": coredata.CountryCodeSN,
|
|
"SO": coredata.CountryCodeSO,
|
|
"SR": coredata.CountryCodeSR,
|
|
"SS": coredata.CountryCodeSS,
|
|
"ST": coredata.CountryCodeST,
|
|
"SV": coredata.CountryCodeSV,
|
|
"SX": coredata.CountryCodeSX,
|
|
"SY": coredata.CountryCodeSY,
|
|
"SZ": coredata.CountryCodeSZ,
|
|
"TC": coredata.CountryCodeTC,
|
|
"TD": coredata.CountryCodeTD,
|
|
"TF": coredata.CountryCodeTF,
|
|
"TG": coredata.CountryCodeTG,
|
|
"TH": coredata.CountryCodeTH,
|
|
"TJ": coredata.CountryCodeTJ,
|
|
"TK": coredata.CountryCodeTK,
|
|
"TL": coredata.CountryCodeTL,
|
|
"TM": coredata.CountryCodeTM,
|
|
"TN": coredata.CountryCodeTN,
|
|
"TO": coredata.CountryCodeTO,
|
|
"TR": coredata.CountryCodeTR,
|
|
"TT": coredata.CountryCodeTT,
|
|
"TV": coredata.CountryCodeTV,
|
|
"TW": coredata.CountryCodeTW,
|
|
"TZ": coredata.CountryCodeTZ,
|
|
"UA": coredata.CountryCodeUA,
|
|
"UG": coredata.CountryCodeUG,
|
|
"UM": coredata.CountryCodeUM,
|
|
"US": coredata.CountryCodeUS,
|
|
"UY": coredata.CountryCodeUY,
|
|
"UZ": coredata.CountryCodeUZ,
|
|
"VA": coredata.CountryCodeVA,
|
|
"VC": coredata.CountryCodeVC,
|
|
"VE": coredata.CountryCodeVE,
|
|
"VG": coredata.CountryCodeVG,
|
|
"VI": coredata.CountryCodeVI,
|
|
"VN": coredata.CountryCodeVN,
|
|
"VU": coredata.CountryCodeVU,
|
|
"WF": coredata.CountryCodeWF,
|
|
"WS": coredata.CountryCodeWS,
|
|
"YE": coredata.CountryCodeYE,
|
|
"YT": coredata.CountryCodeYT,
|
|
"ZA": coredata.CountryCodeZA,
|
|
"ZM": coredata.CountryCodeZM,
|
|
"ZW": coredata.CountryCodeZW,
|
|
}
|
|
marshalNCountryCode2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCode = map[coredata.CountryCode]string{
|
|
coredata.CountryCodeAD: "AD",
|
|
coredata.CountryCodeAE: "AE",
|
|
coredata.CountryCodeAF: "AF",
|
|
coredata.CountryCodeAG: "AG",
|
|
coredata.CountryCodeAI: "AI",
|
|
coredata.CountryCodeAL: "AL",
|
|
coredata.CountryCodeAM: "AM",
|
|
coredata.CountryCodeAO: "AO",
|
|
coredata.CountryCodeAQ: "AQ",
|
|
coredata.CountryCodeAR: "AR",
|
|
coredata.CountryCodeAS: "AS",
|
|
coredata.CountryCodeAT: "AT",
|
|
coredata.CountryCodeAU: "AU",
|
|
coredata.CountryCodeAW: "AW",
|
|
coredata.CountryCodeAX: "AX",
|
|
coredata.CountryCodeAZ: "AZ",
|
|
coredata.CountryCodeBA: "BA",
|
|
coredata.CountryCodeBB: "BB",
|
|
coredata.CountryCodeBD: "BD",
|
|
coredata.CountryCodeBE: "BE",
|
|
coredata.CountryCodeBF: "BF",
|
|
coredata.CountryCodeBG: "BG",
|
|
coredata.CountryCodeBH: "BH",
|
|
coredata.CountryCodeBI: "BI",
|
|
coredata.CountryCodeBJ: "BJ",
|
|
coredata.CountryCodeBL: "BL",
|
|
coredata.CountryCodeBM: "BM",
|
|
coredata.CountryCodeBN: "BN",
|
|
coredata.CountryCodeBO: "BO",
|
|
coredata.CountryCodeBQ: "BQ",
|
|
coredata.CountryCodeBR: "BR",
|
|
coredata.CountryCodeBS: "BS",
|
|
coredata.CountryCodeBT: "BT",
|
|
coredata.CountryCodeBV: "BV",
|
|
coredata.CountryCodeBW: "BW",
|
|
coredata.CountryCodeBY: "BY",
|
|
coredata.CountryCodeBZ: "BZ",
|
|
coredata.CountryCodeCA: "CA",
|
|
coredata.CountryCodeCC: "CC",
|
|
coredata.CountryCodeCD: "CD",
|
|
coredata.CountryCodeCF: "CF",
|
|
coredata.CountryCodeCG: "CG",
|
|
coredata.CountryCodeCH: "CH",
|
|
coredata.CountryCodeCI: "CI",
|
|
coredata.CountryCodeCK: "CK",
|
|
coredata.CountryCodeCL: "CL",
|
|
coredata.CountryCodeCM: "CM",
|
|
coredata.CountryCodeCN: "CN",
|
|
coredata.CountryCodeCO: "CO",
|
|
coredata.CountryCodeCR: "CR",
|
|
coredata.CountryCodeCU: "CU",
|
|
coredata.CountryCodeCV: "CV",
|
|
coredata.CountryCodeCW: "CW",
|
|
coredata.CountryCodeCX: "CX",
|
|
coredata.CountryCodeCY: "CY",
|
|
coredata.CountryCodeCZ: "CZ",
|
|
coredata.CountryCodeDE: "DE",
|
|
coredata.CountryCodeDJ: "DJ",
|
|
coredata.CountryCodeDK: "DK",
|
|
coredata.CountryCodeDM: "DM",
|
|
coredata.CountryCodeDO: "DO",
|
|
coredata.CountryCodeDZ: "DZ",
|
|
coredata.CountryCodeEC: "EC",
|
|
coredata.CountryCodeEE: "EE",
|
|
coredata.CountryCodeEG: "EG",
|
|
coredata.CountryCodeEH: "EH",
|
|
coredata.CountryCodeER: "ER",
|
|
coredata.CountryCodeES: "ES",
|
|
coredata.CountryCodeET: "ET",
|
|
coredata.CountryCodeEU: "EU",
|
|
coredata.CountryCodeFI: "FI",
|
|
coredata.CountryCodeFJ: "FJ",
|
|
coredata.CountryCodeFK: "FK",
|
|
coredata.CountryCodeFM: "FM",
|
|
coredata.CountryCodeFO: "FO",
|
|
coredata.CountryCodeFR: "FR",
|
|
coredata.CountryCodeGA: "GA",
|
|
coredata.CountryCodeGB: "GB",
|
|
coredata.CountryCodeGD: "GD",
|
|
coredata.CountryCodeGE: "GE",
|
|
coredata.CountryCodeGF: "GF",
|
|
coredata.CountryCodeGG: "GG",
|
|
coredata.CountryCodeGH: "GH",
|
|
coredata.CountryCodeGI: "GI",
|
|
coredata.CountryCodeGL: "GL",
|
|
coredata.CountryCodeGM: "GM",
|
|
coredata.CountryCodeGN: "GN",
|
|
coredata.CountryCodeGP: "GP",
|
|
coredata.CountryCodeGQ: "GQ",
|
|
coredata.CountryCodeGR: "GR",
|
|
coredata.CountryCodeGT: "GT",
|
|
coredata.CountryCodeGU: "GU",
|
|
coredata.CountryCodeGW: "GW",
|
|
coredata.CountryCodeGY: "GY",
|
|
coredata.CountryCodeHK: "HK",
|
|
coredata.CountryCodeHM: "HM",
|
|
coredata.CountryCodeHN: "HN",
|
|
coredata.CountryCodeHR: "HR",
|
|
coredata.CountryCodeHT: "HT",
|
|
coredata.CountryCodeHU: "HU",
|
|
coredata.CountryCodeID: "ID",
|
|
coredata.CountryCodeIE: "IE",
|
|
coredata.CountryCodeIL: "IL",
|
|
coredata.CountryCodeIM: "IM",
|
|
coredata.CountryCodeIN: "IN",
|
|
coredata.CountryCodeIO: "IO",
|
|
coredata.CountryCodeIQ: "IQ",
|
|
coredata.CountryCodeIR: "IR",
|
|
coredata.CountryCodeIS: "IS",
|
|
coredata.CountryCodeIT: "IT",
|
|
coredata.CountryCodeJE: "JE",
|
|
coredata.CountryCodeJM: "JM",
|
|
coredata.CountryCodeJO: "JO",
|
|
coredata.CountryCodeJP: "JP",
|
|
coredata.CountryCodeKE: "KE",
|
|
coredata.CountryCodeKG: "KG",
|
|
coredata.CountryCodeKH: "KH",
|
|
coredata.CountryCodeKI: "KI",
|
|
coredata.CountryCodeKM: "KM",
|
|
coredata.CountryCodeKN: "KN",
|
|
coredata.CountryCodeKP: "KP",
|
|
coredata.CountryCodeKR: "KR",
|
|
coredata.CountryCodeKW: "KW",
|
|
coredata.CountryCodeKY: "KY",
|
|
coredata.CountryCodeKZ: "KZ",
|
|
coredata.CountryCodeLA: "LA",
|
|
coredata.CountryCodeLB: "LB",
|
|
coredata.CountryCodeLC: "LC",
|
|
coredata.CountryCodeLI: "LI",
|
|
coredata.CountryCodeLK: "LK",
|
|
coredata.CountryCodeLR: "LR",
|
|
coredata.CountryCodeLS: "LS",
|
|
coredata.CountryCodeLT: "LT",
|
|
coredata.CountryCodeLU: "LU",
|
|
coredata.CountryCodeLV: "LV",
|
|
coredata.CountryCodeLY: "LY",
|
|
coredata.CountryCodeMA: "MA",
|
|
coredata.CountryCodeMC: "MC",
|
|
coredata.CountryCodeMD: "MD",
|
|
coredata.CountryCodeME: "ME",
|
|
coredata.CountryCodeMF: "MF",
|
|
coredata.CountryCodeMG: "MG",
|
|
coredata.CountryCodeMH: "MH",
|
|
coredata.CountryCodeMK: "MK",
|
|
coredata.CountryCodeML: "ML",
|
|
coredata.CountryCodeMM: "MM",
|
|
coredata.CountryCodeMN: "MN",
|
|
coredata.CountryCodeMO: "MO",
|
|
coredata.CountryCodeMP: "MP",
|
|
coredata.CountryCodeMQ: "MQ",
|
|
coredata.CountryCodeMR: "MR",
|
|
coredata.CountryCodeMS: "MS",
|
|
coredata.CountryCodeMT: "MT",
|
|
coredata.CountryCodeMU: "MU",
|
|
coredata.CountryCodeMV: "MV",
|
|
coredata.CountryCodeMW: "MW",
|
|
coredata.CountryCodeMX: "MX",
|
|
coredata.CountryCodeMY: "MY",
|
|
coredata.CountryCodeMZ: "MZ",
|
|
coredata.CountryCodeNA: "NA",
|
|
coredata.CountryCodeNC: "NC",
|
|
coredata.CountryCodeNE: "NE",
|
|
coredata.CountryCodeNF: "NF",
|
|
coredata.CountryCodeNG: "NG",
|
|
coredata.CountryCodeNI: "NI",
|
|
coredata.CountryCodeNL: "NL",
|
|
coredata.CountryCodeNO: "NO",
|
|
coredata.CountryCodeNP: "NP",
|
|
coredata.CountryCodeNR: "NR",
|
|
coredata.CountryCodeNU: "NU",
|
|
coredata.CountryCodeNZ: "NZ",
|
|
coredata.CountryCodeOM: "OM",
|
|
coredata.CountryCodePA: "PA",
|
|
coredata.CountryCodePE: "PE",
|
|
coredata.CountryCodePF: "PF",
|
|
coredata.CountryCodePG: "PG",
|
|
coredata.CountryCodePH: "PH",
|
|
coredata.CountryCodePK: "PK",
|
|
coredata.CountryCodePL: "PL",
|
|
coredata.CountryCodePM: "PM",
|
|
coredata.CountryCodePN: "PN",
|
|
coredata.CountryCodePR: "PR",
|
|
coredata.CountryCodePS: "PS",
|
|
coredata.CountryCodePT: "PT",
|
|
coredata.CountryCodePW: "PW",
|
|
coredata.CountryCodePY: "PY",
|
|
coredata.CountryCodeQA: "QA",
|
|
coredata.CountryCodeRE: "RE",
|
|
coredata.CountryCodeRO: "RO",
|
|
coredata.CountryCodeRS: "RS",
|
|
coredata.CountryCodeRU: "RU",
|
|
coredata.CountryCodeRW: "RW",
|
|
coredata.CountryCodeSA: "SA",
|
|
coredata.CountryCodeSB: "SB",
|
|
coredata.CountryCodeSC: "SC",
|
|
coredata.CountryCodeSD: "SD",
|
|
coredata.CountryCodeSE: "SE",
|
|
coredata.CountryCodeSG: "SG",
|
|
coredata.CountryCodeSH: "SH",
|
|
coredata.CountryCodeSI: "SI",
|
|
coredata.CountryCodeSJ: "SJ",
|
|
coredata.CountryCodeSK: "SK",
|
|
coredata.CountryCodeSL: "SL",
|
|
coredata.CountryCodeSM: "SM",
|
|
coredata.CountryCodeSN: "SN",
|
|
coredata.CountryCodeSO: "SO",
|
|
coredata.CountryCodeSR: "SR",
|
|
coredata.CountryCodeSS: "SS",
|
|
coredata.CountryCodeST: "ST",
|
|
coredata.CountryCodeSV: "SV",
|
|
coredata.CountryCodeSX: "SX",
|
|
coredata.CountryCodeSY: "SY",
|
|
coredata.CountryCodeSZ: "SZ",
|
|
coredata.CountryCodeTC: "TC",
|
|
coredata.CountryCodeTD: "TD",
|
|
coredata.CountryCodeTF: "TF",
|
|
coredata.CountryCodeTG: "TG",
|
|
coredata.CountryCodeTH: "TH",
|
|
coredata.CountryCodeTJ: "TJ",
|
|
coredata.CountryCodeTK: "TK",
|
|
coredata.CountryCodeTL: "TL",
|
|
coredata.CountryCodeTM: "TM",
|
|
coredata.CountryCodeTN: "TN",
|
|
coredata.CountryCodeTO: "TO",
|
|
coredata.CountryCodeTR: "TR",
|
|
coredata.CountryCodeTT: "TT",
|
|
coredata.CountryCodeTV: "TV",
|
|
coredata.CountryCodeTW: "TW",
|
|
coredata.CountryCodeTZ: "TZ",
|
|
coredata.CountryCodeUA: "UA",
|
|
coredata.CountryCodeUG: "UG",
|
|
coredata.CountryCodeUM: "UM",
|
|
coredata.CountryCodeUS: "US",
|
|
coredata.CountryCodeUY: "UY",
|
|
coredata.CountryCodeUZ: "UZ",
|
|
coredata.CountryCodeVA: "VA",
|
|
coredata.CountryCodeVC: "VC",
|
|
coredata.CountryCodeVE: "VE",
|
|
coredata.CountryCodeVG: "VG",
|
|
coredata.CountryCodeVI: "VI",
|
|
coredata.CountryCodeVN: "VN",
|
|
coredata.CountryCodeVU: "VU",
|
|
coredata.CountryCodeWF: "WF",
|
|
coredata.CountryCodeWS: "WS",
|
|
coredata.CountryCodeYE: "YE",
|
|
coredata.CountryCodeYT: "YT",
|
|
coredata.CountryCodeZA: "ZA",
|
|
coredata.CountryCodeZM: "ZM",
|
|
coredata.CountryCodeZW: "ZW",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNCountryCode2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCodeᚄ(ctx context.Context, v any) ([]coredata.CountryCode, error) {
|
|
var vSlice []any
|
|
vSlice = graphql.CoerceList(v)
|
|
var err error
|
|
res := make([]coredata.CountryCode, len(vSlice))
|
|
for i := range vSlice {
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
|
|
res[i], err = ec.unmarshalNCountryCode2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCode(ctx, vSlice[i])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
}
|
|
return res, nil
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCountryCode2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCodeᚄ(ctx context.Context, sel ast.SelectionSet, v []coredata.CountryCode) 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.marshalNCountryCode2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCode(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) unmarshalNCreateAssetInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateAssetInput(ctx context.Context, v any) (types.CreateAssetInput, error) {
|
|
res, err := ec.unmarshalInputCreateAssetInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateAssetPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateAssetPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateAssetPayload) graphql.Marshaler {
|
|
return ec._CreateAssetPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateAssetPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateAssetPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateAssetPayload) 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._CreateAssetPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateAuditInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateAuditInput(ctx context.Context, v any) (types.CreateAuditInput, error) {
|
|
res, err := ec.unmarshalInputCreateAuditInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateAuditPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateAuditPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateAuditPayload) graphql.Marshaler {
|
|
return ec._CreateAuditPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateAuditPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateAuditPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateAuditPayload) 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._CreateAuditPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateContinualImprovementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateContinualImprovementInput(ctx context.Context, v any) (types.CreateContinualImprovementInput, error) {
|
|
res, err := ec.unmarshalInputCreateContinualImprovementInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateContinualImprovementPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateContinualImprovementPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateContinualImprovementPayload) graphql.Marshaler {
|
|
return ec._CreateContinualImprovementPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateContinualImprovementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateContinualImprovementPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateContinualImprovementPayload) 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._CreateContinualImprovementPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateControlAuditMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlAuditMappingInput(ctx context.Context, v any) (types.CreateControlAuditMappingInput, error) {
|
|
res, err := ec.unmarshalInputCreateControlAuditMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateControlAuditMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlAuditMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateControlAuditMappingPayload) graphql.Marshaler {
|
|
return ec._CreateControlAuditMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateControlAuditMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlAuditMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateControlAuditMappingPayload) 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._CreateControlAuditMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateControlDocumentMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlDocumentMappingInput(ctx context.Context, v any) (types.CreateControlDocumentMappingInput, error) {
|
|
res, err := ec.unmarshalInputCreateControlDocumentMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateControlDocumentMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlDocumentMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateControlDocumentMappingPayload) graphql.Marshaler {
|
|
return ec._CreateControlDocumentMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateControlDocumentMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlDocumentMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateControlDocumentMappingPayload) 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._CreateControlDocumentMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateControlInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlInput(ctx context.Context, v any) (types.CreateControlInput, error) {
|
|
res, err := ec.unmarshalInputCreateControlInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateControlMeasureMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlMeasureMappingInput(ctx context.Context, v any) (types.CreateControlMeasureMappingInput, error) {
|
|
res, err := ec.unmarshalInputCreateControlMeasureMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateControlMeasureMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlMeasureMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateControlMeasureMappingPayload) graphql.Marshaler {
|
|
return ec._CreateControlMeasureMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateControlMeasureMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlMeasureMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateControlMeasureMappingPayload) 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._CreateControlMeasureMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateControlObligationMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlObligationMappingInput(ctx context.Context, v any) (types.CreateControlObligationMappingInput, error) {
|
|
res, err := ec.unmarshalInputCreateControlObligationMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateControlObligationMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlObligationMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateControlObligationMappingPayload) graphql.Marshaler {
|
|
return ec._CreateControlObligationMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateControlObligationMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlObligationMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateControlObligationMappingPayload) 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._CreateControlObligationMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateControlPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateControlPayload) graphql.Marshaler {
|
|
return ec._CreateControlPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateControlPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateControlPayload) 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._CreateControlPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateControlSnapshotMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlSnapshotMappingInput(ctx context.Context, v any) (types.CreateControlSnapshotMappingInput, error) {
|
|
res, err := ec.unmarshalInputCreateControlSnapshotMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateControlSnapshotMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlSnapshotMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateControlSnapshotMappingPayload) graphql.Marshaler {
|
|
return ec._CreateControlSnapshotMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateControlSnapshotMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateControlSnapshotMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateControlSnapshotMappingPayload) 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._CreateControlSnapshotMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateCustomDomainInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateCustomDomainInput(ctx context.Context, v any) (types.CreateCustomDomainInput, error) {
|
|
res, err := ec.unmarshalInputCreateCustomDomainInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateCustomDomainPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateCustomDomainPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateCustomDomainPayload) graphql.Marshaler {
|
|
return ec._CreateCustomDomainPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateCustomDomainPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateCustomDomainPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateCustomDomainPayload) 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._CreateCustomDomainPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateDataProtectionImpactAssessmentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDataProtectionImpactAssessmentInput(ctx context.Context, v any) (types.CreateDataProtectionImpactAssessmentInput, error) {
|
|
res, err := ec.unmarshalInputCreateDataProtectionImpactAssessmentInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateDataProtectionImpactAssessmentPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDataProtectionImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateDataProtectionImpactAssessmentPayload) graphql.Marshaler {
|
|
return ec._CreateDataProtectionImpactAssessmentPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateDataProtectionImpactAssessmentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDataProtectionImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateDataProtectionImpactAssessmentPayload) 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._CreateDataProtectionImpactAssessmentPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateDatumInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDatumInput(ctx context.Context, v any) (types.CreateDatumInput, error) {
|
|
res, err := ec.unmarshalInputCreateDatumInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateDatumPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDatumPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateDatumPayload) graphql.Marshaler {
|
|
return ec._CreateDatumPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateDatumPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDatumPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateDatumPayload) 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._CreateDatumPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateDocumentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDocumentInput(ctx context.Context, v any) (types.CreateDocumentInput, error) {
|
|
res, err := ec.unmarshalInputCreateDocumentInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateDocumentPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDocumentPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateDocumentPayload) graphql.Marshaler {
|
|
return ec._CreateDocumentPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateDocumentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDocumentPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateDocumentPayload) 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._CreateDocumentPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateDraftDocumentVersionInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDraftDocumentVersionInput(ctx context.Context, v any) (types.CreateDraftDocumentVersionInput, error) {
|
|
res, err := ec.unmarshalInputCreateDraftDocumentVersionInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateDraftDocumentVersionPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDraftDocumentVersionPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateDraftDocumentVersionPayload) graphql.Marshaler {
|
|
return ec._CreateDraftDocumentVersionPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateDraftDocumentVersionPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateDraftDocumentVersionPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateDraftDocumentVersionPayload) 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._CreateDraftDocumentVersionPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateFrameworkInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateFrameworkInput(ctx context.Context, v any) (types.CreateFrameworkInput, error) {
|
|
res, err := ec.unmarshalInputCreateFrameworkInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateFrameworkPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateFrameworkPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateFrameworkPayload) graphql.Marshaler {
|
|
return ec._CreateFrameworkPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateFrameworkPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateFrameworkPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateFrameworkPayload) 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._CreateFrameworkPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateMeasureInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateMeasureInput(ctx context.Context, v any) (types.CreateMeasureInput, error) {
|
|
res, err := ec.unmarshalInputCreateMeasureInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateMeasurePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateMeasurePayload(ctx context.Context, sel ast.SelectionSet, v types.CreateMeasurePayload) graphql.Marshaler {
|
|
return ec._CreateMeasurePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateMeasurePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateMeasurePayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateMeasurePayload) 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._CreateMeasurePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateMeetingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateMeetingInput(ctx context.Context, v any) (types.CreateMeetingInput, error) {
|
|
res, err := ec.unmarshalInputCreateMeetingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateMeetingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateMeetingPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateMeetingPayload) graphql.Marshaler {
|
|
return ec._CreateMeetingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateMeetingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateMeetingPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateMeetingPayload) 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._CreateMeetingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateNonconformityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateNonconformityInput(ctx context.Context, v any) (types.CreateNonconformityInput, error) {
|
|
res, err := ec.unmarshalInputCreateNonconformityInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateNonconformityPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateNonconformityPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateNonconformityPayload) graphql.Marshaler {
|
|
return ec._CreateNonconformityPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateNonconformityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateNonconformityPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateNonconformityPayload) 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._CreateNonconformityPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateObligationInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateObligationInput(ctx context.Context, v any) (types.CreateObligationInput, error) {
|
|
res, err := ec.unmarshalInputCreateObligationInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateObligationPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateObligationPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateObligationPayload) graphql.Marshaler {
|
|
return ec._CreateObligationPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateObligationPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateObligationPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateObligationPayload) 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._CreateObligationPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreatePeopleInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreatePeopleInput(ctx context.Context, v any) (types.CreatePeopleInput, error) {
|
|
res, err := ec.unmarshalInputCreatePeopleInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreatePeoplePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreatePeoplePayload(ctx context.Context, sel ast.SelectionSet, v types.CreatePeoplePayload) graphql.Marshaler {
|
|
return ec._CreatePeoplePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreatePeoplePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreatePeoplePayload(ctx context.Context, sel ast.SelectionSet, v *types.CreatePeoplePayload) 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._CreatePeoplePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateProcessingActivityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateProcessingActivityInput(ctx context.Context, v any) (types.CreateProcessingActivityInput, error) {
|
|
res, err := ec.unmarshalInputCreateProcessingActivityInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateProcessingActivityPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateProcessingActivityPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateProcessingActivityPayload) graphql.Marshaler {
|
|
return ec._CreateProcessingActivityPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateProcessingActivityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateProcessingActivityPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateProcessingActivityPayload) 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._CreateProcessingActivityPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateRightsRequestInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRightsRequestInput(ctx context.Context, v any) (types.CreateRightsRequestInput, error) {
|
|
res, err := ec.unmarshalInputCreateRightsRequestInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateRightsRequestPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRightsRequestPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateRightsRequestPayload) graphql.Marshaler {
|
|
return ec._CreateRightsRequestPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateRightsRequestPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRightsRequestPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateRightsRequestPayload) 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._CreateRightsRequestPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateRiskDocumentMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskDocumentMappingInput(ctx context.Context, v any) (types.CreateRiskDocumentMappingInput, error) {
|
|
res, err := ec.unmarshalInputCreateRiskDocumentMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateRiskDocumentMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskDocumentMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateRiskDocumentMappingPayload) graphql.Marshaler {
|
|
return ec._CreateRiskDocumentMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateRiskDocumentMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskDocumentMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateRiskDocumentMappingPayload) 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._CreateRiskDocumentMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateRiskInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskInput(ctx context.Context, v any) (types.CreateRiskInput, error) {
|
|
res, err := ec.unmarshalInputCreateRiskInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateRiskMeasureMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskMeasureMappingInput(ctx context.Context, v any) (types.CreateRiskMeasureMappingInput, error) {
|
|
res, err := ec.unmarshalInputCreateRiskMeasureMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateRiskMeasureMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskMeasureMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateRiskMeasureMappingPayload) graphql.Marshaler {
|
|
return ec._CreateRiskMeasureMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateRiskMeasureMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskMeasureMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateRiskMeasureMappingPayload) 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._CreateRiskMeasureMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateRiskObligationMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskObligationMappingInput(ctx context.Context, v any) (types.CreateRiskObligationMappingInput, error) {
|
|
res, err := ec.unmarshalInputCreateRiskObligationMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateRiskObligationMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskObligationMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateRiskObligationMappingPayload) graphql.Marshaler {
|
|
return ec._CreateRiskObligationMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateRiskObligationMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskObligationMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateRiskObligationMappingPayload) 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._CreateRiskObligationMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateRiskPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateRiskPayload) graphql.Marshaler {
|
|
return ec._CreateRiskPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateRiskPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateRiskPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateRiskPayload) 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._CreateRiskPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateSnapshotInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateSnapshotInput(ctx context.Context, v any) (types.CreateSnapshotInput, error) {
|
|
res, err := ec.unmarshalInputCreateSnapshotInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateSnapshotPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateSnapshotPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateSnapshotPayload) graphql.Marshaler {
|
|
return ec._CreateSnapshotPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateSnapshotPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateSnapshotPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateSnapshotPayload) 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._CreateSnapshotPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateStateOfApplicabilityControlMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateStateOfApplicabilityControlMappingInput(ctx context.Context, v any) (types.CreateStateOfApplicabilityControlMappingInput, error) {
|
|
res, err := ec.unmarshalInputCreateStateOfApplicabilityControlMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateStateOfApplicabilityControlMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateStateOfApplicabilityControlMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateStateOfApplicabilityControlMappingPayload) graphql.Marshaler {
|
|
return ec._CreateStateOfApplicabilityControlMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateStateOfApplicabilityControlMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateStateOfApplicabilityControlMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateStateOfApplicabilityControlMappingPayload) 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._CreateStateOfApplicabilityControlMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateStateOfApplicabilityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateStateOfApplicabilityInput(ctx context.Context, v any) (types.CreateStateOfApplicabilityInput, error) {
|
|
res, err := ec.unmarshalInputCreateStateOfApplicabilityInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateStateOfApplicabilityPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateStateOfApplicabilityPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateStateOfApplicabilityPayload) graphql.Marshaler {
|
|
return ec._CreateStateOfApplicabilityPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateStateOfApplicabilityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateStateOfApplicabilityPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateStateOfApplicabilityPayload) 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._CreateStateOfApplicabilityPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateTaskInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTaskInput(ctx context.Context, v any) (types.CreateTaskInput, error) {
|
|
res, err := ec.unmarshalInputCreateTaskInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateTaskPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTaskPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateTaskPayload) graphql.Marshaler {
|
|
return ec._CreateTaskPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateTaskPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTaskPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateTaskPayload) 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._CreateTaskPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateTransferImpactAssessmentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTransferImpactAssessmentInput(ctx context.Context, v any) (types.CreateTransferImpactAssessmentInput, error) {
|
|
res, err := ec.unmarshalInputCreateTransferImpactAssessmentInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateTransferImpactAssessmentPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTransferImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateTransferImpactAssessmentPayload) graphql.Marshaler {
|
|
return ec._CreateTransferImpactAssessmentPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateTransferImpactAssessmentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTransferImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateTransferImpactAssessmentPayload) 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._CreateTransferImpactAssessmentPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateTrustCenterAccessInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterAccessInput(ctx context.Context, v any) (types.CreateTrustCenterAccessInput, error) {
|
|
res, err := ec.unmarshalInputCreateTrustCenterAccessInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateTrustCenterAccessPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterAccessPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateTrustCenterAccessPayload) graphql.Marshaler {
|
|
return ec._CreateTrustCenterAccessPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateTrustCenterAccessPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterAccessPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateTrustCenterAccessPayload) 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._CreateTrustCenterAccessPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateTrustCenterFileInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterFileInput(ctx context.Context, v any) (types.CreateTrustCenterFileInput, error) {
|
|
res, err := ec.unmarshalInputCreateTrustCenterFileInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateTrustCenterFilePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterFilePayload(ctx context.Context, sel ast.SelectionSet, v types.CreateTrustCenterFilePayload) graphql.Marshaler {
|
|
return ec._CreateTrustCenterFilePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateTrustCenterFilePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterFilePayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateTrustCenterFilePayload) 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._CreateTrustCenterFilePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateTrustCenterReferenceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterReferenceInput(ctx context.Context, v any) (types.CreateTrustCenterReferenceInput, error) {
|
|
res, err := ec.unmarshalInputCreateTrustCenterReferenceInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateTrustCenterReferencePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterReferencePayload(ctx context.Context, sel ast.SelectionSet, v types.CreateTrustCenterReferencePayload) graphql.Marshaler {
|
|
return ec._CreateTrustCenterReferencePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateTrustCenterReferencePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateTrustCenterReferencePayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateTrustCenterReferencePayload) 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._CreateTrustCenterReferencePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateVendorContactInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorContactInput(ctx context.Context, v any) (types.CreateVendorContactInput, error) {
|
|
res, err := ec.unmarshalInputCreateVendorContactInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateVendorContactPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorContactPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateVendorContactPayload) graphql.Marshaler {
|
|
return ec._CreateVendorContactPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateVendorContactPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorContactPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateVendorContactPayload) 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._CreateVendorContactPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateVendorInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorInput(ctx context.Context, v any) (types.CreateVendorInput, error) {
|
|
res, err := ec.unmarshalInputCreateVendorInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateVendorPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateVendorPayload) graphql.Marshaler {
|
|
return ec._CreateVendorPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateVendorPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateVendorPayload) 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._CreateVendorPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateVendorRiskAssessmentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorRiskAssessmentInput(ctx context.Context, v any) (types.CreateVendorRiskAssessmentInput, error) {
|
|
res, err := ec.unmarshalInputCreateVendorRiskAssessmentInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateVendorRiskAssessmentPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorRiskAssessmentPayload(ctx context.Context, sel ast.SelectionSet, v types.CreateVendorRiskAssessmentPayload) graphql.Marshaler {
|
|
return ec._CreateVendorRiskAssessmentPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateVendorRiskAssessmentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorRiskAssessmentPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateVendorRiskAssessmentPayload) 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._CreateVendorRiskAssessmentPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNCreateVendorServiceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorServiceInput(ctx context.Context, v any) (types.CreateVendorServiceInput, error) {
|
|
res, err := ec.unmarshalInputCreateVendorServiceInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateVendorServicePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorServicePayload(ctx context.Context, sel ast.SelectionSet, v types.CreateVendorServicePayload) graphql.Marshaler {
|
|
return ec._CreateVendorServicePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCreateVendorServicePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCreateVendorServicePayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateVendorServicePayload) 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._CreateVendorServicePayload(ctx, sel, v)
|
|
}
|
|
|
|
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)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCursorKey2goᚗproboᚗincᚋproboᚋpkgᚋpageᚐCursorKey(ctx context.Context, sel ast.SelectionSet, v page.CursorKey) graphql.Marshaler {
|
|
_ = sel
|
|
res := cursor.MarshalCursorKeyScalar(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
|
|
}
|
|
|
|
func (ec *executionContext) marshalNCustomDomain2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCustomDomain(ctx context.Context, sel ast.SelectionSet, v *types.CustomDomain) 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._CustomDomain(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDNSRecordInstruction2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDNSRecordInstructionᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.DNSRecordInstruction) 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.marshalNDNSRecordInstruction2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDNSRecordInstruction(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) marshalNDNSRecordInstruction2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDNSRecordInstruction(ctx context.Context, sel ast.SelectionSet, v *types.DNSRecordInstruction) 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._DNSRecordInstruction(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDataClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification(ctx context.Context, v any) (coredata.DataClassification, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNDataClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDataClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification(ctx context.Context, sel ast.SelectionSet, v coredata.DataClassification) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNDataClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification[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 (
|
|
unmarshalNDataClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification = map[string]coredata.DataClassification{
|
|
"PUBLIC": coredata.DataClassificationPublic,
|
|
"INTERNAL": coredata.DataClassificationInternal,
|
|
"CONFIDENTIAL": coredata.DataClassificationConfidential,
|
|
"SECRET": coredata.DataClassificationSecret,
|
|
}
|
|
marshalNDataClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification = map[coredata.DataClassification]string{
|
|
coredata.DataClassificationPublic: "PUBLIC",
|
|
coredata.DataClassificationInternal: "INTERNAL",
|
|
coredata.DataClassificationConfidential: "CONFIDENTIAL",
|
|
coredata.DataClassificationSecret: "SECRET",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNDataProtectionImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessment(ctx context.Context, sel ast.SelectionSet, v *types.DataProtectionImpactAssessment) 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._DataProtectionImpactAssessment(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDataProtectionImpactAssessmentConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessmentConnection(ctx context.Context, sel ast.SelectionSet, v types.DataProtectionImpactAssessmentConnection) graphql.Marshaler {
|
|
return ec._DataProtectionImpactAssessmentConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDataProtectionImpactAssessmentConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessmentConnection(ctx context.Context, sel ast.SelectionSet, v *types.DataProtectionImpactAssessmentConnection) 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._DataProtectionImpactAssessmentConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDataProtectionImpactAssessmentEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessmentEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.DataProtectionImpactAssessmentEdge) 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.marshalNDataProtectionImpactAssessmentEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessmentEdge(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) marshalNDataProtectionImpactAssessmentEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessmentEdge(ctx context.Context, sel ast.SelectionSet, v *types.DataProtectionImpactAssessmentEdge) 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._DataProtectionImpactAssessmentEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDataProtectionImpactAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentOrderField(ctx context.Context, v any) (coredata.DataProtectionImpactAssessmentOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNDataProtectionImpactAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDataProtectionImpactAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.DataProtectionImpactAssessmentOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNDataProtectionImpactAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentOrderField[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 (
|
|
unmarshalNDataProtectionImpactAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentOrderField = map[string]coredata.DataProtectionImpactAssessmentOrderField{
|
|
"CREATED_AT": coredata.DataProtectionImpactAssessmentOrderFieldCreatedAt,
|
|
}
|
|
marshalNDataProtectionImpactAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentOrderField = map[coredata.DataProtectionImpactAssessmentOrderField]string{
|
|
coredata.DataProtectionImpactAssessmentOrderFieldCreatedAt: "CREATED_AT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNDataSensitivity2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataSensitivity(ctx context.Context, v any) (coredata.DataSensitivity, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNDataSensitivity2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataSensitivity[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDataSensitivity2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataSensitivity(ctx context.Context, sel ast.SelectionSet, v coredata.DataSensitivity) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNDataSensitivity2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataSensitivity[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 (
|
|
unmarshalNDataSensitivity2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataSensitivity = map[string]coredata.DataSensitivity{
|
|
"NONE": coredata.DataSensitivityNone,
|
|
"LOW": coredata.DataSensitivityLow,
|
|
"MEDIUM": coredata.DataSensitivityMedium,
|
|
"HIGH": coredata.DataSensitivityHigh,
|
|
"CRITICAL": coredata.DataSensitivityCritical,
|
|
}
|
|
marshalNDataSensitivity2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataSensitivity = map[coredata.DataSensitivity]string{
|
|
coredata.DataSensitivityNone: "NONE",
|
|
coredata.DataSensitivityLow: "LOW",
|
|
coredata.DataSensitivityMedium: "MEDIUM",
|
|
coredata.DataSensitivityHigh: "HIGH",
|
|
coredata.DataSensitivityCritical: "CRITICAL",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNDatetime2timeᚐTime(ctx context.Context, v any) (time.Time, error) {
|
|
res, err := graphql.UnmarshalTime(v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDatetime2timeᚐTime(ctx context.Context, sel ast.SelectionSet, v time.Time) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalTime(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
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDatum2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatum(ctx context.Context, sel ast.SelectionSet, v *types.Datum) 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._Datum(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDatumConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatumConnection(ctx context.Context, sel ast.SelectionSet, v types.DatumConnection) graphql.Marshaler {
|
|
return ec._DatumConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDatumConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatumConnection(ctx context.Context, sel ast.SelectionSet, v *types.DatumConnection) 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._DatumConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDatumEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatumEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.DatumEdge) 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.marshalNDatumEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatumEdge(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) marshalNDatumEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatumEdge(ctx context.Context, sel ast.SelectionSet, v *types.DatumEdge) 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._DatumEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDatumOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDatumOrderField(ctx context.Context, v any) (coredata.DatumOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNDatumOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDatumOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDatumOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDatumOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.DatumOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNDatumOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDatumOrderField[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 (
|
|
unmarshalNDatumOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDatumOrderField = map[string]coredata.DatumOrderField{
|
|
"CREATED_AT": coredata.DatumOrderFieldCreatedAt,
|
|
"NAME": coredata.DatumOrderFieldName,
|
|
"DATA_CLASSIFICATION": coredata.DatumOrderFieldDataClassification,
|
|
}
|
|
marshalNDatumOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDatumOrderField = map[coredata.DatumOrderField]string{
|
|
coredata.DatumOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.DatumOrderFieldName: "NAME",
|
|
coredata.DatumOrderFieldDataClassification: "DATA_CLASSIFICATION",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNDeleteAssetInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAssetInput(ctx context.Context, v any) (types.DeleteAssetInput, error) {
|
|
res, err := ec.unmarshalInputDeleteAssetInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteAssetPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAssetPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteAssetPayload) graphql.Marshaler {
|
|
return ec._DeleteAssetPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteAssetPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAssetPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteAssetPayload) 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._DeleteAssetPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteAuditInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAuditInput(ctx context.Context, v any) (types.DeleteAuditInput, error) {
|
|
res, err := ec.unmarshalInputDeleteAuditInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteAuditPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAuditPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteAuditPayload) graphql.Marshaler {
|
|
return ec._DeleteAuditPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteAuditPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAuditPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteAuditPayload) 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._DeleteAuditPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteAuditReportInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAuditReportInput(ctx context.Context, v any) (types.DeleteAuditReportInput, error) {
|
|
res, err := ec.unmarshalInputDeleteAuditReportInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteAuditReportPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAuditReportPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteAuditReportPayload) graphql.Marshaler {
|
|
return ec._DeleteAuditReportPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteAuditReportPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteAuditReportPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteAuditReportPayload) 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._DeleteAuditReportPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteContinualImprovementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteContinualImprovementInput(ctx context.Context, v any) (types.DeleteContinualImprovementInput, error) {
|
|
res, err := ec.unmarshalInputDeleteContinualImprovementInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteContinualImprovementPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteContinualImprovementPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteContinualImprovementPayload) graphql.Marshaler {
|
|
return ec._DeleteContinualImprovementPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteContinualImprovementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteContinualImprovementPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteContinualImprovementPayload) 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._DeleteContinualImprovementPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteControlAuditMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlAuditMappingInput(ctx context.Context, v any) (types.DeleteControlAuditMappingInput, error) {
|
|
res, err := ec.unmarshalInputDeleteControlAuditMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteControlAuditMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlAuditMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteControlAuditMappingPayload) graphql.Marshaler {
|
|
return ec._DeleteControlAuditMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteControlAuditMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlAuditMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteControlAuditMappingPayload) 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._DeleteControlAuditMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteControlDocumentMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlDocumentMappingInput(ctx context.Context, v any) (types.DeleteControlDocumentMappingInput, error) {
|
|
res, err := ec.unmarshalInputDeleteControlDocumentMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteControlDocumentMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlDocumentMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteControlDocumentMappingPayload) graphql.Marshaler {
|
|
return ec._DeleteControlDocumentMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteControlDocumentMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlDocumentMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteControlDocumentMappingPayload) 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._DeleteControlDocumentMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteControlInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlInput(ctx context.Context, v any) (types.DeleteControlInput, error) {
|
|
res, err := ec.unmarshalInputDeleteControlInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteControlMeasureMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlMeasureMappingInput(ctx context.Context, v any) (types.DeleteControlMeasureMappingInput, error) {
|
|
res, err := ec.unmarshalInputDeleteControlMeasureMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteControlMeasureMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlMeasureMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteControlMeasureMappingPayload) graphql.Marshaler {
|
|
return ec._DeleteControlMeasureMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteControlMeasureMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlMeasureMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteControlMeasureMappingPayload) 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._DeleteControlMeasureMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteControlObligationMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlObligationMappingInput(ctx context.Context, v any) (types.DeleteControlObligationMappingInput, error) {
|
|
res, err := ec.unmarshalInputDeleteControlObligationMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteControlObligationMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlObligationMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteControlObligationMappingPayload) graphql.Marshaler {
|
|
return ec._DeleteControlObligationMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteControlObligationMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlObligationMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteControlObligationMappingPayload) 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._DeleteControlObligationMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteControlPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteControlPayload) graphql.Marshaler {
|
|
return ec._DeleteControlPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteControlPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteControlPayload) 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._DeleteControlPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteControlSnapshotMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlSnapshotMappingInput(ctx context.Context, v any) (types.DeleteControlSnapshotMappingInput, error) {
|
|
res, err := ec.unmarshalInputDeleteControlSnapshotMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteControlSnapshotMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlSnapshotMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteControlSnapshotMappingPayload) graphql.Marshaler {
|
|
return ec._DeleteControlSnapshotMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteControlSnapshotMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteControlSnapshotMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteControlSnapshotMappingPayload) 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._DeleteControlSnapshotMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteCustomDomainInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteCustomDomainInput(ctx context.Context, v any) (types.DeleteCustomDomainInput, error) {
|
|
res, err := ec.unmarshalInputDeleteCustomDomainInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteCustomDomainPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteCustomDomainPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteCustomDomainPayload) graphql.Marshaler {
|
|
return ec._DeleteCustomDomainPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteCustomDomainPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteCustomDomainPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteCustomDomainPayload) 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._DeleteCustomDomainPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteDataProtectionImpactAssessmentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDataProtectionImpactAssessmentInput(ctx context.Context, v any) (types.DeleteDataProtectionImpactAssessmentInput, error) {
|
|
res, err := ec.unmarshalInputDeleteDataProtectionImpactAssessmentInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteDataProtectionImpactAssessmentPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDataProtectionImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteDataProtectionImpactAssessmentPayload) graphql.Marshaler {
|
|
return ec._DeleteDataProtectionImpactAssessmentPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteDataProtectionImpactAssessmentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDataProtectionImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteDataProtectionImpactAssessmentPayload) 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._DeleteDataProtectionImpactAssessmentPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteDatumInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDatumInput(ctx context.Context, v any) (types.DeleteDatumInput, error) {
|
|
res, err := ec.unmarshalInputDeleteDatumInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteDatumPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDatumPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteDatumPayload) graphql.Marshaler {
|
|
return ec._DeleteDatumPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteDatumPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDatumPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteDatumPayload) 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._DeleteDatumPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteDocumentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDocumentInput(ctx context.Context, v any) (types.DeleteDocumentInput, error) {
|
|
res, err := ec.unmarshalInputDeleteDocumentInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteDocumentPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDocumentPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteDocumentPayload) graphql.Marshaler {
|
|
return ec._DeleteDocumentPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteDocumentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDocumentPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteDocumentPayload) 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._DeleteDocumentPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteDraftDocumentVersionInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDraftDocumentVersionInput(ctx context.Context, v any) (types.DeleteDraftDocumentVersionInput, error) {
|
|
res, err := ec.unmarshalInputDeleteDraftDocumentVersionInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteDraftDocumentVersionPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDraftDocumentVersionPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteDraftDocumentVersionPayload) graphql.Marshaler {
|
|
return ec._DeleteDraftDocumentVersionPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteDraftDocumentVersionPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteDraftDocumentVersionPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteDraftDocumentVersionPayload) 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._DeleteDraftDocumentVersionPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteEvidenceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteEvidenceInput(ctx context.Context, v any) (types.DeleteEvidenceInput, error) {
|
|
res, err := ec.unmarshalInputDeleteEvidenceInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteEvidencePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteEvidencePayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteEvidencePayload) graphql.Marshaler {
|
|
return ec._DeleteEvidencePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteEvidencePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteEvidencePayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteEvidencePayload) 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._DeleteEvidencePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteFrameworkInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteFrameworkInput(ctx context.Context, v any) (types.DeleteFrameworkInput, error) {
|
|
res, err := ec.unmarshalInputDeleteFrameworkInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteFrameworkPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteFrameworkPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteFrameworkPayload) graphql.Marshaler {
|
|
return ec._DeleteFrameworkPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteFrameworkPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteFrameworkPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteFrameworkPayload) 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._DeleteFrameworkPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteMeasureInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteMeasureInput(ctx context.Context, v any) (types.DeleteMeasureInput, error) {
|
|
res, err := ec.unmarshalInputDeleteMeasureInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteMeasurePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteMeasurePayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteMeasurePayload) graphql.Marshaler {
|
|
return ec._DeleteMeasurePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteMeasurePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteMeasurePayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteMeasurePayload) 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._DeleteMeasurePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteMeetingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteMeetingInput(ctx context.Context, v any) (types.DeleteMeetingInput, error) {
|
|
res, err := ec.unmarshalInputDeleteMeetingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteMeetingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteMeetingPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteMeetingPayload) graphql.Marshaler {
|
|
return ec._DeleteMeetingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteMeetingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteMeetingPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteMeetingPayload) 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._DeleteMeetingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteNonconformityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteNonconformityInput(ctx context.Context, v any) (types.DeleteNonconformityInput, error) {
|
|
res, err := ec.unmarshalInputDeleteNonconformityInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteNonconformityPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteNonconformityPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteNonconformityPayload) graphql.Marshaler {
|
|
return ec._DeleteNonconformityPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteNonconformityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteNonconformityPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteNonconformityPayload) 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._DeleteNonconformityPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteObligationInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteObligationInput(ctx context.Context, v any) (types.DeleteObligationInput, error) {
|
|
res, err := ec.unmarshalInputDeleteObligationInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteObligationPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteObligationPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteObligationPayload) graphql.Marshaler {
|
|
return ec._DeleteObligationPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteObligationPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteObligationPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteObligationPayload) 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._DeleteObligationPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeletePeopleInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeletePeopleInput(ctx context.Context, v any) (types.DeletePeopleInput, error) {
|
|
res, err := ec.unmarshalInputDeletePeopleInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeletePeoplePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeletePeoplePayload(ctx context.Context, sel ast.SelectionSet, v types.DeletePeoplePayload) graphql.Marshaler {
|
|
return ec._DeletePeoplePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeletePeoplePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeletePeoplePayload(ctx context.Context, sel ast.SelectionSet, v *types.DeletePeoplePayload) 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._DeletePeoplePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteProcessingActivityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteProcessingActivityInput(ctx context.Context, v any) (types.DeleteProcessingActivityInput, error) {
|
|
res, err := ec.unmarshalInputDeleteProcessingActivityInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteProcessingActivityPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteProcessingActivityPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteProcessingActivityPayload) graphql.Marshaler {
|
|
return ec._DeleteProcessingActivityPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteProcessingActivityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteProcessingActivityPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteProcessingActivityPayload) 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._DeleteProcessingActivityPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteRightsRequestInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRightsRequestInput(ctx context.Context, v any) (types.DeleteRightsRequestInput, error) {
|
|
res, err := ec.unmarshalInputDeleteRightsRequestInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteRightsRequestPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRightsRequestPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteRightsRequestPayload) graphql.Marshaler {
|
|
return ec._DeleteRightsRequestPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteRightsRequestPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRightsRequestPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteRightsRequestPayload) 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._DeleteRightsRequestPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteRiskDocumentMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskDocumentMappingInput(ctx context.Context, v any) (types.DeleteRiskDocumentMappingInput, error) {
|
|
res, err := ec.unmarshalInputDeleteRiskDocumentMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteRiskDocumentMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskDocumentMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteRiskDocumentMappingPayload) graphql.Marshaler {
|
|
return ec._DeleteRiskDocumentMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteRiskDocumentMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskDocumentMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteRiskDocumentMappingPayload) 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._DeleteRiskDocumentMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteRiskInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskInput(ctx context.Context, v any) (types.DeleteRiskInput, error) {
|
|
res, err := ec.unmarshalInputDeleteRiskInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteRiskMeasureMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskMeasureMappingInput(ctx context.Context, v any) (types.DeleteRiskMeasureMappingInput, error) {
|
|
res, err := ec.unmarshalInputDeleteRiskMeasureMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteRiskMeasureMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskMeasureMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteRiskMeasureMappingPayload) graphql.Marshaler {
|
|
return ec._DeleteRiskMeasureMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteRiskMeasureMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskMeasureMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteRiskMeasureMappingPayload) 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._DeleteRiskMeasureMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteRiskObligationMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskObligationMappingInput(ctx context.Context, v any) (types.DeleteRiskObligationMappingInput, error) {
|
|
res, err := ec.unmarshalInputDeleteRiskObligationMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteRiskObligationMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskObligationMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteRiskObligationMappingPayload) graphql.Marshaler {
|
|
return ec._DeleteRiskObligationMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteRiskObligationMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskObligationMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteRiskObligationMappingPayload) 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._DeleteRiskObligationMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteRiskPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteRiskPayload) graphql.Marshaler {
|
|
return ec._DeleteRiskPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteRiskPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteRiskPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteRiskPayload) 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._DeleteRiskPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteSnapshotInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteSnapshotInput(ctx context.Context, v any) (types.DeleteSnapshotInput, error) {
|
|
res, err := ec.unmarshalInputDeleteSnapshotInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteSnapshotPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteSnapshotPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteSnapshotPayload) graphql.Marshaler {
|
|
return ec._DeleteSnapshotPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteSnapshotPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteSnapshotPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteSnapshotPayload) 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._DeleteSnapshotPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteStateOfApplicabilityControlMappingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteStateOfApplicabilityControlMappingInput(ctx context.Context, v any) (types.DeleteStateOfApplicabilityControlMappingInput, error) {
|
|
res, err := ec.unmarshalInputDeleteStateOfApplicabilityControlMappingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteStateOfApplicabilityControlMappingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteStateOfApplicabilityControlMappingPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteStateOfApplicabilityControlMappingPayload) graphql.Marshaler {
|
|
return ec._DeleteStateOfApplicabilityControlMappingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteStateOfApplicabilityControlMappingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteStateOfApplicabilityControlMappingPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteStateOfApplicabilityControlMappingPayload) 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._DeleteStateOfApplicabilityControlMappingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteStateOfApplicabilityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteStateOfApplicabilityInput(ctx context.Context, v any) (types.DeleteStateOfApplicabilityInput, error) {
|
|
res, err := ec.unmarshalInputDeleteStateOfApplicabilityInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteStateOfApplicabilityPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteStateOfApplicabilityPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteStateOfApplicabilityPayload) graphql.Marshaler {
|
|
return ec._DeleteStateOfApplicabilityPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteStateOfApplicabilityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteStateOfApplicabilityPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteStateOfApplicabilityPayload) 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._DeleteStateOfApplicabilityPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteTaskInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTaskInput(ctx context.Context, v any) (types.DeleteTaskInput, error) {
|
|
res, err := ec.unmarshalInputDeleteTaskInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteTaskPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTaskPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteTaskPayload) graphql.Marshaler {
|
|
return ec._DeleteTaskPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteTaskPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTaskPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteTaskPayload) 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._DeleteTaskPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteTransferImpactAssessmentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTransferImpactAssessmentInput(ctx context.Context, v any) (types.DeleteTransferImpactAssessmentInput, error) {
|
|
res, err := ec.unmarshalInputDeleteTransferImpactAssessmentInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteTransferImpactAssessmentPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTransferImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteTransferImpactAssessmentPayload) graphql.Marshaler {
|
|
return ec._DeleteTransferImpactAssessmentPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteTransferImpactAssessmentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTransferImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteTransferImpactAssessmentPayload) 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._DeleteTransferImpactAssessmentPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteTrustCenterAccessInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterAccessInput(ctx context.Context, v any) (types.DeleteTrustCenterAccessInput, error) {
|
|
res, err := ec.unmarshalInputDeleteTrustCenterAccessInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteTrustCenterAccessPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterAccessPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteTrustCenterAccessPayload) graphql.Marshaler {
|
|
return ec._DeleteTrustCenterAccessPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteTrustCenterAccessPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterAccessPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteTrustCenterAccessPayload) 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._DeleteTrustCenterAccessPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteTrustCenterFileInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterFileInput(ctx context.Context, v any) (types.DeleteTrustCenterFileInput, error) {
|
|
res, err := ec.unmarshalInputDeleteTrustCenterFileInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteTrustCenterFilePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterFilePayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteTrustCenterFilePayload) graphql.Marshaler {
|
|
return ec._DeleteTrustCenterFilePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteTrustCenterFilePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterFilePayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteTrustCenterFilePayload) 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._DeleteTrustCenterFilePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteTrustCenterNDAInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterNDAInput(ctx context.Context, v any) (types.DeleteTrustCenterNDAInput, error) {
|
|
res, err := ec.unmarshalInputDeleteTrustCenterNDAInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteTrustCenterNDAPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterNDAPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteTrustCenterNDAPayload) graphql.Marshaler {
|
|
return ec._DeleteTrustCenterNDAPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteTrustCenterNDAPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterNDAPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteTrustCenterNDAPayload) 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._DeleteTrustCenterNDAPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteTrustCenterReferenceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterReferenceInput(ctx context.Context, v any) (types.DeleteTrustCenterReferenceInput, error) {
|
|
res, err := ec.unmarshalInputDeleteTrustCenterReferenceInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteTrustCenterReferencePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterReferencePayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteTrustCenterReferencePayload) graphql.Marshaler {
|
|
return ec._DeleteTrustCenterReferencePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteTrustCenterReferencePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteTrustCenterReferencePayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteTrustCenterReferencePayload) 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._DeleteTrustCenterReferencePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteVendorBusinessAssociateAgreementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorBusinessAssociateAgreementInput(ctx context.Context, v any) (types.DeleteVendorBusinessAssociateAgreementInput, error) {
|
|
res, err := ec.unmarshalInputDeleteVendorBusinessAssociateAgreementInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteVendorBusinessAssociateAgreementPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorBusinessAssociateAgreementPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteVendorBusinessAssociateAgreementPayload) graphql.Marshaler {
|
|
return ec._DeleteVendorBusinessAssociateAgreementPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteVendorBusinessAssociateAgreementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorBusinessAssociateAgreementPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteVendorBusinessAssociateAgreementPayload) 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._DeleteVendorBusinessAssociateAgreementPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteVendorComplianceReportInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorComplianceReportInput(ctx context.Context, v any) (types.DeleteVendorComplianceReportInput, error) {
|
|
res, err := ec.unmarshalInputDeleteVendorComplianceReportInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteVendorComplianceReportPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorComplianceReportPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteVendorComplianceReportPayload) graphql.Marshaler {
|
|
return ec._DeleteVendorComplianceReportPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteVendorComplianceReportPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorComplianceReportPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteVendorComplianceReportPayload) 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._DeleteVendorComplianceReportPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteVendorContactInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorContactInput(ctx context.Context, v any) (types.DeleteVendorContactInput, error) {
|
|
res, err := ec.unmarshalInputDeleteVendorContactInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteVendorContactPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorContactPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteVendorContactPayload) graphql.Marshaler {
|
|
return ec._DeleteVendorContactPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteVendorContactPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorContactPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteVendorContactPayload) 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._DeleteVendorContactPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteVendorDataPrivacyAgreementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorDataPrivacyAgreementInput(ctx context.Context, v any) (types.DeleteVendorDataPrivacyAgreementInput, error) {
|
|
res, err := ec.unmarshalInputDeleteVendorDataPrivacyAgreementInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteVendorDataPrivacyAgreementPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorDataPrivacyAgreementPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteVendorDataPrivacyAgreementPayload) graphql.Marshaler {
|
|
return ec._DeleteVendorDataPrivacyAgreementPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteVendorDataPrivacyAgreementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorDataPrivacyAgreementPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteVendorDataPrivacyAgreementPayload) 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._DeleteVendorDataPrivacyAgreementPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteVendorInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorInput(ctx context.Context, v any) (types.DeleteVendorInput, error) {
|
|
res, err := ec.unmarshalInputDeleteVendorInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteVendorPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorPayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteVendorPayload) graphql.Marshaler {
|
|
return ec._DeleteVendorPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteVendorPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteVendorPayload) 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._DeleteVendorPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDeleteVendorServiceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorServiceInput(ctx context.Context, v any) (types.DeleteVendorServiceInput, error) {
|
|
res, err := ec.unmarshalInputDeleteVendorServiceInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteVendorServicePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorServicePayload(ctx context.Context, sel ast.SelectionSet, v types.DeleteVendorServicePayload) graphql.Marshaler {
|
|
return ec._DeleteVendorServicePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDeleteVendorServicePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDeleteVendorServicePayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteVendorServicePayload) 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._DeleteVendorServicePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocument2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocument(ctx context.Context, sel ast.SelectionSet, v types.Document) graphql.Marshaler {
|
|
return ec._Document(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocument2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocument(ctx context.Context, sel ast.SelectionSet, v *types.Document) 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._Document(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDocumentClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification(ctx context.Context, v any) (coredata.DocumentClassification, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNDocumentClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification(ctx context.Context, sel ast.SelectionSet, v coredata.DocumentClassification) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNDocumentClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification[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 (
|
|
unmarshalNDocumentClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification = map[string]coredata.DocumentClassification{
|
|
"PUBLIC": coredata.DocumentClassificationPublic,
|
|
"INTERNAL": coredata.DocumentClassificationInternal,
|
|
"CONFIDENTIAL": coredata.DocumentClassificationConfidential,
|
|
"SECRET": coredata.DocumentClassificationSecret,
|
|
}
|
|
marshalNDocumentClassification2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification = map[coredata.DocumentClassification]string{
|
|
coredata.DocumentClassificationPublic: "PUBLIC",
|
|
coredata.DocumentClassificationInternal: "INTERNAL",
|
|
coredata.DocumentClassificationConfidential: "CONFIDENTIAL",
|
|
coredata.DocumentClassificationSecret: "SECRET",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNDocumentConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentConnection(ctx context.Context, sel ast.SelectionSet, v types.DocumentConnection) graphql.Marshaler {
|
|
return ec._DocumentConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentConnection(ctx context.Context, sel ast.SelectionSet, v *types.DocumentConnection) 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._DocumentConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.DocumentEdge) 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.marshalNDocumentEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentEdge(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) marshalNDocumentEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentEdge(ctx context.Context, sel ast.SelectionSet, v *types.DocumentEdge) 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._DocumentEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDocumentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentOrderField(ctx context.Context, v any) (coredata.DocumentOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNDocumentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.DocumentOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNDocumentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentOrderField[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 (
|
|
unmarshalNDocumentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentOrderField = map[string]coredata.DocumentOrderField{
|
|
"TITLE": coredata.DocumentOrderFieldTitle,
|
|
"CREATED_AT": coredata.DocumentOrderFieldCreatedAt,
|
|
"DOCUMENT_TYPE": coredata.DocumentOrderFieldDocumentType,
|
|
}
|
|
marshalNDocumentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentOrderField = map[coredata.DocumentOrderField]string{
|
|
coredata.DocumentOrderFieldTitle: "TITLE",
|
|
coredata.DocumentOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.DocumentOrderFieldDocumentType: "DOCUMENT_TYPE",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNDocumentStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentStatus(ctx context.Context, v any) (coredata.DocumentStatus, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNDocumentStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentStatus[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentStatus(ctx context.Context, sel ast.SelectionSet, v coredata.DocumentStatus) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNDocumentStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentStatus[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 (
|
|
unmarshalNDocumentStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentStatus = map[string]coredata.DocumentStatus{
|
|
"DRAFT": coredata.DocumentStatusDraft,
|
|
"PUBLISHED": coredata.DocumentStatusPublished,
|
|
}
|
|
marshalNDocumentStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentStatus = map[coredata.DocumentStatus]string{
|
|
coredata.DocumentStatusDraft: "DRAFT",
|
|
coredata.DocumentStatusPublished: "PUBLISHED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNDocumentType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType(ctx context.Context, v any) (coredata.DocumentType, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNDocumentType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType(ctx context.Context, sel ast.SelectionSet, v coredata.DocumentType) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNDocumentType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType[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 (
|
|
unmarshalNDocumentType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType = map[string]coredata.DocumentType{
|
|
"OTHER": coredata.DocumentTypeOther,
|
|
"ISMS": coredata.DocumentTypeISMS,
|
|
"POLICY": coredata.DocumentTypePolicy,
|
|
"PROCEDURE": coredata.DocumentTypeProcedure,
|
|
}
|
|
marshalNDocumentType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType = map[coredata.DocumentType]string{
|
|
coredata.DocumentTypeOther: "OTHER",
|
|
coredata.DocumentTypeISMS: "ISMS",
|
|
coredata.DocumentTypePolicy: "POLICY",
|
|
coredata.DocumentTypeProcedure: "PROCEDURE",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNDocumentVersion2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersion(ctx context.Context, sel ast.SelectionSet, v types.DocumentVersion) graphql.Marshaler {
|
|
return ec._DocumentVersion(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentVersion2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersion(ctx context.Context, sel ast.SelectionSet, v *types.DocumentVersion) 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._DocumentVersion(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentVersionConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionConnection(ctx context.Context, sel ast.SelectionSet, v types.DocumentVersionConnection) graphql.Marshaler {
|
|
return ec._DocumentVersionConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentVersionConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionConnection(ctx context.Context, sel ast.SelectionSet, v *types.DocumentVersionConnection) 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._DocumentVersionConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentVersionEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.DocumentVersionEdge) 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.marshalNDocumentVersionEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionEdge(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) marshalNDocumentVersionEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionEdge(ctx context.Context, sel ast.SelectionSet, v *types.DocumentVersionEdge) 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._DocumentVersionEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDocumentVersionOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionOrderField(ctx context.Context, v any) (coredata.DocumentVersionOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNDocumentVersionOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentVersionOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.DocumentVersionOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNDocumentVersionOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionOrderField[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 (
|
|
unmarshalNDocumentVersionOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionOrderField = map[string]coredata.DocumentVersionOrderField{
|
|
"CREATED_AT": coredata.DocumentVersionOrderFieldCreatedAt,
|
|
}
|
|
marshalNDocumentVersionOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionOrderField = map[coredata.DocumentVersionOrderField]string{
|
|
coredata.DocumentVersionOrderFieldCreatedAt: "CREATED_AT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNDocumentVersionSignature2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignature(ctx context.Context, sel ast.SelectionSet, v *types.DocumentVersionSignature) 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._DocumentVersionSignature(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentVersionSignatureConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignatureConnection(ctx context.Context, sel ast.SelectionSet, v types.DocumentVersionSignatureConnection) graphql.Marshaler {
|
|
return ec._DocumentVersionSignatureConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentVersionSignatureConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignatureConnection(ctx context.Context, sel ast.SelectionSet, v *types.DocumentVersionSignatureConnection) 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._DocumentVersionSignatureConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentVersionSignatureEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignatureEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.DocumentVersionSignatureEdge) 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.marshalNDocumentVersionSignatureEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignatureEdge(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) marshalNDocumentVersionSignatureEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignatureEdge(ctx context.Context, sel ast.SelectionSet, v *types.DocumentVersionSignatureEdge) 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._DocumentVersionSignatureEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNDocumentVersionSignatureOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureOrderField(ctx context.Context, v any) (coredata.DocumentVersionSignatureOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNDocumentVersionSignatureOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentVersionSignatureOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.DocumentVersionSignatureOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNDocumentVersionSignatureOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureOrderField[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 (
|
|
unmarshalNDocumentVersionSignatureOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureOrderField = map[string]coredata.DocumentVersionSignatureOrderField{
|
|
"CREATED_AT": coredata.DocumentVersionSignatureOrderFieldCreatedAt,
|
|
"SIGNED_AT": coredata.DocumentVersionSignatureOrderFieldSignedAt,
|
|
}
|
|
marshalNDocumentVersionSignatureOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureOrderField = map[coredata.DocumentVersionSignatureOrderField]string{
|
|
coredata.DocumentVersionSignatureOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.DocumentVersionSignatureOrderFieldSignedAt: "SIGNED_AT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNDocumentVersionSignatureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureState(ctx context.Context, v any) (coredata.DocumentVersionSignatureState, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNDocumentVersionSignatureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureState[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNDocumentVersionSignatureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureState(ctx context.Context, sel ast.SelectionSet, v coredata.DocumentVersionSignatureState) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNDocumentVersionSignatureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureState[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 (
|
|
unmarshalNDocumentVersionSignatureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureState = map[string]coredata.DocumentVersionSignatureState{
|
|
"REQUESTED": coredata.DocumentVersionSignatureStateRequested,
|
|
"SIGNED": coredata.DocumentVersionSignatureStateSigned,
|
|
}
|
|
marshalNDocumentVersionSignatureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureState = map[coredata.DocumentVersionSignatureState]string{
|
|
coredata.DocumentVersionSignatureStateRequested: "REQUESTED",
|
|
coredata.DocumentVersionSignatureStateSigned: "SIGNED",
|
|
}
|
|
)
|
|
|
|
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)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNEmailAddr2goᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx context.Context, sel ast.SelectionSet, v mail.Addr) graphql.Marshaler {
|
|
_ = sel
|
|
res := mail1.MarshalAddrScalar(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
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNEmailAddr2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddrᚄ(ctx context.Context, v any) ([]mail.Addr, error) {
|
|
var vSlice []any
|
|
vSlice = graphql.CoerceList(v)
|
|
var err error
|
|
res := make([]mail.Addr, len(vSlice))
|
|
for i := range vSlice {
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
|
|
res[i], err = ec.unmarshalNEmailAddr2goᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx, vSlice[i])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
}
|
|
return res, nil
|
|
}
|
|
|
|
func (ec *executionContext) marshalNEmailAddr2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddrᚄ(ctx context.Context, sel ast.SelectionSet, v []mail.Addr) graphql.Marshaler {
|
|
ret := make(graphql.Array, len(v))
|
|
for i := range v {
|
|
ret[i] = ec.marshalNEmailAddr2goᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx, sel, v[i])
|
|
}
|
|
|
|
for _, e := range ret {
|
|
if e == graphql.Null {
|
|
return graphql.Null
|
|
}
|
|
}
|
|
|
|
return ret
|
|
}
|
|
|
|
func (ec *executionContext) marshalNEvidence2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐEvidence(ctx context.Context, sel ast.SelectionSet, v *types.Evidence) 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._Evidence(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNEvidenceConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐEvidenceConnection(ctx context.Context, sel ast.SelectionSet, v types.EvidenceConnection) graphql.Marshaler {
|
|
return ec._EvidenceConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNEvidenceConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐEvidenceConnection(ctx context.Context, sel ast.SelectionSet, v *types.EvidenceConnection) 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._EvidenceConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNEvidenceEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐEvidenceEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.EvidenceEdge) 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.marshalNEvidenceEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐEvidenceEdge(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) marshalNEvidenceEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐEvidenceEdge(ctx context.Context, sel ast.SelectionSet, v *types.EvidenceEdge) 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._EvidenceEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNEvidenceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceOrderField(ctx context.Context, v any) (coredata.EvidenceOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := coredata.EvidenceOrderField(tmp)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNEvidenceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.EvidenceOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(string(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
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNEvidenceState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceState(ctx context.Context, v any) (coredata.EvidenceState, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNEvidenceState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceState[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNEvidenceState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceState(ctx context.Context, sel ast.SelectionSet, v coredata.EvidenceState) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNEvidenceState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceState[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 (
|
|
unmarshalNEvidenceState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceState = map[string]coredata.EvidenceState{
|
|
"FULFILLED": coredata.EvidenceStateFulfilled,
|
|
"REQUESTED": coredata.EvidenceStateRequested,
|
|
}
|
|
marshalNEvidenceState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceState = map[coredata.EvidenceState]string{
|
|
coredata.EvidenceStateFulfilled: "FULFILLED",
|
|
coredata.EvidenceStateRequested: "REQUESTED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNEvidenceType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceType(ctx context.Context, v any) (coredata.EvidenceType, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNEvidenceType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceType[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNEvidenceType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceType(ctx context.Context, sel ast.SelectionSet, v coredata.EvidenceType) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNEvidenceType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceType[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 (
|
|
unmarshalNEvidenceType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceType = map[string]coredata.EvidenceType{
|
|
"FILE": coredata.EvidenceTypeFile,
|
|
"LINK": coredata.EvidenceTypeLink,
|
|
}
|
|
marshalNEvidenceType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐEvidenceType = map[coredata.EvidenceType]string{
|
|
coredata.EvidenceTypeFile: "FILE",
|
|
coredata.EvidenceTypeLink: "LINK",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNExportDataProtectionImpactAssessmentsPDFInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportDataProtectionImpactAssessmentsPDFInput(ctx context.Context, v any) (types.ExportDataProtectionImpactAssessmentsPDFInput, error) {
|
|
res, err := ec.unmarshalInputExportDataProtectionImpactAssessmentsPDFInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNExportDataProtectionImpactAssessmentsPDFPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportDataProtectionImpactAssessmentsPDFPayload(ctx context.Context, sel ast.SelectionSet, v types.ExportDataProtectionImpactAssessmentsPDFPayload) graphql.Marshaler {
|
|
return ec._ExportDataProtectionImpactAssessmentsPDFPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNExportDataProtectionImpactAssessmentsPDFPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportDataProtectionImpactAssessmentsPDFPayload(ctx context.Context, sel ast.SelectionSet, v *types.ExportDataProtectionImpactAssessmentsPDFPayload) 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._ExportDataProtectionImpactAssessmentsPDFPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNExportDocumentVersionPDFInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportDocumentVersionPDFInput(ctx context.Context, v any) (types.ExportDocumentVersionPDFInput, error) {
|
|
res, err := ec.unmarshalInputExportDocumentVersionPDFInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNExportDocumentVersionPDFPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportDocumentVersionPDFPayload(ctx context.Context, sel ast.SelectionSet, v types.ExportDocumentVersionPDFPayload) graphql.Marshaler {
|
|
return ec._ExportDocumentVersionPDFPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNExportDocumentVersionPDFPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportDocumentVersionPDFPayload(ctx context.Context, sel ast.SelectionSet, v *types.ExportDocumentVersionPDFPayload) 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._ExportDocumentVersionPDFPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNExportFrameworkInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportFrameworkInput(ctx context.Context, v any) (types.ExportFrameworkInput, error) {
|
|
res, err := ec.unmarshalInputExportFrameworkInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNExportFrameworkPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportFrameworkPayload(ctx context.Context, sel ast.SelectionSet, v types.ExportFrameworkPayload) graphql.Marshaler {
|
|
return ec._ExportFrameworkPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNExportFrameworkPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportFrameworkPayload(ctx context.Context, sel ast.SelectionSet, v *types.ExportFrameworkPayload) 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._ExportFrameworkPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNExportProcessingActivitiesPDFInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportProcessingActivitiesPDFInput(ctx context.Context, v any) (types.ExportProcessingActivitiesPDFInput, error) {
|
|
res, err := ec.unmarshalInputExportProcessingActivitiesPDFInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNExportProcessingActivitiesPDFPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportProcessingActivitiesPDFPayload(ctx context.Context, sel ast.SelectionSet, v types.ExportProcessingActivitiesPDFPayload) graphql.Marshaler {
|
|
return ec._ExportProcessingActivitiesPDFPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNExportProcessingActivitiesPDFPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportProcessingActivitiesPDFPayload(ctx context.Context, sel ast.SelectionSet, v *types.ExportProcessingActivitiesPDFPayload) 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._ExportProcessingActivitiesPDFPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNExportSignableDocumentVersionPDFInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportSignableDocumentVersionPDFInput(ctx context.Context, v any) (types.ExportSignableDocumentVersionPDFInput, error) {
|
|
res, err := ec.unmarshalInputExportSignableDocumentVersionPDFInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNExportSignableDocumentVersionPDFPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportSignableDocumentVersionPDFPayload(ctx context.Context, sel ast.SelectionSet, v types.ExportSignableDocumentVersionPDFPayload) graphql.Marshaler {
|
|
return ec._ExportSignableDocumentVersionPDFPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNExportSignableDocumentVersionPDFPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportSignableDocumentVersionPDFPayload(ctx context.Context, sel ast.SelectionSet, v *types.ExportSignableDocumentVersionPDFPayload) 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._ExportSignableDocumentVersionPDFPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNExportStateOfApplicabilityPDFInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportStateOfApplicabilityPDFInput(ctx context.Context, v any) (types.ExportStateOfApplicabilityPDFInput, error) {
|
|
res, err := ec.unmarshalInputExportStateOfApplicabilityPDFInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNExportStateOfApplicabilityPDFPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportStateOfApplicabilityPDFPayload(ctx context.Context, sel ast.SelectionSet, v types.ExportStateOfApplicabilityPDFPayload) graphql.Marshaler {
|
|
return ec._ExportStateOfApplicabilityPDFPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNExportStateOfApplicabilityPDFPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportStateOfApplicabilityPDFPayload(ctx context.Context, sel ast.SelectionSet, v *types.ExportStateOfApplicabilityPDFPayload) 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._ExportStateOfApplicabilityPDFPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNExportTransferImpactAssessmentsPDFInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportTransferImpactAssessmentsPDFInput(ctx context.Context, v any) (types.ExportTransferImpactAssessmentsPDFInput, error) {
|
|
res, err := ec.unmarshalInputExportTransferImpactAssessmentsPDFInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNExportTransferImpactAssessmentsPDFPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportTransferImpactAssessmentsPDFPayload(ctx context.Context, sel ast.SelectionSet, v types.ExportTransferImpactAssessmentsPDFPayload) graphql.Marshaler {
|
|
return ec._ExportTransferImpactAssessmentsPDFPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNExportTransferImpactAssessmentsPDFPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐExportTransferImpactAssessmentsPDFPayload(ctx context.Context, sel ast.SelectionSet, v *types.ExportTransferImpactAssessmentsPDFPayload) 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._ExportTransferImpactAssessmentsPDFPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNFramework2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFramework(ctx context.Context, sel ast.SelectionSet, v types.Framework) graphql.Marshaler {
|
|
return ec._Framework(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNFramework2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFramework(ctx context.Context, sel ast.SelectionSet, v *types.Framework) 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._Framework(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNFrameworkConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFrameworkConnection(ctx context.Context, sel ast.SelectionSet, v types.FrameworkConnection) graphql.Marshaler {
|
|
return ec._FrameworkConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNFrameworkConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFrameworkConnection(ctx context.Context, sel ast.SelectionSet, v *types.FrameworkConnection) 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._FrameworkConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNFrameworkEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFrameworkEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.FrameworkEdge) 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.marshalNFrameworkEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFrameworkEdge(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) marshalNFrameworkEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFrameworkEdge(ctx context.Context, sel ast.SelectionSet, v *types.FrameworkEdge) 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._FrameworkEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNFrameworkOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐFrameworkOrderField(ctx context.Context, v any) (coredata.FrameworkOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNFrameworkOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐFrameworkOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNFrameworkOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐFrameworkOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.FrameworkOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNFrameworkOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐFrameworkOrderField[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 (
|
|
unmarshalNFrameworkOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐFrameworkOrderField = map[string]coredata.FrameworkOrderField{
|
|
"CREATED_AT": coredata.FrameworkOrderFieldCreatedAt,
|
|
}
|
|
marshalNFrameworkOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐFrameworkOrderField = map[coredata.FrameworkOrderField]string{
|
|
coredata.FrameworkOrderFieldCreatedAt: "CREATED_AT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNGenerateDocumentChangelogInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGenerateDocumentChangelogInput(ctx context.Context, v any) (types.GenerateDocumentChangelogInput, error) {
|
|
res, err := ec.unmarshalInputGenerateDocumentChangelogInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNGenerateDocumentChangelogPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGenerateDocumentChangelogPayload(ctx context.Context, sel ast.SelectionSet, v types.GenerateDocumentChangelogPayload) graphql.Marshaler {
|
|
return ec._GenerateDocumentChangelogPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNGenerateDocumentChangelogPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGenerateDocumentChangelogPayload(ctx context.Context, sel ast.SelectionSet, v *types.GenerateDocumentChangelogPayload) 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._GenerateDocumentChangelogPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNGenerateFrameworkStateOfApplicabilityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGenerateFrameworkStateOfApplicabilityInput(ctx context.Context, v any) (types.GenerateFrameworkStateOfApplicabilityInput, error) {
|
|
res, err := ec.unmarshalInputGenerateFrameworkStateOfApplicabilityInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNGenerateFrameworkStateOfApplicabilityPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGenerateFrameworkStateOfApplicabilityPayload(ctx context.Context, sel ast.SelectionSet, v types.GenerateFrameworkStateOfApplicabilityPayload) graphql.Marshaler {
|
|
return ec._GenerateFrameworkStateOfApplicabilityPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNGenerateFrameworkStateOfApplicabilityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGenerateFrameworkStateOfApplicabilityPayload(ctx context.Context, sel ast.SelectionSet, v *types.GenerateFrameworkStateOfApplicabilityPayload) 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._GenerateFrameworkStateOfApplicabilityPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNGetTrustCenterFileInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGetTrustCenterFileInput(ctx context.Context, v any) (types.GetTrustCenterFileInput, error) {
|
|
res, err := ec.unmarshalInputGetTrustCenterFileInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNGetTrustCenterFilePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGetTrustCenterFilePayload(ctx context.Context, sel ast.SelectionSet, v types.GetTrustCenterFilePayload) graphql.Marshaler {
|
|
return ec._GetTrustCenterFilePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNGetTrustCenterFilePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐGetTrustCenterFilePayload(ctx context.Context, sel ast.SelectionSet, v *types.GetTrustCenterFilePayload) 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._GetTrustCenterFilePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx context.Context, v any) (gid.GID, error) {
|
|
res, err := gid1.UnmarshalGIDScalar(v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx context.Context, sel ast.SelectionSet, v gid.GID) graphql.Marshaler {
|
|
_ = sel
|
|
res := gid1.MarshalGIDScalar(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
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx context.Context, v any) ([]gid.GID, error) {
|
|
var vSlice []any
|
|
vSlice = graphql.CoerceList(v)
|
|
var err error
|
|
res := make([]gid.GID, len(vSlice))
|
|
for i := range vSlice {
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
|
|
res[i], err = ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, vSlice[i])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
}
|
|
return res, nil
|
|
}
|
|
|
|
func (ec *executionContext) marshalNID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx context.Context, sel ast.SelectionSet, v []gid.GID) graphql.Marshaler {
|
|
ret := make(graphql.Array, len(v))
|
|
for i := range v {
|
|
ret[i] = ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, sel, v[i])
|
|
}
|
|
|
|
for _, e := range ret {
|
|
if e == graphql.Null {
|
|
return graphql.Null
|
|
}
|
|
}
|
|
|
|
return ret
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNImportFrameworkInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐImportFrameworkInput(ctx context.Context, v any) (types.ImportFrameworkInput, error) {
|
|
res, err := ec.unmarshalInputImportFrameworkInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNImportFrameworkPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐImportFrameworkPayload(ctx context.Context, sel ast.SelectionSet, v types.ImportFrameworkPayload) graphql.Marshaler {
|
|
return ec._ImportFrameworkPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNImportFrameworkPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐImportFrameworkPayload(ctx context.Context, sel ast.SelectionSet, v *types.ImportFrameworkPayload) 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._ImportFrameworkPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNImportMeasureInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐImportMeasureInput(ctx context.Context, v any) (types.ImportMeasureInput, error) {
|
|
res, err := ec.unmarshalInputImportMeasureInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNImportMeasurePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐImportMeasurePayload(ctx context.Context, sel ast.SelectionSet, v types.ImportMeasurePayload) graphql.Marshaler {
|
|
return ec._ImportMeasurePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNImportMeasurePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐImportMeasurePayload(ctx context.Context, sel ast.SelectionSet, v *types.ImportMeasurePayload) 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._ImportMeasurePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNInt2int(ctx context.Context, v any) (int, error) {
|
|
res, err := graphql.UnmarshalInt(v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNInt2int(ctx context.Context, sel ast.SelectionSet, v int) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalInt(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
|
|
}
|
|
|
|
func (ec *executionContext) marshalNMeasure2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasure(ctx context.Context, sel ast.SelectionSet, v types.Measure) graphql.Marshaler {
|
|
return ec._Measure(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNMeasure2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasure(ctx context.Context, sel ast.SelectionSet, v *types.Measure) 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._Measure(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNMeasureConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureConnection(ctx context.Context, sel ast.SelectionSet, v types.MeasureConnection) graphql.Marshaler {
|
|
return ec._MeasureConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNMeasureConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureConnection(ctx context.Context, sel ast.SelectionSet, v *types.MeasureConnection) 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._MeasureConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNMeasureEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.MeasureEdge) 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.marshalNMeasureEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureEdge(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) marshalNMeasureEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureEdge(ctx context.Context, sel ast.SelectionSet, v *types.MeasureEdge) 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._MeasureEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNMeasureOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureOrderField(ctx context.Context, v any) (coredata.MeasureOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNMeasureOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNMeasureOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.MeasureOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNMeasureOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureOrderField[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 (
|
|
unmarshalNMeasureOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureOrderField = map[string]coredata.MeasureOrderField{
|
|
"CREATED_AT": coredata.MeasureOrderFieldCreatedAt,
|
|
"NAME": coredata.MeasureOrderFieldName,
|
|
}
|
|
marshalNMeasureOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureOrderField = map[coredata.MeasureOrderField]string{
|
|
coredata.MeasureOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.MeasureOrderFieldName: "NAME",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNMeasureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState(ctx context.Context, v any) (coredata.MeasureState, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNMeasureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNMeasureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState(ctx context.Context, sel ast.SelectionSet, v coredata.MeasureState) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNMeasureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState[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 (
|
|
unmarshalNMeasureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState = map[string]coredata.MeasureState{
|
|
"NOT_STARTED": coredata.MeasureStateNotStarted,
|
|
"IN_PROGRESS": coredata.MeasureStateInProgress,
|
|
"NOT_APPLICABLE": coredata.MeasureStateNotApplicable,
|
|
"IMPLEMENTED": coredata.MeasureStateImplemented,
|
|
}
|
|
marshalNMeasureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState = map[coredata.MeasureState]string{
|
|
coredata.MeasureStateNotStarted: "NOT_STARTED",
|
|
coredata.MeasureStateInProgress: "IN_PROGRESS",
|
|
coredata.MeasureStateNotApplicable: "NOT_APPLICABLE",
|
|
coredata.MeasureStateImplemented: "IMPLEMENTED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNMeeting2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeeting(ctx context.Context, sel ast.SelectionSet, v *types.Meeting) 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._Meeting(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNMeetingConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeetingConnection(ctx context.Context, sel ast.SelectionSet, v types.MeetingConnection) graphql.Marshaler {
|
|
return ec._MeetingConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNMeetingConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeetingConnection(ctx context.Context, sel ast.SelectionSet, v *types.MeetingConnection) 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._MeetingConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNMeetingEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeetingEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.MeetingEdge) 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.marshalNMeetingEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeetingEdge(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) marshalNMeetingEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeetingEdge(ctx context.Context, sel ast.SelectionSet, v *types.MeetingEdge) 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._MeetingEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNMeetingOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeetingOrderField(ctx context.Context, v any) (coredata.MeetingOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNMeetingOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeetingOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNMeetingOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeetingOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.MeetingOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNMeetingOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeetingOrderField[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 (
|
|
unmarshalNMeetingOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeetingOrderField = map[string]coredata.MeetingOrderField{
|
|
"DATE": coredata.MeetingOrderFieldDate,
|
|
"NAME": coredata.MeetingOrderFieldName,
|
|
"CREATED_AT": coredata.MeetingOrderFieldCreatedAt,
|
|
}
|
|
marshalNMeetingOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeetingOrderField = map[coredata.MeetingOrderField]string{
|
|
coredata.MeetingOrderFieldDate: "DATE",
|
|
coredata.MeetingOrderFieldName: "NAME",
|
|
coredata.MeetingOrderFieldCreatedAt: "CREATED_AT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNNode2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNode(ctx context.Context, sel ast.SelectionSet, v types.Node) 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._Node(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNNonconformity2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformity(ctx context.Context, sel ast.SelectionSet, v *types.Nonconformity) 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._Nonconformity(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNNonconformityConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformityConnection(ctx context.Context, sel ast.SelectionSet, v types.NonconformityConnection) graphql.Marshaler {
|
|
return ec._NonconformityConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNNonconformityConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformityConnection(ctx context.Context, sel ast.SelectionSet, v *types.NonconformityConnection) 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._NonconformityConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNNonconformityEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformityEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.NonconformityEdge) 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.marshalNNonconformityEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformityEdge(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) marshalNNonconformityEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformityEdge(ctx context.Context, sel ast.SelectionSet, v *types.NonconformityEdge) 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._NonconformityEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNNonconformityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityOrderField(ctx context.Context, v any) (coredata.NonconformityOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNNonconformityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNNonconformityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.NonconformityOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNNonconformityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityOrderField[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 (
|
|
unmarshalNNonconformityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityOrderField = map[string]coredata.NonconformityOrderField{
|
|
"CREATED_AT": coredata.NonconformityOrderFieldCreatedAt,
|
|
"REFERENCE_ID": coredata.NonconformityOrderFieldReferenceId,
|
|
"DATE_IDENTIFIED": coredata.NonconformityOrderFieldDateIdentified,
|
|
"DUE_DATE": coredata.NonconformityOrderFieldDueDate,
|
|
"STATUS": coredata.NonconformityOrderFieldStatus,
|
|
}
|
|
marshalNNonconformityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityOrderField = map[coredata.NonconformityOrderField]string{
|
|
coredata.NonconformityOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.NonconformityOrderFieldReferenceId: "REFERENCE_ID",
|
|
coredata.NonconformityOrderFieldDateIdentified: "DATE_IDENTIFIED",
|
|
coredata.NonconformityOrderFieldDueDate: "DUE_DATE",
|
|
coredata.NonconformityOrderFieldStatus: "STATUS",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNNonconformityStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus(ctx context.Context, v any) (coredata.NonconformityStatus, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNNonconformityStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNNonconformityStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus(ctx context.Context, sel ast.SelectionSet, v coredata.NonconformityStatus) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNNonconformityStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus[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 (
|
|
unmarshalNNonconformityStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus = map[string]coredata.NonconformityStatus{
|
|
"OPEN": coredata.NonconformityStatusOpen,
|
|
"IN_PROGRESS": coredata.NonconformityStatusInProgress,
|
|
"CLOSED": coredata.NonconformityStatusClosed,
|
|
}
|
|
marshalNNonconformityStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus = map[coredata.NonconformityStatus]string{
|
|
coredata.NonconformityStatusOpen: "OPEN",
|
|
coredata.NonconformityStatusInProgress: "IN_PROGRESS",
|
|
coredata.NonconformityStatusClosed: "CLOSED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNObligation2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligation(ctx context.Context, sel ast.SelectionSet, v *types.Obligation) 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._Obligation(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNObligationConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationConnection(ctx context.Context, sel ast.SelectionSet, v types.ObligationConnection) graphql.Marshaler {
|
|
return ec._ObligationConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNObligationConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationConnection(ctx context.Context, sel ast.SelectionSet, v *types.ObligationConnection) 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._ObligationConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNObligationEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.ObligationEdge) 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.marshalNObligationEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationEdge(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) marshalNObligationEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationEdge(ctx context.Context, sel ast.SelectionSet, v *types.ObligationEdge) 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._ObligationEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNObligationOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationOrderField(ctx context.Context, v any) (coredata.ObligationOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNObligationOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNObligationOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.ObligationOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNObligationOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationOrderField[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 (
|
|
unmarshalNObligationOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationOrderField = map[string]coredata.ObligationOrderField{
|
|
"CREATED_AT": coredata.ObligationOrderFieldCreatedAt,
|
|
"LAST_REVIEW_DATE": coredata.ObligationOrderFieldLastReviewDate,
|
|
"DUE_DATE": coredata.ObligationOrderFieldDueDate,
|
|
"STATUS": coredata.ObligationOrderFieldStatus,
|
|
}
|
|
marshalNObligationOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationOrderField = map[coredata.ObligationOrderField]string{
|
|
coredata.ObligationOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.ObligationOrderFieldLastReviewDate: "LAST_REVIEW_DATE",
|
|
coredata.ObligationOrderFieldDueDate: "DUE_DATE",
|
|
coredata.ObligationOrderFieldStatus: "STATUS",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNObligationStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus(ctx context.Context, v any) (coredata.ObligationStatus, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNObligationStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNObligationStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus(ctx context.Context, sel ast.SelectionSet, v coredata.ObligationStatus) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNObligationStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus[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 (
|
|
unmarshalNObligationStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus = map[string]coredata.ObligationStatus{
|
|
"NON_COMPLIANT": coredata.ObligationStatusNonCompliant,
|
|
"PARTIALLY_COMPLIANT": coredata.ObligationStatusPartiallyCompliant,
|
|
"COMPLIANT": coredata.ObligationStatusCompliant,
|
|
}
|
|
marshalNObligationStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus = map[coredata.ObligationStatus]string{
|
|
coredata.ObligationStatusNonCompliant: "NON_COMPLIANT",
|
|
coredata.ObligationStatusPartiallyCompliant: "PARTIALLY_COMPLIANT",
|
|
coredata.ObligationStatusCompliant: "COMPLIANT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNObligationType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType(ctx context.Context, v any) (coredata.ObligationType, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNObligationType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNObligationType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType(ctx context.Context, sel ast.SelectionSet, v coredata.ObligationType) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNObligationType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType[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 (
|
|
unmarshalNObligationType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType = map[string]coredata.ObligationType{
|
|
"LEGAL": coredata.ObligationTypeLegal,
|
|
"CONTRACTUAL": coredata.ObligationTypeContractual,
|
|
}
|
|
marshalNObligationType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType = map[coredata.ObligationType]string{
|
|
coredata.ObligationTypeLegal: "LEGAL",
|
|
coredata.ObligationTypeContractual: "CONTRACTUAL",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNOrderDirection2goᚗproboᚗincᚋproboᚋpkgᚋpageᚐOrderDirection(ctx context.Context, v any) (page.OrderDirection, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNOrderDirection2goᚗproboᚗincᚋproboᚋpkgᚋpageᚐOrderDirection[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNOrderDirection2goᚗproboᚗincᚋproboᚋpkgᚋpageᚐOrderDirection(ctx context.Context, sel ast.SelectionSet, v page.OrderDirection) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNOrderDirection2goᚗproboᚗincᚋproboᚋpkgᚋpageᚐOrderDirection[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 (
|
|
unmarshalNOrderDirection2goᚗproboᚗincᚋproboᚋpkgᚋpageᚐOrderDirection = map[string]page.OrderDirection{
|
|
"ASC": page.OrderDirectionAsc,
|
|
"DESC": page.OrderDirectionDesc,
|
|
}
|
|
marshalNOrderDirection2goᚗproboᚗincᚋproboᚋpkgᚋpageᚐOrderDirection = map[page.OrderDirection]string{
|
|
page.OrderDirectionAsc: "ASC",
|
|
page.OrderDirectionDesc: "DESC",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNOrganization2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization(ctx context.Context, sel ast.SelectionSet, v types.Organization) graphql.Marshaler {
|
|
return ec._Organization(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization(ctx context.Context, sel ast.SelectionSet, v *types.Organization) 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._Organization(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNOrganizationContext2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganizationContext(ctx context.Context, sel ast.SelectionSet, v *types.OrganizationContext) 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._OrganizationContext(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo(ctx context.Context, sel ast.SelectionSet, v types.PageInfo) graphql.Marshaler {
|
|
return ec._PageInfo(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNPageInfo2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPageInfo(ctx context.Context, sel ast.SelectionSet, v *types.PageInfo) 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._PageInfo(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNPeople2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople(ctx context.Context, sel ast.SelectionSet, v types.People) graphql.Marshaler {
|
|
return ec._People(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNPeople2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeopleᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.People) 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.marshalNPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople(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) marshalNPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople(ctx context.Context, sel ast.SelectionSet, v *types.People) 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._People(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNPeopleConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeopleConnection(ctx context.Context, sel ast.SelectionSet, v types.PeopleConnection) graphql.Marshaler {
|
|
return ec._PeopleConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNPeopleConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeopleConnection(ctx context.Context, sel ast.SelectionSet, v *types.PeopleConnection) 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._PeopleConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNPeopleEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeopleEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.PeopleEdge) 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.marshalNPeopleEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeopleEdge(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) marshalNPeopleEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeopleEdge(ctx context.Context, sel ast.SelectionSet, v *types.PeopleEdge) 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._PeopleEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNPeopleKind2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind(ctx context.Context, v any) (coredata.PeopleKind, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNPeopleKind2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNPeopleKind2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind(ctx context.Context, sel ast.SelectionSet, v coredata.PeopleKind) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNPeopleKind2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind[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 (
|
|
unmarshalNPeopleKind2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind = map[string]coredata.PeopleKind{
|
|
"EMPLOYEE": coredata.PeopleKindEmployee,
|
|
"CONTRACTOR": coredata.PeopleKindContractor,
|
|
"SERVICE_ACCOUNT": coredata.PeopleKindServiceAccount,
|
|
}
|
|
marshalNPeopleKind2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind = map[coredata.PeopleKind]string{
|
|
coredata.PeopleKindEmployee: "EMPLOYEE",
|
|
coredata.PeopleKindContractor: "CONTRACTOR",
|
|
coredata.PeopleKindServiceAccount: "SERVICE_ACCOUNT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNPeopleOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleOrderField(ctx context.Context, v any) (coredata.PeopleOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNPeopleOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNPeopleOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.PeopleOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNPeopleOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleOrderField[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 (
|
|
unmarshalNPeopleOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleOrderField = map[string]coredata.PeopleOrderField{
|
|
"FULL_NAME": coredata.PeopleOrderFieldFullName,
|
|
"CREATED_AT": coredata.PeopleOrderFieldCreatedAt,
|
|
"KIND": coredata.PeopleOrderFieldKind,
|
|
}
|
|
marshalNPeopleOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleOrderField = map[coredata.PeopleOrderField]string{
|
|
coredata.PeopleOrderFieldFullName: "FULL_NAME",
|
|
coredata.PeopleOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.PeopleOrderFieldKind: "KIND",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNProcessingActivity2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivity(ctx context.Context, sel ast.SelectionSet, v types.ProcessingActivity) graphql.Marshaler {
|
|
return ec._ProcessingActivity(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNProcessingActivity2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivity(ctx context.Context, sel ast.SelectionSet, v *types.ProcessingActivity) 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._ProcessingActivity(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNProcessingActivityConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivityConnection(ctx context.Context, sel ast.SelectionSet, v types.ProcessingActivityConnection) graphql.Marshaler {
|
|
return ec._ProcessingActivityConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNProcessingActivityConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivityConnection(ctx context.Context, sel ast.SelectionSet, v *types.ProcessingActivityConnection) 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._ProcessingActivityConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNProcessingActivityDataProtectionImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment(ctx context.Context, v any) (coredata.ProcessingActivityDataProtectionImpactAssessment, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNProcessingActivityDataProtectionImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNProcessingActivityDataProtectionImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment(ctx context.Context, sel ast.SelectionSet, v coredata.ProcessingActivityDataProtectionImpactAssessment) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNProcessingActivityDataProtectionImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment[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 (
|
|
unmarshalNProcessingActivityDataProtectionImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment = map[string]coredata.ProcessingActivityDataProtectionImpactAssessment{
|
|
"NEEDED": coredata.ProcessingActivityDataProtectionImpactAssessmentNeeded,
|
|
"NOT_NEEDED": coredata.ProcessingActivityDataProtectionImpactAssessmentNotNeeded,
|
|
}
|
|
marshalNProcessingActivityDataProtectionImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment = map[coredata.ProcessingActivityDataProtectionImpactAssessment]string{
|
|
coredata.ProcessingActivityDataProtectionImpactAssessmentNeeded: "NEEDED",
|
|
coredata.ProcessingActivityDataProtectionImpactAssessmentNotNeeded: "NOT_NEEDED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNProcessingActivityEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivityEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.ProcessingActivityEdge) 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.marshalNProcessingActivityEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivityEdge(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) marshalNProcessingActivityEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivityEdge(ctx context.Context, sel ast.SelectionSet, v *types.ProcessingActivityEdge) 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._ProcessingActivityEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNProcessingActivityLawfulBasis2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis(ctx context.Context, v any) (coredata.ProcessingActivityLawfulBasis, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNProcessingActivityLawfulBasis2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNProcessingActivityLawfulBasis2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis(ctx context.Context, sel ast.SelectionSet, v coredata.ProcessingActivityLawfulBasis) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNProcessingActivityLawfulBasis2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis[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 (
|
|
unmarshalNProcessingActivityLawfulBasis2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis = map[string]coredata.ProcessingActivityLawfulBasis{
|
|
"LEGITIMATE_INTEREST": coredata.ProcessingActivityLawfulBasisLegitimateInterest,
|
|
"CONSENT": coredata.ProcessingActivityLawfulBasisConsent,
|
|
"CONTRACTUAL_NECESSITY": coredata.ProcessingActivityLawfulBasisContractualNecessity,
|
|
"LEGAL_OBLIGATION": coredata.ProcessingActivityLawfulBasisLegalObligation,
|
|
"VITAL_INTERESTS": coredata.ProcessingActivityLawfulBasisVitalInterests,
|
|
"PUBLIC_TASK": coredata.ProcessingActivityLawfulBasisPublicTask,
|
|
}
|
|
marshalNProcessingActivityLawfulBasis2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis = map[coredata.ProcessingActivityLawfulBasis]string{
|
|
coredata.ProcessingActivityLawfulBasisLegitimateInterest: "LEGITIMATE_INTEREST",
|
|
coredata.ProcessingActivityLawfulBasisConsent: "CONSENT",
|
|
coredata.ProcessingActivityLawfulBasisContractualNecessity: "CONTRACTUAL_NECESSITY",
|
|
coredata.ProcessingActivityLawfulBasisLegalObligation: "LEGAL_OBLIGATION",
|
|
coredata.ProcessingActivityLawfulBasisVitalInterests: "VITAL_INTERESTS",
|
|
coredata.ProcessingActivityLawfulBasisPublicTask: "PUBLIC_TASK",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNProcessingActivityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityOrderField(ctx context.Context, v any) (coredata.ProcessingActivityOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNProcessingActivityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNProcessingActivityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.ProcessingActivityOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNProcessingActivityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityOrderField[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 (
|
|
unmarshalNProcessingActivityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityOrderField = map[string]coredata.ProcessingActivityOrderField{
|
|
"CREATED_AT": coredata.ProcessingActivityOrderFieldCreatedAt,
|
|
"NAME": coredata.ProcessingActivityOrderFieldName,
|
|
}
|
|
marshalNProcessingActivityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityOrderField = map[coredata.ProcessingActivityOrderField]string{
|
|
coredata.ProcessingActivityOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.ProcessingActivityOrderFieldName: "NAME",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNProcessingActivityRole2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole(ctx context.Context, v any) (coredata.ProcessingActivityRole, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNProcessingActivityRole2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNProcessingActivityRole2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole(ctx context.Context, sel ast.SelectionSet, v coredata.ProcessingActivityRole) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNProcessingActivityRole2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole[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 (
|
|
unmarshalNProcessingActivityRole2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole = map[string]coredata.ProcessingActivityRole{
|
|
"CONTROLLER": coredata.ProcessingActivityRoleController,
|
|
"PROCESSOR": coredata.ProcessingActivityRoleProcessor,
|
|
}
|
|
marshalNProcessingActivityRole2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole = map[coredata.ProcessingActivityRole]string{
|
|
coredata.ProcessingActivityRoleController: "CONTROLLER",
|
|
coredata.ProcessingActivityRoleProcessor: "PROCESSOR",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNProcessingActivitySpecialOrCriminalDatum2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum(ctx context.Context, v any) (coredata.ProcessingActivitySpecialOrCriminalDatum, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNProcessingActivitySpecialOrCriminalDatum2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNProcessingActivitySpecialOrCriminalDatum2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum(ctx context.Context, sel ast.SelectionSet, v coredata.ProcessingActivitySpecialOrCriminalDatum) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNProcessingActivitySpecialOrCriminalDatum2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum[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 (
|
|
unmarshalNProcessingActivitySpecialOrCriminalDatum2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum = map[string]coredata.ProcessingActivitySpecialOrCriminalDatum{
|
|
"YES": coredata.ProcessingActivitySpecialOrCriminalDatumYes,
|
|
"NO": coredata.ProcessingActivitySpecialOrCriminalDatumNo,
|
|
"POSSIBLE": coredata.ProcessingActivitySpecialOrCriminalDatumPossible,
|
|
}
|
|
marshalNProcessingActivitySpecialOrCriminalDatum2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum = map[coredata.ProcessingActivitySpecialOrCriminalDatum]string{
|
|
coredata.ProcessingActivitySpecialOrCriminalDatumYes: "YES",
|
|
coredata.ProcessingActivitySpecialOrCriminalDatumNo: "NO",
|
|
coredata.ProcessingActivitySpecialOrCriminalDatumPossible: "POSSIBLE",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNProcessingActivityTransferImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment(ctx context.Context, v any) (coredata.ProcessingActivityTransferImpactAssessment, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNProcessingActivityTransferImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNProcessingActivityTransferImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment(ctx context.Context, sel ast.SelectionSet, v coredata.ProcessingActivityTransferImpactAssessment) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNProcessingActivityTransferImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment[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 (
|
|
unmarshalNProcessingActivityTransferImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment = map[string]coredata.ProcessingActivityTransferImpactAssessment{
|
|
"NEEDED": coredata.ProcessingActivityTransferImpactAssessmentNeeded,
|
|
"NOT_NEEDED": coredata.ProcessingActivityTransferImpactAssessmentNotNeeded,
|
|
}
|
|
marshalNProcessingActivityTransferImpactAssessment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment = map[coredata.ProcessingActivityTransferImpactAssessment]string{
|
|
coredata.ProcessingActivityTransferImpactAssessmentNeeded: "NEEDED",
|
|
coredata.ProcessingActivityTransferImpactAssessmentNotNeeded: "NOT_NEEDED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNPublishDocumentVersionInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPublishDocumentVersionInput(ctx context.Context, v any) (types.PublishDocumentVersionInput, error) {
|
|
res, err := ec.unmarshalInputPublishDocumentVersionInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNPublishDocumentVersionPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPublishDocumentVersionPayload(ctx context.Context, sel ast.SelectionSet, v types.PublishDocumentVersionPayload) graphql.Marshaler {
|
|
return ec._PublishDocumentVersionPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNPublishDocumentVersionPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPublishDocumentVersionPayload(ctx context.Context, sel ast.SelectionSet, v *types.PublishDocumentVersionPayload) 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._PublishDocumentVersionPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNRequestSignatureInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRequestSignatureInput(ctx context.Context, v any) (types.RequestSignatureInput, error) {
|
|
res, err := ec.unmarshalInputRequestSignatureInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNRequestSignaturePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRequestSignaturePayload(ctx context.Context, sel ast.SelectionSet, v types.RequestSignaturePayload) graphql.Marshaler {
|
|
return ec._RequestSignaturePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNRequestSignaturePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRequestSignaturePayload(ctx context.Context, sel ast.SelectionSet, v *types.RequestSignaturePayload) 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._RequestSignaturePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNRightsRequest2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRightsRequest(ctx context.Context, sel ast.SelectionSet, v *types.RightsRequest) 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._RightsRequest(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNRightsRequestConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRightsRequestConnection(ctx context.Context, sel ast.SelectionSet, v types.RightsRequestConnection) graphql.Marshaler {
|
|
return ec._RightsRequestConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNRightsRequestConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRightsRequestConnection(ctx context.Context, sel ast.SelectionSet, v *types.RightsRequestConnection) 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._RightsRequestConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNRightsRequestEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRightsRequestEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.RightsRequestEdge) 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.marshalNRightsRequestEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRightsRequestEdge(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) marshalNRightsRequestEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRightsRequestEdge(ctx context.Context, sel ast.SelectionSet, v *types.RightsRequestEdge) 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._RightsRequestEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNRightsRequestOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestOrderField(ctx context.Context, v any) (coredata.RightsRequestOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNRightsRequestOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNRightsRequestOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.RightsRequestOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNRightsRequestOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestOrderField[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 (
|
|
unmarshalNRightsRequestOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestOrderField = map[string]coredata.RightsRequestOrderField{
|
|
"CREATED_AT": coredata.RightsRequestOrderFieldCreatedAt,
|
|
"DEADLINE": coredata.RightsRequestOrderFieldDeadline,
|
|
"STATE": coredata.RightsRequestOrderFieldState,
|
|
"TYPE": coredata.RightsRequestOrderFieldType,
|
|
}
|
|
marshalNRightsRequestOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestOrderField = map[coredata.RightsRequestOrderField]string{
|
|
coredata.RightsRequestOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.RightsRequestOrderFieldDeadline: "DEADLINE",
|
|
coredata.RightsRequestOrderFieldState: "STATE",
|
|
coredata.RightsRequestOrderFieldType: "TYPE",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNRightsRequestState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState(ctx context.Context, v any) (coredata.RightsRequestState, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNRightsRequestState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNRightsRequestState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState(ctx context.Context, sel ast.SelectionSet, v coredata.RightsRequestState) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNRightsRequestState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState[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 (
|
|
unmarshalNRightsRequestState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState = map[string]coredata.RightsRequestState{
|
|
"TODO": coredata.RightsRequestStateTodo,
|
|
"IN_PROGRESS": coredata.RightsRequestStateInProgress,
|
|
"DONE": coredata.RightsRequestStateDone,
|
|
}
|
|
marshalNRightsRequestState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState = map[coredata.RightsRequestState]string{
|
|
coredata.RightsRequestStateTodo: "TODO",
|
|
coredata.RightsRequestStateInProgress: "IN_PROGRESS",
|
|
coredata.RightsRequestStateDone: "DONE",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNRightsRequestType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType(ctx context.Context, v any) (coredata.RightsRequestType, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNRightsRequestType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNRightsRequestType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType(ctx context.Context, sel ast.SelectionSet, v coredata.RightsRequestType) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNRightsRequestType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType[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 (
|
|
unmarshalNRightsRequestType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType = map[string]coredata.RightsRequestType{
|
|
"ACCESS": coredata.RightsRequestTypeAccess,
|
|
"DELETION": coredata.RightsRequestTypeDeletion,
|
|
"PORTABILITY": coredata.RightsRequestTypePortability,
|
|
}
|
|
marshalNRightsRequestType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType = map[coredata.RightsRequestType]string{
|
|
coredata.RightsRequestTypeAccess: "ACCESS",
|
|
coredata.RightsRequestTypeDeletion: "DELETION",
|
|
coredata.RightsRequestTypePortability: "PORTABILITY",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNRisk2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRisk(ctx context.Context, sel ast.SelectionSet, v *types.Risk) 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._Risk(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNRiskConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskConnection(ctx context.Context, sel ast.SelectionSet, v types.RiskConnection) graphql.Marshaler {
|
|
return ec._RiskConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNRiskConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskConnection(ctx context.Context, sel ast.SelectionSet, v *types.RiskConnection) 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._RiskConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNRiskEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.RiskEdge) 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.marshalNRiskEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskEdge(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) marshalNRiskEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskEdge(ctx context.Context, sel ast.SelectionSet, v *types.RiskEdge) 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._RiskEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNRiskOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskOrderField(ctx context.Context, v any) (coredata.RiskOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNRiskOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNRiskOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.RiskOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNRiskOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskOrderField[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 (
|
|
unmarshalNRiskOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskOrderField = map[string]coredata.RiskOrderField{
|
|
"CREATED_AT": coredata.RiskOrderFieldCreatedAt,
|
|
"UPDATED_AT": coredata.RiskOrderFieldUpdatedAt,
|
|
"NAME": coredata.RiskOrderFieldName,
|
|
"CATEGORY": coredata.RiskOrderFieldCategory,
|
|
"TREATMENT": coredata.RiskOrderFieldTreatment,
|
|
"INHERENT_RISK_SCORE": coredata.RiskOrderFieldInherentRiskScore,
|
|
"RESIDUAL_RISK_SCORE": coredata.RiskOrderFieldResidualRiskScore,
|
|
"OWNER_FULL_NAME": coredata.RiskOrderFieldOwnerFullName,
|
|
}
|
|
marshalNRiskOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskOrderField = map[coredata.RiskOrderField]string{
|
|
coredata.RiskOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.RiskOrderFieldUpdatedAt: "UPDATED_AT",
|
|
coredata.RiskOrderFieldName: "NAME",
|
|
coredata.RiskOrderFieldCategory: "CATEGORY",
|
|
coredata.RiskOrderFieldTreatment: "TREATMENT",
|
|
coredata.RiskOrderFieldInherentRiskScore: "INHERENT_RISK_SCORE",
|
|
coredata.RiskOrderFieldResidualRiskScore: "RESIDUAL_RISK_SCORE",
|
|
coredata.RiskOrderFieldOwnerFullName: "OWNER_FULL_NAME",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNRiskTreatment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment(ctx context.Context, v any) (coredata.RiskTreatment, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNRiskTreatment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNRiskTreatment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment(ctx context.Context, sel ast.SelectionSet, v coredata.RiskTreatment) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNRiskTreatment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment[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 (
|
|
unmarshalNRiskTreatment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment = map[string]coredata.RiskTreatment{
|
|
"MITIGATED": coredata.RiskTreatmentMitigated,
|
|
"ACCEPTED": coredata.RiskTreatmentAccepted,
|
|
"AVOIDED": coredata.RiskTreatmentAvoided,
|
|
"TRANSFERRED": coredata.RiskTreatmentTransferred,
|
|
}
|
|
marshalNRiskTreatment2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment = map[coredata.RiskTreatment]string{
|
|
coredata.RiskTreatmentMitigated: "MITIGATED",
|
|
coredata.RiskTreatmentAccepted: "ACCEPTED",
|
|
coredata.RiskTreatmentAvoided: "AVOIDED",
|
|
coredata.RiskTreatmentTransferred: "TRANSFERRED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNSSLStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCustomDomainSSLStatus(ctx context.Context, v any) (coredata.CustomDomainSSLStatus, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNSSLStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCustomDomainSSLStatus[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSSLStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCustomDomainSSLStatus(ctx context.Context, sel ast.SelectionSet, v coredata.CustomDomainSSLStatus) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNSSLStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCustomDomainSSLStatus[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 (
|
|
unmarshalNSSLStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCustomDomainSSLStatus = map[string]coredata.CustomDomainSSLStatus{
|
|
"PENDING": coredata.CustomDomainSSLStatusPending,
|
|
"PROVISIONING": coredata.CustomDomainSSLStatusProvisioning,
|
|
"ACTIVE": coredata.CustomDomainSSLStatusActive,
|
|
"RENEWING": coredata.CustomDomainSSLStatusRenewing,
|
|
"EXPIRED": coredata.CustomDomainSSLStatusExpired,
|
|
"FAILED": coredata.CustomDomainSSLStatusFailed,
|
|
}
|
|
marshalNSSLStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCustomDomainSSLStatus = map[coredata.CustomDomainSSLStatus]string{
|
|
coredata.CustomDomainSSLStatusPending: "PENDING",
|
|
coredata.CustomDomainSSLStatusProvisioning: "PROVISIONING",
|
|
coredata.CustomDomainSSLStatusActive: "ACTIVE",
|
|
coredata.CustomDomainSSLStatusRenewing: "RENEWING",
|
|
coredata.CustomDomainSSLStatusExpired: "EXPIRED",
|
|
coredata.CustomDomainSSLStatusFailed: "FAILED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNSendSigningNotificationsInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSendSigningNotificationsInput(ctx context.Context, v any) (types.SendSigningNotificationsInput, error) {
|
|
res, err := ec.unmarshalInputSendSigningNotificationsInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSendSigningNotificationsPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSendSigningNotificationsPayload(ctx context.Context, sel ast.SelectionSet, v types.SendSigningNotificationsPayload) graphql.Marshaler {
|
|
return ec._SendSigningNotificationsPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSendSigningNotificationsPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSendSigningNotificationsPayload(ctx context.Context, sel ast.SelectionSet, v *types.SendSigningNotificationsPayload) 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._SendSigningNotificationsPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNSignDocumentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignDocumentInput(ctx context.Context, v any) (types.SignDocumentInput, error) {
|
|
res, err := ec.unmarshalInputSignDocumentInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSignDocumentPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignDocumentPayload(ctx context.Context, sel ast.SelectionSet, v types.SignDocumentPayload) graphql.Marshaler {
|
|
return ec._SignDocumentPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSignDocumentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignDocumentPayload(ctx context.Context, sel ast.SelectionSet, v *types.SignDocumentPayload) 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._SignDocumentPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSignableDocument2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignableDocument(ctx context.Context, sel ast.SelectionSet, v *types.SignableDocument) 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._SignableDocument(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSignableDocumentConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignableDocumentConnection(ctx context.Context, sel ast.SelectionSet, v types.SignableDocumentConnection) graphql.Marshaler {
|
|
return ec._SignableDocumentConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSignableDocumentConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignableDocumentConnection(ctx context.Context, sel ast.SelectionSet, v *types.SignableDocumentConnection) 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._SignableDocumentConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSignableDocumentEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignableDocumentEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.SignableDocumentEdge) 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.marshalNSignableDocumentEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignableDocumentEdge(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) marshalNSignableDocumentEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignableDocumentEdge(ctx context.Context, sel ast.SelectionSet, v *types.SignableDocumentEdge) 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._SignableDocumentEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSlackConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSlackConnection(ctx context.Context, sel ast.SelectionSet, v *types.SlackConnection) 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._SlackConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSlackConnectionConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSlackConnectionConnection(ctx context.Context, sel ast.SelectionSet, v types.SlackConnectionConnection) graphql.Marshaler {
|
|
return ec._SlackConnectionConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSlackConnectionConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSlackConnectionConnection(ctx context.Context, sel ast.SelectionSet, v *types.SlackConnectionConnection) 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._SlackConnectionConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSlackConnectionEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSlackConnectionEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.SlackConnectionEdge) 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.marshalNSlackConnectionEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSlackConnectionEdge(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) marshalNSlackConnectionEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSlackConnectionEdge(ctx context.Context, sel ast.SelectionSet, v *types.SlackConnectionEdge) 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._SlackConnectionEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSnapshot2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshot(ctx context.Context, sel ast.SelectionSet, v *types.Snapshot) 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._Snapshot(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSnapshotConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshotConnection(ctx context.Context, sel ast.SelectionSet, v types.SnapshotConnection) graphql.Marshaler {
|
|
return ec._SnapshotConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSnapshotConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshotConnection(ctx context.Context, sel ast.SelectionSet, v *types.SnapshotConnection) 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._SnapshotConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSnapshotEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshotEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.SnapshotEdge) 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.marshalNSnapshotEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshotEdge(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) marshalNSnapshotEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshotEdge(ctx context.Context, sel ast.SelectionSet, v *types.SnapshotEdge) 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._SnapshotEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNSnapshotOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotOrderField(ctx context.Context, v any) (coredata.SnapshotOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNSnapshotOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSnapshotOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.SnapshotOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNSnapshotOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotOrderField[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 (
|
|
unmarshalNSnapshotOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotOrderField = map[string]coredata.SnapshotOrderField{
|
|
"CREATED_AT": coredata.SnapshotOrderFieldCreatedAt,
|
|
"NAME": coredata.SnapshotOrderFieldName,
|
|
"TYPE": coredata.SnapshotOrderFieldType,
|
|
}
|
|
marshalNSnapshotOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotOrderField = map[coredata.SnapshotOrderField]string{
|
|
coredata.SnapshotOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.SnapshotOrderFieldName: "NAME",
|
|
coredata.SnapshotOrderFieldType: "TYPE",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNSnapshotsType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotsType(ctx context.Context, v any) (coredata.SnapshotsType, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNSnapshotsType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotsType[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNSnapshotsType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotsType(ctx context.Context, sel ast.SelectionSet, v coredata.SnapshotsType) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNSnapshotsType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotsType[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 (
|
|
unmarshalNSnapshotsType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotsType = map[string]coredata.SnapshotsType{
|
|
"RISKS": coredata.SnapshotsTypeRisks,
|
|
"VENDORS": coredata.SnapshotsTypeVendors,
|
|
"ASSETS": coredata.SnapshotsTypeAssets,
|
|
"DATA": coredata.SnapshotsTypeData,
|
|
"NONCONFORMITIES": coredata.SnapshotsTypeNonconformities,
|
|
"OBLIGATIONS": coredata.SnapshotsTypeObligations,
|
|
"CONTINUAL_IMPROVEMENTS": coredata.SnapshotsTypeContinualImprovements,
|
|
"PROCESSING_ACTIVITIES": coredata.SnapshotsTypeProcessingActivities,
|
|
"STATES_OF_APPLICABILITY": coredata.SnapshotsTypeStatesOfApplicability,
|
|
}
|
|
marshalNSnapshotsType2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSnapshotsType = map[coredata.SnapshotsType]string{
|
|
coredata.SnapshotsTypeRisks: "RISKS",
|
|
coredata.SnapshotsTypeVendors: "VENDORS",
|
|
coredata.SnapshotsTypeAssets: "ASSETS",
|
|
coredata.SnapshotsTypeData: "DATA",
|
|
coredata.SnapshotsTypeNonconformities: "NONCONFORMITIES",
|
|
coredata.SnapshotsTypeObligations: "OBLIGATIONS",
|
|
coredata.SnapshotsTypeContinualImprovements: "CONTINUAL_IMPROVEMENTS",
|
|
coredata.SnapshotsTypeProcessingActivities: "PROCESSING_ACTIVITIES",
|
|
coredata.SnapshotsTypeStatesOfApplicability: "STATES_OF_APPLICABILITY",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNStateOfApplicability2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicability(ctx context.Context, sel ast.SelectionSet, v types.StateOfApplicability) graphql.Marshaler {
|
|
return ec._StateOfApplicability(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNStateOfApplicability2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicability(ctx context.Context, sel ast.SelectionSet, v *types.StateOfApplicability) 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._StateOfApplicability(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNStateOfApplicabilityConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityConnection(ctx context.Context, sel ast.SelectionSet, v types.StateOfApplicabilityConnection) graphql.Marshaler {
|
|
return ec._StateOfApplicabilityConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNStateOfApplicabilityConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityConnection(ctx context.Context, sel ast.SelectionSet, v *types.StateOfApplicabilityConnection) 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._StateOfApplicabilityConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNStateOfApplicabilityControl2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityControl(ctx context.Context, sel ast.SelectionSet, v *types.StateOfApplicabilityControl) 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._StateOfApplicabilityControl(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNStateOfApplicabilityControlConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityControlConnection(ctx context.Context, sel ast.SelectionSet, v types.StateOfApplicabilityControlConnection) graphql.Marshaler {
|
|
return ec._StateOfApplicabilityControlConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNStateOfApplicabilityControlConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityControlConnection(ctx context.Context, sel ast.SelectionSet, v *types.StateOfApplicabilityControlConnection) 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._StateOfApplicabilityControlConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNStateOfApplicabilityControlEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityControlEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.StateOfApplicabilityControlEdge) 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.marshalNStateOfApplicabilityControlEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityControlEdge(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) marshalNStateOfApplicabilityControlEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityControlEdge(ctx context.Context, sel ast.SelectionSet, v *types.StateOfApplicabilityControlEdge) 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._StateOfApplicabilityControlEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNStateOfApplicabilityEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.StateOfApplicabilityEdge) 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.marshalNStateOfApplicabilityEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityEdge(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) marshalNStateOfApplicabilityEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityEdge(ctx context.Context, sel ast.SelectionSet, v *types.StateOfApplicabilityEdge) 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._StateOfApplicabilityEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNStateOfApplicabilityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐStateOfApplicabilityOrderField(ctx context.Context, v any) (coredata.StateOfApplicabilityOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNStateOfApplicabilityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐStateOfApplicabilityOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNStateOfApplicabilityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐStateOfApplicabilityOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.StateOfApplicabilityOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNStateOfApplicabilityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐStateOfApplicabilityOrderField[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 (
|
|
unmarshalNStateOfApplicabilityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐStateOfApplicabilityOrderField = map[string]coredata.StateOfApplicabilityOrderField{
|
|
"NAME": coredata.StateOfApplicabilityOrderFieldName,
|
|
"CREATED_AT": coredata.StateOfApplicabilityOrderFieldCreatedAt,
|
|
}
|
|
marshalNStateOfApplicabilityOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐStateOfApplicabilityOrderField = map[coredata.StateOfApplicabilityOrderField]string{
|
|
coredata.StateOfApplicabilityOrderFieldName: "NAME",
|
|
coredata.StateOfApplicabilityOrderFieldCreatedAt: "CREATED_AT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNString2string(ctx context.Context, v any) (string, error) {
|
|
res, err := graphql.UnmarshalString(v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNString2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(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
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNString2ᚕstringᚄ(ctx context.Context, v any) ([]string, error) {
|
|
var vSlice []any
|
|
vSlice = graphql.CoerceList(v)
|
|
var err error
|
|
res := make([]string, len(vSlice))
|
|
for i := range vSlice {
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
|
|
res[i], err = ec.unmarshalNString2string(ctx, vSlice[i])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
}
|
|
return res, nil
|
|
}
|
|
|
|
func (ec *executionContext) marshalNString2ᚕstringᚄ(ctx context.Context, sel ast.SelectionSet, v []string) graphql.Marshaler {
|
|
ret := make(graphql.Array, len(v))
|
|
for i := range v {
|
|
ret[i] = ec.marshalNString2string(ctx, sel, v[i])
|
|
}
|
|
|
|
for _, e := range ret {
|
|
if e == graphql.Null {
|
|
return graphql.Null
|
|
}
|
|
}
|
|
|
|
return ret
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTask2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTask(ctx context.Context, sel ast.SelectionSet, v *types.Task) 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._Task(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTaskConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTaskConnection(ctx context.Context, sel ast.SelectionSet, v types.TaskConnection) graphql.Marshaler {
|
|
return ec._TaskConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTaskConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTaskConnection(ctx context.Context, sel ast.SelectionSet, v *types.TaskConnection) 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._TaskConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTaskEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTaskEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.TaskEdge) 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.marshalNTaskEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTaskEdge(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) marshalNTaskEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTaskEdge(ctx context.Context, sel ast.SelectionSet, v *types.TaskEdge) 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._TaskEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNTaskOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskOrderField(ctx context.Context, v any) (coredata.TaskOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := coredata.TaskOrderField(tmp)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTaskOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.TaskOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(string(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
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNTaskState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskState(ctx context.Context, v any) (coredata.TaskState, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNTaskState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskState[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTaskState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskState(ctx context.Context, sel ast.SelectionSet, v coredata.TaskState) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNTaskState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskState[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 (
|
|
unmarshalNTaskState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskState = map[string]coredata.TaskState{
|
|
"TODO": coredata.TaskStateTodo,
|
|
"DONE": coredata.TaskStateDone,
|
|
}
|
|
marshalNTaskState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskState = map[coredata.TaskState]string{
|
|
coredata.TaskStateTodo: "TODO",
|
|
coredata.TaskStateDone: "DONE",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNTransferImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessment(ctx context.Context, sel ast.SelectionSet, v *types.TransferImpactAssessment) 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._TransferImpactAssessment(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTransferImpactAssessmentConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessmentConnection(ctx context.Context, sel ast.SelectionSet, v types.TransferImpactAssessmentConnection) graphql.Marshaler {
|
|
return ec._TransferImpactAssessmentConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTransferImpactAssessmentConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessmentConnection(ctx context.Context, sel ast.SelectionSet, v *types.TransferImpactAssessmentConnection) 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._TransferImpactAssessmentConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTransferImpactAssessmentEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessmentEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.TransferImpactAssessmentEdge) 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.marshalNTransferImpactAssessmentEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessmentEdge(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) marshalNTransferImpactAssessmentEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessmentEdge(ctx context.Context, sel ast.SelectionSet, v *types.TransferImpactAssessmentEdge) 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._TransferImpactAssessmentEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNTransferImpactAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTransferImpactAssessmentOrderField(ctx context.Context, v any) (coredata.TransferImpactAssessmentOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNTransferImpactAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTransferImpactAssessmentOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTransferImpactAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTransferImpactAssessmentOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.TransferImpactAssessmentOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNTransferImpactAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTransferImpactAssessmentOrderField[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 (
|
|
unmarshalNTransferImpactAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTransferImpactAssessmentOrderField = map[string]coredata.TransferImpactAssessmentOrderField{
|
|
"CREATED_AT": coredata.TransferImpactAssessmentOrderFieldCreatedAt,
|
|
}
|
|
marshalNTransferImpactAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTransferImpactAssessmentOrderField = map[coredata.TransferImpactAssessmentOrderField]string{
|
|
coredata.TransferImpactAssessmentOrderFieldCreatedAt: "CREATED_AT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNTrustCenter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenter(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenter) 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._TrustCenter(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterAccess2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterAccess(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenterAccess) 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._TrustCenterAccess(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterAccessConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterAccessConnection(ctx context.Context, sel ast.SelectionSet, v types.TrustCenterAccessConnection) graphql.Marshaler {
|
|
return ec._TrustCenterAccessConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterAccessConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterAccessConnection(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenterAccessConnection) 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._TrustCenterAccessConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterAccessEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterAccessEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.TrustCenterAccessEdge) 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.marshalNTrustCenterAccessEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterAccessEdge(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) marshalNTrustCenterAccessEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterAccessEdge(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenterAccessEdge) 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._TrustCenterAccessEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNTrustCenterAccessOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterAccessOrderField(ctx context.Context, v any) (coredata.TrustCenterAccessOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNTrustCenterAccessOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterAccessOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterAccessOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterAccessOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.TrustCenterAccessOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNTrustCenterAccessOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterAccessOrderField[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 (
|
|
unmarshalNTrustCenterAccessOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterAccessOrderField = map[string]coredata.TrustCenterAccessOrderField{
|
|
"CREATED_AT": coredata.TrustCenterAccessOrderFieldCreatedAt,
|
|
}
|
|
marshalNTrustCenterAccessOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterAccessOrderField = map[coredata.TrustCenterAccessOrderField]string{
|
|
coredata.TrustCenterAccessOrderFieldCreatedAt: "CREATED_AT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNTrustCenterDocumentAccess2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccess(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenterDocumentAccess) 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._TrustCenterDocumentAccess(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterDocumentAccessConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccessConnection(ctx context.Context, sel ast.SelectionSet, v types.TrustCenterDocumentAccessConnection) graphql.Marshaler {
|
|
return ec._TrustCenterDocumentAccessConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterDocumentAccessConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccessConnection(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenterDocumentAccessConnection) 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._TrustCenterDocumentAccessConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterDocumentAccessEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccessEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.TrustCenterDocumentAccessEdge) 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.marshalNTrustCenterDocumentAccessEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccessEdge(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) marshalNTrustCenterDocumentAccessEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccessEdge(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenterDocumentAccessEdge) 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._TrustCenterDocumentAccessEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNTrustCenterDocumentAccessInput2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccessInput(ctx context.Context, v any) (*types.TrustCenterDocumentAccessInput, error) {
|
|
res, err := ec.unmarshalInputTrustCenterDocumentAccessInput(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNTrustCenterDocumentAccessOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessOrderField(ctx context.Context, v any) (coredata.TrustCenterDocumentAccessOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNTrustCenterDocumentAccessOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterDocumentAccessOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.TrustCenterDocumentAccessOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNTrustCenterDocumentAccessOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessOrderField[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 (
|
|
unmarshalNTrustCenterDocumentAccessOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessOrderField = map[string]coredata.TrustCenterDocumentAccessOrderField{
|
|
"CREATED_AT": coredata.TrustCenterDocumentAccessOrderFieldCreatedAt,
|
|
}
|
|
marshalNTrustCenterDocumentAccessOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessOrderField = map[coredata.TrustCenterDocumentAccessOrderField]string{
|
|
coredata.TrustCenterDocumentAccessOrderFieldCreatedAt: "CREATED_AT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNTrustCenterDocumentAccessStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessStatus(ctx context.Context, v any) (coredata.TrustCenterDocumentAccessStatus, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNTrustCenterDocumentAccessStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessStatus[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterDocumentAccessStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessStatus(ctx context.Context, sel ast.SelectionSet, v coredata.TrustCenterDocumentAccessStatus) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNTrustCenterDocumentAccessStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessStatus[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 (
|
|
unmarshalNTrustCenterDocumentAccessStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessStatus = map[string]coredata.TrustCenterDocumentAccessStatus{
|
|
"REQUESTED": coredata.TrustCenterDocumentAccessStatusRequested,
|
|
"GRANTED": coredata.TrustCenterDocumentAccessStatusGranted,
|
|
"REJECTED": coredata.TrustCenterDocumentAccessStatusRejected,
|
|
"REVOKED": coredata.TrustCenterDocumentAccessStatusRevoked,
|
|
}
|
|
marshalNTrustCenterDocumentAccessStatus2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterDocumentAccessStatus = map[coredata.TrustCenterDocumentAccessStatus]string{
|
|
coredata.TrustCenterDocumentAccessStatusRequested: "REQUESTED",
|
|
coredata.TrustCenterDocumentAccessStatusGranted: "GRANTED",
|
|
coredata.TrustCenterDocumentAccessStatusRejected: "REJECTED",
|
|
coredata.TrustCenterDocumentAccessStatusRevoked: "REVOKED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNTrustCenterEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.TrustCenterEdge) 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.marshalNTrustCenterEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterEdge(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) marshalNTrustCenterEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterEdge(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenterEdge) 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._TrustCenterEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterFile2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterFile(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenterFile) 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._TrustCenterFile(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterFileConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterFileConnection(ctx context.Context, sel ast.SelectionSet, v types.TrustCenterFileConnection) graphql.Marshaler {
|
|
return ec._TrustCenterFileConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterFileConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterFileConnection(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenterFileConnection) 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._TrustCenterFileConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterFileEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterFileEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.TrustCenterFileEdge) 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.marshalNTrustCenterFileEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterFileEdge(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) marshalNTrustCenterFileEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterFileEdge(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenterFileEdge) 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._TrustCenterFileEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNTrustCenterFileOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterFileOrderField(ctx context.Context, v any) (coredata.TrustCenterFileOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNTrustCenterFileOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterFileOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterFileOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterFileOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.TrustCenterFileOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNTrustCenterFileOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterFileOrderField[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 (
|
|
unmarshalNTrustCenterFileOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterFileOrderField = map[string]coredata.TrustCenterFileOrderField{
|
|
"NAME": coredata.TrustCenterFileOrderFieldName,
|
|
"CREATED_AT": coredata.TrustCenterFileOrderFieldCreatedAt,
|
|
"UPDATED_AT": coredata.TrustCenterFileOrderFieldUpdatedAt,
|
|
}
|
|
marshalNTrustCenterFileOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterFileOrderField = map[coredata.TrustCenterFileOrderField]string{
|
|
coredata.TrustCenterFileOrderFieldName: "NAME",
|
|
coredata.TrustCenterFileOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.TrustCenterFileOrderFieldUpdatedAt: "UPDATED_AT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNTrustCenterReference2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterReference(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenterReference) 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._TrustCenterReference(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterReferenceConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterReferenceConnection(ctx context.Context, sel ast.SelectionSet, v types.TrustCenterReferenceConnection) graphql.Marshaler {
|
|
return ec._TrustCenterReferenceConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterReferenceConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterReferenceConnection(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenterReferenceConnection) 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._TrustCenterReferenceConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterReferenceEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterReferenceEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.TrustCenterReferenceEdge) 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.marshalNTrustCenterReferenceEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterReferenceEdge(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) marshalNTrustCenterReferenceEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterReferenceEdge(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenterReferenceEdge) 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._TrustCenterReferenceEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNTrustCenterReferenceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterReferenceOrderField(ctx context.Context, v any) (coredata.TrustCenterReferenceOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNTrustCenterReferenceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterReferenceOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterReferenceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterReferenceOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.TrustCenterReferenceOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNTrustCenterReferenceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterReferenceOrderField[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 (
|
|
unmarshalNTrustCenterReferenceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterReferenceOrderField = map[string]coredata.TrustCenterReferenceOrderField{
|
|
"RANK": coredata.TrustCenterReferenceOrderFieldRank,
|
|
"NAME": coredata.TrustCenterReferenceOrderFieldName,
|
|
"CREATED_AT": coredata.TrustCenterReferenceOrderFieldCreatedAt,
|
|
"UPDATED_AT": coredata.TrustCenterReferenceOrderFieldUpdatedAt,
|
|
}
|
|
marshalNTrustCenterReferenceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterReferenceOrderField = map[coredata.TrustCenterReferenceOrderField]string{
|
|
coredata.TrustCenterReferenceOrderFieldRank: "RANK",
|
|
coredata.TrustCenterReferenceOrderFieldName: "NAME",
|
|
coredata.TrustCenterReferenceOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.TrustCenterReferenceOrderFieldUpdatedAt: "UPDATED_AT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNTrustCenterVisibility2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility(ctx context.Context, v any) (coredata.TrustCenterVisibility, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNTrustCenterVisibility2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNTrustCenterVisibility2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility(ctx context.Context, sel ast.SelectionSet, v coredata.TrustCenterVisibility) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNTrustCenterVisibility2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility[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 (
|
|
unmarshalNTrustCenterVisibility2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility = map[string]coredata.TrustCenterVisibility{
|
|
"NONE": coredata.TrustCenterVisibilityNone,
|
|
"PRIVATE": coredata.TrustCenterVisibilityPrivate,
|
|
"PUBLIC": coredata.TrustCenterVisibilityPublic,
|
|
}
|
|
marshalNTrustCenterVisibility2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility = map[coredata.TrustCenterVisibility]string{
|
|
coredata.TrustCenterVisibilityNone: "NONE",
|
|
coredata.TrustCenterVisibilityPrivate: "PRIVATE",
|
|
coredata.TrustCenterVisibilityPublic: "PUBLIC",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalNUpdateAssetInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateAssetInput(ctx context.Context, v any) (types.UpdateAssetInput, error) {
|
|
res, err := ec.unmarshalInputUpdateAssetInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateAssetPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateAssetPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateAssetPayload) graphql.Marshaler {
|
|
return ec._UpdateAssetPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateAssetPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateAssetPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateAssetPayload) 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._UpdateAssetPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateAuditInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateAuditInput(ctx context.Context, v any) (types.UpdateAuditInput, error) {
|
|
res, err := ec.unmarshalInputUpdateAuditInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateAuditPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateAuditPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateAuditPayload) graphql.Marshaler {
|
|
return ec._UpdateAuditPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateAuditPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateAuditPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateAuditPayload) 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._UpdateAuditPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateContinualImprovementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateContinualImprovementInput(ctx context.Context, v any) (types.UpdateContinualImprovementInput, error) {
|
|
res, err := ec.unmarshalInputUpdateContinualImprovementInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateContinualImprovementPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateContinualImprovementPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateContinualImprovementPayload) graphql.Marshaler {
|
|
return ec._UpdateContinualImprovementPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateContinualImprovementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateContinualImprovementPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateContinualImprovementPayload) 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._UpdateContinualImprovementPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateControlInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateControlInput(ctx context.Context, v any) (types.UpdateControlInput, error) {
|
|
res, err := ec.unmarshalInputUpdateControlInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateControlPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateControlPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateControlPayload) graphql.Marshaler {
|
|
return ec._UpdateControlPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateControlPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateControlPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateControlPayload) 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._UpdateControlPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateDataProtectionImpactAssessmentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDataProtectionImpactAssessmentInput(ctx context.Context, v any) (types.UpdateDataProtectionImpactAssessmentInput, error) {
|
|
res, err := ec.unmarshalInputUpdateDataProtectionImpactAssessmentInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateDataProtectionImpactAssessmentPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDataProtectionImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateDataProtectionImpactAssessmentPayload) graphql.Marshaler {
|
|
return ec._UpdateDataProtectionImpactAssessmentPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateDataProtectionImpactAssessmentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDataProtectionImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateDataProtectionImpactAssessmentPayload) 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._UpdateDataProtectionImpactAssessmentPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateDatumInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDatumInput(ctx context.Context, v any) (types.UpdateDatumInput, error) {
|
|
res, err := ec.unmarshalInputUpdateDatumInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateDatumPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDatumPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateDatumPayload) graphql.Marshaler {
|
|
return ec._UpdateDatumPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateDatumPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDatumPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateDatumPayload) 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._UpdateDatumPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateDocumentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDocumentInput(ctx context.Context, v any) (types.UpdateDocumentInput, error) {
|
|
res, err := ec.unmarshalInputUpdateDocumentInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateDocumentPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDocumentPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateDocumentPayload) graphql.Marshaler {
|
|
return ec._UpdateDocumentPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateDocumentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDocumentPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateDocumentPayload) 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._UpdateDocumentPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateDocumentVersionInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDocumentVersionInput(ctx context.Context, v any) (types.UpdateDocumentVersionInput, error) {
|
|
res, err := ec.unmarshalInputUpdateDocumentVersionInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateDocumentVersionPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDocumentVersionPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateDocumentVersionPayload) graphql.Marshaler {
|
|
return ec._UpdateDocumentVersionPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateDocumentVersionPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateDocumentVersionPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateDocumentVersionPayload) 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._UpdateDocumentVersionPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateFrameworkInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateFrameworkInput(ctx context.Context, v any) (types.UpdateFrameworkInput, error) {
|
|
res, err := ec.unmarshalInputUpdateFrameworkInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateFrameworkPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateFrameworkPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateFrameworkPayload) graphql.Marshaler {
|
|
return ec._UpdateFrameworkPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateFrameworkPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateFrameworkPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateFrameworkPayload) 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._UpdateFrameworkPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateMeasureInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateMeasureInput(ctx context.Context, v any) (types.UpdateMeasureInput, error) {
|
|
res, err := ec.unmarshalInputUpdateMeasureInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateMeasurePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateMeasurePayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateMeasurePayload) graphql.Marshaler {
|
|
return ec._UpdateMeasurePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateMeasurePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateMeasurePayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateMeasurePayload) 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._UpdateMeasurePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateMeetingInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateMeetingInput(ctx context.Context, v any) (types.UpdateMeetingInput, error) {
|
|
res, err := ec.unmarshalInputUpdateMeetingInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateMeetingPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateMeetingPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateMeetingPayload) graphql.Marshaler {
|
|
return ec._UpdateMeetingPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateMeetingPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateMeetingPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateMeetingPayload) 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._UpdateMeetingPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateNonconformityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateNonconformityInput(ctx context.Context, v any) (types.UpdateNonconformityInput, error) {
|
|
res, err := ec.unmarshalInputUpdateNonconformityInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateNonconformityPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateNonconformityPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateNonconformityPayload) graphql.Marshaler {
|
|
return ec._UpdateNonconformityPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateNonconformityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateNonconformityPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateNonconformityPayload) 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._UpdateNonconformityPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateObligationInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateObligationInput(ctx context.Context, v any) (types.UpdateObligationInput, error) {
|
|
res, err := ec.unmarshalInputUpdateObligationInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateObligationPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateObligationPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateObligationPayload) graphql.Marshaler {
|
|
return ec._UpdateObligationPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateObligationPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateObligationPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateObligationPayload) 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._UpdateObligationPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateOrganizationContextInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateOrganizationContextInput(ctx context.Context, v any) (types.UpdateOrganizationContextInput, error) {
|
|
res, err := ec.unmarshalInputUpdateOrganizationContextInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateOrganizationContextPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateOrganizationContextPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateOrganizationContextPayload) graphql.Marshaler {
|
|
return ec._UpdateOrganizationContextPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateOrganizationContextPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateOrganizationContextPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateOrganizationContextPayload) 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._UpdateOrganizationContextPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdatePeopleInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdatePeopleInput(ctx context.Context, v any) (types.UpdatePeopleInput, error) {
|
|
res, err := ec.unmarshalInputUpdatePeopleInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdatePeoplePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdatePeoplePayload(ctx context.Context, sel ast.SelectionSet, v types.UpdatePeoplePayload) graphql.Marshaler {
|
|
return ec._UpdatePeoplePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdatePeoplePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdatePeoplePayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdatePeoplePayload) 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._UpdatePeoplePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateProcessingActivityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateProcessingActivityInput(ctx context.Context, v any) (types.UpdateProcessingActivityInput, error) {
|
|
res, err := ec.unmarshalInputUpdateProcessingActivityInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateProcessingActivityPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateProcessingActivityPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateProcessingActivityPayload) graphql.Marshaler {
|
|
return ec._UpdateProcessingActivityPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateProcessingActivityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateProcessingActivityPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateProcessingActivityPayload) 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._UpdateProcessingActivityPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateRightsRequestInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateRightsRequestInput(ctx context.Context, v any) (types.UpdateRightsRequestInput, error) {
|
|
res, err := ec.unmarshalInputUpdateRightsRequestInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateRightsRequestPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateRightsRequestPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateRightsRequestPayload) graphql.Marshaler {
|
|
return ec._UpdateRightsRequestPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateRightsRequestPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateRightsRequestPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateRightsRequestPayload) 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._UpdateRightsRequestPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateRiskInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateRiskInput(ctx context.Context, v any) (types.UpdateRiskInput, error) {
|
|
res, err := ec.unmarshalInputUpdateRiskInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateRiskPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateRiskPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateRiskPayload) graphql.Marshaler {
|
|
return ec._UpdateRiskPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateRiskPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateRiskPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateRiskPayload) 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._UpdateRiskPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateStateOfApplicabilityInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateStateOfApplicabilityInput(ctx context.Context, v any) (types.UpdateStateOfApplicabilityInput, error) {
|
|
res, err := ec.unmarshalInputUpdateStateOfApplicabilityInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateStateOfApplicabilityPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateStateOfApplicabilityPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateStateOfApplicabilityPayload) graphql.Marshaler {
|
|
return ec._UpdateStateOfApplicabilityPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateStateOfApplicabilityPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateStateOfApplicabilityPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateStateOfApplicabilityPayload) 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._UpdateStateOfApplicabilityPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateTaskInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTaskInput(ctx context.Context, v any) (types.UpdateTaskInput, error) {
|
|
res, err := ec.unmarshalInputUpdateTaskInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateTaskPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTaskPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateTaskPayload) graphql.Marshaler {
|
|
return ec._UpdateTaskPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateTaskPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTaskPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateTaskPayload) 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._UpdateTaskPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateTransferImpactAssessmentInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTransferImpactAssessmentInput(ctx context.Context, v any) (types.UpdateTransferImpactAssessmentInput, error) {
|
|
res, err := ec.unmarshalInputUpdateTransferImpactAssessmentInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateTransferImpactAssessmentPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTransferImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateTransferImpactAssessmentPayload) graphql.Marshaler {
|
|
return ec._UpdateTransferImpactAssessmentPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateTransferImpactAssessmentPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTransferImpactAssessmentPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateTransferImpactAssessmentPayload) 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._UpdateTransferImpactAssessmentPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateTrustCenterAccessInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterAccessInput(ctx context.Context, v any) (types.UpdateTrustCenterAccessInput, error) {
|
|
res, err := ec.unmarshalInputUpdateTrustCenterAccessInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateTrustCenterAccessPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterAccessPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateTrustCenterAccessPayload) graphql.Marshaler {
|
|
return ec._UpdateTrustCenterAccessPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateTrustCenterAccessPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterAccessPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateTrustCenterAccessPayload) 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._UpdateTrustCenterAccessPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateTrustCenterFileInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterFileInput(ctx context.Context, v any) (types.UpdateTrustCenterFileInput, error) {
|
|
res, err := ec.unmarshalInputUpdateTrustCenterFileInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateTrustCenterFilePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterFilePayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateTrustCenterFilePayload) graphql.Marshaler {
|
|
return ec._UpdateTrustCenterFilePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateTrustCenterFilePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterFilePayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateTrustCenterFilePayload) 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._UpdateTrustCenterFilePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateTrustCenterInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterInput(ctx context.Context, v any) (types.UpdateTrustCenterInput, error) {
|
|
res, err := ec.unmarshalInputUpdateTrustCenterInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateTrustCenterPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateTrustCenterPayload) graphql.Marshaler {
|
|
return ec._UpdateTrustCenterPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateTrustCenterPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateTrustCenterPayload) 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._UpdateTrustCenterPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateTrustCenterReferenceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterReferenceInput(ctx context.Context, v any) (types.UpdateTrustCenterReferenceInput, error) {
|
|
res, err := ec.unmarshalInputUpdateTrustCenterReferenceInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateTrustCenterReferencePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterReferencePayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateTrustCenterReferencePayload) graphql.Marshaler {
|
|
return ec._UpdateTrustCenterReferencePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateTrustCenterReferencePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateTrustCenterReferencePayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateTrustCenterReferencePayload) 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._UpdateTrustCenterReferencePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateVendorBusinessAssociateAgreementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorBusinessAssociateAgreementInput(ctx context.Context, v any) (types.UpdateVendorBusinessAssociateAgreementInput, error) {
|
|
res, err := ec.unmarshalInputUpdateVendorBusinessAssociateAgreementInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateVendorBusinessAssociateAgreementPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorBusinessAssociateAgreementPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateVendorBusinessAssociateAgreementPayload) graphql.Marshaler {
|
|
return ec._UpdateVendorBusinessAssociateAgreementPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateVendorBusinessAssociateAgreementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorBusinessAssociateAgreementPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateVendorBusinessAssociateAgreementPayload) 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._UpdateVendorBusinessAssociateAgreementPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateVendorContactInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorContactInput(ctx context.Context, v any) (types.UpdateVendorContactInput, error) {
|
|
res, err := ec.unmarshalInputUpdateVendorContactInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateVendorContactPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorContactPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateVendorContactPayload) graphql.Marshaler {
|
|
return ec._UpdateVendorContactPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateVendorContactPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorContactPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateVendorContactPayload) 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._UpdateVendorContactPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateVendorDataPrivacyAgreementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorDataPrivacyAgreementInput(ctx context.Context, v any) (types.UpdateVendorDataPrivacyAgreementInput, error) {
|
|
res, err := ec.unmarshalInputUpdateVendorDataPrivacyAgreementInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateVendorDataPrivacyAgreementPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorDataPrivacyAgreementPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateVendorDataPrivacyAgreementPayload) graphql.Marshaler {
|
|
return ec._UpdateVendorDataPrivacyAgreementPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateVendorDataPrivacyAgreementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorDataPrivacyAgreementPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateVendorDataPrivacyAgreementPayload) 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._UpdateVendorDataPrivacyAgreementPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateVendorInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorInput(ctx context.Context, v any) (types.UpdateVendorInput, error) {
|
|
res, err := ec.unmarshalInputUpdateVendorInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateVendorPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorPayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateVendorPayload) graphql.Marshaler {
|
|
return ec._UpdateVendorPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateVendorPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorPayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateVendorPayload) 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._UpdateVendorPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpdateVendorServiceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorServiceInput(ctx context.Context, v any) (types.UpdateVendorServiceInput, error) {
|
|
res, err := ec.unmarshalInputUpdateVendorServiceInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateVendorServicePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorServicePayload(ctx context.Context, sel ast.SelectionSet, v types.UpdateVendorServicePayload) graphql.Marshaler {
|
|
return ec._UpdateVendorServicePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpdateVendorServicePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUpdateVendorServicePayload(ctx context.Context, sel ast.SelectionSet, v *types.UpdateVendorServicePayload) 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._UpdateVendorServicePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx context.Context, v any) (graphql.Upload, error) {
|
|
res, err := graphql.UnmarshalUpload(v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx context.Context, sel ast.SelectionSet, v graphql.Upload) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalUpload(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
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUploadAuditReportInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadAuditReportInput(ctx context.Context, v any) (types.UploadAuditReportInput, error) {
|
|
res, err := ec.unmarshalInputUploadAuditReportInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUploadAuditReportPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadAuditReportPayload(ctx context.Context, sel ast.SelectionSet, v types.UploadAuditReportPayload) graphql.Marshaler {
|
|
return ec._UploadAuditReportPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUploadAuditReportPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadAuditReportPayload(ctx context.Context, sel ast.SelectionSet, v *types.UploadAuditReportPayload) 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._UploadAuditReportPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUploadMeasureEvidenceInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadMeasureEvidenceInput(ctx context.Context, v any) (types.UploadMeasureEvidenceInput, error) {
|
|
res, err := ec.unmarshalInputUploadMeasureEvidenceInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUploadMeasureEvidencePayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadMeasureEvidencePayload(ctx context.Context, sel ast.SelectionSet, v types.UploadMeasureEvidencePayload) graphql.Marshaler {
|
|
return ec._UploadMeasureEvidencePayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUploadMeasureEvidencePayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadMeasureEvidencePayload(ctx context.Context, sel ast.SelectionSet, v *types.UploadMeasureEvidencePayload) 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._UploadMeasureEvidencePayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUploadTrustCenterNDAInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadTrustCenterNDAInput(ctx context.Context, v any) (types.UploadTrustCenterNDAInput, error) {
|
|
res, err := ec.unmarshalInputUploadTrustCenterNDAInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUploadTrustCenterNDAPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadTrustCenterNDAPayload(ctx context.Context, sel ast.SelectionSet, v types.UploadTrustCenterNDAPayload) graphql.Marshaler {
|
|
return ec._UploadTrustCenterNDAPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUploadTrustCenterNDAPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadTrustCenterNDAPayload(ctx context.Context, sel ast.SelectionSet, v *types.UploadTrustCenterNDAPayload) 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._UploadTrustCenterNDAPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUploadVendorBusinessAssociateAgreementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorBusinessAssociateAgreementInput(ctx context.Context, v any) (types.UploadVendorBusinessAssociateAgreementInput, error) {
|
|
res, err := ec.unmarshalInputUploadVendorBusinessAssociateAgreementInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUploadVendorBusinessAssociateAgreementPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorBusinessAssociateAgreementPayload(ctx context.Context, sel ast.SelectionSet, v types.UploadVendorBusinessAssociateAgreementPayload) graphql.Marshaler {
|
|
return ec._UploadVendorBusinessAssociateAgreementPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUploadVendorBusinessAssociateAgreementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorBusinessAssociateAgreementPayload(ctx context.Context, sel ast.SelectionSet, v *types.UploadVendorBusinessAssociateAgreementPayload) 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._UploadVendorBusinessAssociateAgreementPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUploadVendorComplianceReportInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorComplianceReportInput(ctx context.Context, v any) (types.UploadVendorComplianceReportInput, error) {
|
|
res, err := ec.unmarshalInputUploadVendorComplianceReportInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUploadVendorComplianceReportPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorComplianceReportPayload(ctx context.Context, sel ast.SelectionSet, v types.UploadVendorComplianceReportPayload) graphql.Marshaler {
|
|
return ec._UploadVendorComplianceReportPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUploadVendorComplianceReportPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorComplianceReportPayload(ctx context.Context, sel ast.SelectionSet, v *types.UploadVendorComplianceReportPayload) 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._UploadVendorComplianceReportPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNUploadVendorDataPrivacyAgreementInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorDataPrivacyAgreementInput(ctx context.Context, v any) (types.UploadVendorDataPrivacyAgreementInput, error) {
|
|
res, err := ec.unmarshalInputUploadVendorDataPrivacyAgreementInput(ctx, v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUploadVendorDataPrivacyAgreementPayload2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorDataPrivacyAgreementPayload(ctx context.Context, sel ast.SelectionSet, v types.UploadVendorDataPrivacyAgreementPayload) graphql.Marshaler {
|
|
return ec._UploadVendorDataPrivacyAgreementPayload(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNUploadVendorDataPrivacyAgreementPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐUploadVendorDataPrivacyAgreementPayload(ctx context.Context, sel ast.SelectionSet, v *types.UploadVendorDataPrivacyAgreementPayload) 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._UploadVendorDataPrivacyAgreementPayload(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendor2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendor(ctx context.Context, sel ast.SelectionSet, v types.Vendor) graphql.Marshaler {
|
|
return ec._Vendor(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendor2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendor(ctx context.Context, sel ast.SelectionSet, v *types.Vendor) 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._Vendor(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorBusinessAssociateAgreement2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorBusinessAssociateAgreement(ctx context.Context, sel ast.SelectionSet, v *types.VendorBusinessAssociateAgreement) 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._VendorBusinessAssociateAgreement(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNVendorCategory2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory(ctx context.Context, v any) (coredata.VendorCategory, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNVendorCategory2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorCategory2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory(ctx context.Context, sel ast.SelectionSet, v coredata.VendorCategory) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNVendorCategory2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory[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 (
|
|
unmarshalNVendorCategory2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory = map[string]coredata.VendorCategory{
|
|
"ANALYTICS": coredata.VendorCategoryAnalytics,
|
|
"CLOUD_MONITORING": coredata.VendorCategoryCloudMonitoring,
|
|
"CLOUD_PROVIDER": coredata.VendorCategoryCloudProvider,
|
|
"COLLABORATION": coredata.VendorCategoryCollaboration,
|
|
"CUSTOMER_SUPPORT": coredata.VendorCategoryCustomerSupport,
|
|
"DATA_STORAGE_AND_PROCESSING": coredata.VendorCategoryDataStorageAndProcessing,
|
|
"DOCUMENT_MANAGEMENT": coredata.VendorCategoryDocumentManagement,
|
|
"EMPLOYEE_MANAGEMENT": coredata.VendorCategoryEmployeeManagement,
|
|
"ENGINEERING": coredata.VendorCategoryEngineering,
|
|
"FINANCE": coredata.VendorCategoryFinance,
|
|
"IDENTITY_PROVIDER": coredata.VendorCategoryIdentityProvider,
|
|
"IT": coredata.VendorCategoryIT,
|
|
"MARKETING": coredata.VendorCategoryMarketing,
|
|
"OFFICE_OPERATIONS": coredata.VendorCategoryOfficeOperations,
|
|
"OTHER": coredata.VendorCategoryOther,
|
|
"PASSWORD_MANAGEMENT": coredata.VendorCategoryPasswordManagement,
|
|
"PRODUCT_AND_DESIGN": coredata.VendorCategoryProductAndDesign,
|
|
"PROFESSIONAL_SERVICES": coredata.VendorCategoryProfessionalServices,
|
|
"RECRUITING": coredata.VendorCategoryRecruiting,
|
|
"SALES": coredata.VendorCategorySales,
|
|
"SECURITY": coredata.VendorCategorySecurity,
|
|
"VERSION_CONTROL": coredata.VendorCategoryVersionControl,
|
|
}
|
|
marshalNVendorCategory2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory = map[coredata.VendorCategory]string{
|
|
coredata.VendorCategoryAnalytics: "ANALYTICS",
|
|
coredata.VendorCategoryCloudMonitoring: "CLOUD_MONITORING",
|
|
coredata.VendorCategoryCloudProvider: "CLOUD_PROVIDER",
|
|
coredata.VendorCategoryCollaboration: "COLLABORATION",
|
|
coredata.VendorCategoryCustomerSupport: "CUSTOMER_SUPPORT",
|
|
coredata.VendorCategoryDataStorageAndProcessing: "DATA_STORAGE_AND_PROCESSING",
|
|
coredata.VendorCategoryDocumentManagement: "DOCUMENT_MANAGEMENT",
|
|
coredata.VendorCategoryEmployeeManagement: "EMPLOYEE_MANAGEMENT",
|
|
coredata.VendorCategoryEngineering: "ENGINEERING",
|
|
coredata.VendorCategoryFinance: "FINANCE",
|
|
coredata.VendorCategoryIdentityProvider: "IDENTITY_PROVIDER",
|
|
coredata.VendorCategoryIT: "IT",
|
|
coredata.VendorCategoryMarketing: "MARKETING",
|
|
coredata.VendorCategoryOfficeOperations: "OFFICE_OPERATIONS",
|
|
coredata.VendorCategoryOther: "OTHER",
|
|
coredata.VendorCategoryPasswordManagement: "PASSWORD_MANAGEMENT",
|
|
coredata.VendorCategoryProductAndDesign: "PRODUCT_AND_DESIGN",
|
|
coredata.VendorCategoryProfessionalServices: "PROFESSIONAL_SERVICES",
|
|
coredata.VendorCategoryRecruiting: "RECRUITING",
|
|
coredata.VendorCategorySales: "SALES",
|
|
coredata.VendorCategorySecurity: "SECURITY",
|
|
coredata.VendorCategoryVersionControl: "VERSION_CONTROL",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNVendorComplianceReport2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorComplianceReport(ctx context.Context, sel ast.SelectionSet, v *types.VendorComplianceReport) 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._VendorComplianceReport(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorComplianceReportConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorComplianceReportConnection(ctx context.Context, sel ast.SelectionSet, v types.VendorComplianceReportConnection) graphql.Marshaler {
|
|
return ec._VendorComplianceReportConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorComplianceReportConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorComplianceReportConnection(ctx context.Context, sel ast.SelectionSet, v *types.VendorComplianceReportConnection) 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._VendorComplianceReportConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorComplianceReportEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorComplianceReportEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.VendorComplianceReportEdge) 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.marshalNVendorComplianceReportEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorComplianceReportEdge(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) marshalNVendorComplianceReportEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorComplianceReportEdge(ctx context.Context, sel ast.SelectionSet, v *types.VendorComplianceReportEdge) 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._VendorComplianceReportEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNVendorComplianceReportOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorComplianceReportOrderField(ctx context.Context, v any) (coredata.VendorComplianceReportOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNVendorComplianceReportOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorComplianceReportOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorComplianceReportOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorComplianceReportOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.VendorComplianceReportOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNVendorComplianceReportOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorComplianceReportOrderField[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 (
|
|
unmarshalNVendorComplianceReportOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorComplianceReportOrderField = map[string]coredata.VendorComplianceReportOrderField{
|
|
"REPORT_DATE": coredata.VendorComplianceReportOrderFieldReportDate,
|
|
"CREATED_AT": coredata.VendorComplianceReportOrderFieldCreatedAt,
|
|
}
|
|
marshalNVendorComplianceReportOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorComplianceReportOrderField = map[coredata.VendorComplianceReportOrderField]string{
|
|
coredata.VendorComplianceReportOrderFieldReportDate: "REPORT_DATE",
|
|
coredata.VendorComplianceReportOrderFieldCreatedAt: "CREATED_AT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNVendorConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorConnection(ctx context.Context, sel ast.SelectionSet, v types.VendorConnection) graphql.Marshaler {
|
|
return ec._VendorConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorConnection(ctx context.Context, sel ast.SelectionSet, v *types.VendorConnection) 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._VendorConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorContact2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorContact(ctx context.Context, sel ast.SelectionSet, v *types.VendorContact) 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._VendorContact(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorContactConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorContactConnection(ctx context.Context, sel ast.SelectionSet, v types.VendorContactConnection) graphql.Marshaler {
|
|
return ec._VendorContactConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorContactConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorContactConnection(ctx context.Context, sel ast.SelectionSet, v *types.VendorContactConnection) 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._VendorContactConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorContactEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorContactEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.VendorContactEdge) 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.marshalNVendorContactEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorContactEdge(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) marshalNVendorContactEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorContactEdge(ctx context.Context, sel ast.SelectionSet, v *types.VendorContactEdge) 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._VendorContactEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNVendorContactOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorContactOrderField(ctx context.Context, v any) (coredata.VendorContactOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNVendorContactOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorContactOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorContactOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorContactOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.VendorContactOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNVendorContactOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorContactOrderField[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 (
|
|
unmarshalNVendorContactOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorContactOrderField = map[string]coredata.VendorContactOrderField{
|
|
"CREATED_AT": coredata.VendorContactOrderFieldCreatedAt,
|
|
"FULL_NAME": coredata.VendorContactOrderFieldFullName,
|
|
"EMAIL": coredata.VendorContactOrderFieldEmail,
|
|
}
|
|
marshalNVendorContactOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorContactOrderField = map[coredata.VendorContactOrderField]string{
|
|
coredata.VendorContactOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.VendorContactOrderFieldFullName: "FULL_NAME",
|
|
coredata.VendorContactOrderFieldEmail: "EMAIL",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNVendorDataPrivacyAgreement2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorDataPrivacyAgreement(ctx context.Context, sel ast.SelectionSet, v *types.VendorDataPrivacyAgreement) 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._VendorDataPrivacyAgreement(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.VendorEdge) 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.marshalNVendorEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorEdge(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) marshalNVendorEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorEdge(ctx context.Context, sel ast.SelectionSet, v *types.VendorEdge) 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._VendorEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNVendorOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorOrderField(ctx context.Context, v any) (coredata.VendorOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNVendorOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.VendorOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNVendorOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorOrderField[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 (
|
|
unmarshalNVendorOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorOrderField = map[string]coredata.VendorOrderField{
|
|
"NAME": coredata.VendorOrderFieldName,
|
|
"CREATED_AT": coredata.VendorOrderFieldCreatedAt,
|
|
"UPDATED_AT": coredata.VendorOrderFieldUpdatedAt,
|
|
}
|
|
marshalNVendorOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorOrderField = map[coredata.VendorOrderField]string{
|
|
coredata.VendorOrderFieldName: "NAME",
|
|
coredata.VendorOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.VendorOrderFieldUpdatedAt: "UPDATED_AT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNVendorRiskAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorRiskAssessment(ctx context.Context, sel ast.SelectionSet, v *types.VendorRiskAssessment) 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._VendorRiskAssessment(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorRiskAssessmentConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorRiskAssessmentConnection(ctx context.Context, sel ast.SelectionSet, v types.VendorRiskAssessmentConnection) graphql.Marshaler {
|
|
return ec._VendorRiskAssessmentConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorRiskAssessmentConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorRiskAssessmentConnection(ctx context.Context, sel ast.SelectionSet, v *types.VendorRiskAssessmentConnection) 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._VendorRiskAssessmentConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorRiskAssessmentEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorRiskAssessmentEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.VendorRiskAssessmentEdge) 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.marshalNVendorRiskAssessmentEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorRiskAssessmentEdge(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) marshalNVendorRiskAssessmentEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorRiskAssessmentEdge(ctx context.Context, sel ast.SelectionSet, v *types.VendorRiskAssessmentEdge) 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._VendorRiskAssessmentEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNVendorRiskAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorRiskAssessmentOrderField(ctx context.Context, v any) (coredata.VendorRiskAssessmentOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNVendorRiskAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorRiskAssessmentOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorRiskAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorRiskAssessmentOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.VendorRiskAssessmentOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNVendorRiskAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorRiskAssessmentOrderField[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 (
|
|
unmarshalNVendorRiskAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorRiskAssessmentOrderField = map[string]coredata.VendorRiskAssessmentOrderField{
|
|
"CREATED_AT": coredata.VendorRiskAssessmentOrderFieldCreatedAt,
|
|
"EXPIRES_AT": coredata.VendorRiskAssessmentOrderFieldExpiresAt,
|
|
}
|
|
marshalNVendorRiskAssessmentOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorRiskAssessmentOrderField = map[coredata.VendorRiskAssessmentOrderField]string{
|
|
coredata.VendorRiskAssessmentOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.VendorRiskAssessmentOrderFieldExpiresAt: "EXPIRES_AT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNVendorService2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorService(ctx context.Context, sel ast.SelectionSet, v *types.VendorService) 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._VendorService(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorServiceConnection2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorServiceConnection(ctx context.Context, sel ast.SelectionSet, v types.VendorServiceConnection) graphql.Marshaler {
|
|
return ec._VendorServiceConnection(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorServiceConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorServiceConnection(ctx context.Context, sel ast.SelectionSet, v *types.VendorServiceConnection) 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._VendorServiceConnection(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorServiceEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorServiceEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.VendorServiceEdge) 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.marshalNVendorServiceEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorServiceEdge(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) marshalNVendorServiceEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorServiceEdge(ctx context.Context, sel ast.SelectionSet, v *types.VendorServiceEdge) 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._VendorServiceEdge(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalNVendorServiceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorServiceOrderField(ctx context.Context, v any) (coredata.VendorServiceOrderField, error) {
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalNVendorServiceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorServiceOrderField[tmp]
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNVendorServiceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorServiceOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.VendorServiceOrderField) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(marshalNVendorServiceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorServiceOrderField[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 (
|
|
unmarshalNVendorServiceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorServiceOrderField = map[string]coredata.VendorServiceOrderField{
|
|
"CREATED_AT": coredata.VendorServiceOrderFieldCreatedAt,
|
|
"NAME": coredata.VendorServiceOrderFieldName,
|
|
}
|
|
marshalNVendorServiceOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorServiceOrderField = map[coredata.VendorServiceOrderField]string{
|
|
coredata.VendorServiceOrderFieldCreatedAt: "CREATED_AT",
|
|
coredata.VendorServiceOrderFieldName: "NAME",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalNViewer2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐViewer(ctx context.Context, sel ast.SelectionSet, v types.Viewer) graphql.Marshaler {
|
|
return ec._Viewer(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalNViewer2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐViewer(ctx context.Context, sel ast.SelectionSet, v *types.Viewer) 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._Viewer(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalN__Directive2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirective(ctx context.Context, sel ast.SelectionSet, v introspection.Directive) graphql.Marshaler {
|
|
return ec.___Directive(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirectiveᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Directive) 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.marshalN__Directive2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirective(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) unmarshalN__DirectiveLocation2string(ctx context.Context, v any) (string, error) {
|
|
res, err := graphql.UnmarshalString(v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalN__DirectiveLocation2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(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
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, v any) ([]string, error) {
|
|
var vSlice []any
|
|
vSlice = graphql.CoerceList(v)
|
|
var err error
|
|
res := make([]string, len(vSlice))
|
|
for i := range vSlice {
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
|
|
res[i], err = ec.unmarshalN__DirectiveLocation2string(ctx, vSlice[i])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
}
|
|
return res, nil
|
|
}
|
|
|
|
func (ec *executionContext) marshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, sel ast.SelectionSet, v []string) 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.marshalN__DirectiveLocation2string(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) marshalN__EnumValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValue(ctx context.Context, sel ast.SelectionSet, v introspection.EnumValue) graphql.Marshaler {
|
|
return ec.___EnumValue(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalN__Field2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐField(ctx context.Context, sel ast.SelectionSet, v introspection.Field) graphql.Marshaler {
|
|
return ec.___Field(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx context.Context, sel ast.SelectionSet, v introspection.InputValue) graphql.Marshaler {
|
|
return ec.___InputValue(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.InputValue) 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.marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(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) marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v introspection.Type) graphql.Marshaler {
|
|
return ec.___Type(ctx, sel, &v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Type) 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.marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(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) marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v *introspection.Type) 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.___Type(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalN__TypeKind2string(ctx context.Context, v any) (string, error) {
|
|
res, err := graphql.UnmarshalString(v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalN__TypeKind2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
|
|
_ = sel
|
|
res := graphql.MarshalString(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
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOAssetFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssetFilter(ctx context.Context, v any) (*types.AssetFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputAssetFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOAssetOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAssetOrderBy(ctx context.Context, v any) (*types.AssetOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputAssetOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOAssetType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType(ctx context.Context, v any) (*coredata.AssetType, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOAssetType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOAssetType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType(ctx context.Context, sel ast.SelectionSet, v *coredata.AssetType) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOAssetType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOAssetType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType = map[string]coredata.AssetType{
|
|
"PHYSICAL": coredata.AssetTypePhysical,
|
|
"VIRTUAL": coredata.AssetTypeVirtual,
|
|
}
|
|
marshalOAssetType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAssetType = map[coredata.AssetType]string{
|
|
coredata.AssetTypePhysical: "PHYSICAL",
|
|
coredata.AssetTypeVirtual: "VIRTUAL",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalOAudit2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAudit(ctx context.Context, sel ast.SelectionSet, v *types.Audit) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Audit(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOAuditOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐAuditOrderBy(ctx context.Context, v any) (*types.AuditOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputAuditOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOAuditState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState(ctx context.Context, v any) (*coredata.AuditState, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOAuditState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOAuditState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState(ctx context.Context, sel ast.SelectionSet, v *coredata.AuditState) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOAuditState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOAuditState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState = map[string]coredata.AuditState{
|
|
"NOT_STARTED": coredata.AuditStateNotStarted,
|
|
"IN_PROGRESS": coredata.AuditStateInProgress,
|
|
"COMPLETED": coredata.AuditStateCompleted,
|
|
"REJECTED": coredata.AuditStateRejected,
|
|
"OUTDATED": coredata.AuditStateOutdated,
|
|
}
|
|
marshalOAuditState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐAuditState = map[coredata.AuditState]string{
|
|
coredata.AuditStateNotStarted: "NOT_STARTED",
|
|
coredata.AuditStateInProgress: "IN_PROGRESS",
|
|
coredata.AuditStateCompleted: "COMPLETED",
|
|
coredata.AuditStateRejected: "REJECTED",
|
|
coredata.AuditStateOutdated: "OUTDATED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOBoolean2bool(ctx context.Context, v any) (bool, error) {
|
|
res, err := graphql.UnmarshalBoolean(v)
|
|
return res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler {
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalBoolean(v)
|
|
return res
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOBoolean2ᚖbool(ctx context.Context, v any) (*bool, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := graphql.UnmarshalBoolean(v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOBoolean2ᚖbool(ctx context.Context, sel ast.SelectionSet, v *bool) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalBoolean(*v)
|
|
return res
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOContinualImprovementFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovementFilter(ctx context.Context, v any) (*types.ContinualImprovementFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputContinualImprovementFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOContinualImprovementOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐContinualImprovementOrderBy(ctx context.Context, v any) (*types.ContinualImprovementOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputContinualImprovementOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOContinualImprovementPriority2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority(ctx context.Context, v any) (*coredata.ContinualImprovementPriority, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOContinualImprovementPriority2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOContinualImprovementPriority2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority(ctx context.Context, sel ast.SelectionSet, v *coredata.ContinualImprovementPriority) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOContinualImprovementPriority2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOContinualImprovementPriority2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority = map[string]coredata.ContinualImprovementPriority{
|
|
"LOW": coredata.ContinualImprovementPriorityLow,
|
|
"MEDIUM": coredata.ContinualImprovementPriorityMedium,
|
|
"HIGH": coredata.ContinualImprovementPriorityHigh,
|
|
}
|
|
marshalOContinualImprovementPriority2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementPriority = map[coredata.ContinualImprovementPriority]string{
|
|
coredata.ContinualImprovementPriorityLow: "LOW",
|
|
coredata.ContinualImprovementPriorityMedium: "MEDIUM",
|
|
coredata.ContinualImprovementPriorityHigh: "HIGH",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOContinualImprovementStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus(ctx context.Context, v any) (*coredata.ContinualImprovementStatus, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOContinualImprovementStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOContinualImprovementStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus(ctx context.Context, sel ast.SelectionSet, v *coredata.ContinualImprovementStatus) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOContinualImprovementStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOContinualImprovementStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus = map[string]coredata.ContinualImprovementStatus{
|
|
"OPEN": coredata.ContinualImprovementStatusOpen,
|
|
"IN_PROGRESS": coredata.ContinualImprovementStatusInProgress,
|
|
"CLOSED": coredata.ContinualImprovementStatusClosed,
|
|
}
|
|
marshalOContinualImprovementStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐContinualImprovementStatus = map[coredata.ContinualImprovementStatus]string{
|
|
coredata.ContinualImprovementStatusOpen: "OPEN",
|
|
coredata.ContinualImprovementStatusInProgress: "IN_PROGRESS",
|
|
coredata.ContinualImprovementStatusClosed: "CLOSED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOControlFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlFilter(ctx context.Context, v any) (*types.ControlFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputControlFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOControlOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐControlOrderBy(ctx context.Context, v any) (*types.ControlOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputControlOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOControlStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus(ctx context.Context, v any) (*coredata.ControlStatus, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOControlStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOControlStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus(ctx context.Context, sel ast.SelectionSet, v *coredata.ControlStatus) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOControlStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOControlStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus = map[string]coredata.ControlStatus{
|
|
"INCLUDED": coredata.ControlStatusIncluded,
|
|
"EXCLUDED": coredata.ControlStatusExcluded,
|
|
}
|
|
marshalOControlStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐControlStatus = map[coredata.ControlStatus]string{
|
|
coredata.ControlStatusIncluded: "INCLUDED",
|
|
coredata.ControlStatusExcluded: "EXCLUDED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOCountryCode2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCodeᚄ(ctx context.Context, v any) ([]coredata.CountryCode, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
var vSlice []any
|
|
vSlice = graphql.CoerceList(v)
|
|
var err error
|
|
res := make([]coredata.CountryCode, len(vSlice))
|
|
for i := range vSlice {
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
|
|
res[i], err = ec.unmarshalNCountryCode2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCode(ctx, vSlice[i])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
}
|
|
return res, nil
|
|
}
|
|
|
|
func (ec *executionContext) marshalOCountryCode2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCodeᚄ(ctx context.Context, sel ast.SelectionSet, v []coredata.CountryCode) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
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.marshalNCountryCode2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐCountryCode(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) unmarshalOCursorKey2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋpageᚐCursorKey(ctx context.Context, v any) (*page.CursorKey, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := cursor.UnmarshalCursorKeyScalar(v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOCursorKey2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋpageᚐCursorKey(ctx context.Context, sel ast.SelectionSet, v *page.CursorKey) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := cursor.MarshalCursorKeyScalar(*v)
|
|
return res
|
|
}
|
|
|
|
func (ec *executionContext) marshalOCustomDomain2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐCustomDomain(ctx context.Context, sel ast.SelectionSet, v *types.CustomDomain) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._CustomDomain(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalODataClassification2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification(ctx context.Context, v any) (*coredata.DataClassification, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalODataClassification2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalODataClassification2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification(ctx context.Context, sel ast.SelectionSet, v *coredata.DataClassification) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalODataClassification2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalODataClassification2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification = map[string]coredata.DataClassification{
|
|
"PUBLIC": coredata.DataClassificationPublic,
|
|
"INTERNAL": coredata.DataClassificationInternal,
|
|
"CONFIDENTIAL": coredata.DataClassificationConfidential,
|
|
"SECRET": coredata.DataClassificationSecret,
|
|
}
|
|
marshalODataClassification2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataClassification = map[coredata.DataClassification]string{
|
|
coredata.DataClassificationPublic: "PUBLIC",
|
|
coredata.DataClassificationInternal: "INTERNAL",
|
|
coredata.DataClassificationConfidential: "CONFIDENTIAL",
|
|
coredata.DataClassificationSecret: "SECRET",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalODataProtectionImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessment(ctx context.Context, sel ast.SelectionSet, v *types.DataProtectionImpactAssessment) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._DataProtectionImpactAssessment(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalODataProtectionImpactAssessmentFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessmentFilter(ctx context.Context, v any) (*types.DataProtectionImpactAssessmentFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputDataProtectionImpactAssessmentFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalODataProtectionImpactAssessmentOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDataProtectionImpactAssessmentOrderBy(ctx context.Context, v any) (*types.DataProtectionImpactAssessmentOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputDataProtectionImpactAssessmentOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalODataProtectionImpactAssessmentResidualRisk2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentResidualRisk(ctx context.Context, v any) (*coredata.DataProtectionImpactAssessmentResidualRisk, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalODataProtectionImpactAssessmentResidualRisk2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentResidualRisk[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalODataProtectionImpactAssessmentResidualRisk2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentResidualRisk(ctx context.Context, sel ast.SelectionSet, v *coredata.DataProtectionImpactAssessmentResidualRisk) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalODataProtectionImpactAssessmentResidualRisk2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentResidualRisk[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalODataProtectionImpactAssessmentResidualRisk2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentResidualRisk = map[string]coredata.DataProtectionImpactAssessmentResidualRisk{
|
|
"LOW": coredata.DataProtectionImpactAssessmentResidualRiskLow,
|
|
"MEDIUM": coredata.DataProtectionImpactAssessmentResidualRiskMedium,
|
|
"HIGH": coredata.DataProtectionImpactAssessmentResidualRiskHigh,
|
|
}
|
|
marshalODataProtectionImpactAssessmentResidualRisk2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDataProtectionImpactAssessmentResidualRisk = map[coredata.DataProtectionImpactAssessmentResidualRisk]string{
|
|
coredata.DataProtectionImpactAssessmentResidualRiskLow: "LOW",
|
|
coredata.DataProtectionImpactAssessmentResidualRiskMedium: "MEDIUM",
|
|
coredata.DataProtectionImpactAssessmentResidualRiskHigh: "HIGH",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalODatetime2ᚖtimeᚐTime(ctx context.Context, v any) (*time.Time, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := graphql.UnmarshalTime(v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalODatetime2ᚖtimeᚐTime(ctx context.Context, sel ast.SelectionSet, v *time.Time) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalTime(*v)
|
|
return res
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalODatumFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatumFilter(ctx context.Context, v any) (*types.DatumFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputDatumFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalODatumOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDatumOrderBy(ctx context.Context, v any) (*types.DatumOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputDatumOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalODocument2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocument(ctx context.Context, sel ast.SelectionSet, v *types.Document) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Document(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalODocumentClassification2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification(ctx context.Context, v any) (*coredata.DocumentClassification, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalODocumentClassification2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalODocumentClassification2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification(ctx context.Context, sel ast.SelectionSet, v *coredata.DocumentClassification) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalODocumentClassification2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalODocumentClassification2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification = map[string]coredata.DocumentClassification{
|
|
"PUBLIC": coredata.DocumentClassificationPublic,
|
|
"INTERNAL": coredata.DocumentClassificationInternal,
|
|
"CONFIDENTIAL": coredata.DocumentClassificationConfidential,
|
|
"SECRET": coredata.DocumentClassificationSecret,
|
|
}
|
|
marshalODocumentClassification2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentClassification = map[coredata.DocumentClassification]string{
|
|
coredata.DocumentClassificationPublic: "PUBLIC",
|
|
coredata.DocumentClassificationInternal: "INTERNAL",
|
|
coredata.DocumentClassificationConfidential: "CONFIDENTIAL",
|
|
coredata.DocumentClassificationSecret: "SECRET",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalODocumentFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentFilter(ctx context.Context, v any) (*types.DocumentFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputDocumentFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalODocumentOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentOrderBy(ctx context.Context, v any) (*types.DocumentOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputDocumentOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalODocumentStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentStatus(ctx context.Context, v any) (*coredata.DocumentStatus, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalODocumentStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentStatus[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalODocumentStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentStatus(ctx context.Context, sel ast.SelectionSet, v *coredata.DocumentStatus) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalODocumentStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentStatus[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalODocumentStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentStatus = map[string]coredata.DocumentStatus{
|
|
"DRAFT": coredata.DocumentStatusDraft,
|
|
"PUBLISHED": coredata.DocumentStatusPublished,
|
|
}
|
|
marshalODocumentStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentStatus = map[coredata.DocumentStatus]string{
|
|
coredata.DocumentStatusDraft: "DRAFT",
|
|
coredata.DocumentStatusPublished: "PUBLISHED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalODocumentType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType(ctx context.Context, v any) (*coredata.DocumentType, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalODocumentType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalODocumentType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType(ctx context.Context, sel ast.SelectionSet, v *coredata.DocumentType) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalODocumentType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalODocumentType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType = map[string]coredata.DocumentType{
|
|
"OTHER": coredata.DocumentTypeOther,
|
|
"ISMS": coredata.DocumentTypeISMS,
|
|
"POLICY": coredata.DocumentTypePolicy,
|
|
"PROCEDURE": coredata.DocumentTypeProcedure,
|
|
}
|
|
marshalODocumentType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentType = map[coredata.DocumentType]string{
|
|
coredata.DocumentTypeOther: "OTHER",
|
|
coredata.DocumentTypeISMS: "ISMS",
|
|
coredata.DocumentTypePolicy: "POLICY",
|
|
coredata.DocumentTypeProcedure: "PROCEDURE",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalODocumentVersionFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionFilter(ctx context.Context, v any) (*types.DocumentVersionFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputDocumentVersionFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalODocumentVersionOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionOrderBy(ctx context.Context, v any) (*types.DocumentVersionOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputDocumentVersionOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalODocumentVersionSignatureFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignatureFilter(ctx context.Context, v any) (*types.DocumentVersionSignatureFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputDocumentVersionSignatureFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalODocumentVersionSignatureOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐDocumentVersionSignatureOrder(ctx context.Context, v any) (*types.DocumentVersionSignatureOrder, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputDocumentVersionSignatureOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalODocumentVersionSignatureState2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureStateᚄ(ctx context.Context, v any) ([]coredata.DocumentVersionSignatureState, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
var vSlice []any
|
|
vSlice = graphql.CoerceList(v)
|
|
var err error
|
|
res := make([]coredata.DocumentVersionSignatureState, len(vSlice))
|
|
for i := range vSlice {
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
|
|
res[i], err = ec.unmarshalNDocumentVersionSignatureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureState(ctx, vSlice[i])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
}
|
|
return res, nil
|
|
}
|
|
|
|
func (ec *executionContext) marshalODocumentVersionSignatureState2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureStateᚄ(ctx context.Context, sel ast.SelectionSet, v []coredata.DocumentVersionSignatureState) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
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.marshalNDocumentVersionSignatureState2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐDocumentVersionSignatureState(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) unmarshalODuration2ᚖtimeᚐDuration(ctx context.Context, v any) (*time.Duration, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := graphql.UnmarshalDuration(v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalODuration2ᚖtimeᚐDuration(ctx context.Context, sel ast.SelectionSet, v *time.Duration) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalDuration(*v)
|
|
return res
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOEmailAddr2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddrᚄ(ctx context.Context, v any) ([]mail.Addr, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
var vSlice []any
|
|
vSlice = graphql.CoerceList(v)
|
|
var err error
|
|
res := make([]mail.Addr, len(vSlice))
|
|
for i := range vSlice {
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
|
|
res[i], err = ec.unmarshalNEmailAddr2goᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx, vSlice[i])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
}
|
|
return res, nil
|
|
}
|
|
|
|
func (ec *executionContext) marshalOEmailAddr2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddrᚄ(ctx context.Context, sel ast.SelectionSet, v []mail.Addr) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
ret := make(graphql.Array, len(v))
|
|
for i := range v {
|
|
ret[i] = ec.marshalNEmailAddr2goᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx, sel, v[i])
|
|
}
|
|
|
|
for _, e := range ret {
|
|
if e == graphql.Null {
|
|
return graphql.Null
|
|
}
|
|
}
|
|
|
|
return ret
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOEmailAddr2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx context.Context, v any) (*mail.Addr, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := mail1.UnmarshalAddrScalar(v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOEmailAddr2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx context.Context, sel ast.SelectionSet, v *mail.Addr) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := mail1.MarshalAddrScalar(*v)
|
|
return res
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOEvidenceOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐEvidenceOrderBy(ctx context.Context, v any) (*types.EvidenceOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputEvidenceOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOFile2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFile(ctx context.Context, sel ast.SelectionSet, v *types.File) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._File(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOFrameworkOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐFrameworkOrderBy(ctx context.Context, v any) (*types.FrameworkOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputFrameworkOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx context.Context, v any) ([]gid.GID, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
var vSlice []any
|
|
vSlice = graphql.CoerceList(v)
|
|
var err error
|
|
res := make([]gid.GID, len(vSlice))
|
|
for i := range vSlice {
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
|
|
res[i], err = ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, vSlice[i])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
}
|
|
return res, nil
|
|
}
|
|
|
|
func (ec *executionContext) marshalOID2ᚕgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGIDᚄ(ctx context.Context, sel ast.SelectionSet, v []gid.GID) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
ret := make(graphql.Array, len(v))
|
|
for i := range v {
|
|
ret[i] = ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, sel, v[i])
|
|
}
|
|
|
|
for _, e := range ret {
|
|
if e == graphql.Null {
|
|
return graphql.Null
|
|
}
|
|
}
|
|
|
|
return ret
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx context.Context, v any) (*gid.GID, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := gid1.UnmarshalGIDScalar(v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOID2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx context.Context, sel ast.SelectionSet, v *gid.GID) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := gid1.MarshalGIDScalar(*v)
|
|
return res
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOInt2ᚖint(ctx context.Context, v any) (*int, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := graphql.UnmarshalInt(v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOInt2ᚖint(ctx context.Context, sel ast.SelectionSet, v *int) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalInt(*v)
|
|
return res
|
|
}
|
|
|
|
func (ec *executionContext) marshalOMeasure2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasure(ctx context.Context, sel ast.SelectionSet, v *types.Measure) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Measure(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOMeasureFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureFilter(ctx context.Context, v any) (*types.MeasureFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputMeasureFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOMeasureOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeasureOrderBy(ctx context.Context, v any) (*types.MeasureOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputMeasureOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOMeasureState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState(ctx context.Context, v any) (*coredata.MeasureState, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOMeasureState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOMeasureState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState(ctx context.Context, sel ast.SelectionSet, v *coredata.MeasureState) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOMeasureState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOMeasureState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState = map[string]coredata.MeasureState{
|
|
"NOT_STARTED": coredata.MeasureStateNotStarted,
|
|
"IN_PROGRESS": coredata.MeasureStateInProgress,
|
|
"NOT_APPLICABLE": coredata.MeasureStateNotApplicable,
|
|
"IMPLEMENTED": coredata.MeasureStateImplemented,
|
|
}
|
|
marshalOMeasureState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMeasureState = map[coredata.MeasureState]string{
|
|
coredata.MeasureStateNotStarted: "NOT_STARTED",
|
|
coredata.MeasureStateInProgress: "IN_PROGRESS",
|
|
coredata.MeasureStateNotApplicable: "NOT_APPLICABLE",
|
|
coredata.MeasureStateImplemented: "IMPLEMENTED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOMeetingOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐMeetingOrderBy(ctx context.Context, v any) (*types.MeetingOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputMeetingOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalONonconformityFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformityFilter(ctx context.Context, v any) (*types.NonconformityFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputNonconformityFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalONonconformityOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐNonconformityOrderBy(ctx context.Context, v any) (*types.NonconformityOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputNonconformityOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalONonconformityStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus(ctx context.Context, v any) (*coredata.NonconformityStatus, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalONonconformityStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalONonconformityStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus(ctx context.Context, sel ast.SelectionSet, v *coredata.NonconformityStatus) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalONonconformityStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalONonconformityStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus = map[string]coredata.NonconformityStatus{
|
|
"OPEN": coredata.NonconformityStatusOpen,
|
|
"IN_PROGRESS": coredata.NonconformityStatusInProgress,
|
|
"CLOSED": coredata.NonconformityStatusClosed,
|
|
}
|
|
marshalONonconformityStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐNonconformityStatus = map[coredata.NonconformityStatus]string{
|
|
coredata.NonconformityStatusOpen: "OPEN",
|
|
coredata.NonconformityStatusInProgress: "IN_PROGRESS",
|
|
coredata.NonconformityStatusClosed: "CLOSED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOObligationFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationFilter(ctx context.Context, v any) (*types.ObligationFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputObligationFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOObligationOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐObligationOrderBy(ctx context.Context, v any) (*types.ObligationOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputObligationOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOObligationStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus(ctx context.Context, v any) (*coredata.ObligationStatus, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOObligationStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOObligationStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus(ctx context.Context, sel ast.SelectionSet, v *coredata.ObligationStatus) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOObligationStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOObligationStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus = map[string]coredata.ObligationStatus{
|
|
"NON_COMPLIANT": coredata.ObligationStatusNonCompliant,
|
|
"PARTIALLY_COMPLIANT": coredata.ObligationStatusPartiallyCompliant,
|
|
"COMPLIANT": coredata.ObligationStatusCompliant,
|
|
}
|
|
marshalOObligationStatus2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationStatus = map[coredata.ObligationStatus]string{
|
|
coredata.ObligationStatusNonCompliant: "NON_COMPLIANT",
|
|
coredata.ObligationStatusPartiallyCompliant: "PARTIALLY_COMPLIANT",
|
|
coredata.ObligationStatusCompliant: "COMPLIANT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOObligationType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType(ctx context.Context, v any) (*coredata.ObligationType, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOObligationType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOObligationType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType(ctx context.Context, sel ast.SelectionSet, v *coredata.ObligationType) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOObligationType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOObligationType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType = map[string]coredata.ObligationType{
|
|
"LEGAL": coredata.ObligationTypeLegal,
|
|
"CONTRACTUAL": coredata.ObligationTypeContractual,
|
|
}
|
|
marshalOObligationType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐObligationType = map[coredata.ObligationType]string{
|
|
coredata.ObligationTypeLegal: "LEGAL",
|
|
coredata.ObligationTypeContractual: "CONTRACTUAL",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalOOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganization(ctx context.Context, sel ast.SelectionSet, v *types.Organization) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Organization(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOOrganizationContext2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrganizationContext(ctx context.Context, sel ast.SelectionSet, v *types.OrganizationContext) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._OrganizationContext(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOPeople2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeople(ctx context.Context, sel ast.SelectionSet, v *types.People) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._People(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOPeopleFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeopleFilter(ctx context.Context, v any) (*types.PeopleFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputPeopleFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOPeopleKind2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind(ctx context.Context, v any) (*coredata.PeopleKind, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOPeopleKind2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOPeopleKind2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind(ctx context.Context, sel ast.SelectionSet, v *coredata.PeopleKind) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOPeopleKind2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOPeopleKind2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind = map[string]coredata.PeopleKind{
|
|
"EMPLOYEE": coredata.PeopleKindEmployee,
|
|
"CONTRACTOR": coredata.PeopleKindContractor,
|
|
"SERVICE_ACCOUNT": coredata.PeopleKindServiceAccount,
|
|
}
|
|
marshalOPeopleKind2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐPeopleKind = map[coredata.PeopleKind]string{
|
|
coredata.PeopleKindEmployee: "EMPLOYEE",
|
|
coredata.PeopleKindContractor: "CONTRACTOR",
|
|
coredata.PeopleKindServiceAccount: "SERVICE_ACCOUNT",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOPeopleOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐPeopleOrderBy(ctx context.Context, v any) (*types.PeopleOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputPeopleOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOProcessingActivityDataProtectionImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment(ctx context.Context, v any) (*coredata.ProcessingActivityDataProtectionImpactAssessment, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOProcessingActivityDataProtectionImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOProcessingActivityDataProtectionImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment(ctx context.Context, sel ast.SelectionSet, v *coredata.ProcessingActivityDataProtectionImpactAssessment) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOProcessingActivityDataProtectionImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOProcessingActivityDataProtectionImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment = map[string]coredata.ProcessingActivityDataProtectionImpactAssessment{
|
|
"NEEDED": coredata.ProcessingActivityDataProtectionImpactAssessmentNeeded,
|
|
"NOT_NEEDED": coredata.ProcessingActivityDataProtectionImpactAssessmentNotNeeded,
|
|
}
|
|
marshalOProcessingActivityDataProtectionImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityDataProtectionImpactAssessment = map[coredata.ProcessingActivityDataProtectionImpactAssessment]string{
|
|
coredata.ProcessingActivityDataProtectionImpactAssessmentNeeded: "NEEDED",
|
|
coredata.ProcessingActivityDataProtectionImpactAssessmentNotNeeded: "NOT_NEEDED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOProcessingActivityFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivityFilter(ctx context.Context, v any) (*types.ProcessingActivityFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputProcessingActivityFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOProcessingActivityLawfulBasis2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis(ctx context.Context, v any) (*coredata.ProcessingActivityLawfulBasis, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOProcessingActivityLawfulBasis2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOProcessingActivityLawfulBasis2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis(ctx context.Context, sel ast.SelectionSet, v *coredata.ProcessingActivityLawfulBasis) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOProcessingActivityLawfulBasis2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOProcessingActivityLawfulBasis2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis = map[string]coredata.ProcessingActivityLawfulBasis{
|
|
"LEGITIMATE_INTEREST": coredata.ProcessingActivityLawfulBasisLegitimateInterest,
|
|
"CONSENT": coredata.ProcessingActivityLawfulBasisConsent,
|
|
"CONTRACTUAL_NECESSITY": coredata.ProcessingActivityLawfulBasisContractualNecessity,
|
|
"LEGAL_OBLIGATION": coredata.ProcessingActivityLawfulBasisLegalObligation,
|
|
"VITAL_INTERESTS": coredata.ProcessingActivityLawfulBasisVitalInterests,
|
|
"PUBLIC_TASK": coredata.ProcessingActivityLawfulBasisPublicTask,
|
|
}
|
|
marshalOProcessingActivityLawfulBasis2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityLawfulBasis = map[coredata.ProcessingActivityLawfulBasis]string{
|
|
coredata.ProcessingActivityLawfulBasisLegitimateInterest: "LEGITIMATE_INTEREST",
|
|
coredata.ProcessingActivityLawfulBasisConsent: "CONSENT",
|
|
coredata.ProcessingActivityLawfulBasisContractualNecessity: "CONTRACTUAL_NECESSITY",
|
|
coredata.ProcessingActivityLawfulBasisLegalObligation: "LEGAL_OBLIGATION",
|
|
coredata.ProcessingActivityLawfulBasisVitalInterests: "VITAL_INTERESTS",
|
|
coredata.ProcessingActivityLawfulBasisPublicTask: "PUBLIC_TASK",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOProcessingActivityOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProcessingActivityOrderBy(ctx context.Context, v any) (*types.ProcessingActivityOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputProcessingActivityOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOProcessingActivityRole2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole(ctx context.Context, v any) (*coredata.ProcessingActivityRole, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOProcessingActivityRole2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOProcessingActivityRole2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole(ctx context.Context, sel ast.SelectionSet, v *coredata.ProcessingActivityRole) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOProcessingActivityRole2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOProcessingActivityRole2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole = map[string]coredata.ProcessingActivityRole{
|
|
"CONTROLLER": coredata.ProcessingActivityRoleController,
|
|
"PROCESSOR": coredata.ProcessingActivityRoleProcessor,
|
|
}
|
|
marshalOProcessingActivityRole2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityRole = map[coredata.ProcessingActivityRole]string{
|
|
coredata.ProcessingActivityRoleController: "CONTROLLER",
|
|
coredata.ProcessingActivityRoleProcessor: "PROCESSOR",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOProcessingActivitySpecialOrCriminalDatum2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum(ctx context.Context, v any) (*coredata.ProcessingActivitySpecialOrCriminalDatum, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOProcessingActivitySpecialOrCriminalDatum2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOProcessingActivitySpecialOrCriminalDatum2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum(ctx context.Context, sel ast.SelectionSet, v *coredata.ProcessingActivitySpecialOrCriminalDatum) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOProcessingActivitySpecialOrCriminalDatum2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOProcessingActivitySpecialOrCriminalDatum2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum = map[string]coredata.ProcessingActivitySpecialOrCriminalDatum{
|
|
"YES": coredata.ProcessingActivitySpecialOrCriminalDatumYes,
|
|
"NO": coredata.ProcessingActivitySpecialOrCriminalDatumNo,
|
|
"POSSIBLE": coredata.ProcessingActivitySpecialOrCriminalDatumPossible,
|
|
}
|
|
marshalOProcessingActivitySpecialOrCriminalDatum2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivitySpecialOrCriminalDatum = map[coredata.ProcessingActivitySpecialOrCriminalDatum]string{
|
|
coredata.ProcessingActivitySpecialOrCriminalDatumYes: "YES",
|
|
coredata.ProcessingActivitySpecialOrCriminalDatumNo: "NO",
|
|
coredata.ProcessingActivitySpecialOrCriminalDatumPossible: "POSSIBLE",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOProcessingActivityTransferImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment(ctx context.Context, v any) (*coredata.ProcessingActivityTransferImpactAssessment, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOProcessingActivityTransferImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOProcessingActivityTransferImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment(ctx context.Context, sel ast.SelectionSet, v *coredata.ProcessingActivityTransferImpactAssessment) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOProcessingActivityTransferImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOProcessingActivityTransferImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment = map[string]coredata.ProcessingActivityTransferImpactAssessment{
|
|
"NEEDED": coredata.ProcessingActivityTransferImpactAssessmentNeeded,
|
|
"NOT_NEEDED": coredata.ProcessingActivityTransferImpactAssessmentNotNeeded,
|
|
}
|
|
marshalOProcessingActivityTransferImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferImpactAssessment = map[coredata.ProcessingActivityTransferImpactAssessment]string{
|
|
coredata.ProcessingActivityTransferImpactAssessmentNeeded: "NEEDED",
|
|
coredata.ProcessingActivityTransferImpactAssessmentNotNeeded: "NOT_NEEDED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOProcessingActivityTransferSafeguard2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferSafeguard(ctx context.Context, v any) (*coredata.ProcessingActivityTransferSafeguard, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOProcessingActivityTransferSafeguard2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferSafeguard[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOProcessingActivityTransferSafeguard2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferSafeguard(ctx context.Context, sel ast.SelectionSet, v *coredata.ProcessingActivityTransferSafeguard) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOProcessingActivityTransferSafeguard2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferSafeguard[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOProcessingActivityTransferSafeguard2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferSafeguard = map[string]coredata.ProcessingActivityTransferSafeguard{
|
|
"STANDARD_CONTRACTUAL_CLAUSES": coredata.ProcessingActivityTransferSafeguardStandardContractualClauses,
|
|
"BINDING_CORPORATE_RULES": coredata.ProcessingActivityTransferSafeguardBindingCorporateRules,
|
|
"ADEQUACY_DECISION": coredata.ProcessingActivityTransferSafeguardAdequacyDecision,
|
|
"DEROGATIONS": coredata.ProcessingActivityTransferSafeguardDerogations,
|
|
"CODES_OF_CONDUCT": coredata.ProcessingActivityTransferSafeguardCodesOfConduct,
|
|
"CERTIFICATION_MECHANISMS": coredata.ProcessingActivityTransferSafeguardCertificationMechanisms,
|
|
}
|
|
marshalOProcessingActivityTransferSafeguard2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐProcessingActivityTransferSafeguard = map[coredata.ProcessingActivityTransferSafeguard]string{
|
|
coredata.ProcessingActivityTransferSafeguardStandardContractualClauses: "STANDARD_CONTRACTUAL_CLAUSES",
|
|
coredata.ProcessingActivityTransferSafeguardBindingCorporateRules: "BINDING_CORPORATE_RULES",
|
|
coredata.ProcessingActivityTransferSafeguardAdequacyDecision: "ADEQUACY_DECISION",
|
|
coredata.ProcessingActivityTransferSafeguardDerogations: "DEROGATIONS",
|
|
coredata.ProcessingActivityTransferSafeguardCodesOfConduct: "CODES_OF_CONDUCT",
|
|
coredata.ProcessingActivityTransferSafeguardCertificationMechanisms: "CERTIFICATION_MECHANISMS",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalOReport2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐReport(ctx context.Context, sel ast.SelectionSet, v *types.Report) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Report(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalORightsRequestOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRightsRequestOrderBy(ctx context.Context, v any) (*types.RightsRequestOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputRightsRequestOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalORightsRequestState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState(ctx context.Context, v any) (*coredata.RightsRequestState, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalORightsRequestState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalORightsRequestState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState(ctx context.Context, sel ast.SelectionSet, v *coredata.RightsRequestState) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalORightsRequestState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalORightsRequestState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState = map[string]coredata.RightsRequestState{
|
|
"TODO": coredata.RightsRequestStateTodo,
|
|
"IN_PROGRESS": coredata.RightsRequestStateInProgress,
|
|
"DONE": coredata.RightsRequestStateDone,
|
|
}
|
|
marshalORightsRequestState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestState = map[coredata.RightsRequestState]string{
|
|
coredata.RightsRequestStateTodo: "TODO",
|
|
coredata.RightsRequestStateInProgress: "IN_PROGRESS",
|
|
coredata.RightsRequestStateDone: "DONE",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalORightsRequestType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType(ctx context.Context, v any) (*coredata.RightsRequestType, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalORightsRequestType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalORightsRequestType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType(ctx context.Context, sel ast.SelectionSet, v *coredata.RightsRequestType) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalORightsRequestType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalORightsRequestType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType = map[string]coredata.RightsRequestType{
|
|
"ACCESS": coredata.RightsRequestTypeAccess,
|
|
"DELETION": coredata.RightsRequestTypeDeletion,
|
|
"PORTABILITY": coredata.RightsRequestTypePortability,
|
|
}
|
|
marshalORightsRequestType2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRightsRequestType = map[coredata.RightsRequestType]string{
|
|
coredata.RightsRequestTypeAccess: "ACCESS",
|
|
coredata.RightsRequestTypeDeletion: "DELETION",
|
|
coredata.RightsRequestTypePortability: "PORTABILITY",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalORiskFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskFilter(ctx context.Context, v any) (*types.RiskFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputRiskFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalORiskOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐRiskOrderBy(ctx context.Context, v any) (*types.RiskOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputRiskOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalORiskTreatment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment(ctx context.Context, v any) (*coredata.RiskTreatment, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalORiskTreatment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalORiskTreatment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment(ctx context.Context, sel ast.SelectionSet, v *coredata.RiskTreatment) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalORiskTreatment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalORiskTreatment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment = map[string]coredata.RiskTreatment{
|
|
"MITIGATED": coredata.RiskTreatmentMitigated,
|
|
"ACCEPTED": coredata.RiskTreatmentAccepted,
|
|
"AVOIDED": coredata.RiskTreatmentAvoided,
|
|
"TRANSFERRED": coredata.RiskTreatmentTransferred,
|
|
}
|
|
marshalORiskTreatment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐRiskTreatment = map[coredata.RiskTreatment]string{
|
|
coredata.RiskTreatmentMitigated: "MITIGATED",
|
|
coredata.RiskTreatmentAccepted: "ACCEPTED",
|
|
coredata.RiskTreatmentAvoided: "AVOIDED",
|
|
coredata.RiskTreatmentTransferred: "TRANSFERRED",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalOSignableDocument2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSignableDocument(ctx context.Context, sel ast.SelectionSet, v *types.SignableDocument) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._SignableDocument(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOSnapshotOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐSnapshotOrderBy(ctx context.Context, v any) (*types.SnapshotOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputSnapshotOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOStateOfApplicabilityFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityFilter(ctx context.Context, v any) (*types.StateOfApplicabilityFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputStateOfApplicabilityFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOStateOfApplicabilityOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐStateOfApplicabilityOrderBy(ctx context.Context, v any) (*types.StateOfApplicabilityOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputStateOfApplicabilityOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOString2ᚕstringᚄ(ctx context.Context, v any) ([]string, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
var vSlice []any
|
|
vSlice = graphql.CoerceList(v)
|
|
var err error
|
|
res := make([]string, len(vSlice))
|
|
for i := range vSlice {
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
|
|
res[i], err = ec.unmarshalNString2string(ctx, vSlice[i])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
}
|
|
return res, nil
|
|
}
|
|
|
|
func (ec *executionContext) marshalOString2ᚕstringᚄ(ctx context.Context, sel ast.SelectionSet, v []string) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
ret := make(graphql.Array, len(v))
|
|
for i := range v {
|
|
ret[i] = ec.marshalNString2string(ctx, sel, v[i])
|
|
}
|
|
|
|
for _, e := range ret {
|
|
if e == graphql.Null {
|
|
return graphql.Null
|
|
}
|
|
}
|
|
|
|
return ret
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOString2ᚖstring(ctx context.Context, v any) (*string, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := graphql.UnmarshalString(v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOString2ᚖstring(ctx context.Context, sel ast.SelectionSet, v *string) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(*v)
|
|
return res
|
|
}
|
|
|
|
func (ec *executionContext) marshalOTask2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTask(ctx context.Context, sel ast.SelectionSet, v *types.Task) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._Task(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOTaskOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTaskOrderBy(ctx context.Context, v any) (*types.TaskOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputTaskOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOTaskState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskState(ctx context.Context, v any) (*coredata.TaskState, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOTaskState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskState[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOTaskState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskState(ctx context.Context, sel ast.SelectionSet, v *coredata.TaskState) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOTaskState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskState[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOTaskState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskState = map[string]coredata.TaskState{
|
|
"TODO": coredata.TaskStateTodo,
|
|
"DONE": coredata.TaskStateDone,
|
|
}
|
|
marshalOTaskState2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTaskState = map[coredata.TaskState]string{
|
|
coredata.TaskStateTodo: "TODO",
|
|
coredata.TaskStateDone: "DONE",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) marshalOTransferImpactAssessment2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessment(ctx context.Context, sel ast.SelectionSet, v *types.TransferImpactAssessment) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._TransferImpactAssessment(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOTransferImpactAssessmentFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessmentFilter(ctx context.Context, v any) (*types.TransferImpactAssessmentFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputTransferImpactAssessmentFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOTransferImpactAssessmentOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTransferImpactAssessmentOrderBy(ctx context.Context, v any) (*types.TransferImpactAssessmentOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputTransferImpactAssessmentOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOTrustCenter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenter(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenter) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._TrustCenter(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOTrustCenterAccessOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrderBy(ctx context.Context, v any) (*types.OrderBy[coredata.TrustCenterAccessOrderField], error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputTrustCenterAccessOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOTrustCenterDocumentAccessInput2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccessInputᚄ(ctx context.Context, v any) ([]*types.TrustCenterDocumentAccessInput, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
var vSlice []any
|
|
vSlice = graphql.CoerceList(v)
|
|
var err error
|
|
res := make([]*types.TrustCenterDocumentAccessInput, len(vSlice))
|
|
for i := range vSlice {
|
|
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
|
|
res[i], err = ec.unmarshalNTrustCenterDocumentAccessInput2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterDocumentAccessInput(ctx, vSlice[i])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
}
|
|
return res, nil
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOTrustCenterDocumentAccessOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrderBy(ctx context.Context, v any) (*types.OrderBy[coredata.TrustCenterDocumentAccessOrderField], error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputTrustCenterDocumentAccessOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOTrustCenterFile2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐTrustCenterFile(ctx context.Context, sel ast.SelectionSet, v *types.TrustCenterFile) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._TrustCenterFile(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOTrustCenterFileOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrderBy(ctx context.Context, v any) (*types.OrderBy[coredata.TrustCenterFileOrderField], error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputTrustCenterFileOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOTrustCenterReferenceOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐOrderBy(ctx context.Context, v any) (*types.OrderBy[coredata.TrustCenterReferenceOrderField], error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputTrustCenterReferenceOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOTrustCenterVisibility2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility(ctx context.Context, v any) (*coredata.TrustCenterVisibility, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOTrustCenterVisibility2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOTrustCenterVisibility2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility(ctx context.Context, sel ast.SelectionSet, v *coredata.TrustCenterVisibility) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOTrustCenterVisibility2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOTrustCenterVisibility2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility = map[string]coredata.TrustCenterVisibility{
|
|
"NONE": coredata.TrustCenterVisibilityNone,
|
|
"PRIVATE": coredata.TrustCenterVisibilityPrivate,
|
|
"PUBLIC": coredata.TrustCenterVisibilityPublic,
|
|
}
|
|
marshalOTrustCenterVisibility2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐTrustCenterVisibility = map[coredata.TrustCenterVisibility]string{
|
|
coredata.TrustCenterVisibilityNone: "NONE",
|
|
coredata.TrustCenterVisibilityPrivate: "PRIVATE",
|
|
coredata.TrustCenterVisibilityPublic: "PUBLIC",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx context.Context, v any) (*graphql.Upload, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := graphql.UnmarshalUpload(v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx context.Context, sel ast.SelectionSet, v *graphql.Upload) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalUpload(*v)
|
|
return res
|
|
}
|
|
|
|
func (ec *executionContext) marshalOVendorBusinessAssociateAgreement2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorBusinessAssociateAgreement(ctx context.Context, sel ast.SelectionSet, v *types.VendorBusinessAssociateAgreement) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._VendorBusinessAssociateAgreement(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOVendorCategory2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory(ctx context.Context, v any) (*coredata.VendorCategory, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
res := unmarshalOVendorCategory2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory[tmp]
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOVendorCategory2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory(ctx context.Context, sel ast.SelectionSet, v *coredata.VendorCategory) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
_ = sel
|
|
_ = ctx
|
|
res := graphql.MarshalString(marshalOVendorCategory2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory[*v])
|
|
return res
|
|
}
|
|
|
|
var (
|
|
unmarshalOVendorCategory2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory = map[string]coredata.VendorCategory{
|
|
"ANALYTICS": coredata.VendorCategoryAnalytics,
|
|
"CLOUD_MONITORING": coredata.VendorCategoryCloudMonitoring,
|
|
"CLOUD_PROVIDER": coredata.VendorCategoryCloudProvider,
|
|
"COLLABORATION": coredata.VendorCategoryCollaboration,
|
|
"CUSTOMER_SUPPORT": coredata.VendorCategoryCustomerSupport,
|
|
"DATA_STORAGE_AND_PROCESSING": coredata.VendorCategoryDataStorageAndProcessing,
|
|
"DOCUMENT_MANAGEMENT": coredata.VendorCategoryDocumentManagement,
|
|
"EMPLOYEE_MANAGEMENT": coredata.VendorCategoryEmployeeManagement,
|
|
"ENGINEERING": coredata.VendorCategoryEngineering,
|
|
"FINANCE": coredata.VendorCategoryFinance,
|
|
"IDENTITY_PROVIDER": coredata.VendorCategoryIdentityProvider,
|
|
"IT": coredata.VendorCategoryIT,
|
|
"MARKETING": coredata.VendorCategoryMarketing,
|
|
"OFFICE_OPERATIONS": coredata.VendorCategoryOfficeOperations,
|
|
"OTHER": coredata.VendorCategoryOther,
|
|
"PASSWORD_MANAGEMENT": coredata.VendorCategoryPasswordManagement,
|
|
"PRODUCT_AND_DESIGN": coredata.VendorCategoryProductAndDesign,
|
|
"PROFESSIONAL_SERVICES": coredata.VendorCategoryProfessionalServices,
|
|
"RECRUITING": coredata.VendorCategoryRecruiting,
|
|
"SALES": coredata.VendorCategorySales,
|
|
"SECURITY": coredata.VendorCategorySecurity,
|
|
"VERSION_CONTROL": coredata.VendorCategoryVersionControl,
|
|
}
|
|
marshalOVendorCategory2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐVendorCategory = map[coredata.VendorCategory]string{
|
|
coredata.VendorCategoryAnalytics: "ANALYTICS",
|
|
coredata.VendorCategoryCloudMonitoring: "CLOUD_MONITORING",
|
|
coredata.VendorCategoryCloudProvider: "CLOUD_PROVIDER",
|
|
coredata.VendorCategoryCollaboration: "COLLABORATION",
|
|
coredata.VendorCategoryCustomerSupport: "CUSTOMER_SUPPORT",
|
|
coredata.VendorCategoryDataStorageAndProcessing: "DATA_STORAGE_AND_PROCESSING",
|
|
coredata.VendorCategoryDocumentManagement: "DOCUMENT_MANAGEMENT",
|
|
coredata.VendorCategoryEmployeeManagement: "EMPLOYEE_MANAGEMENT",
|
|
coredata.VendorCategoryEngineering: "ENGINEERING",
|
|
coredata.VendorCategoryFinance: "FINANCE",
|
|
coredata.VendorCategoryIdentityProvider: "IDENTITY_PROVIDER",
|
|
coredata.VendorCategoryIT: "IT",
|
|
coredata.VendorCategoryMarketing: "MARKETING",
|
|
coredata.VendorCategoryOfficeOperations: "OFFICE_OPERATIONS",
|
|
coredata.VendorCategoryOther: "OTHER",
|
|
coredata.VendorCategoryPasswordManagement: "PASSWORD_MANAGEMENT",
|
|
coredata.VendorCategoryProductAndDesign: "PRODUCT_AND_DESIGN",
|
|
coredata.VendorCategoryProfessionalServices: "PROFESSIONAL_SERVICES",
|
|
coredata.VendorCategoryRecruiting: "RECRUITING",
|
|
coredata.VendorCategorySales: "SALES",
|
|
coredata.VendorCategorySecurity: "SECURITY",
|
|
coredata.VendorCategoryVersionControl: "VERSION_CONTROL",
|
|
}
|
|
)
|
|
|
|
func (ec *executionContext) unmarshalOVendorComplianceReportOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorComplianceReportOrderBy(ctx context.Context, v any) (*types.VendorComplianceReportOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputVendorComplianceReportOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOVendorContactOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorContactOrderBy(ctx context.Context, v any) (*types.VendorContactOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputVendorContactOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalOVendorDataPrivacyAgreement2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorDataPrivacyAgreement(ctx context.Context, sel ast.SelectionSet, v *types.VendorDataPrivacyAgreement) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec._VendorDataPrivacyAgreement(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOVendorFilter2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorFilter(ctx context.Context, v any) (*types.VendorFilter, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputVendorFilter(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOVendorOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorOrderBy(ctx context.Context, v any) (*types.VendorOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputVendorOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOVendorRiskAssessmentOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorRiskAssessmentOrder(ctx context.Context, v any) (*types.VendorRiskAssessmentOrder, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputVendorRiskAssessmentOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) unmarshalOVendorServiceOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐVendorServiceOrderBy(ctx context.Context, v any) (*types.VendorServiceOrderBy, error) {
|
|
if v == nil {
|
|
return nil, nil
|
|
}
|
|
res, err := ec.unmarshalInputVendorServiceOrder(ctx, v)
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
}
|
|
|
|
func (ec *executionContext) marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.EnumValue) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
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.marshalN__EnumValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValue(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) marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐFieldᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Field) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
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.marshalN__Field2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐField(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) marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
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.marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(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) marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx context.Context, sel ast.SelectionSet, v *introspection.Schema) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec.___Schema(ctx, sel, v)
|
|
}
|
|
|
|
func (ec *executionContext) marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Type) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
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.marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(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) marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v *introspection.Type) graphql.Marshaler {
|
|
if v == nil {
|
|
return graphql.Null
|
|
}
|
|
return ec.___Type(ctx, sel, v)
|
|
}
|
|
|
|
// endregion ***************************** type.gotpl *****************************
|