@bigfootai/bigfoot-types 4.8.12 → 4.8.14
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 +14 -11
- package/model.ts +21 -15
- 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
|
-
exports.
|
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 = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindDocumentInputQL = void 0;
|
3
|
+
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.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.TagType = exports.UpsertType = exports.RecommendationType = exports.BlockType = void 0;
|
4
|
+
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.TenantLight = exports.TenantLightQL = 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 = exports.ReferenceBlockInputQL = void 0;
|
5
|
+
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 = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.History = 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 = exports.UpsertNoteInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = 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
|
@@ -283,15 +283,18 @@ type SharingDomain {
|
|
283
283
|
domainId: String!
|
284
284
|
sharingLevel: Int!
|
285
285
|
}`;
|
286
|
-
exports.
|
287
|
-
type
|
288
|
-
tenantId: String!
|
289
|
-
sharingLevel: Int!
|
286
|
+
exports.TenantSettingQL = `
|
287
|
+
type TenantSetting {
|
290
288
|
favorite: Boolean
|
291
289
|
hasAutoShareNotesOn: Boolean
|
292
290
|
hasAutoShareTasksOn: Boolean
|
293
291
|
businessObjects: [BusinessObjectLink]
|
294
292
|
}`;
|
293
|
+
exports.SharingTenantQL = `
|
294
|
+
type SharingTenant {
|
295
|
+
tenantId: String!
|
296
|
+
sharingLevel: Int!
|
297
|
+
}`;
|
295
298
|
exports.BusinessObjectLinkInputQL = `
|
296
299
|
input BusinessObjectLinkInput {
|
297
300
|
id: String
|
@@ -659,9 +662,9 @@ type TenantLight {
|
|
659
662
|
domainMemberships: [String]!
|
660
663
|
email: String!
|
661
664
|
tagId: String!
|
662
|
-
picture: String
|
663
|
-
familyName: String
|
664
|
-
givenName: String
|
665
|
+
picture: String
|
666
|
+
familyName: String
|
667
|
+
givenName: String
|
665
668
|
allowed: Boolean
|
666
669
|
access: String
|
667
670
|
}`;
|
package/model.ts
CHANGED
@@ -321,23 +321,28 @@ export interface SharingDomain {
|
|
321
321
|
sharingLevel: SharingLevel; // Determines what domains can do with the tag beyond domain specific settings above
|
322
322
|
}
|
323
323
|
|
324
|
-
export const
|
325
|
-
type
|
326
|
-
tenantId: String!
|
327
|
-
sharingLevel: Int!
|
324
|
+
export const TenantSettingQL = `
|
325
|
+
type TenantSetting {
|
328
326
|
favorite: Boolean
|
329
327
|
hasAutoShareNotesOn: Boolean
|
330
328
|
hasAutoShareTasksOn: Boolean
|
331
329
|
businessObjects: [BusinessObjectLink]
|
332
330
|
}`;
|
331
|
+
export interface TenantSetting {
|
332
|
+
favorite: boolean;
|
333
|
+
hasAutoShareNotesOn: boolean;
|
334
|
+
hasAutoShareTasksOn: boolean;
|
335
|
+
businessObjects: BusinessObjectLink[];
|
336
|
+
}
|
337
|
+
|
338
|
+
export const SharingTenantQL = `
|
339
|
+
type SharingTenant {
|
340
|
+
tenantId: String!
|
341
|
+
sharingLevel: Int!
|
342
|
+
}`;
|
333
343
|
export interface SharingTenant {
|
334
344
|
tenantId: string;
|
335
|
-
favorite: boolean; // Indicates if the tag is a favorite for the tenant
|
336
|
-
hasAutoShareNotesOn: boolean; // Indicates if the tenant has auto sharing of notes switched on
|
337
|
-
hasAutoShareTasksOn: boolean; // Indicates if the tenant has auto sharing of tasks switched on
|
338
345
|
sharingLevel: SharingLevel; // Determines what tenants can do with the tag beyond tenant specific settings above
|
339
|
-
businessObjects?: BusinessObjectLink[]; // The business objects that are linked to the tag specific to the tenant
|
340
|
-
_savedSearchId?: string; // Used to help manage searches that are based on favoriting a tag
|
341
346
|
}
|
342
347
|
|
343
348
|
export const BusinessObjectLinkInputQL = `
|
@@ -933,6 +938,7 @@ export class Tag extends Primitive {
|
|
933
938
|
friendlyName?: string;
|
934
939
|
sharingDomains?: SharingDomain[]; // The domains this tag is shared with plus domain settings for the tag
|
935
940
|
sharingTenants?: SharingTenant[]; // The tenants this tag is shared with plus tenant settings for the tag
|
941
|
+
tenantSettings?: TenantSetting[]; // The settings for individual tenants
|
936
942
|
url?: string;
|
937
943
|
favicon?: string;
|
938
944
|
dbpedia?: string;
|
@@ -995,9 +1001,9 @@ type TenantLight {
|
|
995
1001
|
domainMemberships: [String]!
|
996
1002
|
email: String!
|
997
1003
|
tagId: String!
|
998
|
-
picture: String
|
999
|
-
familyName: String
|
1000
|
-
givenName: String
|
1004
|
+
picture: String
|
1005
|
+
familyName: String
|
1006
|
+
givenName: String
|
1001
1007
|
allowed: Boolean
|
1002
1008
|
access: String
|
1003
1009
|
}`;
|
@@ -1005,9 +1011,9 @@ export class TenantLight {
|
|
1005
1011
|
domainMemberships: string[];
|
1006
1012
|
email: string;
|
1007
1013
|
tagId: string;
|
1008
|
-
picture
|
1009
|
-
familyName
|
1010
|
-
givenName
|
1014
|
+
picture?: string;
|
1015
|
+
familyName?: string;
|
1016
|
+
givenName?: string;
|
1011
1017
|
allowed?: boolean;
|
1012
1018
|
access?: string;
|
1013
1019
|
|