@bigfootai/bigfoot-types 4.8.8 → 4.8.10
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 +11 -3
- package/model.ts +15 -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.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.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.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 = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveRecommendationOutputQL = exports.ArchiveRecommendationInputQL = exports.UpdateRecommendationInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = void 0;
|
4
|
+
exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.History = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ConnectRecommendationQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.BusinessObjectLinkingToTagQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Folder = exports.FolderQL = 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 = void 0;
|
5
|
+
exports.UpsertNoteInputQL = exports.FindDocumentInputQL = 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 = exports.TaskQL = exports.TaskFieldsForUpsert = exports.TaskFields = exports.Note = exports.NoteQL = exports.BusinessObject = exports.BusinessObjectQL = 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 = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveRecommendationOutputQL = exports.ArchiveRecommendationInputQL = exports.UpdateRecommendationInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = 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
|
@@ -617,6 +617,8 @@ exports.TagFieldsWithoutSharing = `${exports.PrimitiveFields}
|
|
617
617
|
originNoteId: String
|
618
618
|
tenantIdVerified: String
|
619
619
|
businessObjects: [BusinessObjectLink]
|
620
|
+
merged: Boolean
|
621
|
+
mergedWithTagId: String
|
620
622
|
archived: Boolean!
|
621
623
|
favorite: Boolean
|
622
624
|
hasAutoShareNotesOn: Boolean
|
@@ -679,12 +681,17 @@ type UpsertRecommendation {
|
|
679
681
|
metadata: Metadata
|
680
682
|
connectionId: String!
|
681
683
|
}`;
|
684
|
+
exports.ShareRecommendationQL = `
|
685
|
+
type ShareRecommendation {
|
686
|
+
shared: Boolean!
|
687
|
+
}`;
|
682
688
|
exports.RecommendationQL = `
|
683
689
|
type Recommendation {${exports.SharedPrimitiveFields}
|
684
690
|
referenceBlock: ReferenceBlock
|
685
691
|
recommendationType: String!
|
686
692
|
connectRecommendation: ConnectRecommendation
|
687
693
|
upsertRecommendation: UpsertRecommendation
|
694
|
+
shareRecommendation: ShareRecommendation
|
688
695
|
parentId: String
|
689
696
|
dateDue: Float
|
690
697
|
dateRemindMe: Float
|
@@ -1523,6 +1530,7 @@ ${exports.TagQL}
|
|
1523
1530
|
${exports.TagRecommendationQL}
|
1524
1531
|
${exports.ConnectRecommendationQL}
|
1525
1532
|
${exports.UpsertRecommendationQL}
|
1533
|
+
${exports.ShareRecommendationQL}
|
1526
1534
|
${exports.RecommendationQL}
|
1527
1535
|
${exports.ConnectedProviderQL}
|
1528
1536
|
${exports.ReferenceBlockInputQL}
|
package/model.ts
CHANGED
@@ -913,6 +913,8 @@ export const TagFieldsWithoutSharing = `${PrimitiveFields}
|
|
913
913
|
originNoteId: String
|
914
914
|
tenantIdVerified: String
|
915
915
|
businessObjects: [BusinessObjectLink]
|
916
|
+
merged: Boolean
|
917
|
+
mergedWithTagId: String
|
916
918
|
archived: Boolean!
|
917
919
|
favorite: Boolean
|
918
920
|
hasAutoShareNotesOn: Boolean
|
@@ -951,8 +953,8 @@ export class Tag extends Primitive {
|
|
951
953
|
_savedSearchId?: string;
|
952
954
|
_inviteCode?: string;
|
953
955
|
_dateInviteCodeExpires?: number;
|
954
|
-
|
955
|
-
|
956
|
+
merged?: boolean;
|
957
|
+
mergedWithTagId?: string;
|
956
958
|
|
957
959
|
constructor(tenantIdCreated: string, alias: string, tagType: TagType) {
|
958
960
|
super();
|
@@ -1032,6 +1034,14 @@ export interface UpsertRecommendation {
|
|
1032
1034
|
connectionId: string;
|
1033
1035
|
}
|
1034
1036
|
|
1037
|
+
export const ShareRecommendationQL = `
|
1038
|
+
type ShareRecommendation {
|
1039
|
+
shared: Boolean!
|
1040
|
+
}`;
|
1041
|
+
export interface ShareRecommendation {
|
1042
|
+
shared: boolean;
|
1043
|
+
}
|
1044
|
+
|
1035
1045
|
export interface BaseTask {
|
1036
1046
|
dateDue?: number;
|
1037
1047
|
dateRemindMe?: number;
|
@@ -1047,6 +1057,7 @@ type Recommendation {${SharedPrimitiveFields}
|
|
1047
1057
|
recommendationType: String!
|
1048
1058
|
connectRecommendation: ConnectRecommendation
|
1049
1059
|
upsertRecommendation: UpsertRecommendation
|
1060
|
+
shareRecommendation: ShareRecommendation
|
1050
1061
|
parentId: String
|
1051
1062
|
dateDue: Float
|
1052
1063
|
dateRemindMe: Float
|
@@ -1062,6 +1073,7 @@ export class Recommendation extends SharedPrimitive implements BaseTask {
|
|
1062
1073
|
recommendationType: RecommendationType;
|
1063
1074
|
connectRecommendation?: ConnectRecommendation; // For provider recommendations, we use this field
|
1064
1075
|
upsertRecommendation?: UpsertRecommendation; // For data upsert recommendations, we use this field
|
1076
|
+
shareRecommendation?: ShareRecommendation; // For instances when a block is shared with a tenant
|
1065
1077
|
parentId?: string; // Any parent recommendation that generated this recommendation
|
1066
1078
|
dateDue?: number;
|
1067
1079
|
dateRemindMe?: number;
|
@@ -2738,6 +2750,7 @@ ${TagQL}
|
|
2738
2750
|
${TagRecommendationQL}
|
2739
2751
|
${ConnectRecommendationQL}
|
2740
2752
|
${UpsertRecommendationQL}
|
2753
|
+
${ShareRecommendationQL}
|
2741
2754
|
${RecommendationQL}
|
2742
2755
|
${ConnectedProviderQL}
|
2743
2756
|
${ReferenceBlockInputQL}
|