mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-22 06:26:41 +02:00
style: auto-format codebase with Prettier
Applied formatting to 1487+ files using pnpm format:write - TypeScript/JavaScript files - Svelte components - Astro pages - JSON configs - Markdown docs 13 files still need manual review (Astro JSX comments)
This commit is contained in:
parent
0241f5554c
commit
d36b321d9d
3952 changed files with 661498 additions and 739751 deletions
|
|
@ -3,86 +3,86 @@
|
|||
*/
|
||||
|
||||
export interface Deck {
|
||||
id: string;
|
||||
userId: string;
|
||||
title: string;
|
||||
description?: string;
|
||||
themeId?: string;
|
||||
isPublic: boolean;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
id: string;
|
||||
userId: string;
|
||||
title: string;
|
||||
description?: string;
|
||||
themeId?: string;
|
||||
isPublic: boolean;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export interface Slide {
|
||||
id: string;
|
||||
deckId: string;
|
||||
order: number;
|
||||
content: SlideContent;
|
||||
createdAt: string;
|
||||
id: string;
|
||||
deckId: string;
|
||||
order: number;
|
||||
content: SlideContent;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface SlideContent {
|
||||
type: 'title' | 'content' | 'image' | 'split';
|
||||
title?: string;
|
||||
subtitle?: string;
|
||||
body?: string;
|
||||
imageUrl?: string;
|
||||
bulletPoints?: string[];
|
||||
type: 'title' | 'content' | 'image' | 'split';
|
||||
title?: string;
|
||||
subtitle?: string;
|
||||
body?: string;
|
||||
imageUrl?: string;
|
||||
bulletPoints?: string[];
|
||||
}
|
||||
|
||||
export interface Theme {
|
||||
id: string;
|
||||
name: string;
|
||||
colors: ThemeColors;
|
||||
fonts: ThemeFonts;
|
||||
isDefault: boolean;
|
||||
id: string;
|
||||
name: string;
|
||||
colors: ThemeColors;
|
||||
fonts: ThemeFonts;
|
||||
isDefault: boolean;
|
||||
}
|
||||
|
||||
export interface ThemeColors {
|
||||
primary: string;
|
||||
secondary: string;
|
||||
background: string;
|
||||
text: string;
|
||||
accent: string;
|
||||
primary: string;
|
||||
secondary: string;
|
||||
background: string;
|
||||
text: string;
|
||||
accent: string;
|
||||
}
|
||||
|
||||
export interface ThemeFonts {
|
||||
heading: string;
|
||||
body: string;
|
||||
heading: string;
|
||||
body: string;
|
||||
}
|
||||
|
||||
export interface SharedDeck {
|
||||
id: string;
|
||||
deckId: string;
|
||||
shareCode: string;
|
||||
expiresAt?: string;
|
||||
createdAt: string;
|
||||
id: string;
|
||||
deckId: string;
|
||||
shareCode: string;
|
||||
expiresAt?: string;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
// DTOs
|
||||
export interface CreateDeckDto {
|
||||
title: string;
|
||||
description?: string;
|
||||
themeId?: string;
|
||||
title: string;
|
||||
description?: string;
|
||||
themeId?: string;
|
||||
}
|
||||
|
||||
export interface UpdateDeckDto {
|
||||
title?: string;
|
||||
description?: string;
|
||||
themeId?: string;
|
||||
isPublic?: boolean;
|
||||
title?: string;
|
||||
description?: string;
|
||||
themeId?: string;
|
||||
isPublic?: boolean;
|
||||
}
|
||||
|
||||
export interface CreateSlideDto {
|
||||
content: SlideContent;
|
||||
order?: number;
|
||||
content: SlideContent;
|
||||
order?: number;
|
||||
}
|
||||
|
||||
export interface UpdateSlideDto {
|
||||
content?: SlideContent;
|
||||
order?: number;
|
||||
content?: SlideContent;
|
||||
order?: number;
|
||||
}
|
||||
|
||||
export interface ReorderSlidesDto {
|
||||
slides: { id: string; order: number }[];
|
||||
slides: { id: string; order: number }[];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue