@bigfootai/bigfoot-types 3.5.0 → 3.5.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 +14 -2
- package/model.ts +21 -0
- package/package.json +1 -1
package/model.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.Tag = exports.TagQL = exports.TagFields = 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.SharingTenantQL = exports.SharingDomainQL = 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
|
-
exports.
|
5
|
-
exports.GraphQLTypes = exports.SearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = void 0;
|
4
|
+
exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = 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.TaskFields = 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 = exports.Domain = exports.Tenant = exports.TenantQL = exports.TagRecommendationQL = void 0;
|
5
|
+
exports.GraphQLTypes = exports.SearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = void 0;
|
6
6
|
const uuid_1 = require("uuid");
|
7
7
|
/*
|
8
8
|
These are the core primitives of our model. These represent the entities that show
|
@@ -741,6 +741,13 @@ exports.FindEventInputQL = `
|
|
741
741
|
input FindEventInput {
|
742
742
|
_id: String!
|
743
743
|
}`;
|
744
|
+
exports.UpsertNoteInputQL = `
|
745
|
+
input UpsertNoteInput {
|
746
|
+
_id: String
|
747
|
+
document: String!
|
748
|
+
editor: EditorInput!
|
749
|
+
version: Float!
|
750
|
+
}`;
|
744
751
|
exports.FindNoteInputQL = `
|
745
752
|
input FindNoteInput {
|
746
753
|
_id: String!
|
@@ -792,6 +799,9 @@ type ArchiveTagOutput {
|
|
792
799
|
_id: String!
|
793
800
|
archived: Boolean
|
794
801
|
}`;
|
802
|
+
exports.UpdateTaskInputQL = `
|
803
|
+
input UpdateTaskInput {${exports.TaskFields}
|
804
|
+
}`;
|
795
805
|
exports.FindTaskInputQL = `
|
796
806
|
input FindTaskInput {
|
797
807
|
_id: String!
|
@@ -862,6 +872,7 @@ ${exports.FindArticleInputQL}
|
|
862
872
|
${exports.FindArticlesInputQL}
|
863
873
|
${exports.FindCalendarInputQL}
|
864
874
|
${exports.FindEventInputQL}
|
875
|
+
${exports.UpsertNoteInputQL}
|
865
876
|
${exports.FindNoteInputQL}
|
866
877
|
${exports.FindNotesInputQL}
|
867
878
|
${exports.ArchiveNoteInputQL}
|
@@ -873,6 +884,7 @@ ${exports.FindTagInputQL}
|
|
873
884
|
${exports.FindTagInputQL}
|
874
885
|
${exports.ArchiveTagInputQL}
|
875
886
|
${exports.ArchiveTagOutputQL}
|
887
|
+
${exports.UpdateTaskInputQL}
|
876
888
|
${exports.FindTaskInputQL}
|
877
889
|
${exports.FindTasksInputQL}
|
878
890
|
${exports.ArchiveTaskInputQL}
|
package/model.ts
CHANGED
@@ -1389,6 +1389,20 @@ export interface FindEventInput {
|
|
1389
1389
|
_id: string;
|
1390
1390
|
}
|
1391
1391
|
|
1392
|
+
export const UpsertNoteInputQL = `
|
1393
|
+
input UpsertNoteInput {
|
1394
|
+
_id: String
|
1395
|
+
document: String!
|
1396
|
+
editor: EditorInput!
|
1397
|
+
version: Float!
|
1398
|
+
}`;
|
1399
|
+
export interface UpsertNoteInput {
|
1400
|
+
_id: string;
|
1401
|
+
document: string;
|
1402
|
+
editor: Editor;
|
1403
|
+
version: number;
|
1404
|
+
}
|
1405
|
+
|
1392
1406
|
export const FindNoteInputQL = `
|
1393
1407
|
input FindNoteInput {
|
1394
1408
|
_id: String!
|
@@ -1488,6 +1502,11 @@ export interface ArchiveTagOutput {
|
|
1488
1502
|
archive?: boolean;
|
1489
1503
|
}
|
1490
1504
|
|
1505
|
+
export const UpdateTaskInputQL = `
|
1506
|
+
input UpdateTaskInput {${TaskFields}
|
1507
|
+
}`;
|
1508
|
+
export interface UpdateTaskInput extends Task {}
|
1509
|
+
|
1491
1510
|
export const FindTaskInputQL = `
|
1492
1511
|
input FindTaskInput {
|
1493
1512
|
_id: String!
|
@@ -1584,6 +1603,7 @@ ${FindArticleInputQL}
|
|
1584
1603
|
${FindArticlesInputQL}
|
1585
1604
|
${FindCalendarInputQL}
|
1586
1605
|
${FindEventInputQL}
|
1606
|
+
${UpsertNoteInputQL}
|
1587
1607
|
${FindNoteInputQL}
|
1588
1608
|
${FindNotesInputQL}
|
1589
1609
|
${ArchiveNoteInputQL}
|
@@ -1595,6 +1615,7 @@ ${FindTagInputQL}
|
|
1595
1615
|
${FindTagInputQL}
|
1596
1616
|
${ArchiveTagInputQL}
|
1597
1617
|
${ArchiveTagOutputQL}
|
1618
|
+
${UpdateTaskInputQL}
|
1598
1619
|
${FindTaskInputQL}
|
1599
1620
|
${FindTasksInputQL}
|
1600
1621
|
${ArchiveTaskInputQL}
|