domain

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commit

type Commit struct {
	ID          string
	AuthorName  string
	AuthorEmail string
	CreatedAt   time.Time
	Message     string
	WebURL      string
}

type Event

type Event struct {
	ID           int
	Action       string
	TargetType   string
	TargetTitle  string
	TargetID     int
	ProjectID    int
	ProjectPath  string
	CreatedAt    time.Time
	WebURL       string
	PushRef      string
	PushAction   string
	CommitCount  int
	CommitTitle  string
	NoteBody     string
	NoteableType string // Type of item the note is on (MergeRequest, Issue, etc.)
}

type MergeRequest

type MergeRequest struct {
	ID           int
	IID          int
	Title        string
	Description  string
	WebURL       string
	Author       *User
	Assignee     *User
	Reviewers    []*User
	CreatedAt    time.Time
	UpdatedAt    time.Time
	ProjectID    int
	Draft        bool
	SourceBranch string
}

type MergeRequestWithStatus

type MergeRequestWithStatus struct {
	*MergeRequest
	Approvals        []*User
	ApprovalCount    int
	IsStalled        bool
	IsCurrentBranch  bool
	IsCurrentProject bool
}

type Project

type Project struct {
	ID   int
	Path string
}

type User

type User struct {
	ID       int
	Username string
	Email    string
	Status   UserStatus
}

type UserStatus

type UserStatus struct {
	Message      string
	Availability string
}

type UserWorkload

type UserWorkload struct {
	User      *User
	MRCount   int
	Commits   int
	ActiveMRs []*MergeRequest
}

Jump to

Keyboard shortcuts

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