@bigfootai/bigfoot-types 4.7.2 → 4.7.4
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 +13 -4
- package/model.ts +10 -2
- package/package.json +1 -1
package/model.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = exports.CredentialQL = exports.StandardObjectsQL = exports.ProviderResponseQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.DateEntityEntryQL = exports.EntityEntryQL = exports.EntityEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.DocumentSentimentQL = exports.TaskStepQL = exports.TaskStepInputQL = exports.ReactionQL = exports.ReactionSkinToneQL = exports.BusinessObjectLinkQL = exports.BusinessObjectLinkInputQL = exports.SharingTenantQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.RelationType = exports.EntityType = exports.RecordType = exports.ProcessingStage = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.TagRecommendationVariation = exports.TagRecommendationType = exports.InviteStatus = exports.OrderByDirection = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.TaskPriority = exports.SharingLevel = exports.ClientType = exports.TagType = exports.UpsertType = exports.RecommendationType = exports.BlockType = void 0;
|
4
|
-
exports.
|
5
|
-
exports.
|
6
|
-
exports.GraphQLTypes = 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.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.MergeTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = void 0;
|
4
|
+
exports.TaskQL = exports.TaskFields = exports.Note = exports.NoteQL = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.History = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.UpsertRecommendationQL = exports.ConnectRecommendationQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Folder = exports.FolderQL = exports.Metadata = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = void 0;
|
5
|
+
exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindArticlesInputQL = exports.FindArticleInputQL = exports.FindDomainInputQL = exports.FindTenantInputQL = exports.Table = exports.TableQL = exports.Record = exports.RecordQL = exports.TableMetadata = exports.TableMetadataQL = exports.FieldValueQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = exports.Template = exports.TemplateQL = exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Document = exports.DocumentQL = 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 = void 0;
|
6
|
+
exports.GraphQLTypes = 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.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.MergeTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = void 0;
|
7
7
|
const uuid_1 = require("uuid");
|
8
8
|
/*
|
9
9
|
These are the core primitives of our model. These represent the entities that show
|
@@ -641,6 +641,14 @@ type UpsertRecommendation {
|
|
641
641
|
upsertType: String!
|
642
642
|
connectRecommendations: [ConnectRecommendation]
|
643
643
|
}`;
|
644
|
+
exports.RecommendationQL = `
|
645
|
+
type Recommendation {${exports.SharedPrimitiveFields}
|
646
|
+
referenceBlock: ReferenceBlock
|
647
|
+
tenantIdCreated: Record!
|
648
|
+
recommendationType: String!
|
649
|
+
connectRecommendation: ConnectRecommendation
|
650
|
+
upsertRecommendation: UpsertRecommendation
|
651
|
+
}`;
|
644
652
|
class Recommendation extends SharedPrimitive {
|
645
653
|
constructor(sharingTags, referenceBlock, tenantIdCreated, recommendationType) {
|
646
654
|
// For the sharing tags, we do it a little differently depending on the global nature of the recommendation. If theirs
|
@@ -712,7 +720,6 @@ type Article {${exports.PrimitiveFields}
|
|
712
720
|
businessObjects: [BusinessObjectLink]
|
713
721
|
sharingTags: [SharingTag]
|
714
722
|
tagRecommendations: [TagRecommendation]
|
715
|
-
connectRecommendations: [ConnectRecommendation]
|
716
723
|
relations: [RelationEntry]
|
717
724
|
archived: Boolean!
|
718
725
|
favorite: Boolean!
|
@@ -1439,6 +1446,8 @@ ${exports.ProviderQL}
|
|
1439
1446
|
${exports.TagQL}
|
1440
1447
|
${exports.TagRecommendationQL}
|
1441
1448
|
${exports.ConnectRecommendationQL}
|
1449
|
+
${exports.UpsertRecommendationQL}
|
1450
|
+
${exports.RecommendationQL}
|
1442
1451
|
${exports.ConnectedProviderQL}
|
1443
1452
|
${exports.ReferenceBlockInputQL}
|
1444
1453
|
${exports.ReferenceBlockQL}
|
package/model.ts
CHANGED
@@ -973,6 +973,14 @@ export interface UpsertRecommendation {
|
|
973
973
|
connectRecommendations?: ConnectRecommendation[]; // Lists out any recommended providers that could be used to perform the data update
|
974
974
|
}
|
975
975
|
|
976
|
+
export const RecommendationQL = `
|
977
|
+
type Recommendation {${SharedPrimitiveFields}
|
978
|
+
referenceBlock: ReferenceBlock
|
979
|
+
tenantIdCreated: Record!
|
980
|
+
recommendationType: String!
|
981
|
+
connectRecommendation: ConnectRecommendation
|
982
|
+
upsertRecommendation: UpsertRecommendation
|
983
|
+
}`;
|
976
984
|
export class Recommendation extends SharedPrimitive {
|
977
985
|
referenceBlock: ReferenceBlock; // This is the block that caused the recommendation to happen
|
978
986
|
tenantIdCreated: string;
|
@@ -1079,7 +1087,6 @@ type Article {${PrimitiveFields}
|
|
1079
1087
|
businessObjects: [BusinessObjectLink]
|
1080
1088
|
sharingTags: [SharingTag]
|
1081
1089
|
tagRecommendations: [TagRecommendation]
|
1082
|
-
connectRecommendations: [ConnectRecommendation]
|
1083
1090
|
relations: [RelationEntry]
|
1084
1091
|
archived: Boolean!
|
1085
1092
|
favorite: Boolean!
|
@@ -1103,7 +1110,6 @@ export class Article extends Primitive {
|
|
1103
1110
|
businessObjects?: BusinessObjectLink[];
|
1104
1111
|
sharingTags?: SharingTag[];
|
1105
1112
|
tagRecommendations?: TagRecommendation[];
|
1106
|
-
connectRecommendations?: ConnectRecommendation[];
|
1107
1113
|
relations?: RelationEntry[];
|
1108
1114
|
archived: boolean;
|
1109
1115
|
favorite: boolean;
|
@@ -2592,6 +2598,8 @@ ${ProviderQL}
|
|
2592
2598
|
${TagQL}
|
2593
2599
|
${TagRecommendationQL}
|
2594
2600
|
${ConnectRecommendationQL}
|
2601
|
+
${UpsertRecommendationQL}
|
2602
|
+
${RecommendationQL}
|
2595
2603
|
${ConnectedProviderQL}
|
2596
2604
|
${ReferenceBlockInputQL}
|
2597
2605
|
${ReferenceBlockQL}
|