feat: add assessment, privacy and support flows

This commit is contained in:
TakuyaYagam1 committed 2026-10-08 08:08:25 +03:00
1 parent ee3738ee73
commit e4f24fa202
339 files changed
+56454 -1126

No files matched your search

@@ -0,0 +1,21 @@
package outbound
import (
"context"
"errors"
"github.com/google/uuid"
"lincodex/backend/internal/domain"
)
var ErrPrivacyCohortUnavailable = errors.New("anonymous candidate cohort unavailable")
// PrivacyCohortRepository reads the candidates eligible for one
// organization-scoped anonymous projection. The caller must first authorize
// an active organization membership. The adapter must select from
// candidate_effective_publications and exclude the reading organization's
// hidden candidates in the same SQL statement.
type PrivacyCohortRepository interface {
ListVisibleCandidateViewSources(ctx context.Context, organizationID uuid.UUID) ([]domain.CandidateViewSource, error)
}