Documentation ¶
Index ¶
- type QueryResolver
- func (r *QueryResolver) Disconnect(ctx context.Context, socialAccountID uint64) (*models.SocialAccountPayload, error)
- func (r *QueryResolver) Get(ctx context.Context, id uint64) (*models.SocialAccountPayload, error)
- func (r *QueryResolver) List(ctx context.Context, filter *models.SocialAccountListFilter, ...) (...)
- func (r *QueryResolver) ListCurrent(ctx context.Context, filter *models.SocialAccountListFilter, ...) (*connectors.SocialAccountConnection, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryResolver ¶
type QueryResolver struct {
// contains filtered or unexported fields
}
QueryResolver for the social account
func NewQueryResolver ¶
func NewQueryResolver() *QueryResolver
NewQueryResolver creates a new instance of the QueryResolver
func (*QueryResolver) Disconnect ¶
func (r *QueryResolver) Disconnect(ctx context.Context, socialAccountID uint64) (*models.SocialAccountPayload, error)
Disconnect Social Account
func (*QueryResolver) Get ¶
func (r *QueryResolver) Get(ctx context.Context, id uint64) (*models.SocialAccountPayload, error)
Get Social Account by ID
func (*QueryResolver) List ¶
func (r *QueryResolver) List(ctx context.Context, filter *models.SocialAccountListFilter, order *models.SocialAccountListOrder, page *models.Page) (*connectors.CollectionConnection[models.SocialAccount, models.SocialAccountEdge], error)
List Social Accounts
func (*QueryResolver) ListCurrent ¶
func (r *QueryResolver) ListCurrent(ctx context.Context, filter *models.SocialAccountListFilter, order *models.SocialAccountListOrder) (*connectors.SocialAccountConnection, error)
Current Social Accounts list
Click to show internal directories.
Click to hide internal directories.