Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AssigneeLink ¶
type AssignmentBlock ¶
type AssignmentBlock struct { ID uuid.UUID `newsdoc:"id"` Publish *time.Time `newsdoc:"data.publish"` PublishSlot *int16 `newsdoc:"data.publish_slot"` Starts time.Time `newsdoc:"data.start"` Ends *time.Time `newsdoc:"data.end"` StartDate time.Time `newsdoc:"data.start_date,format=2006-01-02"` EndDate time.Time `newsdoc:"data.end_date,format=2006-01-02"` Status *string `newsdoc:"data.status"` FullDay bool `newsdoc:"data.full_day"` Public bool `newsdoc:"data.public"` Kind []AssignmentKind `newsdoc:"meta,type=core/assignment-type"` Assignees []AssigneeLink `newsdoc:"links,rel=assignee"` Deliverables []DeliverableLink `newsdoc:"links,rel=deliverable"` }
type AssignmentKind ¶
type AssignmentKind struct {
Value string `newsdoc:"value"`
}
type DeliverableLink ¶
type DescriptionBlock ¶
type Item ¶
type Item struct { UUID uuid.UUID `newsdoc:"uuid"` Title string `newsdoc:"title"` Meta ItemMeta `newsdoc:"meta,type=core/planning-item"` InternalDescription *DescriptionBlock `newsdoc:"meta,type=core/description,role=internal"` PublicDescription *DescriptionBlock `newsdoc:"meta,type=core/description,role=public"` Assignments []AssignmentBlock `newsdoc:"meta,type=core/assignment"` Event *EventLink `newsdoc:"links,type=core/event,rel=associated"` }
type Rows ¶
type Rows struct { Item postgres.SetPlanningItemParams Assignments []postgres.SetPlanningAssignmentParams Assignees []postgres.SetPlanningAssigneeParams Deliverables []postgres.SetPlanningItemDeliverableParams }
Click to show internal directories.
Click to hide internal directories.