feat: add name property to share (#462)

* add name property to share

* refactor: run formatter

* tests: adapt system tests

* tests: adapt second system test
This commit is contained in:
Elias Schneider
2024-05-03 18:12:26 +03:00
committed by GitHub
parent 0e12ba87bc
commit b717663b5c
13 changed files with 59 additions and 39 deletions

View File

@@ -2,15 +2,18 @@ import User from "./user.type";
export type Share = {
id: string;
name?: string;
files: any;
creator: User;
description?: string;
expiration: Date;
size: number;
hasPassword: boolean;
};
export type CreateShare = {
id: string;
name?: string;
description?: string;
recipients: string[];
expiration: string;