@bigfootai/bigfoot-types 3.1.0 → 3.1.2
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 +11 -8
- package/model.ts +18 -13
- package/package.json +1 -1
package/model.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Domain = exports.Tenant = exports.TenantQL = exports.Tag = exports.Provider = exports.ProviderQL = exports.Sync = exports.SyncQL = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ConnectedProviderQL = exports.CredentialQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.
|
3
|
+
exports.Domain = exports.Tenant = exports.TenantQL = exports.TagRecommendationQL = exports.Tag = exports.Provider = exports.ProviderQL = exports.Sync = exports.SyncQL = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ConnectedProviderQL = exports.CredentialQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.DateEntityEntryQL = exports.EntityEntryQL = exports.EntityEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.DocumentSentimentQL = exports.ReactionQL = exports.ReactionSkinToneQL = exports.SharingTagQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.RelationType = exports.EntityType = exports.ProcessingStage = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.TagRecommendationVariation = exports.TagRecommendationType = exports.InviteStatus = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = void 0;
|
4
4
|
exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.InsertNoteInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindArticlesInputQL = exports.FindArticleInputQL = exports.Table = exports.FieldVariation = exports.FieldType = exports.Template = exports.Website = 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.Note = exports.NoteQL = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Organization = void 0;
|
5
5
|
exports.GraphQLTypes = exports.SearchInputQL = void 0;
|
6
6
|
const uuid_1 = require("uuid");
|
@@ -71,6 +71,7 @@ var TagRecommendationType;
|
|
71
71
|
TagRecommendationType["TagCreated"] = "created";
|
72
72
|
TagRecommendationType["TagFound"] = "found";
|
73
73
|
TagRecommendationType["MultipleTagsFound"] = "multiple_found";
|
74
|
+
TagRecommendationType["TagCreationFailed"] = "creation_failed";
|
74
75
|
})(TagRecommendationType || (exports.TagRecommendationType = TagRecommendationType = {}));
|
75
76
|
var TagRecommendationVariation;
|
76
77
|
(function (TagRecommendationVariation) {
|
@@ -258,12 +259,6 @@ exports.DateEntityEntryQL = `
|
|
258
259
|
type EntityEntry {${exports.EntityEntryFields}
|
259
260
|
date: Float!
|
260
261
|
}`;
|
261
|
-
exports.TagRecommendationQL = `
|
262
|
-
type TagRecommendation {
|
263
|
-
type: String!
|
264
|
-
tags: [EntityEntry]!
|
265
|
-
variation: String
|
266
|
-
}`;
|
267
262
|
exports.ProviderInfoQL = `
|
268
263
|
type ProviderInfo {
|
269
264
|
provider: String!
|
@@ -368,6 +363,14 @@ class Tag extends Primitive {
|
|
368
363
|
}
|
369
364
|
}
|
370
365
|
exports.Tag = Tag;
|
366
|
+
exports.TagRecommendationQL = `
|
367
|
+
type TagRecommendation {
|
368
|
+
id: String!
|
369
|
+
type: String!
|
370
|
+
tags: [Tag]!
|
371
|
+
entity: EntityEntry!
|
372
|
+
variation: String
|
373
|
+
}`;
|
371
374
|
exports.TenantQL = `
|
372
375
|
type Tenant {${exports.PrimitiveFields}
|
373
376
|
domainMemberships: [String]!
|
@@ -786,7 +789,6 @@ ${exports.ArgumentEntryQL}
|
|
786
789
|
${exports.RelationEntryQL}
|
787
790
|
${exports.EntityEntryQL}
|
788
791
|
${exports.DateEntityEntryQL}
|
789
|
-
${exports.TagRecommendationQL}
|
790
792
|
${exports.ProviderInfoQL}
|
791
793
|
${exports.ProviderRequestQL}
|
792
794
|
${exports.CredentialQL}
|
@@ -795,6 +797,7 @@ ${exports.ChangesQL}
|
|
795
797
|
${exports.PersonReferenceQL}
|
796
798
|
${exports.SyncQL}
|
797
799
|
${exports.ProviderQL}
|
800
|
+
${exports.TagRecommendationQL}
|
798
801
|
${exports.ConnectedProviderQL}
|
799
802
|
${exports.ReferenceBlockQL}
|
800
803
|
${exports.ArticleQL}
|
package/model.ts
CHANGED
@@ -66,6 +66,7 @@ export enum TagRecommendationType {
|
|
66
66
|
TagCreated = 'created',
|
67
67
|
TagFound = 'found',
|
68
68
|
MultipleTagsFound = 'multiple_found',
|
69
|
+
TagCreationFailed = 'creation_failed',
|
69
70
|
}
|
70
71
|
|
71
72
|
export enum TagRecommendationVariation {
|
@@ -363,18 +364,6 @@ export interface DateEntityEntry extends EntityEntry {
|
|
363
364
|
date: number;
|
364
365
|
}
|
365
366
|
|
366
|
-
export const TagRecommendationQL = `
|
367
|
-
type TagRecommendation {
|
368
|
-
type: String!
|
369
|
-
tags: [EntityEntry]!
|
370
|
-
variation: String
|
371
|
-
}`;
|
372
|
-
export interface TagRecommendation {
|
373
|
-
type: TagRecommendationType;
|
374
|
-
tags: EntityEntry[];
|
375
|
-
variation?: TagRecommendationVariation;
|
376
|
-
}
|
377
|
-
|
378
367
|
export const ProviderInfoQL = `
|
379
368
|
type ProviderInfo {
|
380
369
|
provider: String!
|
@@ -570,6 +559,22 @@ export class Tag extends Primitive {
|
|
570
559
|
}
|
571
560
|
}
|
572
561
|
|
562
|
+
export const TagRecommendationQL = `
|
563
|
+
type TagRecommendation {
|
564
|
+
id: String!
|
565
|
+
type: String!
|
566
|
+
tags: [Tag]!
|
567
|
+
entity: EntityEntry!
|
568
|
+
variation: String
|
569
|
+
}`;
|
570
|
+
export interface TagRecommendation {
|
571
|
+
id: string;
|
572
|
+
type: TagRecommendationType;
|
573
|
+
tags: Tag[];
|
574
|
+
entity: EntityEntry;
|
575
|
+
variation?: TagRecommendationVariation;
|
576
|
+
}
|
577
|
+
|
573
578
|
export const TenantQL = `
|
574
579
|
type Tenant {${PrimitiveFields}
|
575
580
|
domainMemberships: [String]!
|
@@ -1500,7 +1505,6 @@ ${ArgumentEntryQL}
|
|
1500
1505
|
${RelationEntryQL}
|
1501
1506
|
${EntityEntryQL}
|
1502
1507
|
${DateEntityEntryQL}
|
1503
|
-
${TagRecommendationQL}
|
1504
1508
|
${ProviderInfoQL}
|
1505
1509
|
${ProviderRequestQL}
|
1506
1510
|
${CredentialQL}
|
@@ -1509,6 +1513,7 @@ ${ChangesQL}
|
|
1509
1513
|
${PersonReferenceQL}
|
1510
1514
|
${SyncQL}
|
1511
1515
|
${ProviderQL}
|
1516
|
+
${TagRecommendationQL}
|
1512
1517
|
${ConnectedProviderQL}
|
1513
1518
|
${ReferenceBlockQL}
|
1514
1519
|
${ArticleQL}
|