feat: add models package
This commit is contained in:
13
packages/models/src/Domain/Syncable/Note/NoteContent.ts
Normal file
13
packages/models/src/Domain/Syncable/Note/NoteContent.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { ItemContent } from '../../Abstract/Content/ItemContent'
|
||||
|
||||
export interface NoteContentSpecialized {
|
||||
title: string
|
||||
text: string
|
||||
mobilePrefersPlainEditor?: boolean
|
||||
hidePreview?: boolean
|
||||
preview_plain?: string
|
||||
preview_html?: string
|
||||
spellcheck?: boolean
|
||||
}
|
||||
|
||||
export type NoteContent = NoteContentSpecialized & ItemContent
|
||||
Reference in New Issue
Block a user