@bigfootai/bigfoot-types 5.1.29 → 5.1.30
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 -4
- package/model.ts +11 -6
- 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.ConnectedProviderQL = 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.ReactionQL = exports.ReactionSkinToneQL = exports.BusinessObjectLinkQL = exports.BusinessObjectLinkInputQL = exports.SharingTenantQL = exports.TenantSettingQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = 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.GraphSearchInputFields = exports.SortOptionInputQL = exports.BusinessObjectFilterInputQL = exports.StringFilterInputQL = exports.NumberFilterInputQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.BlockTypeQL = void 0;
|
4
|
+
exports.BlockFieldsForUpsert = exports.BlockFields = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.NotificationRecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ConnectRecommendationQL = exports.TenantLight = exports.TenantLightQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.GraphTagsInputQL = exports.GraphTagQL = exports.TagTypeQL = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = 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.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = void 0;
|
5
|
+
exports.TableMetadataQL = exports.FieldValueQL = exports.FieldValueInputQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = exports.Template = exports.TemplateQL = exports.DashboardMetadata = exports.DashboardMetadataQL = exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = exports.DashboardQL = exports.BlockDataQL = exports.Document = exports.DocumentQL = exports.DocumentFields = exports.Thread = 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 = void 0;
|
6
|
+
exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = exports.UpsertFolderInputQL = exports.UpdateTaskInputQL = 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.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 = void 0;
|
7
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.BusinessObjectFilterInputQL = exports.StringFilterInputQL = exports.NumberFilterInputQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.BlockTypeQL = exports.SearchInputQL = 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
|
@@ -757,6 +757,10 @@ type ShareRecommendation {
|
|
757
757
|
shared: Boolean!
|
758
758
|
tenant: TenantLight!
|
759
759
|
}`;
|
760
|
+
exports.NotificationRecommendationQL = `
|
761
|
+
type NotificationRecommendation {
|
762
|
+
dashboard: Dashboard!
|
763
|
+
}`;
|
760
764
|
exports.RecommendationQL = `
|
761
765
|
type Recommendation {${exports.SharedPrimitiveFields}
|
762
766
|
referenceBlock: ReferenceBlock
|
@@ -764,6 +768,7 @@ type Recommendation {${exports.SharedPrimitiveFields}
|
|
764
768
|
connectRecommendation: ConnectRecommendation
|
765
769
|
upsertRecommendation: UpsertRecommendation
|
766
770
|
shareRecommendation: ShareRecommendation
|
771
|
+
notificationRecommendation: NotificationRecommendation
|
767
772
|
parentId: String
|
768
773
|
dateDue: Float
|
769
774
|
dateRemindMe: Float
|
@@ -1765,6 +1770,7 @@ ${exports.TenantLightQL}
|
|
1765
1770
|
${exports.ConnectRecommendationQL}
|
1766
1771
|
${exports.UpsertRecommendationQL}
|
1767
1772
|
${exports.ShareRecommendationQL}
|
1773
|
+
${exports.NotificationRecommendationQL}
|
1768
1774
|
${exports.RecommendationQL}
|
1769
1775
|
${exports.ConnectedProviderQL}
|
1770
1776
|
${exports.ReferenceBlockInputQL}
|
package/model.ts
CHANGED
@@ -1153,6 +1153,14 @@ export interface ShareRecommendation {
|
|
1153
1153
|
tenant: TenantLight;
|
1154
1154
|
}
|
1155
1155
|
|
1156
|
+
export const NotificationRecommendationQL = `
|
1157
|
+
type NotificationRecommendation {
|
1158
|
+
dashboard: Dashboard!
|
1159
|
+
}`;
|
1160
|
+
export interface NotificationRecommendation {
|
1161
|
+
dashboard: Dashboard;
|
1162
|
+
}
|
1163
|
+
|
1156
1164
|
export interface BaseTask {
|
1157
1165
|
dateDue?: number;
|
1158
1166
|
dateRemindMe?: number;
|
@@ -1169,6 +1177,7 @@ type Recommendation {${SharedPrimitiveFields}
|
|
1169
1177
|
connectRecommendation: ConnectRecommendation
|
1170
1178
|
upsertRecommendation: UpsertRecommendation
|
1171
1179
|
shareRecommendation: ShareRecommendation
|
1180
|
+
notificationRecommendation: NotificationRecommendation
|
1172
1181
|
parentId: String
|
1173
1182
|
dateDue: Float
|
1174
1183
|
dateRemindMe: Float
|
@@ -1185,6 +1194,7 @@ export class Recommendation extends SharedPrimitive implements BaseTask {
|
|
1185
1194
|
connectRecommendation?: ConnectRecommendation; // For provider recommendations, we use this field
|
1186
1195
|
upsertRecommendation?: UpsertRecommendation; // For data upsert recommendations, we use this field
|
1187
1196
|
shareRecommendation?: ShareRecommendation; // For instances when a block is shared with a tenant
|
1197
|
+
notificationRecommendation?: NotificationRecommendation; // For instances where the app wants to tell us something
|
1188
1198
|
parentId?: string; // Any parent recommendation that generated this recommendation
|
1189
1199
|
dateDue?: number;
|
1190
1200
|
dateRemindMe?: number;
|
@@ -2014,12 +2024,6 @@ export interface BlockDescription {
|
|
2014
2024
|
tagType?: TagType;
|
2015
2025
|
}
|
2016
2026
|
|
2017
|
-
export interface BlockDescriptionResult {
|
2018
|
-
name: string;
|
2019
|
-
title?: string;
|
2020
|
-
content: string;
|
2021
|
-
}
|
2022
|
-
|
2023
2027
|
export const DocumentMetadataQL = `
|
2024
2028
|
type DocumentMetadata {${MetadataFields}
|
2025
2029
|
blockDescriptions: [BlockDescription]!
|
@@ -3112,6 +3116,7 @@ ${TenantLightQL}
|
|
3112
3116
|
${ConnectRecommendationQL}
|
3113
3117
|
${UpsertRecommendationQL}
|
3114
3118
|
${ShareRecommendationQL}
|
3119
|
+
${NotificationRecommendationQL}
|
3115
3120
|
${RecommendationQL}
|
3116
3121
|
${ConnectedProviderQL}
|
3117
3122
|
${ReferenceBlockInputQL}
|