Files
sendico/api/ledger/storage/repository.go
Stephan D 62a6631b9a
All checks were successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/nats Pipeline was successful
service backend
2025-11-07 18:35:26 +01:00

15 lines
405 B
Go

package storage
import "context"
// Repository defines the main storage interface for ledger operations.
// It follows the fx/storage pattern with separate store interfaces for each collection.
type Repository interface {
Ping(ctx context.Context) error
Accounts() AccountsStore
JournalEntries() JournalEntriesStore
PostingLines() PostingLinesStore
Balances() BalancesStore
Outbox() OutboxStore
}