@bigfootai/bigfoot-types 5.0.0 → 5.0.2

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 -7
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -821,7 +821,7 @@ exports.BlockFields = `${exports.SharedPrimitiveFields}
821
821
  dateRemindMe: Float
822
822
  status: String
823
823
  parentId: String
824
- originBlockId: ReferenceBlock`;
824
+ originReferenceBlock: ReferenceBlock`;
825
825
  exports.BlockFieldsForUpsert = `${exports.SharedPrimitiveFieldsForUpsert}
826
826
  archived: Boolean
827
827
  favorite: Boolean
@@ -926,13 +926,12 @@ exports.TaskQL = `
926
926
  type Task {${exports.TaskFields}
927
927
  }`;
928
928
  class Task extends Block {
929
- constructor(tenantIdCreated, editors, sharingTags, originBlockId) {
929
+ constructor(tenantIdCreated, editors, sharingTags) {
930
930
  super(tenantIdCreated, editors, sharingTags, BlockType.Task);
931
931
  this.status = TaskStatus.NotStarted;
932
932
  this.snoozed = false;
933
933
  this.archived = false;
934
934
  this._dateDueUserAssigned = false;
935
- this.originBlockId = originBlockId;
936
935
  }
937
936
  }
938
937
  exports.Task = Task;
@@ -1568,7 +1567,7 @@ input SearchInput {
1568
1567
  dateDueFrom: Float
1569
1568
  dateDueTo: Float
1570
1569
  status: String
1571
- originNoteId: String
1570
+ originReferenceBlock: [ReferenceBlockInput]
1572
1571
  editorId: String
1573
1572
  editorGroupId: String
1574
1573
  parentId: String
package/model.ts CHANGED
@@ -1257,7 +1257,7 @@ export const BlockFields = `${SharedPrimitiveFields}
1257
1257
  dateRemindMe: Float
1258
1258
  status: String
1259
1259
  parentId: String
1260
- originBlockId: ReferenceBlock`;
1260
+ originReferenceBlock: ReferenceBlock`;
1261
1261
  export const BlockFieldsForUpsert = `${SharedPrimitiveFieldsForUpsert}
1262
1262
  archived: Boolean
1263
1263
  favorite: Boolean
@@ -1288,7 +1288,7 @@ export class Block extends SharedPrimitive {
1288
1288
  _editorGroupId?: string;
1289
1289
  // Relationship information about the block
1290
1290
  parentId?: string;
1291
- originBlockId?: ReferenceBlock;
1291
+ originReferenceBlock?: ReferenceBlock;
1292
1292
  // Stuff to help manage the pipeline and search
1293
1293
  _timeZone?: string;
1294
1294
  _locale?: string;
@@ -1471,8 +1471,7 @@ export class Task extends Block implements BaseTask {
1471
1471
  constructor(
1472
1472
  tenantIdCreated: string,
1473
1473
  editors: Editor[],
1474
- sharingTags: SharingTag[],
1475
- originBlockId: ReferenceBlock
1474
+ sharingTags: SharingTag[]
1476
1475
  ) {
1477
1476
  super(tenantIdCreated, editors, sharingTags, BlockType.Task);
1478
1477
 
@@ -1480,8 +1479,6 @@ export class Task extends Block implements BaseTask {
1480
1479
  this.snoozed = false;
1481
1480
  this.archived = false;
1482
1481
  this._dateDueUserAssigned = false;
1483
-
1484
- this.originBlockId = originBlockId;
1485
1482
  }
1486
1483
  }
1487
1484
  // CORE END
@@ -2790,7 +2787,7 @@ input SearchInput {
2790
2787
  dateDueFrom: Float
2791
2788
  dateDueTo: Float
2792
2789
  status: String
2793
- originNoteId: String
2790
+ originReferenceBlock: [ReferenceBlockInput]
2794
2791
  editorId: String
2795
2792
  editorGroupId: String
2796
2793
  parentId: String
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "5.0.0",
4
+ "version": "5.0.2",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",