Documentation
¶
Index ¶
- type Activities
- type CacheDemoTwoWorkItems
- type CacheDemoWorkItems
- type DemoTwoWorkItems
- type DemoWorkItems
- type EntityNotifications
- type KanbanSteps
- type Movies
- type NotificationType
- type Notifications
- type Projects
- type Teams
- type TimeEntries
- type UserAPIKeys
- type UserNotifications
- type UserProject
- type UserTeam
- type Users
- type WorkItemAssignee
- type WorkItemComments
- type WorkItemRole
- type WorkItemTags
- type WorkItemTypes
- type WorkItemWorkItemTag
- type WorkItems
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activities ¶
type CacheDemoTwoWorkItems ¶
type CacheDemoTwoWorkItems struct {
CustomDateForProject2 *time.Time `db:"custom_date_for_project_2"`
WorkItemID int64 `sql:"primary_key" db:"work_item_id"`
Title string `db:"title"`
Description string `db:"description"`
WorkItemTypeID int32 `db:"work_item_type_id"`
Metadata string `db:"metadata"`
TeamID int32 `db:"team_id"`
KanbanStepID int32 `db:"kanban_step_id"`
ClosedAt *time.Time `db:"closed_at"`
TargetDate time.Time `db:"target_date"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
DeletedAt *time.Time `db:"deleted_at"`
}
type CacheDemoWorkItems ¶
type CacheDemoWorkItems struct {
Ref string `db:"ref"`
Line string `db:"line"`
LastMessageAt time.Time `db:"last_message_at"`
Reopened bool `db:"reopened"`
WorkItemID int64 `sql:"primary_key" db:"work_item_id"`
Title string `db:"title"`
Description string `db:"description"`
WorkItemTypeID int32 `db:"work_item_type_id"`
Metadata string `db:"metadata"`
TeamID int32 `db:"team_id"`
KanbanStepID int32 `db:"kanban_step_id"`
ClosedAt *time.Time `db:"closed_at"`
TargetDate time.Time `db:"target_date"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
DeletedAt *time.Time `db:"deleted_at"`
}
type DemoTwoWorkItems ¶
type DemoWorkItems ¶
type EntityNotifications ¶
type KanbanSteps ¶
type NotificationType ¶
type NotificationType string
const ( NotificationType_Personal NotificationType = "personal" NotificationType_Global NotificationType = "global" )
func (*NotificationType) Scan ¶
func (e *NotificationType) Scan(value interface{}) error
func (NotificationType) String ¶
func (e NotificationType) String() string
type Notifications ¶
type Notifications struct {
NotificationID int32 `sql:"primary_key" db:"notification_id"`
ReceiverRank *int16 `db:"receiver_rank"`
Title string `db:"title"`
Body string `db:"body"`
Labels string `db:"labels"`
Link *string `db:"link"`
CreatedAt time.Time `db:"created_at"`
Sender uuid.UUID `db:"sender"`
Receiver *uuid.UUID `db:"receiver"`
NotificationType NotificationType `db:"notification_type"`
}
type Projects ¶
type Projects struct {
ProjectID int32 `sql:"primary_key" db:"project_id"`
Name string `db:"name"`
Description string `db:"description"`
WorkItemsTableName string `db:"work_items_table_name"`
BoardConfig string `db:"board_config"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
}
type TimeEntries ¶
type TimeEntries struct {
TimeEntryID int64 `sql:"primary_key" db:"time_entry_id"`
WorkItemID *int64 `db:"work_item_id"`
ActivityID int32 `db:"activity_id"`
TeamID *int32 `db:"team_id"`
UserID uuid.UUID `db:"user_id"`
Comment string `db:"comment"`
Start time.Time `db:"start"`
DurationMinutes *int32 `db:"duration_minutes"`
}
type UserAPIKeys ¶
type UserNotifications ¶
type UserProject ¶
type Users ¶
type Users struct {
UserID uuid.UUID `sql:"primary_key" db:"user_id"`
Username string `db:"username"`
Email string `db:"email"`
Age *int32 `db:"age"`
FirstName *string `db:"first_name"`
LastName *string `db:"last_name"`
FullName *string `db:"full_name"`
ExternalID string `db:"external_id"`
APIKeyID *int32 `db:"api_key_id"`
Scopes string `db:"scopes"`
RoleRank int16 `db:"role_rank"`
HasPersonalNotifications bool `db:"has_personal_notifications"`
HasGlobalNotifications bool `db:"has_global_notifications"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
DeletedAt *time.Time `db:"deleted_at"`
}
type WorkItemAssignee ¶
type WorkItemAssignee struct {
WorkItemID int64 `sql:"primary_key" db:"work_item_id"`
Assignee uuid.UUID `sql:"primary_key" db:"assignee"`
Role WorkItemRole `db:"role"`
}
type WorkItemComments ¶
type WorkItemRole ¶
type WorkItemRole string
const ( WorkItemRole_Preparer WorkItemRole = "preparer" WorkItemRole_Reviewer WorkItemRole = "reviewer" )
func (*WorkItemRole) Scan ¶
func (e *WorkItemRole) Scan(value interface{}) error
func (WorkItemRole) String ¶
func (e WorkItemRole) String() string
type WorkItemTags ¶
type WorkItemTypes ¶
type WorkItemWorkItemTag ¶
type WorkItems ¶
type WorkItems struct {
WorkItemID int64 `sql:"primary_key" db:"work_item_id"`
Title string `db:"title"`
Description string `db:"description"`
WorkItemTypeID int32 `db:"work_item_type_id"`
Metadata string `db:"metadata"`
TeamID int32 `db:"team_id"`
KanbanStepID int32 `db:"kanban_step_id"`
ClosedAt *time.Time `db:"closed_at"`
TargetDate time.Time `db:"target_date"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
DeletedAt *time.Time `db:"deleted_at"`
}
Source Files
¶
- activities.go
- cache__demo_two_work_items.go
- cache__demo_work_items.go
- demo_two_work_items.go
- demo_work_items.go
- entity_notifications.go
- kanban_steps.go
- movies.go
- notification_type.go
- notifications.go
- projects.go
- teams.go
- time_entries.go
- user_api_keys.go
- user_notifications.go
- user_project.go
- user_team.go
- users.go
- work_item_assignee.go
- work_item_comments.go
- work_item_role.go
- work_item_tags.go
- work_item_types.go
- work_item_work_item_tag.go
- work_items.go
Click to show internal directories.
Click to hide internal directories.