controller

package
v0.0.0-...-53e80a7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobHistoryController

type JobHistoryController interface {
	JobHistory(ctx context.Context, filterBy string) (*JobHistoryResponseIDO, error)
}

type JobHistoryControllerImpl

type JobHistoryControllerImpl struct {
	Config                 *config.Conf
	Logger                 *slog.Logger
	UUID                   uuid.Provider
	JWT                    jwt.Provider
	Password               password.Provider
	Cache                  mongodbcache.Cacher
	TemplatedEmailer       templatedemailer.TemplatedEmailer
	UserStorer             user_s.UserStorer
	TenantStorer           tenant_s.TenantStorer
	CustomerStorer         customer_s.CustomerStorer
	AssociateStorer        associate_s.AssociateStorer
	AssociateAwayLogStorer away_s.AssociateAwayLogStorer
	OrderStorer            o_s.OrderStorer
	TaskItemStorer         taskitem_s.TaskItemStorer
	BulletinStorer         b_s.BulletinStorer
	CommentStorer          comm_s.CommentStorer
}

func (*JobHistoryControllerImpl) JobHistory

func (impl *JobHistoryControllerImpl) JobHistory(ctx context.Context, filterBy string) (*JobHistoryResponseIDO, error)

type JobHistoryResponseIDO

type JobHistoryResponseIDO struct {
	UserJobHistory []*o_s.OrderLite `json:"user_job_history"`
	TeamJobHistory []*o_s.OrderLite `json:"team_job_history"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL