Changeset 0.34.0 (#208)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit is contained in:
@@ -553,6 +553,15 @@ type NoteLink struct {
|
||||
IsTransclusion bool `json:"is_transclusion"`
|
||||
}
|
||||
|
||||
// ExportNoteLink is a note_link with source_note_id included (for export).
|
||||
type ExportNoteLink struct {
|
||||
SourceNoteID string `json:"source_note_id" db:"source_note_id"`
|
||||
TargetNoteID *string `json:"target_note_id,omitempty" db:"target_note_id"`
|
||||
TargetTitle string `json:"target_title" db:"target_title"`
|
||||
DisplayText string `json:"display_text,omitempty" db:"display_text"`
|
||||
IsTransclusion bool `json:"is_transclusion" db:"is_transclusion"`
|
||||
}
|
||||
|
||||
// NoteLinkResult represents a backlink — a note that links to a given note.
|
||||
type NoteLinkResult struct {
|
||||
SourceNoteID string `json:"id"`
|
||||
|
||||
Reference in New Issue
Block a user