Adjust types

This commit is contained in:
Fabian Stamm 2024-06-22 19:17:38 +02:00
parent 55a10f3366
commit bd9c040f98
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@hibas123/secure-file-wrapper", "name": "@hibas123/secure-file-wrapper",
"version": "2.5.2", "version": "2.5.3",
"main": "lib/index.js", "main": "lib/index.js",
"author": "Fabian Stamm <dev@fabianstamm.de>", "author": "Fabian Stamm <dev@fabianstamm.de>",
"license": "MIT", "license": "MIT",

View File

@ -7,13 +7,13 @@ export interface IFileVersion {
time: Date; time: Date;
preview: string; preview: string;
deleted: boolean; deleted: boolean;
folder: string;
} }
export interface IFile { export interface IFile {
_id: string; _id: string;
type: string; type: string;
name: string; name: string;
folder: string;
deleted: boolean; deleted: boolean;
active: IFileVersion; active: IFileVersion;
versions: IFileVersion[]; versions: IFileVersion[];