feat: added saveRecord method

This commit is contained in:
StevanFreeborn
2023-02-13 20:21:28 -06:00
parent f07cd3043a
commit 757e773f9f
7 changed files with 385 additions and 3 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ export class Record {
/**
* @property {number} recordId - The id of the record.
*/
public recordId: number;
public recordId: number | null;
/**
* @property {RecordValue[]} fieldData - The data for the fields in the record.
@@ -29,7 +29,7 @@ export class Record {
*/
constructor(
appId: number,
recordId: number,
recordId: number | null,
fieldData: Array<RecordValue<any>> = []
) {
this.appId = appId;