@bigfootai/bigfoot-types 4.8.2 → 4.8.4
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 +4 -11
- package/model.ts +7 -12
- 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();
|
@@ -802,16 +802,10 @@ exports.BlockFields = `${exports.SharedPrimitiveFields}
|
|
802
802
|
document: String
|
803
803
|
reactions: [Reaction]`;
|
804
804
|
exports.BlockFieldsForUpsert = `${exports.SharedPrimitiveFieldsForUpsert}
|
805
|
-
editors: [Editor]!
|
806
|
-
version: Float
|
807
|
-
blockType: String
|
808
805
|
archived: Boolean
|
809
806
|
favorite: Boolean
|
810
807
|
parentId: String
|
811
|
-
|
812
|
-
originNoteId: String
|
813
|
-
document: String
|
814
|
-
reactions: [Reaction]`;
|
808
|
+
document: String`;
|
815
809
|
class Block extends SharedPrimitive {
|
816
810
|
constructor(tenantIdCreated, editors, sharingTags, version, blockType) {
|
817
811
|
super(sharingTags);
|
@@ -907,10 +901,8 @@ exports.TaskFields = `${exports.BlockFields}
|
|
907
901
|
exports.TaskFieldsForUpsert = `${exports.BlockFieldsForUpsert}
|
908
902
|
status: String
|
909
903
|
dateDue: Float
|
910
|
-
editorId: String
|
911
|
-
editorGroupId: String
|
912
904
|
snoozed: Boolean
|
913
|
-
steps: [
|
905
|
+
steps: [TaskStepInput]
|
914
906
|
dateRemindMe: Float
|
915
907
|
recurrence: [String]
|
916
908
|
`;
|
@@ -1348,6 +1340,7 @@ input DeleteSharingTagInput {
|
|
1348
1340
|
}`;
|
1349
1341
|
exports.UpdateTaskInputQL = `
|
1350
1342
|
input UpsertTaskInput {${exports.TaskFieldsForUpsert}
|
1343
|
+
editor: EditorInput!
|
1351
1344
|
}`;
|
1352
1345
|
exports.FindTaskInputQL = `
|
1353
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[];
|
@@ -1252,16 +1252,10 @@ export const BlockFields = `${SharedPrimitiveFields}
|
|
1252
1252
|
document: String
|
1253
1253
|
reactions: [Reaction]`;
|
1254
1254
|
export const BlockFieldsForUpsert = `${SharedPrimitiveFieldsForUpsert}
|
1255
|
-
editors: [Editor]!
|
1256
|
-
version: Float
|
1257
|
-
blockType: String
|
1258
1255
|
archived: Boolean
|
1259
1256
|
favorite: Boolean
|
1260
1257
|
parentId: String
|
1261
|
-
|
1262
|
-
originNoteId: String
|
1263
|
-
document: String
|
1264
|
-
reactions: [Reaction]`;
|
1258
|
+
document: String`;
|
1265
1259
|
export class Block extends SharedPrimitive {
|
1266
1260
|
editors: Editor[];
|
1267
1261
|
version: number;
|
@@ -1453,10 +1447,8 @@ export const TaskFields = `${BlockFields}
|
|
1453
1447
|
export const TaskFieldsForUpsert = `${BlockFieldsForUpsert}
|
1454
1448
|
status: String
|
1455
1449
|
dateDue: Float
|
1456
|
-
editorId: String
|
1457
|
-
editorGroupId: String
|
1458
1450
|
snoozed: Boolean
|
1459
|
-
steps: [
|
1451
|
+
steps: [TaskStepInput]
|
1460
1452
|
dateRemindMe: Float
|
1461
1453
|
recurrence: [String]
|
1462
1454
|
`;
|
@@ -2417,8 +2409,11 @@ export interface DeleteSharingTagInput {
|
|
2417
2409
|
|
2418
2410
|
export const UpdateTaskInputQL = `
|
2419
2411
|
input UpsertTaskInput {${TaskFieldsForUpsert}
|
2412
|
+
editor: EditorInput!
|
2420
2413
|
}`;
|
2421
|
-
export interface UpsertTaskInput extends Task {
|
2414
|
+
export interface UpsertTaskInput extends Task {
|
2415
|
+
editor: Editor;
|
2416
|
+
}
|
2422
2417
|
|
2423
2418
|
export const FindTaskInputQL = `
|
2424
2419
|
input FindTaskInput {
|