hrms-edm/Services/server/src/interfaces/ehr-fs.ts

40 lines
787 B
TypeScript
Raw Normal View History

2023-11-17 09:03:31 +07:00
export interface EhrFolder {
/**
* @prop Full path to this folder. It is used as key as there are no files or directories at the same location.
*/
pathname: string;
/**
* @prop Directory / Folder name.
*/
name: string;
createdAt: string | Date;
createdBy: string | Date;
}
export interface EhrFile {
/**
* @prop Full path to this folder. It is used as key as there are no files or directories at the same location.
*/
pathname: string;
fileName: string;
2023-11-20 11:07:57 +07:00
fileSize: number;
2023-11-17 09:03:31 +07:00
fileType: string;
2023-11-20 11:07:57 +07:00
title: string;
description: string;
2023-11-17 09:03:31 +07:00
category: string[];
keyword: string[];
/**
* @private For internal use only.
*/
upload: boolean;
2023-11-17 09:03:31 +07:00
updatedAt: string | Date;
updatedBy: string;
createdAt: string | Date;
createdBy: string;
}