@bigfootai/bigfoot-types 4.2.0 → 4.2.2
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 +17 -4
- package/model.ts +21 -4
- 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
3
|
exports.SharedPrimitive = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = 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.
|
5
|
-
exports.GraphQLTypes = exports.SearchInputQL = 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 = 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.HistoryQL = 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 = void 0;
|
5
|
+
exports.GraphQLTypes = exports.SearchInputQL = 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 = 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
|
@@ -576,8 +576,8 @@ class Block extends SharedPrimitive {
|
|
576
576
|
}
|
577
577
|
exports.Block = Block;
|
578
578
|
class BlockProcessingRequest {
|
579
|
-
constructor(
|
580
|
-
this.
|
579
|
+
constructor(historyId, referenceBlock) {
|
580
|
+
this.referenceBlock = referenceBlock;
|
581
581
|
}
|
582
582
|
}
|
583
583
|
exports.BlockProcessingRequest = BlockProcessingRequest;
|
@@ -588,6 +588,18 @@ class BlockProcessingResponse {
|
|
588
588
|
}
|
589
589
|
}
|
590
590
|
exports.BlockProcessingResponse = BlockProcessingResponse;
|
591
|
+
exports.HistoryQL = `
|
592
|
+
type History {${exports.PrimitiveFields}
|
593
|
+
block: Block!
|
594
|
+
article: Article
|
595
|
+
}`;
|
596
|
+
class History extends Primitive {
|
597
|
+
constructor(block) {
|
598
|
+
super();
|
599
|
+
this.block = block;
|
600
|
+
}
|
601
|
+
}
|
602
|
+
exports.History = History;
|
591
603
|
class BusinessObjectIngestionResponse {
|
592
604
|
}
|
593
605
|
exports.BusinessObjectIngestionResponse = BusinessObjectIngestionResponse;
|
@@ -1068,6 +1080,7 @@ ${exports.TagRecommendationQL}
|
|
1068
1080
|
${exports.ConnectedProviderQL}
|
1069
1081
|
${exports.ReferenceBlockQL}
|
1070
1082
|
${exports.ArticleQL}
|
1083
|
+
${exports.HistoryQL}
|
1071
1084
|
${exports.TenantQL}
|
1072
1085
|
${exports.BusinessObjectQL}
|
1073
1086
|
${exports.NoteQL}
|
package/model.ts
CHANGED
@@ -884,11 +884,11 @@ export class Block extends SharedPrimitive {
|
|
884
884
|
}
|
885
885
|
|
886
886
|
export class BlockProcessingRequest {
|
887
|
-
|
888
|
-
|
887
|
+
historyId: string;
|
888
|
+
referenceBlock: ReferenceBlock;
|
889
889
|
|
890
|
-
constructor(
|
891
|
-
this.
|
890
|
+
constructor(historyId: string, referenceBlock: ReferenceBlock) {
|
891
|
+
this.referenceBlock = referenceBlock;
|
892
892
|
}
|
893
893
|
}
|
894
894
|
|
@@ -902,6 +902,22 @@ export class BlockProcessingResponse {
|
|
902
902
|
}
|
903
903
|
}
|
904
904
|
|
905
|
+
export const HistoryQL = `
|
906
|
+
type History {${PrimitiveFields}
|
907
|
+
block: Block!
|
908
|
+
article: Article
|
909
|
+
}`;
|
910
|
+
export class History extends Primitive {
|
911
|
+
block: Block;
|
912
|
+
article?: Article;
|
913
|
+
|
914
|
+
constructor(block: Block) {
|
915
|
+
super();
|
916
|
+
|
917
|
+
this.block = block;
|
918
|
+
}
|
919
|
+
}
|
920
|
+
|
905
921
|
export interface SubscribingProviderApplication {
|
906
922
|
provider: Provider;
|
907
923
|
application: ProviderApplication;
|
@@ -1960,6 +1976,7 @@ ${TagRecommendationQL}
|
|
1960
1976
|
${ConnectedProviderQL}
|
1961
1977
|
${ReferenceBlockQL}
|
1962
1978
|
${ArticleQL}
|
1979
|
+
${HistoryQL}
|
1963
1980
|
${TenantQL}
|
1964
1981
|
${BusinessObjectQL}
|
1965
1982
|
${NoteQL}
|