add GET delivery count route

This commit is contained in:
Egor Pozharov
2026-04-14 15:38:45 +06:00
parent fc46fb372f
commit 10233808f4
5 changed files with 46 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ type Querier interface {
DeleteDelivery(ctx context.Context, id pgtype.UUID) error
GetDeliveriesByDate(ctx context.Context, date pgtype.Date) ([]Delivery, error)
GetDeliveryByID(ctx context.Context, id pgtype.UUID) (Delivery, error)
GetDeliveryCount(ctx context.Context) ([]GetDeliveryCountRow, error)
UpdateDelivery(ctx context.Context, arg UpdateDeliveryParams) error
}