@bigfootai/bigfoot-types 5.2.32 → 5.2.34
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 +12 -4
- package/model.ts +9 -0
- 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.CredentialQL = exports.StandardObjectsQL = exports.ProviderResponseQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.EntityEntryQL = exports.EntityEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.TaskStepQL = exports.TaskStepInputQL = exports.ExternalIdLinkQL = exports.ExternalIdLinkInputQL = exports.BusinessObjectLinkQL = exports.BusinessObjectLinkInputQL = exports.SharingTenantQL = exports.TenantSettingQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.PubSubType = 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.GraphSearchQL = exports.GraphSearchFields = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.SortOptionQL = exports.SortOptionFieldsQL = exports.BusinessObjectFilterInputQL = exports.BusinessObjectFilterQL = exports.BusinessObjectFilterFieldsQL = exports.StringFilterInputQL = exports.StringFilterQL = exports.StringFilterFieldsQL = exports.NumberFilterInputQL = exports.NumberFilterQL = exports.NumberFilterFieldsQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.RemoveReactionInputQL = exports.AddReactionInputQL = exports.FindReactionsInputQL = exports.ReactionQL = exports.FindTagsVisibilityInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.RecommendationTypeQL = exports.BlockTypeQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = void 0;
|
4
|
+
exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.NotificationRecommendationQL = exports.MessageRecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ConnectRecommendationQL = exports.TenantLight = exports.TenantLightQL = exports.TenantLightInputQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.GraphTagsInputQL = exports.GraphTagQL = exports.TagTypeQL = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.ExternalIdQL = exports.DashboardTagSubscriptionQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Folder = exports.FolderQL = exports.History = exports.Metadata = exports.MetadataQL = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFieldsForUpsert = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFieldsForUpsert = exports.PrimitiveFields = exports.FindExternalTagReferenceInputQL = exports.FindExternalTagReferencesInputQL = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = void 0;
|
5
|
+
exports.DashboardMetadata = exports.DashboardMetadataQL = exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = exports.DashboardQL = exports.BlockData = exports.BlockDataQL = exports.Document = exports.DocumentQL = exports.DocumentFields = exports.Message = exports.MessageQL = exports.UpsertMessageInputQL = 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 = exports.Block = exports.BlockQL = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = void 0;
|
6
|
+
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.FindDashboardBlockInputQL = 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 = exports.RecordInputQL = exports.TableMetadata = exports.TableMetadataQL = exports.FieldValueQL = exports.FieldValueInputQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = exports.Template = exports.TemplateQL = void 0;
|
7
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchQL = exports.GraphSearchFields = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.SortOptionQL = exports.SortOptionFieldsQL = exports.BusinessObjectFilterInputQL = exports.BusinessObjectFilterQL = exports.BusinessObjectFilterFieldsQL = exports.StringFilterInputQL = exports.StringFilterQL = exports.StringFilterFieldsQL = exports.NumberFilterInputQL = exports.NumberFilterQL = exports.NumberFilterFieldsQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.RemoveReactionInputQL = exports.AddReactionInputQL = exports.FindReactionsInputQL = exports.ReactionQL = exports.FindTagsVisibilityInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.RecommendationTypeQL = exports.BlockTypeQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = 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
|
@@ -769,6 +769,13 @@ type TagRecommendation {
|
|
769
769
|
tags: [Tag]!
|
770
770
|
entity: EntityEntry!
|
771
771
|
}`;
|
772
|
+
exports.TenantLightInputQL = `
|
773
|
+
input TenantLightInput {
|
774
|
+
_id: String!
|
775
|
+
picture: String
|
776
|
+
familyName: String
|
777
|
+
givenName: String
|
778
|
+
}`;
|
772
779
|
exports.TenantLightQL = `
|
773
780
|
type TenantLight {
|
774
781
|
_id: String!
|
@@ -1965,6 +1972,7 @@ ${exports.GraphTagQL}
|
|
1965
1972
|
${exports.GraphTagsInputQL}
|
1966
1973
|
${exports.TagQL}
|
1967
1974
|
${exports.TagRecommendationQL}
|
1975
|
+
${exports.TenantLightInputQL}
|
1968
1976
|
${exports.TenantLightQL}
|
1969
1977
|
${exports.ConnectRecommendationQL}
|
1970
1978
|
${exports.UpsertRecommendationQL}
|
package/model.ts
CHANGED
@@ -1174,6 +1174,13 @@ export interface TagRecommendation {
|
|
1174
1174
|
entity: EntityEntry;
|
1175
1175
|
}
|
1176
1176
|
|
1177
|
+
export const TenantLightInputQL = `
|
1178
|
+
input TenantLightInput {
|
1179
|
+
_id: String!
|
1180
|
+
picture: String
|
1181
|
+
familyName: String
|
1182
|
+
givenName: String
|
1183
|
+
}`;
|
1177
1184
|
export const TenantLightQL = `
|
1178
1185
|
type TenantLight {
|
1179
1186
|
_id: String!
|
@@ -1379,6 +1386,7 @@ export class Tenant extends Primitive {
|
|
1379
1386
|
allowed: boolean; // Used to indicate if this user is allowed to access the application TODO take this out after private beta
|
1380
1387
|
access?: AccessType; // Optional flag to indicate the access level to a note - used currently for the Yjs integration
|
1381
1388
|
accessTokens?: AccessTokenPair[];
|
1389
|
+
_managedByTenant?: boolean;
|
1382
1390
|
|
1383
1391
|
constructor(
|
1384
1392
|
domainMemberships: string[],
|
@@ -3437,6 +3445,7 @@ ${GraphTagQL}
|
|
3437
3445
|
${GraphTagsInputQL}
|
3438
3446
|
${TagQL}
|
3439
3447
|
${TagRecommendationQL}
|
3448
|
+
${TenantLightInputQL}
|
3440
3449
|
${TenantLightQL}
|
3441
3450
|
${ConnectRecommendationQL}
|
3442
3451
|
${UpsertRecommendationQL}
|