@bigfootai/bigfoot-types 5.2.9 → 5.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/model.js +2 -1
  2. package/model.ts +3 -1
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -1344,7 +1344,8 @@ class Record extends BusinessObject {
1344
1344
  exports.Record = Record;
1345
1345
  exports.TableFields = `${exports.BusinessObjectFields}
1346
1346
  records: [Record]
1347
- metadata: TableMetadata`;
1347
+ metadata: TableMetadata
1348
+ connectionId: String`;
1348
1349
  exports.TableQL = `
1349
1350
  type Table {${exports.TableFields}
1350
1351
  }`;
package/model.ts CHANGED
@@ -2387,13 +2387,15 @@ export class Record extends BusinessObject {
2387
2387
 
2388
2388
  export const TableFields = `${BusinessObjectFields}
2389
2389
  records: [Record]
2390
- metadata: TableMetadata`;
2390
+ metadata: TableMetadata
2391
+ connectionId: String`;
2391
2392
  export const TableQL = `
2392
2393
  type Table {${TableFields}
2393
2394
  }`;
2394
2395
  export class Table extends BusinessObject {
2395
2396
  metadata: TableMetadata;
2396
2397
  records?: Record[];
2398
+ connectionId?: string; // This is a virtual property we provide when the table/records are loaded
2397
2399
 
2398
2400
  constructor(
2399
2401
  tenantIdCreated: string,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "5.2.9",
4
+ "version": "5.2.10",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",