@bigfootai/bigfoot-types 4.2.2 → 4.2.3

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 +4 -3
  2. package/model.ts +11 -5
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -582,9 +582,10 @@ class BlockProcessingRequest {
582
582
  }
583
583
  exports.BlockProcessingRequest = BlockProcessingRequest;
584
584
  class BlockProcessingResponse {
585
- constructor(block, article) {
586
- this.block = block;
587
- this.article = article;
585
+ constructor(historyId, referenceBlock, articleId) {
586
+ this.articleId = articleId;
587
+ this.historyId = historyId;
588
+ this.referenceBlock = referenceBlock;
588
589
  }
589
590
  }
590
591
  exports.BlockProcessingResponse = BlockProcessingResponse;
package/model.ts CHANGED
@@ -893,12 +893,18 @@ export class BlockProcessingRequest {
893
893
  }
894
894
 
895
895
  export class BlockProcessingResponse {
896
- block: Block;
897
- article: Article;
896
+ articleId: string;
897
+ historyId: string;
898
+ referenceBlock: ReferenceBlock;
898
899
 
899
- constructor(block: Block, article: Article) {
900
- this.block = block;
901
- this.article = article;
900
+ constructor(
901
+ historyId: string,
902
+ referenceBlock: ReferenceBlock,
903
+ articleId: string
904
+ ) {
905
+ this.articleId = articleId;
906
+ this.historyId = historyId;
907
+ this.referenceBlock = referenceBlock;
902
908
  }
903
909
  }
904
910
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.2.2",
4
+ "version": "4.2.3",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",