mirror of
https://github.com/documize/community.git
synced 2025-07-22 06:39:43 +02:00
pin spaces and documents to sidebar
This commit is contained in:
parent
e0d2dd47df
commit
8cc798990a
27 changed files with 2943 additions and 1589 deletions
|
@ -385,3 +385,14 @@ type LinkCandidate struct {
|
|||
Title string `json:"title"` // what we label the link
|
||||
Context string `json:"context"` // additional context (e.g. excerpt, parent, file extension)
|
||||
}
|
||||
|
||||
// Pin defines a saved link to a document or space
|
||||
type Pin struct {
|
||||
BaseEntity
|
||||
OrgID string `json:"orgId"`
|
||||
UserID string `json:"userId"`
|
||||
FolderID string `json:"folderId"`
|
||||
DocumentID string `json:"documentId"`
|
||||
Pin string `json:"pin"`
|
||||
Sequence int `json:"sequence"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue