@bigfootai/bigfoot-types 2.13.1 → 2.13.3
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 +10 -4
- package/model.ts +17 -5
- package/package.json +1 -1
package/model.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = 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.EntityEntryQL = exports.MachineLearningEntryFields = 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.InviteStatus = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = void 0;
|
4
|
-
exports.GraphQLTypes = 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 = void 0;
|
4
|
+
exports.GraphQLTypes = exports.SearchInputQL = 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 = void 0;
|
5
5
|
const uuid_1 = require("uuid");
|
6
6
|
/*
|
7
7
|
These are the core primitives of our model. These represent the entities that show
|
@@ -400,6 +400,7 @@ type Article {${exports.PrimitiveFields}
|
|
400
400
|
class Article extends Primitive {
|
401
401
|
constructor(referenceBlock) {
|
402
402
|
super();
|
403
|
+
this.archived = false;
|
403
404
|
this.referenceBlock = referenceBlock;
|
404
405
|
}
|
405
406
|
}
|
@@ -701,7 +702,6 @@ input FindNoteInput {
|
|
701
702
|
}`;
|
702
703
|
exports.FindNotesInputQL = `
|
703
704
|
input FindNotesInput {
|
704
|
-
tagIds: [String]
|
705
705
|
archived: Boolean
|
706
706
|
}`;
|
707
707
|
exports.ArchiveNoteInputQL = `
|
@@ -730,7 +730,6 @@ input FindTaskInput {
|
|
730
730
|
exports.FindTasksInputQL = `
|
731
731
|
input FindTasksInput {
|
732
732
|
originNoteId: String
|
733
|
-
tagIds: [String]
|
734
733
|
archived: Boolean
|
735
734
|
}`;
|
736
735
|
exports.ArchiveTaskInputQL = `
|
@@ -743,6 +742,12 @@ type ArchiveTaskOutput {
|
|
743
742
|
_id: String!
|
744
743
|
archived: Boolean
|
745
744
|
}`;
|
745
|
+
exports.SearchInputQL = `
|
746
|
+
input SearchInput {
|
747
|
+
search: String
|
748
|
+
tagIds: [String]
|
749
|
+
sentiment: String
|
750
|
+
}`;
|
746
751
|
// THE GRAPH QL DEFINITIONS
|
747
752
|
exports.GraphQLTypes = `
|
748
753
|
${exports.HighlightQL}
|
@@ -793,4 +798,5 @@ ${exports.FindSyncInputQL}
|
|
793
798
|
${exports.FindTaskInputQL}
|
794
799
|
${exports.FindTasksInputQL}
|
795
800
|
${exports.ArchiveTaskInputQL}
|
796
|
-
${exports.ArchiveTaskOutputQL}
|
801
|
+
${exports.ArchiveTaskOutputQL}
|
802
|
+
${exports.SearchInputQL}`;
|
package/model.ts
CHANGED
@@ -632,12 +632,15 @@ export class Article extends Primitive {
|
|
632
632
|
relations?: RelationEntry[];
|
633
633
|
linkUrls?: string[];
|
634
634
|
sharingTags?: SharingTag[];
|
635
|
+
archived: boolean;
|
635
636
|
_changes?: Changes;
|
636
637
|
_tasks?: Task[];
|
637
638
|
|
638
639
|
constructor(referenceBlock: ReferenceBlock) {
|
639
640
|
super();
|
640
641
|
|
642
|
+
this.archived = false;
|
643
|
+
|
641
644
|
this.referenceBlock = referenceBlock;
|
642
645
|
}
|
643
646
|
}
|
@@ -1353,11 +1356,9 @@ export interface FindNoteInput {
|
|
1353
1356
|
|
1354
1357
|
export const FindNotesInputQL = `
|
1355
1358
|
input FindNotesInput {
|
1356
|
-
tagIds: [String]
|
1357
1359
|
archived: Boolean
|
1358
1360
|
}`;
|
1359
1361
|
export interface FindNotesInput {
|
1360
|
-
tagIds?: string[];
|
1361
1362
|
archived?: boolean;
|
1362
1363
|
}
|
1363
1364
|
|
@@ -1410,12 +1411,10 @@ export interface FindTaskInput {
|
|
1410
1411
|
export const FindTasksInputQL = `
|
1411
1412
|
input FindTasksInput {
|
1412
1413
|
originNoteId: String
|
1413
|
-
tagIds: [String]
|
1414
1414
|
archived: Boolean
|
1415
1415
|
}`;
|
1416
1416
|
export interface FindTasksInput {
|
1417
1417
|
originNoteId?: string;
|
1418
|
-
tagIds?: string[];
|
1419
1418
|
archived?: boolean;
|
1420
1419
|
}
|
1421
1420
|
|
@@ -1439,6 +1438,18 @@ export interface ArchiveTaskOutput {
|
|
1439
1438
|
archive?: boolean;
|
1440
1439
|
}
|
1441
1440
|
|
1441
|
+
export const SearchInputQL = `
|
1442
|
+
input SearchInput {
|
1443
|
+
search: String
|
1444
|
+
tagIds: [String]
|
1445
|
+
sentiment: String
|
1446
|
+
}`;
|
1447
|
+
export interface SearchInput {
|
1448
|
+
search?: string;
|
1449
|
+
tagIds?: string[];
|
1450
|
+
sentiment?: string;
|
1451
|
+
}
|
1452
|
+
|
1442
1453
|
// THE GRAPH QL DEFINITIONS
|
1443
1454
|
export const GraphQLTypes = `
|
1444
1455
|
${HighlightQL}
|
@@ -1489,4 +1500,5 @@ ${FindSyncInputQL}
|
|
1489
1500
|
${FindTaskInputQL}
|
1490
1501
|
${FindTasksInputQL}
|
1491
1502
|
${ArchiveTaskInputQL}
|
1492
|
-
${ArchiveTaskOutputQL}
|
1503
|
+
${ArchiveTaskOutputQL}
|
1504
|
+
${SearchInputQL}`;
|