@bigfootai/bigfoot-types 4.4.24 → 4.4.26
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 +19 -4
- package/model.ts +24 -1
- 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
3
|
exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = exports.CredentialQL = exports.StandardObjectsQL = 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.SharingTenantQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.RelationType = exports.EntityType = exports.RecordType = 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.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = void 0;
|
4
|
-
exports.
|
5
|
-
exports.
|
6
|
-
exports.GraphQLTypes = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = void 0;
|
4
|
+
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 = 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.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Metadata = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFields = void 0;
|
5
|
+
exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = 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 = void 0;
|
6
|
+
exports.GraphQLTypes = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveTaskOutputQL = 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
|
@@ -88,6 +88,7 @@ var TagRecommendationType;
|
|
88
88
|
TagRecommendationType["TagNotFound"] = "not_found";
|
89
89
|
TagRecommendationType["MultipleTagsFound"] = "multiple_found";
|
90
90
|
TagRecommendationType["TagCreationFailed"] = "creation_failed";
|
91
|
+
TagRecommendationType["UserAssigned"] = "user_assigned";
|
91
92
|
TagRecommendationType["Ignore"] = "ignore";
|
92
93
|
})(TagRecommendationType || (exports.TagRecommendationType = TagRecommendationType = {}));
|
93
94
|
var TagRecommendationVariation;
|
@@ -544,7 +545,6 @@ exports.TenantQL = `
|
|
544
545
|
type Tenant {${exports.PrimitiveFields}
|
545
546
|
domainMemberships: [String]!
|
546
547
|
email: String!
|
547
|
-
domainIdEmail: String!
|
548
548
|
tagId: String!
|
549
549
|
picture: String
|
550
550
|
familyName: String
|
@@ -561,6 +561,10 @@ class Tenant extends Primitive {
|
|
561
561
|
}
|
562
562
|
}
|
563
563
|
exports.Tenant = Tenant;
|
564
|
+
exports.DomainQL = `
|
565
|
+
type Domain {${exports.PrimitiveFields}
|
566
|
+
domain: String!
|
567
|
+
}`;
|
564
568
|
class Domain extends Primitive {
|
565
569
|
constructor(domain, isPublic) {
|
566
570
|
super();
|
@@ -996,6 +1000,14 @@ exports.Table = Table;
|
|
996
1000
|
//// FOR RECORDS END
|
997
1001
|
// METADATA OBJECTS END
|
998
1002
|
// API OBJECTS START
|
1003
|
+
exports.FindTenantInputQL = `
|
1004
|
+
input FindTenantInput {
|
1005
|
+
_id: String!
|
1006
|
+
}`;
|
1007
|
+
exports.FindDomainInputQL = `
|
1008
|
+
input FindDomainInput {
|
1009
|
+
_id: String!
|
1010
|
+
}`;
|
999
1011
|
exports.FindArticleInputQL = `
|
1000
1012
|
input FindArticleInput {
|
1001
1013
|
originBlockId: String!
|
@@ -1256,6 +1268,7 @@ ${exports.ConnectedProviderQL}
|
|
1256
1268
|
${exports.ReferenceBlockInputQL}
|
1257
1269
|
${exports.ReferenceBlockQL}
|
1258
1270
|
${exports.ArticleQL}
|
1271
|
+
${exports.DomainQL}
|
1259
1272
|
${exports.TenantQL}
|
1260
1273
|
${exports.BusinessObjectQL}
|
1261
1274
|
${exports.NoteQL}
|
@@ -1278,6 +1291,8 @@ ${exports.FieldValueQL}
|
|
1278
1291
|
${exports.TableMetadataQL}
|
1279
1292
|
${exports.RecordQL}
|
1280
1293
|
${exports.TableQL}
|
1294
|
+
${exports.FindTenantInputQL}
|
1295
|
+
${exports.FindDomainInputQL}
|
1281
1296
|
${exports.FindArticleInputQL}
|
1282
1297
|
${exports.FindArticlesInputQL}
|
1283
1298
|
${exports.FindCalendarInputQL}
|
package/model.ts
CHANGED
@@ -82,6 +82,7 @@ export enum TagRecommendationType {
|
|
82
82
|
TagNotFound = 'not_found',
|
83
83
|
MultipleTagsFound = 'multiple_found',
|
84
84
|
TagCreationFailed = 'creation_failed',
|
85
|
+
UserAssigned = 'user_assigned',
|
85
86
|
Ignore = 'ignore',
|
86
87
|
}
|
87
88
|
|
@@ -812,7 +813,6 @@ export const TenantQL = `
|
|
812
813
|
type Tenant {${PrimitiveFields}
|
813
814
|
domainMemberships: [String]!
|
814
815
|
email: String!
|
815
|
-
domainIdEmail: String!
|
816
816
|
tagId: String!
|
817
817
|
picture: String
|
818
818
|
familyName: String
|
@@ -847,6 +847,10 @@ export class Tenant extends Primitive {
|
|
847
847
|
}
|
848
848
|
}
|
849
849
|
|
850
|
+
export const DomainQL = `
|
851
|
+
type Domain {${PrimitiveFields}
|
852
|
+
domain: String!
|
853
|
+
}`;
|
850
854
|
export class Domain extends Primitive {
|
851
855
|
domain: string;
|
852
856
|
isPublic: boolean;
|
@@ -1809,6 +1813,22 @@ export class Table extends BusinessObject {
|
|
1809
1813
|
// METADATA OBJECTS END
|
1810
1814
|
|
1811
1815
|
// API OBJECTS START
|
1816
|
+
export const FindTenantInputQL = `
|
1817
|
+
input FindTenantInput {
|
1818
|
+
_id: String!
|
1819
|
+
}`;
|
1820
|
+
export interface FindTenantInput {
|
1821
|
+
_id: string;
|
1822
|
+
}
|
1823
|
+
|
1824
|
+
export const FindDomainInputQL = `
|
1825
|
+
input FindDomainInput {
|
1826
|
+
_id: String!
|
1827
|
+
}`;
|
1828
|
+
export interface FindDomainInput {
|
1829
|
+
_id: string;
|
1830
|
+
}
|
1831
|
+
|
1812
1832
|
export const FindArticleInputQL = `
|
1813
1833
|
input FindArticleInput {
|
1814
1834
|
originBlockId: String!
|
@@ -2265,6 +2285,7 @@ ${ConnectedProviderQL}
|
|
2265
2285
|
${ReferenceBlockInputQL}
|
2266
2286
|
${ReferenceBlockQL}
|
2267
2287
|
${ArticleQL}
|
2288
|
+
${DomainQL}
|
2268
2289
|
${TenantQL}
|
2269
2290
|
${BusinessObjectQL}
|
2270
2291
|
${NoteQL}
|
@@ -2287,6 +2308,8 @@ ${FieldValueQL}
|
|
2287
2308
|
${TableMetadataQL}
|
2288
2309
|
${RecordQL}
|
2289
2310
|
${TableQL}
|
2311
|
+
${FindTenantInputQL}
|
2312
|
+
${FindDomainInputQL}
|
2290
2313
|
${FindArticleInputQL}
|
2291
2314
|
${FindArticlesInputQL}
|
2292
2315
|
${FindCalendarInputQL}
|