first commit
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
export type MoodType = "all" | "focus" | "night" | "spark" | "calm" | "visual";
|
||||
|
||||
export interface MoodConfig {
|
||||
id: MoodType;
|
||||
label: string;
|
||||
sublabel: string;
|
||||
iconName: string;
|
||||
color: string;
|
||||
bgColor: string;
|
||||
stampText: string;
|
||||
}
|
||||
|
||||
export type PostType = "notebook" | "sticky" | "polaroid" | "code" | "audio";
|
||||
|
||||
export interface JournalPost {
|
||||
id: string;
|
||||
type: PostType;
|
||||
date: string;
|
||||
timestamp: string;
|
||||
mood: MoodType;
|
||||
moodLabel: string;
|
||||
title?: string;
|
||||
content: string;
|
||||
marginNotes?: string[];
|
||||
tags: string[];
|
||||
likes: number;
|
||||
highlightWords?: string[];
|
||||
authorNote?: string;
|
||||
|
||||
// Specific properties
|
||||
imageUrl?: string;
|
||||
imageCaption?: string;
|
||||
codeSnippet?: string;
|
||||
codeLanguage?: string;
|
||||
audioDuration?: string;
|
||||
audioTitle?: string;
|
||||
stampedText?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user