@bigfootai/bigfoot-types 4.7.31 → 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.
- package/metadata/documents/account_overview.js +0 -6
- package/metadata/documents/account_overview.ts +0 -7
- package/model.js +16 -4
- package/model.ts +18 -0
- package/package.json +1 -1
@@ -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 = 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";
|
@@ -1196,6 +1202,11 @@ exports.FindEventInputQL = `
|
|
1196
1202
|
input FindEventInput {
|
1197
1203
|
_id: String!
|
1198
1204
|
}`;
|
1205
|
+
exports.FindDocumentInputQL = `
|
1206
|
+
input FindDocumentInput {
|
1207
|
+
_id: String!
|
1208
|
+
archived: Boolean
|
1209
|
+
}`;
|
1199
1210
|
exports.UpsertNoteInputQL = `
|
1200
1211
|
input UpsertNoteInput {
|
1201
1212
|
_id: String
|
@@ -1542,6 +1553,7 @@ ${exports.FindArticlesInputQL}
|
|
1542
1553
|
${exports.FindCalendarInputQL}
|
1543
1554
|
${exports.FindEventInputQL}
|
1544
1555
|
${exports.UpsertNoteInputQL}
|
1556
|
+
${exports.FindDocumentInputQL}
|
1545
1557
|
${exports.FindNoteInputQL}
|
1546
1558
|
${exports.FindNotesInputQL}
|
1547
1559
|
${exports.ArchiveNoteInputQL}
|
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[],
|
@@ -2165,6 +2172,16 @@ export interface FindEventInput {
|
|
2165
2172
|
_id: string;
|
2166
2173
|
}
|
2167
2174
|
|
2175
|
+
export const FindDocumentInputQL = `
|
2176
|
+
input FindDocumentInput {
|
2177
|
+
_id: String!
|
2178
|
+
archived: Boolean
|
2179
|
+
}`;
|
2180
|
+
export interface FindDocumentInput {
|
2181
|
+
_id: string;
|
2182
|
+
archived?: boolean;
|
2183
|
+
}
|
2184
|
+
|
2168
2185
|
export const UpsertNoteInputQL = `
|
2169
2186
|
input UpsertNoteInput {
|
2170
2187
|
_id: String
|
@@ -2753,6 +2770,7 @@ ${FindArticlesInputQL}
|
|
2753
2770
|
${FindCalendarInputQL}
|
2754
2771
|
${FindEventInputQL}
|
2755
2772
|
${UpsertNoteInputQL}
|
2773
|
+
${FindDocumentInputQL}
|
2756
2774
|
${FindNoteInputQL}
|
2757
2775
|
${FindNotesInputQL}
|
2758
2776
|
${ArchiveNoteInputQL}
|