@bigfootai/bigfoot-types 4.8.3 → 4.8.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.
- package/model.js +6 -7
- package/model.ts +6 -7
- package/package.json +1 -1
package/model.js
CHANGED
@@ -450,7 +450,7 @@ exports.Primitive = Primitive;
|
|
450
450
|
exports.SharedPrimitiveFields = `${exports.PrimitiveFields}
|
451
451
|
sharingTags: [SharingTag]!`;
|
452
452
|
exports.SharedPrimitiveFieldsForUpsert = `${exports.PrimitiveFieldsForUpsert}
|
453
|
-
sharingTags: [
|
453
|
+
sharingTags: [SharingTagInput]`;
|
454
454
|
class SharedPrimitive extends Primitive {
|
455
455
|
constructor(sharingTags) {
|
456
456
|
super();
|
@@ -805,8 +805,7 @@ exports.BlockFieldsForUpsert = `${exports.SharedPrimitiveFieldsForUpsert}
|
|
805
805
|
archived: Boolean
|
806
806
|
favorite: Boolean
|
807
807
|
parentId: String
|
808
|
-
document: String
|
809
|
-
reactions: [Reaction]`;
|
808
|
+
document: String`;
|
810
809
|
class Block extends SharedPrimitive {
|
811
810
|
constructor(tenantIdCreated, editors, sharingTags, version, blockType) {
|
812
811
|
super(sharingTags);
|
@@ -890,7 +889,7 @@ class Note extends Block {
|
|
890
889
|
}
|
891
890
|
exports.Note = Note;
|
892
891
|
exports.TaskFields = `${exports.BlockFields}
|
893
|
-
status:
|
892
|
+
status: Int!
|
894
893
|
dateDue: Float
|
895
894
|
editorId: String
|
896
895
|
editorGroupId: String
|
@@ -900,10 +899,10 @@ exports.TaskFields = `${exports.BlockFields}
|
|
900
899
|
recurrence: [String]
|
901
900
|
`;
|
902
901
|
exports.TaskFieldsForUpsert = `${exports.BlockFieldsForUpsert}
|
903
|
-
status:
|
902
|
+
status: Int
|
904
903
|
dateDue: Float
|
905
904
|
snoozed: Boolean
|
906
|
-
steps: [
|
905
|
+
steps: [TaskStepInput]
|
907
906
|
dateRemindMe: Float
|
908
907
|
recurrence: [String]
|
909
908
|
`;
|
@@ -1341,7 +1340,7 @@ input DeleteSharingTagInput {
|
|
1341
1340
|
}`;
|
1342
1341
|
exports.UpdateTaskInputQL = `
|
1343
1342
|
input UpsertTaskInput {${exports.TaskFieldsForUpsert}
|
1344
|
-
editor:
|
1343
|
+
editor: EditorInput!
|
1345
1344
|
}`;
|
1346
1345
|
exports.FindTaskInputQL = `
|
1347
1346
|
input FindTaskInput {
|
package/model.ts
CHANGED
@@ -644,7 +644,7 @@ export class Primitive {
|
|
644
644
|
export const SharedPrimitiveFields = `${PrimitiveFields}
|
645
645
|
sharingTags: [SharingTag]!`;
|
646
646
|
export const SharedPrimitiveFieldsForUpsert = `${PrimitiveFieldsForUpsert}
|
647
|
-
sharingTags: [
|
647
|
+
sharingTags: [SharingTagInput]`;
|
648
648
|
export class SharedPrimitive extends Primitive {
|
649
649
|
sharingTags: SharingTag[];
|
650
650
|
_parentSharingTagIds: string[];
|
@@ -1255,8 +1255,7 @@ export const BlockFieldsForUpsert = `${SharedPrimitiveFieldsForUpsert}
|
|
1255
1255
|
archived: Boolean
|
1256
1256
|
favorite: Boolean
|
1257
1257
|
parentId: String
|
1258
|
-
document: String
|
1259
|
-
reactions: [Reaction]`;
|
1258
|
+
document: String`;
|
1260
1259
|
export class Block extends SharedPrimitive {
|
1261
1260
|
editors: Editor[];
|
1262
1261
|
version: number;
|
@@ -1436,7 +1435,7 @@ export class Note extends Block {
|
|
1436
1435
|
}
|
1437
1436
|
|
1438
1437
|
export const TaskFields = `${BlockFields}
|
1439
|
-
status:
|
1438
|
+
status: Int!
|
1440
1439
|
dateDue: Float
|
1441
1440
|
editorId: String
|
1442
1441
|
editorGroupId: String
|
@@ -1446,10 +1445,10 @@ export const TaskFields = `${BlockFields}
|
|
1446
1445
|
recurrence: [String]
|
1447
1446
|
`;
|
1448
1447
|
export const TaskFieldsForUpsert = `${BlockFieldsForUpsert}
|
1449
|
-
status:
|
1448
|
+
status: Int
|
1450
1449
|
dateDue: Float
|
1451
1450
|
snoozed: Boolean
|
1452
|
-
steps: [
|
1451
|
+
steps: [TaskStepInput]
|
1453
1452
|
dateRemindMe: Float
|
1454
1453
|
recurrence: [String]
|
1455
1454
|
`;
|
@@ -2410,7 +2409,7 @@ export interface DeleteSharingTagInput {
|
|
2410
2409
|
|
2411
2410
|
export const UpdateTaskInputQL = `
|
2412
2411
|
input UpsertTaskInput {${TaskFieldsForUpsert}
|
2413
|
-
editor:
|
2412
|
+
editor: EditorInput!
|
2414
2413
|
}`;
|
2415
2414
|
export interface UpsertTaskInput extends Task {
|
2416
2415
|
editor: Editor;
|