mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-28 02:23:53 +02:00
feat: add folder management features including creation, deletion, and organization of documents within folders
This commit is contained in:
parent
95bb522220
commit
685ad0c02d
41 changed files with 7475 additions and 4330 deletions
14
surfsense_web/zero/schema/folders.ts
Normal file
14
surfsense_web/zero/schema/folders.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { number, string, table } from "@rocicorp/zero";
|
||||
|
||||
export const folderTable = table("folders")
|
||||
.columns({
|
||||
id: number(),
|
||||
name: string(),
|
||||
position: string(),
|
||||
parentId: number().optional().from("parent_id"),
|
||||
searchSpaceId: number().from("search_space_id"),
|
||||
createdById: string().optional().from("created_by_id"),
|
||||
createdAt: number().from("created_at"),
|
||||
updatedAt: number().from("updated_at"),
|
||||
})
|
||||
.primaryKey("id");
|
||||
Loading…
Add table
Add a link
Reference in a new issue