|
|
|
|
@@ -11069,17 +11069,6 @@ enum EvidenceState
|
|
|
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.EvidenceStateRequested")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
enum ProfileKind @goModel(model: "go.probo.inc/probo/pkg/coredata.MembershipProfileKind") {
|
|
|
|
|
EMPLOYEE
|
|
|
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.MembershipProfileKindEmployee")
|
|
|
|
|
CONTRACTOR
|
|
|
|
|
@goEnum(value: "go.probo.inc/probo/pkg/coredata.MembershipProfileKindContractor")
|
|
|
|
|
SERVICE_ACCOUNT
|
|
|
|
|
@goEnum(
|
|
|
|
|
value: "go.probo.inc/probo/pkg/coredata.MembershipProfileKindServiceAccount"
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
enum DocumentStatus
|
|
|
|
|
@goModel(model: "go.probo.inc/probo/pkg/coredata.DocumentStatus") {
|
|
|
|
|
DRAFT @goEnum(value: "go.probo.inc/probo/pkg/coredata.DocumentStatusDraft")
|
|
|
|
|
@@ -12943,7 +12932,7 @@ type Profile implements Node {
|
|
|
|
|
emailAddress: EmailAddr!
|
|
|
|
|
state: ProfileState!
|
|
|
|
|
additionalEmailAddresses: [EmailAddr!]!
|
|
|
|
|
kind: ProfileKind
|
|
|
|
|
kind: String
|
|
|
|
|
position: String
|
|
|
|
|
contractStartDate: Datetime
|
|
|
|
|
contractEndDate: Datetime
|
|
|
|
|
@@ -47428,7 +47417,7 @@ func (ec *executionContext) _Profile_kind(ctx context.Context, field graphql.Col
|
|
|
|
|
return obj.Kind, nil
|
|
|
|
|
},
|
|
|
|
|
nil,
|
|
|
|
|
ec.marshalOProfileKind2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMembershipProfileKind,
|
|
|
|
|
ec.marshalOString2ᚖstring,
|
|
|
|
|
true,
|
|
|
|
|
false,
|
|
|
|
|
)
|
|
|
|
|
@@ -47441,7 +47430,7 @@ func (ec *executionContext) fieldContext_Profile_kind(_ context.Context, field g
|
|
|
|
|
IsMethod: false,
|
|
|
|
|
IsResolver: false,
|
|
|
|
|
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
|
|
|
|
|
return nil, errors.New("field of type ProfileKind does not have child fields")
|
|
|
|
|
return nil, errors.New("field of type String does not have child fields")
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
return fc, nil
|
|
|
|
|
@@ -105089,37 +105078,6 @@ func (ec *executionContext) unmarshalOProfileFilter2ᚖgoᚗproboᚗincᚋprobo
|
|
|
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (ec *executionContext) unmarshalOProfileKind2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMembershipProfileKind(ctx context.Context, v any) (*coredata.MembershipProfileKind, error) {
|
|
|
|
|
if v == nil {
|
|
|
|
|
return nil, nil
|
|
|
|
|
}
|
|
|
|
|
tmp, err := graphql.UnmarshalString(v)
|
|
|
|
|
res := unmarshalOProfileKind2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMembershipProfileKind[tmp]
|
|
|
|
|
return &res, graphql.ErrorOnPath(ctx, err)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (ec *executionContext) marshalOProfileKind2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMembershipProfileKind(ctx context.Context, sel ast.SelectionSet, v *coredata.MembershipProfileKind) graphql.Marshaler {
|
|
|
|
|
if v == nil {
|
|
|
|
|
return graphql.Null
|
|
|
|
|
}
|
|
|
|
|
_ = sel
|
|
|
|
|
_ = ctx
|
|
|
|
|
res := graphql.MarshalString(marshalOProfileKind2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMembershipProfileKind[*v])
|
|
|
|
|
return res
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
unmarshalOProfileKind2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMembershipProfileKind = map[string]coredata.MembershipProfileKind{
|
|
|
|
|
"EMPLOYEE": coredata.MembershipProfileKindEmployee,
|
|
|
|
|
"CONTRACTOR": coredata.MembershipProfileKindContractor,
|
|
|
|
|
"SERVICE_ACCOUNT": coredata.MembershipProfileKindServiceAccount,
|
|
|
|
|
}
|
|
|
|
|
marshalOProfileKind2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMembershipProfileKind = map[coredata.MembershipProfileKind]string{
|
|
|
|
|
coredata.MembershipProfileKindEmployee: "EMPLOYEE",
|
|
|
|
|
coredata.MembershipProfileKindContractor: "CONTRACTOR",
|
|
|
|
|
coredata.MembershipProfileKindServiceAccount: "SERVICE_ACCOUNT",
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func (ec *executionContext) unmarshalOProfileOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconsoleᚋv1ᚋtypesᚐProfileOrderBy(ctx context.Context, v any) (*types.ProfileOrderBy, error) {
|
|
|
|
|
if v == nil {
|
|
|
|
|
|