query

package
v0.0.0-...-acda5ee Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CountPostPerStatus

type CountPostPerStatus struct {
	Result map[enum.PostStatus]int
}

type CountUnreadNotifications

type CountUnreadNotifications struct {
	Result int
}

type CountUsers

type CountUsers struct {
	Result int
}

type CreateEditWebhook

type CreateEditWebhook struct {
	ID          int
	Name        string
	Type        enum.WebhookType
	Status      enum.WebhookStatus
	Url         string
	Content     string
	HttpMethod  string
	HttpHeaders entity.HttpHeaders

	Result int
}

type DeleteWebhook

type DeleteWebhook struct {
	ID int
}

type FetchRecentSupressions

type FetchRecentSupressions struct {
	StartTime time.Time

	//Output
	EmailAddresses []string
}

type GetActiveNotifications

type GetActiveNotifications struct {
	Result []*entity.Notification
}

type GetActiveSubscribers

type GetActiveSubscribers struct {
	Number  int
	Channel enum.NotificationChannel
	Event   enum.NotificationEvent

	Result []*entity.User
}

type GetAllPosts

type GetAllPosts struct {
	Result []*entity.Post
}

type GetAllTags

type GetAllTags struct {
	Result []*entity.Tag
}

type GetAllUsers

type GetAllUsers struct {
	Result []*entity.User
}

type GetAssignedTags

type GetAssignedTags struct {
	Post *entity.Post

	Result []*entity.Tag
}

type GetAttachments

type GetAttachments struct {
	Post    *entity.Post
	Comment *entity.Comment

	Result []string
}

type GetBillingState

type GetBillingState struct {
	// Output
	Result *entity.BillingState
}

type GetBillingSubscription

type GetBillingSubscription struct {
	SubscriptionID string

	// Output
	Result *entity.BillingSubscription
}

type GetBlobByKey

type GetBlobByKey struct {
	Key string

	Result *dto.Blob
}

type GetCommentByID

type GetCommentByID struct {
	CommentID int

	Result *entity.Comment
}

type GetCommentsByPost

type GetCommentsByPost struct {
	Post *entity.Post

	Result []*entity.Comment
}

type GetCurrentUserSettings

type GetCurrentUserSettings struct {
	Result map[string]string
}

type GetCustomOAuthConfigByProvider

type GetCustomOAuthConfigByProvider struct {
	Provider string

	Result *entity.OAuthConfig
}

type GetFirstTenant

type GetFirstTenant struct {

	// Output
	Result *entity.Tenant
}

type GetGitHubRepositories

type GetGitHubRepositories struct {
	Result []*dto.GitHubRepositoriesOption
}

type GetNotificationByID

type GetNotificationByID struct {
	ID     int
	Result *entity.Notification
}

type GetOAuthAuthorizationURL

type GetOAuthAuthorizationURL struct {
	Provider   string
	Redirect   string
	Identifier string

	Result string
}

type GetOAuthProfile

type GetOAuthProfile struct {
	Provider string
	Code     string

	Result *dto.OAuthUserProfile
}

type GetOAuthRawProfile

type GetOAuthRawProfile struct {
	Provider string
	Code     string

	Result string
}

type GetPostByID

type GetPostByID struct {
	PostID int

	Result *entity.Post
}

type GetPostByNumber

type GetPostByNumber struct {
	Number int

	Result *entity.Post
}

type GetPostBySlug

type GetPostBySlug struct {
	Slug string

	Result *entity.Post
}

type GetPostIssueID

type GetPostIssueID struct {
	PostID int

	Result *entity.Post
}

type GetSystemSettings

type GetSystemSettings struct {
	Key string

	// Output
	Value string
}

type GetTagBySlug

type GetTagBySlug struct {
	Slug string

	Result *entity.Tag
}

type GetTenantByDomain

type GetTenantByDomain struct {
	Domain string

	// Output
	Result *entity.Tenant
}

type GetTrialingTenantContacts

type GetTrialingTenantContacts struct {
	TrialExpiresOn time.Time

	// Output
	Contacts []*entity.User
}

type GetUserByAPIKey

type GetUserByAPIKey struct {
	APIKey string

	Result *entity.User
}

type GetUserByEmail

type GetUserByEmail struct {
	Email string

	Result *entity.User
}

type GetUserByID

type GetUserByID struct {
	UserID int

	Result *entity.User
}

type GetUserByProvider

type GetUserByProvider struct {
	Provider string
	UID      string

	Result *entity.User
}

type GetVerificationByKey

type GetVerificationByKey struct {
	Kind enum.EmailVerificationKind
	Key  string

	// Output
	Result *entity.EmailVerification
}

type GetWebhook

type GetWebhook struct {
	ID int

	Result *entity.Webhook
}

type IsCNAMEAvailable

type IsCNAMEAvailable struct {
	CNAME string

	// Output
	Result bool
}

type IsSubdomainAvailable

type IsSubdomainAvailable struct {
	Subdomain string

	// Output
	Result bool
}

type ListActiveOAuthProviders

type ListActiveOAuthProviders struct {
	Result []*dto.OAuthProviderOption
}

type ListActiveWebhooksByType

type ListActiveWebhooksByType struct {
	Type enum.WebhookType

	Result []*entity.Webhook
}

type ListAllOAuthProviders

type ListAllOAuthProviders struct {
	Result []*dto.OAuthProviderOption
}

type ListAllWebhooks

type ListAllWebhooks struct {
	Result []*entity.Webhook
}

type ListAllWebhooksByType

type ListAllWebhooksByType struct {
	Type string

	Result []*entity.Webhook
}

type ListBlobs

type ListBlobs struct {
	Prefix string

	Result []string
}

type ListCustomOAuthConfig

type ListCustomOAuthConfig struct {
	Result []*entity.OAuthConfig
}

type ListGitHubConfigByID

type ListGitHubConfigByID struct {
	ID int

	Result *entity.GitHubConfig
}

type ListGitHubStatus

type ListGitHubStatus struct {
	Result []*dto.GitHubStatusOption
}

type ListPostVotes

type ListPostVotes struct {
	PostID       int
	Limit        int
	IncludeEmail bool

	Result []*entity.Vote
}

type MarkWebhookAsFailed

type MarkWebhookAsFailed struct {
	ID int
}

type PostIsReferenced

type PostIsReferenced struct {
	PostID int

	Result bool
}

type SearchPosts

type SearchPosts struct {
	Query string
	View  string
	Limit string
	Tags  []string

	Result []*entity.Post
}

type UserSubscribedTo

type UserSubscribedTo struct {
	PostID int

	Result bool
}

Jump to

Keyboard shortcuts

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