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:
2026-03-20 00:02:37 +00:00
committed by xcaliber
parent ed3e9363f2
commit d16bb93177
20 changed files with 5623 additions and 1 deletions

View File

@@ -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"`