@bigfootai/bigfoot-types 2.6.5 → 2.6.6

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 (2) hide show
  1. package/model.ts +31 -3
  2. package/package.json +1 -1
package/model.ts CHANGED
@@ -386,17 +386,18 @@ export class Note extends Primitive {
386
386
  document: string;
387
387
  editors: Editor[];
388
388
  sharingTags: SharingTag[];
389
+ version: number;
389
390
  changes?: Changes;
390
391
  _sharedTags?: string[];
391
392
  reactions?: Reaction[];
392
393
  linkUrls?: string[];
393
- version: number;
394
394
 
395
395
  constructor(
396
396
  tenantIdCreated: string,
397
397
  document: string,
398
398
  editors: Editor[],
399
- sharingTags: SharingTag[]
399
+ sharingTags: SharingTag[],
400
+ version: number
400
401
  ) {
401
402
  super();
402
403
 
@@ -404,6 +405,7 @@ export class Note extends Primitive {
404
405
  this.document = document;
405
406
  this.editors = editors;
406
407
  this.sharingTags = sharingTags;
408
+ this.version = version;
407
409
  }
408
410
  }
409
411
 
@@ -416,10 +418,11 @@ export class Block extends Note {
416
418
  document: string,
417
419
  editors: Editor[],
418
420
  sharingTags: SharingTag[],
421
+ version: number,
419
422
  blockType: BlockType,
420
423
  originNoteId: string
421
424
  ) {
422
- super(tenantIdCreated, document, editors, sharingTags);
425
+ super(tenantIdCreated, document, editors, sharingTags, version);
423
426
 
424
427
  this.blockType = blockType;
425
428
  this.originNoteId = originNoteId;
@@ -438,6 +441,7 @@ export class Task extends Block {
438
441
  document: string,
439
442
  editors: Editor[],
440
443
  sharingTags: SharingTag[],
444
+ version: number,
441
445
  originNoteId: string,
442
446
  dateDue: number
443
447
  ) {
@@ -446,6 +450,7 @@ export class Task extends Block {
446
450
  document,
447
451
  editors,
448
452
  sharingTags,
453
+ version,
449
454
  BlockType.Task,
450
455
  originNoteId
451
456
  );
@@ -490,6 +495,29 @@ export interface ConferenceEntrypoint {
490
495
  export class Conference extends BusinessObject {
491
496
  entryPoints: ConferenceEntrypoint[];
492
497
  transcription: Transcription;
498
+
499
+ constructor(
500
+ provider: string,
501
+ uri: string,
502
+ externalId: string,
503
+ businessObjectType: BusinessObjectType,
504
+ externalResponse: string,
505
+ document: Document,
506
+ entryPoints: ConferenceEntrypoint[],
507
+ transcription: Transcription
508
+ ) {
509
+ super(
510
+ provider,
511
+ uri,
512
+ externalId,
513
+ businessObjectType,
514
+ externalResponse,
515
+ document
516
+ );
517
+
518
+ this.entryPoints = entryPoints;
519
+ this.transcription = transcription;
520
+ }
493
521
  }
494
522
  //// CONFERENCE END
495
523
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "2.6.5",
4
+ "version": "2.6.6",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",