feat(tools): link thoughts and learnings
This commit is contained in:
@@ -39,3 +39,22 @@ type LinkedThought struct {
|
||||
Direction string `json:"direction"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
|
||||
type ThoughtLearningLink struct {
|
||||
ThoughtID int64 `json:"thought_id"`
|
||||
LearningID int64 `json:"learning_id"`
|
||||
Relation string `json:"relation"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
|
||||
type LinkedLearning struct {
|
||||
Learning Learning `json:"learning"`
|
||||
Relation string `json:"relation"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
|
||||
type LinkedLearningThought struct {
|
||||
Thought Thought `json:"thought"`
|
||||
Relation string `json:"relation"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user