feat: continuing to work on implementing records methods

This commit is contained in:
StevanFreeborn
2023-02-10 00:49:50 -06:00
parent fde8b50717
commit 6ba77ce1d4
14 changed files with 494 additions and 105 deletions
+4 -8
View File
@@ -15,22 +15,18 @@ export class Record {
public recordId: number;
/**
* @property {Array<RecordValue<any>>} fieldData - The data for the fields in the record.
* @property {RecordValue[]} fieldData - The data for the fields in the record.
*/
public fieldData: Array<RecordValue<any>>;
public fieldData: RecordValue[];
/**
* @constructor - Creates a new instance of Record.
* @param {number} appId - The id of the app that the record belongs to.
* @param {number} recordId - The id of the record.
* @param {Array<RecordValue<any>>} fieldData - The data for the fields in the record.
* @param {RecordValue[]} fieldData - The data for the fields in the record.
* @returns {Record} - A new instance of Record.
*/
constructor(
appId: number,
recordId: number,
fieldData: Array<RecordValue<any>>
) {
constructor(appId: number, recordId: number, fieldData: RecordValue[]) {
this.appId = appId;
this.recordId = recordId;
this.fieldData = fieldData;