@bigfootai/bigfoot-types 4.5.21 → 4.6.1
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 +10 -6
- package/model.ts +11 -6
- package/package.json +1 -1
package/model.js
CHANGED
@@ -83,9 +83,10 @@ var OrderByDirection;
|
|
83
83
|
})(OrderByDirection || (exports.OrderByDirection = OrderByDirection = {}));
|
84
84
|
var InviteStatus;
|
85
85
|
(function (InviteStatus) {
|
86
|
-
InviteStatus[
|
87
|
-
InviteStatus[
|
88
|
-
InviteStatus[
|
86
|
+
InviteStatus["NotInvited"] = "not_invited";
|
87
|
+
InviteStatus["SendInvite"] = "send_invite";
|
88
|
+
InviteStatus["InviteSent"] = "invite_sent";
|
89
|
+
InviteStatus["InviteAccepted"] = "invite_accepted";
|
89
90
|
})(InviteStatus || (exports.InviteStatus = InviteStatus = {}));
|
90
91
|
var TagRecommendationType;
|
91
92
|
(function (TagRecommendationType) {
|
@@ -544,7 +545,7 @@ exports.TagFieldsWithoutSharing = `${exports.PrimitiveFields}
|
|
544
545
|
dbpedia: String
|
545
546
|
email: String
|
546
547
|
avatar: String
|
547
|
-
inviteStatus:
|
548
|
+
inviteStatus: String
|
548
549
|
originNoteId: String
|
549
550
|
tenantIdVerified: String
|
550
551
|
archived: Boolean!
|
@@ -565,6 +566,9 @@ class Tag extends Primitive {
|
|
565
566
|
this.archived = false;
|
566
567
|
this.favorite = false;
|
567
568
|
this._createdByAI = false;
|
569
|
+
if (this.tagType == TagType.Person) {
|
570
|
+
this.inviteStatus = InviteStatus.NotInvited;
|
571
|
+
}
|
568
572
|
}
|
569
573
|
}
|
570
574
|
exports.Tag = Tag;
|
@@ -1149,7 +1153,7 @@ input UpsertTagInput {
|
|
1149
1153
|
dbpedia: String
|
1150
1154
|
email: String
|
1151
1155
|
avatar: String
|
1152
|
-
inviteStatus:
|
1156
|
+
inviteStatus: String
|
1153
1157
|
originNoteId: String
|
1154
1158
|
favorite: Boolean
|
1155
1159
|
hasAutoShareNotesOn: Boolean
|
@@ -1297,7 +1301,7 @@ input SearchTagsInput {
|
|
1297
1301
|
_ids: [String]
|
1298
1302
|
search: String
|
1299
1303
|
email: String
|
1300
|
-
inviteStatus:
|
1304
|
+
inviteStatus: String
|
1301
1305
|
archived: Boolean
|
1302
1306
|
favorite: Boolean
|
1303
1307
|
hasTasks: Boolean
|
package/model.ts
CHANGED
@@ -77,9 +77,10 @@ export enum OrderByDirection {
|
|
77
77
|
}
|
78
78
|
|
79
79
|
export enum InviteStatus {
|
80
|
-
NotInvited =
|
81
|
-
|
82
|
-
|
80
|
+
NotInvited = 'not_invited',
|
81
|
+
SendInvite = 'send_invite',
|
82
|
+
InviteSent = 'invite_sent',
|
83
|
+
InviteAccepted = 'invite_accepted',
|
83
84
|
}
|
84
85
|
|
85
86
|
export enum TagRecommendationType {
|
@@ -801,7 +802,7 @@ export const TagFieldsWithoutSharing = `${PrimitiveFields}
|
|
801
802
|
dbpedia: String
|
802
803
|
email: String
|
803
804
|
avatar: String
|
804
|
-
inviteStatus:
|
805
|
+
inviteStatus: String
|
805
806
|
originNoteId: String
|
806
807
|
tenantIdVerified: String
|
807
808
|
archived: Boolean!
|
@@ -850,6 +851,10 @@ export class Tag extends Primitive {
|
|
850
851
|
this.archived = false;
|
851
852
|
this.favorite = false;
|
852
853
|
this._createdByAI = false;
|
854
|
+
|
855
|
+
if (this.tagType == TagType.Person) {
|
856
|
+
this.inviteStatus = InviteStatus.NotInvited;
|
857
|
+
}
|
853
858
|
}
|
854
859
|
}
|
855
860
|
|
@@ -2076,7 +2081,7 @@ input UpsertTagInput {
|
|
2076
2081
|
dbpedia: String
|
2077
2082
|
email: String
|
2078
2083
|
avatar: String
|
2079
|
-
inviteStatus:
|
2084
|
+
inviteStatus: String
|
2080
2085
|
originNoteId: String
|
2081
2086
|
favorite: Boolean
|
2082
2087
|
hasAutoShareNotesOn: Boolean
|
@@ -2361,7 +2366,7 @@ input SearchTagsInput {
|
|
2361
2366
|
_ids: [String]
|
2362
2367
|
search: String
|
2363
2368
|
email: String
|
2364
|
-
inviteStatus:
|
2369
|
+
inviteStatus: String
|
2365
2370
|
archived: Boolean
|
2366
2371
|
favorite: Boolean
|
2367
2372
|
hasTasks: Boolean
|