add PATCH update delivery status by id

This commit is contained in:
Egor Pozharov
2026-04-14 15:46:32 +06:00
parent d3cd92b9f3
commit b36a6fb262
5 changed files with 61 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ type Querier interface {
GetDeliveryByID(ctx context.Context, id pgtype.UUID) (Delivery, error)
GetDeliveryCount(ctx context.Context) ([]GetDeliveryCountRow, error)
UpdateDelivery(ctx context.Context, arg UpdateDeliveryParams) error
UpdateDeliveryStatus(ctx context.Context, arg UpdateDeliveryStatusParams) error
}
var _ Querier = (*Queries)(nil)