@bigfootai/bigfoot-types 5.0.0 → 5.0.1
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 +2 -3
- package/model.ts +3 -6
- 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
|
-
|
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
|
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;
|
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
|
-
|
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
|
-
|
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
|