query

package
v0.0.0-...-9d06c01 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminListBusinessHandlerConfig

type AdminListBusinessHandlerConfig struct {
	Repo     business.Repository
	Factory  business.Factory
	CqrsBase decorator.Base
}

type AdminListBusinessQuery

type AdminListBusinessQuery struct {
	Offset int64
	Limit  int64
}

type AdminListBusinessResult

type AdminListBusinessResult struct {
	List *list.Result[*business.AdminListDto]
}

type AdminViewBusinessHandlerConfig

type AdminViewBusinessHandlerConfig struct {
	Repo     business.Repository
	Factory  business.Factory
	CqrsBase decorator.Base
}

type AdminViewBusinessQuery

type AdminViewBusinessQuery struct {
	NickName string
}

type AdminViewBusinessResult

type AdminViewBusinessResult struct {
	Business *business.Entity
}

type GetWithUserBusinessHandlerConfig

type GetWithUserBusinessHandlerConfig struct {
	Repo     business.Repository
	Factory  business.Factory
	CqrsBase decorator.Base
}

type GetWithUserBusinessQuery

type GetWithUserBusinessQuery struct {
	NickName string
	UserName string
	UserUUID string
}

type GetWithUserBusinessResult

type GetWithUserBusinessResult struct {
	Business *business.EntityWithUser
}

type InviteGetByBusinessUUIDHandlerConfig

type InviteGetByBusinessUUIDHandlerConfig struct {
	Repo     invite.Repository
	Factory  invite.Factory
	CqrsBase decorator.Base
}

type InviteGetByBusinessUUIDQuery

type InviteGetByBusinessUUIDQuery struct {
	BusinessUUID string
}

type InviteGetByBusinessUUIDResult

type InviteGetByBusinessUUIDResult struct {
	Invites []*invite.Entity
}

type InviteGetByEmailHandlerConfig

type InviteGetByEmailHandlerConfig struct {
	Repo     invite.Repository
	Factory  invite.Factory
	CqrsBase decorator.Base
}

type InviteGetByEmailQuery

type InviteGetByEmailQuery struct {
	UserEmail string
}

type InviteGetByEmailResult

type InviteGetByEmailResult struct {
	Invites []*invite.Entity
}

type InviteGetByUUIDHandlerConfig

type InviteGetByUUIDHandlerConfig struct {
	Repo     invite.Repository
	Factory  invite.Factory
	CqrsBase decorator.Base
}

type InviteGetByUUIDQuery

type InviteGetByUUIDQuery struct {
	UUID string
}

type InviteGetByUUIDResult

type InviteGetByUUIDResult struct {
	Invite *invite.Entity
}

type ListAsClaimHandlerConfig

type ListAsClaimHandlerConfig struct {
	Repo     business.Repository
	Factory  business.Factory
	CqrsBase decorator.Base
}

type ListAsClaimQuery

type ListAsClaimQuery struct {
	UserUUID string
}

type ListAsClaimResult

type ListAsClaimResult struct {
	Businesses []*business.Entity
}

type ListMyBusinessUserType

type ListMyBusinessUserType struct {
	Name       string    `json:"name"`
	FullName   string    `json:"fullName"`
	AvatarURL  string    `json:"avatarUrl"`
	Roles      []string  `json:"roles"`
	IsVerified bool      `json:"isVerified"`
	IsCurrent  bool      `json:"isCurrent"`
	JoinAt     time.Time `json:"joinAt"`
	BirthDate  time.Time `json:"birthDate"`
	CreatedAt  time.Time `json:"createdAt"`
}

type ListMyBusinessUsersQuery

type ListMyBusinessUsersQuery struct {
	NickName string
	UserName string
}

type ListMyBusinessUsersQueryHandlerConfig

type ListMyBusinessUsersQueryHandlerConfig struct {
	BusinessRepo    business.Repository
	BusinessFactory business.Factory
	CqrsBase        decorator.Base
	Rpc             config.Rpc
}

type ListMyBusinessUsersResult

type ListMyBusinessUsersResult struct {
	Users []ListMyBusinessUserType
}

type ListMyBusinessesHandlerConfig

type ListMyBusinessesHandlerConfig struct {
	Repo     business.Repository
	Factory  business.Factory
	CqrsBase decorator.Base
}

type ListMyBusinessesQuery

type ListMyBusinessesQuery struct {
	UserName string
	UserUUID string
}

type ListMyBusinessesResult

type ListMyBusinessesResult struct {
	Businesses []*business.Entity
}

type ViewBusinessHandlerConfig

type ViewBusinessHandlerConfig struct {
	Repo     business.Repository
	Factory  business.Factory
	CqrsBase decorator.Base
}

type ViewBusinessQuery

type ViewBusinessQuery struct {
	NickName string
}

type ViewBusinessResult

type ViewBusinessResult struct {
	Business *business.Entity
}

Jump to

Keyboard shortcuts

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