34 lines
1.1 KiB
Go
34 lines
1.1 KiB
Go
// Code generated by concurry DO NOT EDIT.
|
|
// https://github.com/angelbeltran/concurry
|
|
// concurry
|
|
package reports
|
|
|
|
import (
|
|
"context"
|
|
"ruben/inventory2/domains/accounts"
|
|
)
|
|
|
|
type StoreWithContext struct {
|
|
ctx context.Context
|
|
*Store
|
|
}
|
|
|
|
func NewStoreWithContext(ctx context.Context, v *Store) *StoreWithContext {
|
|
return &StoreWithContext{
|
|
ctx: ctx,
|
|
Store: v,
|
|
}
|
|
}
|
|
|
|
func (v_ctx *StoreWithContext) GetRawShopEvents(acctID int64, platform accounts.Platform, shopID string) ([]RawShopEvent, error) {
|
|
return v_ctx.Store.GetRawShopEvents(v_ctx.ctx, acctID, platform, shopID)
|
|
}
|
|
|
|
func (v_ctx *StoreWithContext) GetListingCountsReport(acctID int64, platform accounts.Platform, shopID string, listingID string) (*ListingCountsOverTimeReport, error) {
|
|
return v_ctx.Store.GetListingCountsReport(v_ctx.ctx, acctID, platform, shopID, listingID)
|
|
}
|
|
|
|
func (v_ctx *StoreWithContext) GetListingCountsOverTime(acctID int64, platform accounts.Platform, shopID string, listingID string) ([]ListingCountAtTime, error) {
|
|
return v_ctx.Store.GetListingCountsOverTime(v_ctx.ctx, acctID, platform, shopID, listingID)
|
|
}
|