fix: add js doc comments.

This commit is contained in:
StevanFreeborn
2023-02-05 15:32:22 -06:00
parent e6eae35e03
commit fac2367052
5 changed files with 142 additions and 0 deletions
+34
View File
@@ -1,13 +1,47 @@
import { FieldType } from '../enums/FieldType';
/**
* @class FileInfo - Represents a file info.
*/
export class FileInfo {
/**
* @property {FieldType} type - The type of the file.
*/
public type: FieldType;
/**
* @property {string} contentType - The content type of the file.
*/
public contentType: string;
/**
* @property {string} name - The name of the file.
*/
public name: string;
/**
* @property {Date} createdDate - The created date of the file.
*/
public createdDate: Date;
/**
* @property {Date} modifiedDate - The modified date of the file.
*/
public modifiedDate: Date;
/**
* @property {string} owner - The owner of the file.
*/
public owner: string;
/**
* @property {string} notes - The notes of the file.
*/
public notes: string;
/**
* @property {string} fileHref - The href of the file.
*/
public fileHref: string;
constructor(