@bigfootai/bigfoot-types 2.12.6 → 2.12.7

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.
Files changed (2) hide show
  1. package/model.js +28 -16
  2. 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.BlockProcessingRequest = exports.Block = 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.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.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.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = 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 = 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 = 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
@@ -654,72 +654,82 @@ exports.Table = Table;
654
654
  // METADATA OBJECTS END
655
655
  // API OBJECTS START
656
656
  exports.FindArticleInputQL = `
657
- type FindArticleInput {
657
+ input FindArticleInput {
658
658
  originBlockId: String!
659
659
  type: String!
660
660
  }`;
661
661
  exports.FindArticlesInputQL = `
662
- type FindArticlesInput {
662
+ input FindArticlesInput {
663
663
  originBlockId: String!
664
664
  type: String!
665
665
  }`;
666
666
  exports.FindCalendarInputQL = `
667
- type FindCalendarInput {
667
+ input FindCalendarInput {
668
668
  _id: String!
669
669
  }`;
670
670
  exports.FindEventInputQL = `
671
- type FindEventInput {
671
+ input FindEventInput {
672
672
  _id: String!
673
673
  }`;
674
674
  exports.InsertNoteInputQL = `
675
- type InsertNoteInput {
675
+ input InsertNoteInput {
676
676
  document: String!
677
677
  editor: Editor!
678
678
  changes: Changes!
679
679
  }`;
680
680
  exports.UpsertNoteInputQL = `
681
- type UpsertNoteInput {
681
+ input UpsertNoteInput {
682
682
  _id: String!
683
683
  document: String!
684
684
  editor: Editor!
685
685
  changes: Changes!
686
686
  }`;
687
687
  exports.FindNoteInputQL = `
688
- type FindNoteInput {
688
+ input FindNoteInput {
689
689
  _id: String!
690
690
  archived: Boolean
691
691
  }`;
692
692
  exports.FindNotesInputQL = `
693
- type FindNotesInput {
693
+ input FindNotesInput {
694
694
  tagIds: [String]
695
695
  archived: Boolean
696
696
  }`;
697
697
  exports.ArchiveNoteInputQL = `
698
- type ArchiveNoteInput {
698
+ input ArchiveNoteInput {
699
+ _id: String!
700
+ archived: Boolean
701
+ }`;
702
+ exports.ArchiveNoteOutputQL = `
703
+ type ArchiveNoteOutput {
699
704
  _id: String!
700
705
  archived: Boolean
701
706
  }`;
702
707
  exports.FindProviderInputQL = `
703
- type FindProviderInput {
708
+ input FindProviderInput {
704
709
  provider: String!
705
710
  }`;
706
711
  exports.FindSyncInputQL = `
707
- type FindSyncInput {
712
+ input FindSyncInput {
708
713
  _id: String!
709
714
  }`;
710
715
  exports.FindTaskInputQL = `
711
- type FindTaskInput {
716
+ input FindTaskInput {
712
717
  _id: String!
713
718
  archived: Boolean
714
719
  }`;
715
720
  exports.FindTasksInputQL = `
716
- type FindTasksInput {
721
+ input FindTasksInput {
717
722
  originNoteId: String
718
723
  tagIds: [String]
719
724
  archived: Boolean
720
725
  }`;
721
726
  exports.ArchiveTaskInputQL = `
722
- type ArchiveTaskInput {
727
+ input ArchiveTaskInput {
728
+ _id: String!
729
+ archived: Boolean
730
+ }`;
731
+ exports.ArchiveTaskOutputQL = `
732
+ type ArchiveTaskOutput {
723
733
  _id: String!
724
734
  archived: Boolean
725
735
  }`;
@@ -765,8 +775,10 @@ ${exports.UpsertNoteInputQL}
765
775
  ${exports.FindNoteInputQL}
766
776
  ${exports.FindNotesInputQL}
767
777
  ${exports.ArchiveNoteInputQL}
778
+ ${exports.ArchiveNoteOutputQL}
768
779
  ${exports.FindProviderInputQL}
769
780
  ${exports.FindSyncInputQL}
770
781
  ${exports.FindTaskInputQL}
771
782
  ${exports.FindTasksInputQL}
772
- ${exports.ArchiveTaskInputQL}`;
783
+ ${exports.ArchiveTaskInputQL}
784
+ ${exports.ArchiveTaskOutputQL}`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "2.12.6",
4
+ "version": "2.12.7",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",