@bigfootai/bigfoot-types 4.8.16 → 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.
- package/model.js +17 -15
- package/model.ts +19 -16
- 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[
|
78
|
-
TaskStatus[
|
79
|
-
TaskStatus[
|
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[
|
84
|
-
StepStatus[
|
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:
|
329
|
+
status: String!
|
330
330
|
}`;
|
331
331
|
exports.TaskStepQL = `
|
332
332
|
type TaskStep {
|
333
333
|
content: String!
|
334
|
-
status:
|
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:
|
536
|
+
status: String
|
537
537
|
originNoteId: String
|
538
538
|
editorId: String
|
539
539
|
editorGroupId: String
|
@@ -659,6 +659,7 @@ type TagRecommendation {
|
|
659
659
|
}`;
|
660
660
|
exports.TenantLightQL = `
|
661
661
|
type TenantLight {
|
662
|
+
_id: String!
|
662
663
|
domainMemberships: [String]!
|
663
664
|
email: String!
|
664
665
|
tagId: String!
|
@@ -670,6 +671,7 @@ type TenantLight {
|
|
670
671
|
}`;
|
671
672
|
class TenantLight {
|
672
673
|
constructor(tenant) {
|
674
|
+
this._id = tenant._id;
|
673
675
|
this.domainMemberships = tenant.domainMemberships;
|
674
676
|
this.email = tenant.email;
|
675
677
|
this.tagId = tenant.tagId;
|
@@ -729,7 +731,7 @@ type Recommendation {${exports.SharedPrimitiveFields}
|
|
729
731
|
snoozed: Boolean!
|
730
732
|
thumbs: String
|
731
733
|
comment: String
|
732
|
-
status:
|
734
|
+
status: String
|
733
735
|
}`;
|
734
736
|
class Recommendation extends SharedPrimitive {
|
735
737
|
constructor(sharingTags, referenceBlock, tenantIdCreated, recommendationType) {
|
@@ -810,7 +812,7 @@ type Article {${exports.PrimitiveFields}
|
|
810
812
|
archived: Boolean!
|
811
813
|
favorite: Boolean!
|
812
814
|
snoozed: Boolean
|
813
|
-
status:
|
815
|
+
status: String
|
814
816
|
originNoteId: String
|
815
817
|
editorId: String
|
816
818
|
editorGroupId: String
|
@@ -927,7 +929,7 @@ class Note extends Block {
|
|
927
929
|
}
|
928
930
|
exports.Note = Note;
|
929
931
|
exports.TaskFields = `${exports.BlockFields}
|
930
|
-
status:
|
932
|
+
status: String!
|
931
933
|
dateDue: Float
|
932
934
|
editorId: String
|
933
935
|
editorGroupId: String
|
@@ -937,7 +939,7 @@ exports.TaskFields = `${exports.BlockFields}
|
|
937
939
|
recurrence: [String]
|
938
940
|
`;
|
939
941
|
exports.TaskFieldsForUpsert = `${exports.BlockFieldsForUpsert}
|
940
|
-
status:
|
942
|
+
status: String
|
941
943
|
dateDue: Float
|
942
944
|
snoozed: Boolean
|
943
945
|
steps: [TaskStepInput]
|
@@ -1163,7 +1165,7 @@ exports.OptionQL = `
|
|
1163
1165
|
type Option {
|
1164
1166
|
label: String!
|
1165
1167
|
value: String!
|
1166
|
-
status:
|
1168
|
+
status: String
|
1167
1169
|
priority: String
|
1168
1170
|
}`;
|
1169
1171
|
exports.FieldQL = `
|
@@ -1444,7 +1446,7 @@ input UpsertSearchInput {
|
|
1444
1446
|
orderByAlias: String
|
1445
1447
|
dateDueFrom: Float
|
1446
1448
|
dateDueTo: Float
|
1447
|
-
status:
|
1449
|
+
status: String
|
1448
1450
|
editorId: String
|
1449
1451
|
editorGroupId: String
|
1450
1452
|
parentId: String
|
@@ -1507,7 +1509,7 @@ input SearchInput {
|
|
1507
1509
|
orderByAlias: String
|
1508
1510
|
dateDueFrom: Float
|
1509
1511
|
dateDueTo: Float
|
1510
|
-
status:
|
1512
|
+
status: String
|
1511
1513
|
originNoteId: String
|
1512
1514
|
editorId: String
|
1513
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 =
|
72
|
-
InProgress =
|
73
|
-
Completed =
|
71
|
+
NotStarted = 'not_started',
|
72
|
+
InProgress = 'in_progress',
|
73
|
+
Completed = 'completed',
|
74
74
|
}
|
75
75
|
|
76
76
|
export enum StepStatus {
|
77
|
-
NotStarted =
|
78
|
-
Completed =
|
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:
|
399
|
+
status: String!
|
400
400
|
}`;
|
401
401
|
export const TaskStepQL = `
|
402
402
|
type TaskStep {
|
403
403
|
content: String!
|
404
|
-
status:
|
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:
|
769
|
+
status: String
|
770
770
|
originNoteId: String
|
771
771
|
editorId: String
|
772
772
|
editorGroupId: String
|
@@ -999,6 +999,7 @@ export interface TagRecommendation {
|
|
999
999
|
|
1000
1000
|
export const TenantLightQL = `
|
1001
1001
|
type TenantLight {
|
1002
|
+
_id: String!
|
1002
1003
|
domainMemberships: [String]!
|
1003
1004
|
email: String!
|
1004
1005
|
tagId: String!
|
@@ -1009,6 +1010,7 @@ type TenantLight {
|
|
1009
1010
|
access: String
|
1010
1011
|
}`;
|
1011
1012
|
export class TenantLight {
|
1013
|
+
_id: string;
|
1012
1014
|
domainMemberships: string[];
|
1013
1015
|
email: string;
|
1014
1016
|
tagId: string;
|
@@ -1019,6 +1021,7 @@ export class TenantLight {
|
|
1019
1021
|
access?: string;
|
1020
1022
|
|
1021
1023
|
constructor(tenant: Tenant) {
|
1024
|
+
this._id = tenant._id;
|
1022
1025
|
this.domainMemberships = tenant.domainMemberships;
|
1023
1026
|
this.email = tenant.email;
|
1024
1027
|
this.tagId = tenant.tagId;
|
@@ -1109,7 +1112,7 @@ type Recommendation {${SharedPrimitiveFields}
|
|
1109
1112
|
snoozed: Boolean!
|
1110
1113
|
thumbs: String
|
1111
1114
|
comment: String
|
1112
|
-
status:
|
1115
|
+
status: String
|
1113
1116
|
}`;
|
1114
1117
|
export class Recommendation extends SharedPrimitive implements BaseTask {
|
1115
1118
|
referenceBlock: ReferenceBlock; // This is the block that caused the recommendation to happen
|
@@ -1242,7 +1245,7 @@ type Article {${PrimitiveFields}
|
|
1242
1245
|
archived: Boolean!
|
1243
1246
|
favorite: Boolean!
|
1244
1247
|
snoozed: Boolean
|
1245
|
-
status:
|
1248
|
+
status: String
|
1246
1249
|
originNoteId: String
|
1247
1250
|
editorId: String
|
1248
1251
|
editorGroupId: String
|
@@ -1494,7 +1497,7 @@ export class Note extends Block {
|
|
1494
1497
|
}
|
1495
1498
|
|
1496
1499
|
export const TaskFields = `${BlockFields}
|
1497
|
-
status:
|
1500
|
+
status: String!
|
1498
1501
|
dateDue: Float
|
1499
1502
|
editorId: String
|
1500
1503
|
editorGroupId: String
|
@@ -1504,7 +1507,7 @@ export const TaskFields = `${BlockFields}
|
|
1504
1507
|
recurrence: [String]
|
1505
1508
|
`;
|
1506
1509
|
export const TaskFieldsForUpsert = `${BlockFieldsForUpsert}
|
1507
|
-
status:
|
1510
|
+
status: String
|
1508
1511
|
dateDue: Float
|
1509
1512
|
snoozed: Boolean
|
1510
1513
|
steps: [TaskStepInput]
|
@@ -2042,7 +2045,7 @@ export const OptionQL = `
|
|
2042
2045
|
type Option {
|
2043
2046
|
label: String!
|
2044
2047
|
value: String!
|
2045
|
-
status:
|
2048
|
+
status: String
|
2046
2049
|
priority: String
|
2047
2050
|
}`;
|
2048
2051
|
export interface Option {
|
@@ -2587,7 +2590,7 @@ input UpsertSearchInput {
|
|
2587
2590
|
orderByAlias: String
|
2588
2591
|
dateDueFrom: Float
|
2589
2592
|
dateDueTo: Float
|
2590
|
-
status:
|
2593
|
+
status: String
|
2591
2594
|
editorId: String
|
2592
2595
|
editorGroupId: String
|
2593
2596
|
parentId: String
|
@@ -2612,7 +2615,7 @@ export interface UpsertSearchInput {
|
|
2612
2615
|
orderByAlias?: OrderByDirection;
|
2613
2616
|
dateDueFrom?: number;
|
2614
2617
|
dateDueTo?: number;
|
2615
|
-
status?:
|
2618
|
+
status?: TaskStatus;
|
2616
2619
|
editorId?: string;
|
2617
2620
|
editorGroupId?: string;
|
2618
2621
|
parentId?: string;
|
@@ -2715,7 +2718,7 @@ input SearchInput {
|
|
2715
2718
|
orderByAlias: String
|
2716
2719
|
dateDueFrom: Float
|
2717
2720
|
dateDueTo: Float
|
2718
|
-
status:
|
2721
|
+
status: String
|
2719
2722
|
originNoteId: String
|
2720
2723
|
editorId: String
|
2721
2724
|
editorGroupId: String
|