@bigfootai/bigfoot-types 4.2.1 → 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.
- package/model.js +6 -5
- package/model.ts +15 -9
- package/package.json +1 -1
package/model.js
CHANGED
@@ -576,15 +576,16 @@ class Block extends SharedPrimitive {
|
|
576
576
|
}
|
577
577
|
exports.Block = Block;
|
578
578
|
class BlockProcessingRequest {
|
579
|
-
constructor(
|
580
|
-
this.
|
579
|
+
constructor(historyId, referenceBlock) {
|
580
|
+
this.referenceBlock = referenceBlock;
|
581
581
|
}
|
582
582
|
}
|
583
583
|
exports.BlockProcessingRequest = BlockProcessingRequest;
|
584
584
|
class BlockProcessingResponse {
|
585
|
-
constructor(
|
586
|
-
this.
|
587
|
-
this.
|
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
@@ -884,21 +884,27 @@ export class Block extends SharedPrimitive {
|
|
884
884
|
}
|
885
885
|
|
886
886
|
export class BlockProcessingRequest {
|
887
|
-
|
888
|
-
|
887
|
+
historyId: string;
|
888
|
+
referenceBlock: ReferenceBlock;
|
889
889
|
|
890
|
-
constructor(
|
891
|
-
this.
|
890
|
+
constructor(historyId: string, referenceBlock: ReferenceBlock) {
|
891
|
+
this.referenceBlock = referenceBlock;
|
892
892
|
}
|
893
893
|
}
|
894
894
|
|
895
895
|
export class BlockProcessingResponse {
|
896
|
-
|
897
|
-
|
896
|
+
articleId: string;
|
897
|
+
historyId: string;
|
898
|
+
referenceBlock: ReferenceBlock;
|
898
899
|
|
899
|
-
constructor(
|
900
|
-
|
901
|
-
|
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
|
|