feat: Add snippet folder/customization system

This commit is contained in:
LukeGus
2025-11-16 01:13:33 -06:00
parent 11875c22a0
commit 16e28c6e6b
6 changed files with 1506 additions and 272 deletions

View File

@@ -506,6 +506,8 @@ export interface Snippet {
name: string;
content: string;
description?: string;
folder?: string;
order?: number;
createdAt: string;
updatedAt: string;
}
@@ -514,6 +516,18 @@ export interface SnippetData {
name: string;
content: string;
description?: string;
folder?: string;
order?: number;
}
export interface SnippetFolder {
id: number;
userId: string;
name: string;
color?: string;
icon?: string;
createdAt: string;
updatedAt: string;
}
// ============================================================================