feat: add assessment, privacy and support flows
This commit is contained in:
1 parent
ee3738ee73
commit
e4f24fa202
339 files changed
+56454
-1126
No files matched your search
@@ -45,6 +45,13 @@ type Transactor interface {
|
||||
WithinTransaction(ctx context.Context, fn func(ctx context.Context, unit UnitOfWork) error) error
|
||||
}
|
||||
|
||||
// ReadOnlySnapshotTransactor runs one read operation against a consistent,
|
||||
// read-only database snapshot. It is separate from Transactor so write
|
||||
// usecases and their implementations do not silently change isolation.
|
||||
type ReadOnlySnapshotTransactor interface {
|
||||
WithinReadOnlySnapshot(ctx context.Context, fn func(ctx context.Context, unit UnitOfWork) error) error
|
||||
}
|
||||
|
||||
// UnitOfWork exposes repositories bound to one transaction. Product
|
||||
// repositories are added here as their usecases appear.
|
||||
type UnitOfWork interface {
|
||||
@@ -52,12 +59,18 @@ type UnitOfWork interface {
|
||||
ConsentRepositories
|
||||
CandidateProfileRepositories
|
||||
CandidateQuestionnaireRepositories
|
||||
PrivacyCohort() PrivacyCohortRepository
|
||||
PrivacyView() PrivacyViewRepository
|
||||
PrivacySettings() PrivacySettingsRepository
|
||||
AccountDeletionRequests() AccountDeletionRequests
|
||||
ConsentRevocationEffects() ConsentRevocationEffects
|
||||
OrganizationRepositories
|
||||
NeedRepositories
|
||||
CompanyQuotas() CompanyQuotaRepository
|
||||
AssessmentBankRepositories
|
||||
AssessmentAttemptRepositories
|
||||
AssessmentSignalRepositories
|
||||
SupportCaseRepositories
|
||||
Policies() PolicyRepository
|
||||
Deliveries() DeliveryRepository
|
||||
MailRequests() MailRequestRepository
|
||||
|
||||
Reference in new issue
Block a user