@bigfootai/bigfoot-types 4.8.17 → 4.9.0

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 +15 -15
  2. package/model.ts +16 -16
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -74,14 +74,14 @@ var TaskPriority;
74
74
  })(TaskPriority || (exports.TaskPriority = TaskPriority = {}));
75
75
  var TaskStatus;
76
76
  (function (TaskStatus) {
77
- TaskStatus[TaskStatus["NotStarted"] = 0] = "NotStarted";
78
- TaskStatus[TaskStatus["InProgress"] = 1] = "InProgress";
79
- TaskStatus[TaskStatus["Completed"] = 10] = "Completed";
77
+ TaskStatus["NotStarted"] = "not_started";
78
+ TaskStatus["InProgress"] = "in_progress";
79
+ TaskStatus["Completed"] = "completed";
80
80
  })(TaskStatus || (exports.TaskStatus = TaskStatus = {}));
81
81
  var StepStatus;
82
82
  (function (StepStatus) {
83
- StepStatus[StepStatus["NotStarted"] = 0] = "NotStarted";
84
- StepStatus[StepStatus["Completed"] = 10] = "Completed";
83
+ StepStatus["NotStarted"] = "not_started";
84
+ StepStatus["Completed"] = "completed";
85
85
  })(StepStatus || (exports.StepStatus = StepStatus = {}));
86
86
  var SharingApproach;
