import type { ModelWithLiked, TextBaseModel } from './base' import type { TopicModel } from './topic' export interface NoteModel extends TextBaseModel { hide: boolean count: { read: number like: number } mood?: string weather?: string bookmark?: boolean publicAt?: Date password?: string | null nid: number location?: string coordinates?: Coordinate topic?: TopicModel topicId?: string } export interface Coordinate { latitude: number longitude: number } export interface NoteWrappedPayload { data: NoteModel next?: Partial prev?: Partial } export interface NoteWrappedWithLikedPayload { data: ModelWithLiked next?: Partial prev?: Partial }