feat: persist candidate questionnaires and enforce company quotas
This commit is contained in:
1 parent
73c7caa225
commit
3a61a8e8bb
51 files changed
+6280
-38
No files matched your search
@@ -17,12 +17,14 @@ import (
|
||||
type Handler struct {
|
||||
api.UnimplementedHandler
|
||||
|
||||
health *HealthHandler
|
||||
identity *IdentityHandler
|
||||
consent *ConsentHandler
|
||||
profile *ProfileHandler
|
||||
organization *OrganizationHandler
|
||||
problems *problem.Responder
|
||||
health *HealthHandler
|
||||
identity *IdentityHandler
|
||||
consent *ConsentHandler
|
||||
profile *ProfileHandler
|
||||
questionnaire *QuestionnaireHandler
|
||||
catalog *CatalogHandler
|
||||
organization *OrganizationHandler
|
||||
problems *problem.Responder
|
||||
}
|
||||
|
||||
var _ api.Handler = (*Handler)(nil)
|
||||
@@ -45,6 +47,16 @@ func WithProfile(profile *ProfileHandler) HandlerOption {
|
||||
return func(handler *Handler) { handler.profile = profile }
|
||||
}
|
||||
|
||||
// WithQuestionnaire serves the candidate's questionnaire and self-assessment.
|
||||
func WithQuestionnaire(questionnaire *QuestionnaireHandler) HandlerOption {
|
||||
return func(handler *Handler) { handler.questionnaire = questionnaire }
|
||||
}
|
||||
|
||||
// WithCatalog serves the public specialization catalog and bank availability.
|
||||
func WithCatalog(catalog *CatalogHandler) HandlerOption {
|
||||
return func(handler *Handler) { handler.catalog = catalog }
|
||||
}
|
||||
|
||||
// WithOrganization serves company profiles and owner operations.
|
||||
func WithOrganization(organization *OrganizationHandler) HandlerOption {
|
||||
return func(handler *Handler) { handler.organization = organization }
|
||||
|
||||
Reference in new issue
Block a user