@bigfootai/bigfoot-types 5.1.9 → 5.1.11
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 +30 -4
- package/model.ts +47 -1
- 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 = void 0;
|
4
|
+
exports.Block = exports.BlockQL = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = 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.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.RecordInputQL = exports.TableMetadata = 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 = void 0;
|
6
|
+
exports.BlockTypeQL = 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.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 = void 0;
|
7
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.BusinessObjectFilterInputQL = exports.StringFilterInputQL = exports.NumberFilterInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = 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
|
@@ -615,6 +615,24 @@ class Provider extends Primitive {
|
|
615
615
|
}
|
616
616
|
}
|
617
617
|
exports.Provider = Provider;
|
618
|
+
exports.TagTypeQL = `
|
619
|
+
enum TagType {
|
620
|
+
${TagType.Organization.toUpperCase()}
|
621
|
+
${TagType.Person.toUpperCase()}
|
622
|
+
${TagType.Topic.toUpperCase()}
|
623
|
+
}`;
|
624
|
+
exports.GraphTagQL = `
|
625
|
+
type GraphTag {
|
626
|
+
_id: String
|
627
|
+
tagType: TagType
|
628
|
+
alias: String
|
629
|
+
count: Int
|
630
|
+
}`;
|
631
|
+
exports.GraphTagsInputQL = `
|
632
|
+
input GraphTagsInput {
|
633
|
+
tagId: String!
|
634
|
+
tagTypes: [TagType]!
|
635
|
+
}`;
|
618
636
|
exports.TagFieldsWithoutSharing = `${exports.PrimitiveFields}
|
619
637
|
alias: String!
|
620
638
|
friendlyName: String
|
@@ -1121,6 +1139,7 @@ type BlockDescription {
|
|
1121
1139
|
description: String!
|
1122
1140
|
blockType: String!
|
1123
1141
|
metadataType: String
|
1142
|
+
tagType: String
|
1124
1143
|
}`;
|
1125
1144
|
exports.DocumentMetadataQL = `
|
1126
1145
|
type DocumentMetadata {${exports.MetadataFields}
|
@@ -1278,6 +1297,10 @@ exports.FindTenantInputQL = `
|
|
1278
1297
|
input FindTenantInput {
|
1279
1298
|
_id: String!
|
1280
1299
|
}`;
|
1300
|
+
exports.FindTenantsInputQL = `
|
1301
|
+
input FindTenantsInput {
|
1302
|
+
tagIds: [String]
|
1303
|
+
}`;
|
1281
1304
|
exports.FindDomainInputQL = `
|
1282
1305
|
input FindDomainInput {
|
1283
1306
|
_id: String!
|
@@ -1688,6 +1711,9 @@ ${exports.SyncQL}
|
|
1688
1711
|
${exports.DashboardTagSubscriptionQL}
|
1689
1712
|
${exports.ProviderApplicationQL}
|
1690
1713
|
${exports.ProviderQL}
|
1714
|
+
${exports.TagTypeQL}
|
1715
|
+
${exports.GraphTagQL}
|
1716
|
+
${exports.GraphTagsInputQL}
|
1691
1717
|
${exports.TagQL}
|
1692
1718
|
${exports.TagRecommendationQL}
|
1693
1719
|
${exports.TenantLightQL}
|
package/model.ts
CHANGED
@@ -910,6 +910,37 @@ export class Provider extends Primitive {
|
|
910
910
|
}
|
911
911
|
}
|
912
912
|
|
913
|
+
export const TagTypeQL = `
|
914
|
+
enum TagType {
|
915
|
+
${TagType.Organization.toUpperCase()}
|
916
|
+
${TagType.Person.toUpperCase()}
|
917
|
+
${TagType.Topic.toUpperCase()}
|
918
|
+
}`;
|
919
|
+
|
920
|
+
export const GraphTagQL = `
|
921
|
+
type GraphTag {
|
922
|
+
_id: String
|
923
|
+
tagType: TagType
|
924
|
+
alias: String
|
925
|
+
count: Int
|
926
|
+
}`;
|
927
|
+
export interface GraphTag {
|
928
|
+
_id: string;
|
929
|
+
tagType: TagType;
|
930
|
+
alias: string;
|
931
|
+
count: number;
|
932
|
+
}
|
933
|
+
|
934
|
+
export const GraphTagsInputQL = `
|
935
|
+
input GraphTagsInput {
|
936
|
+
tagId: String!
|
937
|
+
tagTypes: [TagType]!
|
938
|
+
}`;
|
939
|
+
export interface GraphTagsInput {
|
940
|
+
tagId: string;
|
941
|
+
tagTypes: TagType[];
|
942
|
+
}
|
943
|
+
|
913
944
|
export const TagFieldsWithoutSharing = `${PrimitiveFields}
|
914
945
|
alias: String!
|
915
946
|
friendlyName: String
|
@@ -1273,8 +1304,10 @@ export class Block extends SharedPrimitive {
|
|
1273
1304
|
businessObjects?: BusinessObjectLink[];
|
1274
1305
|
// The various binary states
|
1275
1306
|
archived: boolean;
|
1276
|
-
favorite: boolean;
|
1277
1307
|
snoozed: boolean;
|
1308
|
+
// A virtualized binary state by tenant
|
1309
|
+
favorite: boolean;
|
1310
|
+
_favorite?: string[];
|
1278
1311
|
// Tasky things about the block
|
1279
1312
|
dateDue?: number;
|
1280
1313
|
dateRemindMe?: number;
|
@@ -1930,6 +1963,7 @@ type BlockDescription {
|
|
1930
1963
|
description: String!
|
1931
1964
|
blockType: String!
|
1932
1965
|
metadataType: String
|
1966
|
+
tagType: String
|
1933
1967
|
}`;
|
1934
1968
|
export interface BlockDescription {
|
1935
1969
|
title?: string;
|
@@ -1937,6 +1971,7 @@ export interface BlockDescription {
|
|
1937
1971
|
description: string;
|
1938
1972
|
blockType: BlockType;
|
1939
1973
|
metadataType?: string;
|
1974
|
+
tagType?: TagType;
|
1940
1975
|
}
|
1941
1976
|
|
1942
1977
|
export const DocumentMetadataQL = `
|
@@ -2249,6 +2284,14 @@ export interface FindTenantInput {
|
|
2249
2284
|
_id: string;
|
2250
2285
|
}
|
2251
2286
|
|
2287
|
+
export const FindTenantsInputQL = `
|
2288
|
+
input FindTenantsInput {
|
2289
|
+
tagIds: [String]
|
2290
|
+
}`;
|
2291
|
+
export interface FindTenantsInput {
|
2292
|
+
tagIds?: string[];
|
2293
|
+
}
|
2294
|
+
|
2252
2295
|
export const FindDomainInputQL = `
|
2253
2296
|
input FindDomainInput {
|
2254
2297
|
_id: String!
|
@@ -2975,6 +3018,9 @@ ${SyncQL}
|
|
2975
3018
|
${DashboardTagSubscriptionQL}
|
2976
3019
|
${ProviderApplicationQL}
|
2977
3020
|
${ProviderQL}
|
3021
|
+
${TagTypeQL}
|
3022
|
+
${GraphTagQL}
|
3023
|
+
${GraphTagsInputQL}
|
2978
3024
|
${TagQL}
|
2979
3025
|
${TagRecommendationQL}
|
2980
3026
|
${TenantLightQL}
|