@bigfootai/bigfoot-types 4.2.10 → 4.3.0
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 +23 -3
- package/model.ts +30 -0
- package/package.json +1 -1
package/model.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.
|
5
|
-
exports.GraphQLTypes = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = 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.Table = exports.FieldVariation = exports.FieldType = exports.Template = exports.Website = void 0;
|
3
|
+
exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = exports.CredentialQL = exports.StandardObjectsQL = 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.SharingTenantQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.RelationType = exports.EntityType = 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.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = void 0;
|
4
|
+
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.TaskFields = exports.Note = exports.NoteQL = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.BusinessObjectIngestionResponse = exports.History = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Organization = exports.Domain = exports.Tenant = exports.TenantQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.Provider = exports.ProviderQL = exports.ProviderApplication = exports.ProviderApplicationQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.SharedPrimitive = void 0;
|
5
|
+
exports.GraphQLTypes = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = 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.Table = exports.FieldVariation = exports.FieldType = exports.Template = exports.Website = exports.Document = void 0;
|
6
6
|
const uuid_1 = require("uuid");
|
7
7
|
/*
|
8
8
|
These are the core primitives of our model. These represent the entities that show
|
@@ -339,6 +339,12 @@ type ConnectedProvider {
|
|
339
339
|
dateCreated: Float
|
340
340
|
dateUpdated: Float
|
341
341
|
}`;
|
342
|
+
exports.ReferenceBlockInputQL = `
|
343
|
+
input ReferenceBlockInput {
|
344
|
+
id: String!
|
345
|
+
version: Int
|
346
|
+
type: String!
|
347
|
+
}`;
|
342
348
|
exports.ReferenceBlockQL = `
|
343
349
|
type ReferenceBlock {
|
344
350
|
id: String!
|
@@ -558,6 +564,7 @@ class Article extends Primitive {
|
|
558
564
|
super();
|
559
565
|
this.archived = false;
|
560
566
|
this.favorite = false;
|
567
|
+
this.snoozed = false;
|
561
568
|
this.referenceBlock = referenceBlock;
|
562
569
|
}
|
563
570
|
}
|
@@ -957,6 +964,16 @@ type ArchiveTagOutput {
|
|
957
964
|
_id: String!
|
958
965
|
archived: Boolean!
|
959
966
|
}`;
|
967
|
+
exports.SetSharingTagInputQL = `
|
968
|
+
type SetSharingTagInput {
|
969
|
+
referenceBlock: ReferenceBlockInput!
|
970
|
+
sharingTag: SharingTagInput!
|
971
|
+
}`;
|
972
|
+
exports.DeleteSharingTagInputQL = `
|
973
|
+
type DeleteSharingTagInput {
|
974
|
+
referenceBlock: ReferenceBlockInput!
|
975
|
+
tagId: String!
|
976
|
+
}`;
|
960
977
|
exports.UpdateTaskInputQL = `
|
961
978
|
input UpdateTaskInput {
|
962
979
|
_id: String
|
@@ -1098,6 +1115,7 @@ ${exports.ProviderQL}
|
|
1098
1115
|
${exports.TagQL}
|
1099
1116
|
${exports.TagRecommendationQL}
|
1100
1117
|
${exports.ConnectedProviderQL}
|
1118
|
+
${exports.ReferenceBlockInputQL}
|
1101
1119
|
${exports.ReferenceBlockQL}
|
1102
1120
|
${exports.ArticleQL}
|
1103
1121
|
${exports.TenantQL}
|
@@ -1129,6 +1147,8 @@ ${exports.FindTagInputQL}
|
|
1129
1147
|
${exports.FindTagsInputQL}
|
1130
1148
|
${exports.ArchiveTagInputQL}
|
1131
1149
|
${exports.ArchiveTagOutputQL}
|
1150
|
+
${exports.SetSharingTagInputQL}
|
1151
|
+
${exports.DeleteSharingTagInputQL}
|
1132
1152
|
${exports.UpdateTaskInputQL}
|
1133
1153
|
${exports.FindTaskInputQL}
|
1134
1154
|
${exports.FindTasksInputQL}
|
package/model.ts
CHANGED
@@ -495,6 +495,12 @@ export interface ConnectedProvider {
|
|
495
495
|
dateUpdated: number;
|
496
496
|
}
|
497
497
|
|
498
|
+
export const ReferenceBlockInputQL = `
|
499
|
+
input ReferenceBlockInput {
|
500
|
+
id: String!
|
501
|
+
version: Int
|
502
|
+
type: String!
|
503
|
+
}`;
|
498
504
|
export const ReferenceBlockQL = `
|
499
505
|
type ReferenceBlock {
|
500
506
|
id: String!
|
@@ -849,6 +855,7 @@ export class Article extends Primitive {
|
|
849
855
|
|
850
856
|
this.archived = false;
|
851
857
|
this.favorite = false;
|
858
|
+
this.snoozed = false;
|
852
859
|
|
853
860
|
this.referenceBlock = referenceBlock;
|
854
861
|
}
|
@@ -1767,6 +1774,26 @@ export interface ArchiveTagOutput {
|
|
1767
1774
|
archived: boolean;
|
1768
1775
|
}
|
1769
1776
|
|
1777
|
+
export const SetSharingTagInputQL = `
|
1778
|
+
type SetSharingTagInput {
|
1779
|
+
referenceBlock: ReferenceBlockInput!
|
1780
|
+
sharingTag: SharingTagInput!
|
1781
|
+
}`;
|
1782
|
+
export interface SetSharingTagInput {
|
1783
|
+
referenceBlock: ReferenceBlock;
|
1784
|
+
sharingTag: SharingTag;
|
1785
|
+
}
|
1786
|
+
|
1787
|
+
export const DeleteSharingTagInputQL = `
|
1788
|
+
type DeleteSharingTagInput {
|
1789
|
+
referenceBlock: ReferenceBlockInput!
|
1790
|
+
tagId: String!
|
1791
|
+
}`;
|
1792
|
+
export interface DeleteSharingTagInput {
|
1793
|
+
referenceBlock: ReferenceBlock;
|
1794
|
+
tagId: string;
|
1795
|
+
}
|
1796
|
+
|
1770
1797
|
export const UpdateTaskInputQL = `
|
1771
1798
|
input UpdateTaskInput {
|
1772
1799
|
_id: String
|
@@ -2016,6 +2043,7 @@ ${ProviderQL}
|
|
2016
2043
|
${TagQL}
|
2017
2044
|
${TagRecommendationQL}
|
2018
2045
|
${ConnectedProviderQL}
|
2046
|
+
${ReferenceBlockInputQL}
|
2019
2047
|
${ReferenceBlockQL}
|
2020
2048
|
${ArticleQL}
|
2021
2049
|
${TenantQL}
|
@@ -2047,6 +2075,8 @@ ${FindTagInputQL}
|
|
2047
2075
|
${FindTagsInputQL}
|
2048
2076
|
${ArchiveTagInputQL}
|
2049
2077
|
${ArchiveTagOutputQL}
|
2078
|
+
${SetSharingTagInputQL}
|
2079
|
+
${DeleteSharingTagInputQL}
|
2050
2080
|
${UpdateTaskInputQL}
|
2051
2081
|
${FindTaskInputQL}
|
2052
2082
|
${FindTasksInputQL}
|