@bigfootai/bigfoot-types 3.5.3 → 3.5.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.
Files changed (3) hide show
  1. package/model.js +10 -2
  2. package/model.ts +20 -3
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -540,7 +540,7 @@ class Note extends Block {
540
540
  exports.Note = Note;
541
541
  exports.TaskFields = `${exports.BlockFields}
542
542
  status: String!
543
- dueDate: Int!
543
+ dateDue: Int!
544
544
  originNoteId: String!
545
545
  snoozed: Boolean!
546
546
  steps: [TaskStep]
@@ -806,7 +806,15 @@ type ArchiveTagOutput {
806
806
  archived: Boolean
807
807
  }`;
808
808
  exports.UpdateTaskInputQL = `
809
- input UpdateTaskInput {${exports.TaskFields}
809
+ input UpdateTaskInput {
810
+ _id: String
811
+ editor: EditorInput!
812
+ status: String!
813
+ dateDue: Float!
814
+ snoozed: Boolean!
815
+ steps: [TaskStep]
816
+ dateRemindMe: Float
817
+ recurrence: [String]
810
818
  }`;
811
819
  exports.FindTaskInputQL = `
812
820
  input FindTaskInput {
package/model.ts CHANGED
@@ -846,7 +846,7 @@ export class Note extends Block {
846
846
 
847
847
  export const TaskFields = `${BlockFields}
848
848
  status: String!
849
- dueDate: Int!
849
+ dateDue: Int!
850
850
  originNoteId: String!
851
851
  snoozed: Boolean!
852
852
  steps: [TaskStep]
@@ -1509,9 +1509,26 @@ export interface ArchiveTagOutput {
1509
1509
  }
1510
1510
 
1511
1511
  export const UpdateTaskInputQL = `
1512
- input UpdateTaskInput {${TaskFields}
1512
+ input UpdateTaskInput {
1513
+ _id: String
1514
+ editor: EditorInput!
1515
+ status: String!
1516
+ dateDue: Float!
1517
+ snoozed: Boolean!
1518
+ steps: [TaskStep]
1519
+ dateRemindMe: Float
1520
+ recurrence: [String]
1513
1521
  }`;
1514
- export interface UpdateTaskInput extends Task {}
1522
+ export interface UpdateTaskInput {
1523
+ _id: string;
1524
+ editor: Editor;
1525
+ status: TaskStatus;
1526
+ dateDue: number;
1527
+ snoozed: boolean;
1528
+ steps: TaskStep[];
1529
+ dateRemindMe: number;
1530
+ recurrence: RecurrenceRFC[];
1531
+ }
1515
1532
 
1516
1533
  export const FindTaskInputQL = `
1517
1534
  input FindTaskInput {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "3.5.3",
4
+ "version": "3.5.4",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",