schema

package
v0.0.0-...-5feaf8d Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	ent.Schema
}

Check for workflow.

https://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (Check) Fields

func (Check) Fields() []ent.Field

func (Check) Indexes

func (Check) Indexes() []ent.Index

type GPTDialog

type GPTDialog struct {
	ent.Schema
}

func (GPTDialog) Edges

func (GPTDialog) Edges() []ent.Edge

func (GPTDialog) Fields

func (GPTDialog) Fields() []ent.Field

func (GPTDialog) Indexes

func (GPTDialog) Indexes() []ent.Index

type GitCommit

type GitCommit struct {
	ent.Schema
}

func (GitCommit) Edges

func (GitCommit) Edges() []ent.Edge

func (GitCommit) Fields

func (GitCommit) Fields() []ent.Field

Fields of the GitCommit.

type LastChannelMessage

type LastChannelMessage struct {
	ent.Schema
}

LastChannelMessage holds the last message ID of Telegram channel.

We use it to compute how many messages were sent between PR event notification and last messsage, since Telegram does not allow to bots to query messages in a channel.

The number of messages is used to find out if old event notification is out of context and we should send a new message for a new event instead of editing.

func (LastChannelMessage) Edges

func (LastChannelMessage) Edges() []ent.Edge

func (LastChannelMessage) Fields

func (LastChannelMessage) Fields() []ent.Field

type Organization

type Organization struct {
	ent.Schema
}

func (Organization) Edges

func (Organization) Edges() []ent.Edge

func (Organization) Fields

func (Organization) Fields() []ent.Field

type PRNotification

type PRNotification struct {
	ent.Schema
}

func (PRNotification) Edges

func (PRNotification) Edges() []ent.Edge

func (PRNotification) Fields

func (PRNotification) Fields() []ent.Field

func (PRNotification) Indexes

func (PRNotification) Indexes() []ent.Index

type Repository

type Repository struct {
	ent.Schema
}

func (Repository) Edges

func (Repository) Edges() []ent.Edge

func (Repository) Fields

func (Repository) Fields() []ent.Field

func (Repository) Indexes

func (Repository) Indexes() []ent.Index

type TelegramChannelState

type TelegramChannelState struct {
	ent.Schema
}

func (TelegramChannelState) Edges

func (TelegramChannelState) Edges() []ent.Edge

func (TelegramChannelState) Fields

func (TelegramChannelState) Fields() []ent.Field

func (TelegramChannelState) Indexes

func (TelegramChannelState) Indexes() []ent.Index

type TelegramSession

type TelegramSession struct {
	ent.Schema
}

func (TelegramSession) Edges

func (TelegramSession) Edges() []ent.Edge

func (TelegramSession) Fields

func (TelegramSession) Fields() []ent.Field

type TelegramUserState

type TelegramUserState struct {
	ent.Schema
}

func (TelegramUserState) Edges

func (TelegramUserState) Edges() []ent.Edge

func (TelegramUserState) Fields

func (TelegramUserState) Fields() []ent.Field

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Edges

func (User) Edges() []ent.Edge

Edges of the User.

func (User) Fields

func (User) Fields() []ent.Field

Fields of the User.

Jump to

Keyboard shortcuts

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