Update git remote URL from git.threefold.info to git.ourworld.tf

This commit is contained in:
2025-08-04 10:44:17 +02:00
parent 0cf66642a2
commit aa7e79d26c
85 changed files with 1865 additions and 392 deletions

View File

@@ -1,8 +1,8 @@
module projects
import base
import freeflowuniverse.herolib.hero.models.core
// Priority represents the priority level of a project item
// Priority levels for project items
pub enum Priority {
critical
high
@@ -11,7 +11,7 @@ pub enum Priority {
none
}
// Status represents the current status of a project item
// Status values for project lifecycle
pub enum Status {
todo
in_progress
@@ -20,7 +20,7 @@ pub enum Status {
archived
}
// ItemType represents the type of a project item
// Types of items in the project hierarchy
pub enum ItemType {
epic
story
@@ -30,24 +30,28 @@ pub enum ItemType {
feature
}
// Project represents a project in the system
// Project represents a high-level container for organizing work
// A Project holds information about its members and contains lists of associated epics, sprints, and boards
pub struct Project {
base.Base
core.Base
pub mut:
name string
description string
owner_id u32 // ID of the user who owns this project
member_ids []u32 // IDs of the users who are members of this project
board_ids []u32 // IDs of the kanban boards in this project
sprint_ids []u32 // IDs of the sprints in this project
epic_ids []u32 // IDs of the epics in this project
tags []string
name string @[index] // Project name
description string // Detailed project description
owner_id u64 @[index] // User ID of the project owner
member_ids []u64 @[index] // List of user IDs who are members
board_ids []u64 // List of associated board IDs
sprint_ids []u64 @[index] // List of sprint IDs in this project
epic_ids []u64 @[index] // List of epic IDs in this project
tags []string @[index] // Project tags for categorization
status Status @[index] // Current project status
priority Priority @[index] // Project priority level
item_type ItemType @[index] // Type of project item
}
// Label represents a label that can be applied to project items
// Label represents a tag with name and color for categorization
pub struct Label {
base.Base
core.Base
pub mut:
name string
color string // Hex color code
}
name string @[index] // Label name
color string @[index] // Hex color code for the label
}