mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09:43 +02:00
wip
This commit is contained in:
parent
7db618dea0
commit
4a17acce11
19 changed files with 322 additions and 203 deletions
|
@ -346,23 +346,25 @@ type SitemapDocument struct {
|
|||
// Link defines a reference between a section and another document/section/attachment.
|
||||
type Link struct {
|
||||
BaseEntity
|
||||
OrgID string `json:"orgId"`
|
||||
UserID string `json:"userId"`
|
||||
SourceID string `json:"sourceId"`
|
||||
DocumentID string `json:"documentId"`
|
||||
PageID string `json:"pageId"`
|
||||
LinkType string `json:"linkType"`
|
||||
Orphan bool `json:"orphan"`
|
||||
OrgID string `json:"orgId"`
|
||||
UserID string `json:"userId"`
|
||||
LinkType string `json:"linkType"`
|
||||
SourceID string `json:"sourceId"`
|
||||
DocumentID string `json:"documentId"`
|
||||
PageID string `json:"pageId"`
|
||||
AttachmentID string `json:"attachmentId"`
|
||||
Orphan bool `json:"orphan"`
|
||||
}
|
||||
|
||||
// LinkCandidate defines a potential link to a document/section/attachment.
|
||||
type LinkCandidate struct {
|
||||
RefID string `json:"id"`
|
||||
OrgID string `json:"orgId"`
|
||||
DocumentID string `json:"documentId"`
|
||||
PageID string `json:"pageId"`
|
||||
AttachmentID string `json:"attachmentId"`
|
||||
LinkType string `json:"linkType"`
|
||||
Title string `json:"title"` // what we label the link
|
||||
Context string `json:"context"` // additional context (e.g. excerpt, parent)
|
||||
RefID string `json:"id"`
|
||||
OrgID string `json:"orgId"`
|
||||
LinkType string `json:"linkType"`
|
||||
DocumentID string `json:"documentId"`
|
||||
PageID string `json:"pageId"`
|
||||
AttachmentID string `json:"attachmentId"`
|
||||
AttachmentExtension string `json:"attachmentExtension"`
|
||||
Title string `json:"title"` // what we label the link
|
||||
Context string `json:"context"` // additional context (e.g. excerpt, parent)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue