basic file sharing

This commit is contained in:
2025-08-29 15:32:23 +02:00
parent c8b52a5b3b
commit 284d805590
84 changed files with 3969 additions and 375 deletions

View File

@@ -0,0 +1,13 @@
export type Share = {
id: string;
creatorId: string;
warrenId: string;
path: string;
password: boolean;
expiresAt: number | null;
createdAt: number;
};

View File

@@ -10,8 +10,14 @@ export type AdminWarrenData = WarrenData & {
export type UserWarren = {
userId: string;
warrenId: string;
canListFiles: boolean;
canReadFiles: boolean;
canModifyFiles: boolean;
canDeleteFiles: boolean;
canListShares: boolean;
canCreateShares: boolean;
canModifyShares: boolean;
canDeleteShares: boolean;
};