@bigfootai/bigfoot-types 5.3.4 → 5.3.6
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 +18 -4
- package/model.ts +24 -0
- package/package.json +1 -1
package/model.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CredentialQL = exports.StandardObjectsQL = exports.ProviderResponseQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.EntityEntryQL = exports.EntityEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.TaskStepQL = exports.TaskStepInputQL = exports.ExternalIdLinkQL = exports.ExternalIdLinkInputQL = exports.BusinessObjectLinkQL = exports.BusinessObjectLinkInputQL = exports.SharingTenantQL = exports.TenantSettingQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.PubSubType = exports.RelationType = exports.EntityType = exports.RecordType = exports.ThumbsDirection = exports.ProcessingStage = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.TagRecommendationType = exports.InviteStatus = exports.OrderByDirection = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.TaskPriority = exports.AccessType = exports.SharingLevel = exports.ClientType = exports.ExportType = exports.TagType = exports.UpsertType = exports.RecommendationType = exports.BlockType = void 0;
|
4
|
-
exports.
|
5
|
-
exports.
|
6
|
-
exports.
|
7
|
-
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchQL = exports.GraphSearchFields = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.SortOptionQL = exports.SortOptionFieldsQL = exports.BusinessObjectFilterInputQL = exports.BusinessObjectFilterQL = exports.BusinessObjectFilterFieldsQL = exports.StringFilterInputQL = exports.StringFilterQL = exports.StringFilterFieldsQL = exports.NumberFilterInputQL = exports.NumberFilterQL = exports.NumberFilterFieldsQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.RemoveReactionInputQL = exports.AddReactionInputQL = exports.FindReactionsInputQL = exports.ReactionQL = exports.FindTagsVisibilityInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.RecommendationTypeQL = exports.BlockTypeQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = void 0;
|
4
|
+
exports.Recommendation = exports.RecommendationQL = exports.NotificationRecommendationQL = exports.MessageRecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ChangeRecommendationQL = exports.ReactionRecommendationQL = exports.ConnectRecommendationQL = exports.TenantLight = exports.TenantLightQL = exports.TenantLightInputQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.GraphTagsInputQL = exports.GraphTagQL = exports.TagTypeQL = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.ExternalIdQL = exports.DashboardTagSubscriptionQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Folder = exports.FolderQL = exports.History = exports.Metadata = exports.MetadataQL = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFieldsForUpsert = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFieldsForUpsert = exports.PrimitiveFields = exports.FindExternalTagReferenceInputQL = exports.FindExternalTagReferencesInputQL = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = void 0;
|
5
|
+
exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = exports.DashboardQL = exports.BlockData = exports.BlockDataQL = exports.Document = exports.DocumentQL = exports.DocumentFields = exports.Message = exports.MessageQL = exports.UpsertMessageInputQL = exports.Todo = exports.Calendar = exports.CalendarQL = exports.Event = exports.EventQL = exports.PersonAcceptanceQL = exports.ResponseStatus = exports.EventStatus = exports.Conference = exports.ConferenceQL = exports.ConferenceEntrypointQL = exports.TranscriptionQL = exports.TranscriptionEntryQL = exports.Task = exports.TaskQL = exports.Note = exports.NoteQL = exports.Section = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFieldsForUpsert = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockQL = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = void 0;
|
6
|
+
exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.MergeTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveRecommendationOutputQL = exports.ArchiveRecommendationInputQL = exports.UpdateRecommendationInputQL = exports.ArchiveBlockOutputQL = exports.ArchiveBlockInputQL = exports.FindBlocksInputQL = exports.FindBlockInputQL = exports.UpsertNoteInputQL = exports.FindDashboardBlockInputQL = exports.FindDashboardInputQL = exports.UpsertDocumentInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindDomainInputQL = exports.FindTenantsInputQL = exports.FindTenantInputQL = exports.UpsertRecordsInputQL = exports.FindRecordsInputQL = exports.FindRecordInputQL = exports.Table = exports.TableQL = exports.TableFields = exports.Record = exports.RecordQL = exports.RecordInputQL = exports.TableMetadata = exports.TableMetadataQL = exports.FieldValueQL = exports.FieldValueInputQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = exports.Template = exports.TemplateQL = exports.DashboardMetadata = exports.DashboardMetadataQL = void 0;
|
7
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchQL = exports.GraphSearchFields = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.SortOptionQL = exports.SortOptionFieldsQL = exports.BusinessObjectFilterInputQL = exports.BusinessObjectFilterQL = exports.BusinessObjectFilterFieldsQL = exports.StringFilterInputQL = exports.StringFilterQL = exports.StringFilterFieldsQL = exports.NumberFilterInputQL = exports.NumberFilterQL = exports.NumberFilterFieldsQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.RemoveReactionInputQL = exports.AddReactionInputQL = exports.FindReactionsInputQL = exports.ReactionQL = exports.FindTagsVisibilityInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.RecommendationTypeQL = exports.BlockTypeQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = exports.UpsertFolderInputQL = exports.UpdateTaskInputQL = void 0;
|
8
8
|
const uuid_1 = require("uuid");
|
9
9
|
/*
|
10
10
|
These are the core primitives of our model. These represent the entities that show
|
@@ -39,6 +39,8 @@ var RecommendationType;
|
|
39
39
|
RecommendationType["Share"] = "share";
|
40
40
|
RecommendationType["Notification"] = "notification";
|
41
41
|
RecommendationType["Message"] = "message";
|
42
|
+
RecommendationType["Reaction"] = "reaction";
|
43
|
+
RecommendationType["Change"] = "change";
|
42
44
|
})(RecommendationType || (exports.RecommendationType = RecommendationType = {}));
|
43
45
|
var UpsertType;
|
44
46
|
(function (UpsertType) {
|
@@ -824,6 +826,14 @@ type ConnectRecommendation {
|
|
824
826
|
providerResponse: ProviderResponse
|
825
827
|
providerInfo: ProviderInfo!
|
826
828
|
}`;
|
829
|
+
exports.ReactionRecommendationQL = `
|
830
|
+
type ReactionRecommendation {
|
831
|
+
reaction: Reaction!
|
832
|
+
}`;
|
833
|
+
exports.ChangeRecommendationQL = `
|
834
|
+
type ChangeRecommendation {
|
835
|
+
status: String
|
836
|
+
}`;
|
827
837
|
exports.UpsertRecommendationQL = `
|
828
838
|
type UpsertRecommendation {
|
829
839
|
table: Table
|
@@ -855,6 +865,8 @@ type Recommendation {${exports.SharedPrimitiveFields}
|
|
855
865
|
shareRecommendation: ShareRecommendation
|
856
866
|
messageRecommendation: MessageRecommendation
|
857
867
|
notificationRecommendation: NotificationRecommendation
|
868
|
+
reactionRecommendation: ReactionRecommendation
|
869
|
+
changeRecommendation: ChangeRecommendation
|
858
870
|
parentId: String
|
859
871
|
dateDue: Float
|
860
872
|
dateRemindMe: Float
|
@@ -1982,6 +1994,8 @@ ${exports.TagRecommendationQL}
|
|
1982
1994
|
${exports.TenantLightInputQL}
|
1983
1995
|
${exports.TenantLightQL}
|
1984
1996
|
${exports.ConnectRecommendationQL}
|
1997
|
+
${exports.ReactionRecommendationQL}
|
1998
|
+
${exports.ChangeRecommendationQL}
|
1985
1999
|
${exports.UpsertRecommendationQL}
|
1986
2000
|
${exports.ShareRecommendationQL}
|
1987
2001
|
${exports.MessageRecommendationQL}
|
package/model.ts
CHANGED
@@ -32,6 +32,8 @@ export enum RecommendationType {
|
|
32
32
|
Share = 'share',
|
33
33
|
Notification = 'notification',
|
34
34
|
Message = 'message',
|
35
|
+
Reaction = 'reaction',
|
36
|
+
Change = 'change',
|
35
37
|
}
|
36
38
|
|
37
39
|
export enum UpsertType {
|
@@ -1249,6 +1251,22 @@ export interface ConnectRecommendation {
|
|
1249
1251
|
providerInfo: ProviderInfo;
|
1250
1252
|
}
|
1251
1253
|
|
1254
|
+
export const ReactionRecommendationQL = `
|
1255
|
+
type ReactionRecommendation {
|
1256
|
+
reaction: Reaction!
|
1257
|
+
}`;
|
1258
|
+
export interface ReactionRecommendation {
|
1259
|
+
reaction: Reaction;
|
1260
|
+
}
|
1261
|
+
|
1262
|
+
export const ChangeRecommendationQL = `
|
1263
|
+
type ChangeRecommendation {
|
1264
|
+
status: String
|
1265
|
+
}`;
|
1266
|
+
export interface ChangeRecommendation {
|
1267
|
+
status?: TaskStatus;
|
1268
|
+
}
|
1269
|
+
|
1252
1270
|
export const UpsertRecommendationQL = `
|
1253
1271
|
type UpsertRecommendation {
|
1254
1272
|
table: Table
|
@@ -1311,6 +1329,8 @@ type Recommendation {${SharedPrimitiveFields}
|
|
1311
1329
|
shareRecommendation: ShareRecommendation
|
1312
1330
|
messageRecommendation: MessageRecommendation
|
1313
1331
|
notificationRecommendation: NotificationRecommendation
|
1332
|
+
reactionRecommendation: ReactionRecommendation
|
1333
|
+
changeRecommendation: ChangeRecommendation
|
1314
1334
|
parentId: String
|
1315
1335
|
dateDue: Float
|
1316
1336
|
dateRemindMe: Float
|
@@ -1329,6 +1349,8 @@ export class Recommendation extends SharedPrimitive implements BaseTask {
|
|
1329
1349
|
shareRecommendation?: ShareRecommendation; // For instances when a block is shared with a tenant
|
1330
1350
|
messageRecommendation?: MessageRecommendation; // For instances when a message is shared
|
1331
1351
|
notificationRecommendation?: NotificationRecommendation; // For instances where the app wants to tell us something
|
1352
|
+
reactionRecommendation?: ReactionRecommendation; // For recommendations that are related to emoji
|
1353
|
+
changeRecommendation?: ChangeRecommendation; // Something changed for a block that is noteworthy
|
1332
1354
|
parentId?: string; // Any parent recommendation that generated this recommendation
|
1333
1355
|
dateDue?: number;
|
1334
1356
|
dateRemindMe?: number;
|
@@ -3460,6 +3482,8 @@ ${TagRecommendationQL}
|
|
3460
3482
|
${TenantLightInputQL}
|
3461
3483
|
${TenantLightQL}
|
3462
3484
|
${ConnectRecommendationQL}
|
3485
|
+
${ReactionRecommendationQL}
|
3486
|
+
${ChangeRecommendationQL}
|
3463
3487
|
${UpsertRecommendationQL}
|
3464
3488
|
${ShareRecommendationQL}
|
3465
3489
|
${MessageRecommendationQL}
|