query

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: AGPL-3.0 Imports: 4 Imported by: 22

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 added in v0.20.0

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 added in v0.20.0

type DeleteWebhook struct {
	ID int
}

type FetchRecentSupressions added in v0.20.0

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 added in v0.20.0

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

type GetBillingSubscription added in v0.20.0

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 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 GetSystemSettings added in v0.20.0

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 added in v0.20.0

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 added in v0.20.0

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 added in v0.20.0

type ListActiveWebhooksByType struct {
	Type enum.WebhookType

	Result []*entity.Webhook
}

type ListAllOAuthProviders

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

type ListAllWebhooks added in v0.20.0

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

type ListAllWebhooksByType added in v0.20.0

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 ListPostVotes

type ListPostVotes struct {
	PostID       int
	Limit        int
	IncludeEmail bool

	Result []*entity.Vote
}

type MarkWebhookAsFailed added in v0.20.0

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