87
87
  (function (SharingApproach) {
@@ -326,12 +326,12 @@ type Reaction {
326
326
  exports.TaskStepInputQL = `
327
327
  input TaskStepInput {
328
328
  content: String!
329
- status: Int!
329
+ status: String!
330
330
  }`;
331
331
  exports.TaskStepQL = `
332
332
  type TaskStep {
333
333
  content: String!
334
- status: Int!
334
+ status: String!
335
335
  }`;
336
336
  exports.DocumentSentimentQL = `
337
337
  type DocumentSentiment {
@@ -533,7 +533,7 @@ type Search {${exports.SharedPrimitiveFields}
533
533
  orderByAlias: String
534
534
  dateDueFrom: Float
535
535
  dateDueTo: Float
536
- status: Int
536
+ status: String
537
537
  originNoteId: String
538
538
  editorId: String
539
539
  editorGroupId: String
@@ -731,7 +731,7 @@ type Recommendation {${exports.SharedPrimitiveFields}
731
731
  snoozed: Boolean!
732
732
  thumbs: String
733
733
  comment: String
734
- status: Int
734
+ status: String
735
735
  }`;
736
736
  class Recommendation extends SharedPrimitive {
737
737
  constructor(sharingTags, referenceBlock, tenantIdCreated, recommendationType) {
@@ -812,7 +812,7 @@ type Article {${exports.PrimitiveFields}
812
812
  archived: Boolean!
813
813
  favorite: Boolean!
814
814
  snoozed: Boolean
815
- status: Int
815
+ status: String
816
816
  originNoteId: String
817
817
  editorId: String
818
818
  editorGroupId: String
@@ -929,7 +929,7 @@ class Note extends Block {
929
929
  }
930
930
  exports.Note = Note;
931
931
  exports.TaskFields = `${exports.BlockFields}
932
- status: Int!
932
+ status: String!
933
933
  dateDue: Float
934
934
  editorId: String
935
935
  editorGroupId: String
@@ -939,7 +939,7 @@ exports.TaskFields = `${exports.BlockFields}
939
939
  recurrence: [String]
940
940
  `;
941
941
  exports.TaskFieldsForUpsert = `${exports.BlockFieldsForUpsert}
942
- status: Int
942
+ status: String
943
943
  dateDue: Float
944
944
  snoozed: Boolean
945
945
  steps: [TaskStepInput]
@@ -1165,7 +1165,7 @@ exports.OptionQL = `
1165
1165
  type Option {
1166
1166
  label: String!
1167
1167
  value: String!
1168
- status: Int
1168
+ status: String
1169
1169
  priority: String
1170
1170
  }`;
1171
1171
  exports.FieldQL = `
@@ -1446,7 +1446,7 @@ input UpsertSearchInput {
1446
1446
  orderByAlias: String
1447
1447
  dateDueFrom: Float
1448
1448
  dateDueTo: Float
1449
- status: Int
1449
+ status: String
1450
1450
  editorId: String
1451
1451
  editorGroupId: String
1452
1452
  parentId: String
@@ -1509,7 +1509,7 @@ input SearchInput {
1509
1509
  orderByAlias: String
1510
1510
  dateDueFrom: Float
1511
1511
  dateDueTo: Float
1512
- status: Int
1512
+ status: String
1513
1513
  originNoteId: String
1514
1514
  editorId: String
1515
1515
  editorGroupId: String
package/model.ts CHANGED
@@ -68,14 +68,14 @@ export enum TaskPriority {
68
68
  }
69
69
 
70
70
  export enum TaskStatus {
71
- NotStarted = 0,
72
- InProgress = 1,
73
- Completed = 10,
71
+ NotStarted = 'not_started',
72
+ InProgress = 'in_progress',
73
+ Completed = 'completed',
74
74
  }
75
75
 
76
76
  export enum StepStatus {
77
- NotStarted = 0,
78
- Completed = 10,
77
+ NotStarted = 'not_started',
78
+ Completed = 'completed',
79
79
  }
80
80
 
81
81
  export enum SharingApproach {
@@ -396,12 +396,12 @@ export interface Reaction {
396
396
  export const TaskStepInputQL = `
397
397
  input TaskStepInput {
398
398
  content: String!
399
- status: Int!
399
+ status: String!
400
400
  }`;
401
401
  export const TaskStepQL = `
402
402
  type TaskStep {
403
403
  content: String!
404
- status: Int!
404
+ status: String!
405
405
  }`;
406
406
  export interface TaskStep {
407
407
  content: string;
@@ -766,7 +766,7 @@ type Search {${SharedPrimitiveFields}
766
766
  orderByAlias: String
767
767
  dateDueFrom: Float
768
768
  dateDueTo: Float
769
- status: Int
769
+ status: String
770
770
  originNoteId: String
771
771
  editorId: String
772
772
  editorGroupId: String
@@ -1112,7 +1112,7 @@ type Recommendation {${SharedPrimitiveFields}
1112
1112
  snoozed: Boolean!
1113
1113
  thumbs: String
1114
1114
  comment: String
1115
- status: Int
1115
+ status: String
1116
1116
  }`;
1117
1117
  export class Recommendation extends SharedPrimitive implements BaseTask {
1118
1118
  referenceBlock: ReferenceBlock; // This is the block that caused the recommendation to happen
@@ -1245,7 +1245,7 @@ type Article {${PrimitiveFields}
1245
1245
  archived: Boolean!
1246
1246
  favorite: Boolean!
1247
1247
  snoozed: Boolean
1248
- status: Int
1248
+ status: String
1249
1249
  originNoteId: String
1250
1250
  editorId: String
1251
1251
  editorGroupId: String
@@ -1497,7 +1497,7 @@ export class Note extends Block {
1497
1497
  }
1498
1498
 
1499
1499
  export const TaskFields = `${BlockFields}
1500
- status: Int!
1500
+ status: String!
1501
1501
  dateDue: Float
1502
1502
  editorId: String
1503
1503
  editorGroupId: String
@@ -1507,7 +1507,7 @@ export const TaskFields = `${BlockFields}
1507
1507
  recurrence: [String]
1508
1508
  `;
1509
1509
  export const TaskFieldsForUpsert = `${BlockFieldsForUpsert}
1510
- status: Int
1510
+ status: String
1511
1511
  dateDue: Float
1512
1512
  snoozed: Boolean
1513
1513
  steps: [TaskStepInput]
@@ -2045,7 +2045,7 @@ export const OptionQL = `
2045
2045
  type Option {
2046
2046
  label: String!
2047
2047
  value: String!
2048
- status: Int
2048
+ status: String
2049
2049
  priority: String
2050
2050
  }`;
2051
2051
  export interface Option {
@@ -2590,7 +2590,7 @@ input UpsertSearchInput {
2590
2590
  orderByAlias: String
2591
2591
  dateDueFrom: Float
2592
2592
  dateDueTo: Float
2593
- status: Int
2593
+ status: String
2594
2594
  editorId: String
2595
2595
  editorGroupId: String
2596
2596
  parentId: String
@@ -2615,7 +2615,7 @@ export interface UpsertSearchInput {
2615
2615
  orderByAlias?: OrderByDirection;
2616
2616
  dateDueFrom?: number;
2617
2617
  dateDueTo?: number;
2618
- status?: number;
2618
+ status?: TaskStatus;
2619
2619
  editorId?: string;
2620
2620
  editorGroupId?: string;
2621
2621
  parentId?: string;
@@ -2718,7 +2718,7 @@ input SearchInput {
2718
2718
  orderByAlias: String
2719
2719
  dateDueFrom: Float
2720
2720
  dateDueTo: Float
2721
- status: Int
2721
+ status: String
2722
2722
  originNoteId: String
2723
2723
  editorId: String
2724
2724
  editorGroupId: String
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.8.17",
4
+ "version": "4.9.0",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",