@bigfootai/bigfoot-types 5.0.3 → 5.0.5

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 +3 -4
  2. package/model.ts +4 -6
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -415,12 +415,12 @@ type ConnectedProvider {
415
415
  exports.ReferenceBlockInputQL = `
416
416
  input ReferenceBlockInput {
417
417
  id: String!
418
- type: String!
418
+ blockType: String!
419
419
  }`;
420
420
  exports.ReferenceBlockQL = `
421
421
  type ReferenceBlock {
422
422
  id: String!
423
- type: String!
423
+ blockType: String!
424
424
  }`;
425
425
  exports.ChangesInputQL = `
426
426
  input ChangesInput {
@@ -847,9 +847,8 @@ class BlockProcessingRequest {
847
847
  }
848
848
  exports.BlockProcessingRequest = BlockProcessingRequest;
849
849
  class BlockProcessingResponse {
850
- constructor(referenceBlock, articleId) {
850
+ constructor(referenceBlock) {
851
851
  this.referenceBlock = referenceBlock;
852
- this.articleId = articleId;
853
852
  }
854
853
  }
855
854
  exports.BlockProcessingResponse = BlockProcessingResponse;
package/model.ts CHANGED
@@ -589,16 +589,16 @@ export interface ConnectedProvider {
589
589
  export const ReferenceBlockInputQL = `
590
590
  input ReferenceBlockInput {
591
591
  id: String!
592
- type: String!
592
+ blockType: String!
593
593
  }`;
594
594
  export const ReferenceBlockQL = `
595
595
  type ReferenceBlock {
596
596
  id: String!
597
- type: String!
597
+ blockType: String!
598
598
  }`;
599
599
  export interface ReferenceBlock {
600
600
  id: string;
601
- type: BlockType;
601
+ blockType: BlockType;
602
602
  }
603
603
 
604
604
  export const ChangesInputQL = `
@@ -1330,12 +1330,10 @@ export class BlockProcessingRequest {
1330
1330
  }
1331
1331
 
1332
1332
  export class BlockProcessingResponse {
1333
- articleId: string;
1334
1333
  referenceBlock: ReferenceBlock;
1335
1334
 
1336
- constructor(referenceBlock: ReferenceBlock, articleId: string) {
1335
+ constructor(referenceBlock: ReferenceBlock) {
1337
1336
  this.referenceBlock = referenceBlock;
1338
- this.articleId = articleId;
1339
1337
  }
1340
1338
  }
1341
1339
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "5.0.3",
4
+ "version": "5.0.5",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",