-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIUnitOfWork.cs
More file actions
44 lines (42 loc) · 2.12 KB
/
IUnitOfWork.cs
File metadata and controls
44 lines (42 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
namespace Taskdeck.Application.Interfaces;
public interface IUnitOfWork
{
IBoardRepository Boards { get; }
IColumnRepository Columns { get; }
ICardRepository Cards { get; }
ICardCommentRepository CardComments { get; }
ILabelRepository Labels { get; }
IUserRepository Users { get; }
IBoardAccessRepository BoardAccesses { get; }
IAuditLogRepository AuditLogs { get; }
ILlmQueueRepository LlmQueue { get; }
IAutomationProposalRepository AutomationProposals { get; }
IArchiveItemRepository ArchiveItems { get; }
IChatSessionRepository ChatSessions { get; }
IChatMessageRepository ChatMessages { get; }
ICommandRunRepository CommandRuns { get; }
INotificationRepository Notifications { get; }
INotificationPreferenceRepository NotificationPreferences { get; }
IUserPreferenceRepository UserPreferences { get; }
IOutboundWebhookSubscriptionRepository OutboundWebhookSubscriptions { get; }
IOutboundWebhookDeliveryRepository OutboundWebhookDeliveries { get; }
ILlmUsageRecordRepository LlmUsageRecords { get; }
IAgentProfileRepository AgentProfiles { get; }
IAgentRunRepository AgentRuns { get; }
IKnowledgeDocumentRepository KnowledgeDocuments { get; }
IKnowledgeChunkRepository KnowledgeChunks { get; }
IExternalLoginRepository ExternalLogins { get; }
IOAuthAuthCodeRepository OAuthAuthCodes { get; }
IApiKeyRepository ApiKeys { get; }
IMfaCredentialRepository MfaCredentials { get; }
IIntegrationConnectorRepository IntegrationConnectors { get; }
IConnectorEventRepository ConnectorEvents { get; }
IConnectorCredentialRepository ConnectorCredentials { get; }
IProposalRevisionRepository ProposalRevisions { get; }
IDailySnapshotRepository DailySnapshots { get; }
ITomorrowNoteRepository TomorrowNotes { get; }
Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
Task BeginTransactionAsync(CancellationToken cancellationToken = default);
Task CommitTransactionAsync(CancellationToken cancellationToken = default);
Task RollbackTransactionAsync(CancellationToken cancellationToken = default);
}