@bigfootai/bigfoot-types 4.7.32 → 4.7.33
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.
@@ -16,12 +16,6 @@ exports.AccountOverview = {
|
|
16
16
|
description: 'A short summary about the account',
|
17
17
|
blockType: model_1.BlockType.Section,
|
18
18
|
},
|
19
|
-
{
|
20
|
-
name: 'people',
|
21
|
-
title: 'People',
|
22
|
-
description: 'A bulleted list of people associated with the account',
|
23
|
-
blockType: model_1.BlockType.Section,
|
24
|
-
},
|
25
19
|
{
|
26
20
|
name: 'projects',
|
27
21
|
title: 'Tasks',
|
@@ -15,13 +15,6 @@ export const AccountOverview: DocumentMetadata = {
|
|
15
15
|
description: 'A short summary about the account',
|
16
16
|
blockType: BlockType.Section,
|
17
17
|
},
|
18
|
-
{
|
19
|
-
name: 'people',
|
20
|
-
title: 'People',
|
21
|
-
description:
|
22
|
-
'A bulleted list of people associated with the account',
|
23
|
-
blockType: BlockType.Section,
|
24
|
-
},
|
25
18
|
{
|
26
19
|
name: 'projects',
|
27
20
|
title: 'Tasks',
|
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 = void 0;
|
3
|
+
exports.CredentialQL = exports.StandardObjectsQL = exports.ProviderResponseQL = 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.BusinessObjectLinkQL = exports.BusinessObjectLinkInputQL = exports.SharingTenantQL = 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.TagRecommendationVariation = 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.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.History = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.UpsertRecommendationQL = exports.ConnectRecommendationQL = 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.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = void 0;
|
5
|
+
exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = 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.TaskFields = exports.Note = exports.NoteQL = 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 = 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
|
@@ -57,6 +57,12 @@ var SharingLevel;
|
|
57
57
|
SharingLevel[SharingLevel["Editor"] = 1] = "Editor";
|
58
58
|
SharingLevel[SharingLevel["Owner"] = 2] = "Owner";
|
59
59
|
})(SharingLevel || (exports.SharingLevel = SharingLevel = {}));
|
60
|
+
var AccessType;
|
61
|
+
(function (AccessType) {
|
62
|
+
AccessType["ReadWrite"] = "rw";
|
63
|
+
AccessType["ReadOnly"] = "read-only";
|
64
|
+
AccessType["NoAccess"] = "no-access";
|
65
|
+
})(AccessType || (exports.AccessType = AccessType = {}));
|
60
66
|
var TaskPriority;
|
61
67
|
(function (TaskPriority) {
|
62
68
|
TaskPriority["High"] = "high";
|
package/model.ts
CHANGED
@@ -52,6 +52,12 @@ export enum SharingLevel {
|
|
52
52
|
Owner = 2, // Only an owner can make you an owner - and the initial creator is always the owner
|
53
53
|
}
|
54
54
|
|
55
|
+
export enum AccessType {
|
56
|
+
ReadWrite = 'rw',
|
57
|
+
ReadOnly = 'read-only',
|
58
|
+
NoAccess = 'no-access',
|
59
|
+
}
|
60
|
+
|
55
61
|
export enum TaskPriority {
|
56
62
|
High = 'high',
|
57
63
|
Medium = 'medium',
|
@@ -1112,6 +1118,7 @@ export class Tenant extends Primitive {
|
|
1112
1118
|
connectedProviders?: ConnectedProvider[];
|
1113
1119
|
accessToken?: string;
|
1114
1120
|
allowed: boolean; // Used to indicate if this user is allowed to access the application TODO take this out after private beta
|
1121
|
+
access?: AccessType; // Optional flag to indicate the access level to a note - used currently for the Yjs integration
|
1115
1122
|
|
1116
1123
|
constructor(
|
1117
1124
|
domainMemberships: string[],
|