@bigfootai/bigfoot-types 5.1.20 → 5.1.22

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 (3) hide show
  1. package/model.js +3 -6
  2. package/model.ts +7 -13
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -511,7 +511,6 @@ type Folder {${exports.SharedPrimitiveFields}
511
511
  description: String
512
512
  searchIds: [String]
513
513
  archived: Boolean!
514
- order: Int
515
514
  }`;
516
515
  class Folder extends SharedPrimitive {
517
516
  constructor(tenantIdCreated, sharingTags, label) {
@@ -519,6 +518,7 @@ class Folder extends SharedPrimitive {
519
518
  this.label = label;
520
519
  this.tenantIdCreated = tenantIdCreated;
521
520
  this.archived = false;
521
+ this._order = 0;
522
522
  }
523
523
  }
524
524
  exports.Folder = Folder;
@@ -547,13 +547,13 @@ type Search {${exports.SharedPrimitiveFields}
547
547
  size: Int
548
548
  archived: Boolean!
549
549
  favoriteTagId: String
550
- order: Int
551
550
  }`;
552
551
  class Search extends SharedPrimitive {
553
552
  constructor(tenantIdCreated, sharingTags) {
554
553
  super(sharingTags);
555
554
  this.tenantIdCreated = tenantIdCreated;
556
555
  this.archived = false;
556
+ this._order = 0;
557
557
  }
558
558
  }
559
559
  exports.Search = Search;
@@ -622,6 +622,7 @@ enum TagType {
622
622
  ${TagType.Organization.toUpperCase()}
623
623
  ${TagType.Person.toUpperCase()}
624
624
  ${TagType.Topic.toUpperCase()}
625
+ ${TagType.Date.toUpperCase()}
625
626
  }`;
626
627
  exports.GraphTagQL = `
627
628
  type GraphTag {
@@ -1474,7 +1475,6 @@ input UpsertFolderInput {
1474
1475
  label: String
1475
1476
  description: String
1476
1477
  searchIds: [String]
1477
- order: Int
1478
1478
  }`;
1479
1479
  exports.FindFolderInputQL = `
1480
1480
  input FindFolderInput {
@@ -1519,7 +1519,6 @@ input UpsertSearchInput {
1519
1519
  favorite: Boolean
1520
1520
  snoozed: Boolean
1521
1521
  size: Int
1522
- order: Int
1523
1522
  }`;
1524
1523
  exports.FindSearchInputQL = `
1525
1524
  input FindSearchInput {
@@ -1584,7 +1583,6 @@ input SearchInput {
1584
1583
  snoozed: Boolean
1585
1584
  page: Int
1586
1585
  size: Int
1587
- order: Int
1588
1586
  }`;
1589
1587
  exports.BlockTypeQL = `
1590
1588
  enum BlockType {
@@ -1691,7 +1689,6 @@ exports.GraphSearchInputFields = `
1691
1689
  sort: [SortOptionInput]
1692
1690
  page: Int
1693
1691
  size: Int
1694
- order: Int
1695
1692
  `;
1696
1693
  exports.GraphSearchInputQL = `
1697
1694
  input GraphSearchInput {${exports.GraphSearchInputFields}
package/model.ts CHANGED
@@ -724,7 +724,6 @@ type Folder {${SharedPrimitiveFields}
724
724
  description: String
725
725
  searchIds: [String]
726
726
  archived: Boolean!
727
- order: Int
728
727
  }`;
729
728
  export class Folder extends SharedPrimitive {
730
729
  icon?: string;
@@ -732,7 +731,7 @@ export class Folder extends SharedPrimitive {
732
731
  description?: string;
733
732
  searchIds?: string[];
734
733
  archived: boolean;
735
- order?: number;
734
+ _order?: number;
736
735
  _tagType?: TagType;
737
736
 
738
737
  constructor(
@@ -745,6 +744,8 @@ export class Folder extends SharedPrimitive {
745
744
  this.label = label;
746
745
  this.tenantIdCreated = tenantIdCreated;
747
746
  this.archived = false;
747
+
748
+ this._order = 0;
748
749
  }
749
750
  }
750
751
 
@@ -773,7 +774,6 @@ type Search {${SharedPrimitiveFields}
773
774
  size: Int
774
775
  archived: Boolean!
775
776
  favoriteTagId: String
776
- order: Int
777
777
  }`;
778
778
  export class Search extends SharedPrimitive {
779
779
  blockType?: BlockType;
@@ -799,13 +799,15 @@ export class Search extends SharedPrimitive {
799
799
  size?: number;
800
800
  archived: boolean;
801
801
  favoriteTagId?: string;
802
- order?: number;
802
+ _order?: number;
803
803
 
804
804
  constructor(tenantIdCreated: string, sharingTags: SharingTag[]) {
805
805
  super(sharingTags);
806
806
 
807
807
  this.tenantIdCreated = tenantIdCreated;
808
808
  this.archived = false;
809
+
810
+ this._order = 0;
809
811
  }
810
812
  }
811
813
 
@@ -919,6 +921,7 @@ enum TagType {
919
921
  ${TagType.Organization.toUpperCase()}
920
922
  ${TagType.Person.toUpperCase()}
921
923
  ${TagType.Topic.toUpperCase()}
924
+ ${TagType.Date.toUpperCase()}
922
925
  }`;
923
926
 
924
927
  export const GraphTagQL = `
@@ -2600,7 +2603,6 @@ input UpsertFolderInput {
2600
2603
  label: String
2601
2604
  description: String
2602
2605
  searchIds: [String]
2603
- order: Int
2604
2606
  }`;
2605
2607
  export interface UpsertFolderInput {
2606
2608
  _id?: string;
@@ -2609,7 +2611,6 @@ export interface UpsertFolderInput {
2609
2611
  label?: string;
2610
2612
  description?: string;
2611
2613
  searchIds?: string[];
2612
- order?: number;
2613
2614
  _tagType?: TagType;
2614
2615
  }
2615
2616
 
@@ -2675,7 +2676,6 @@ input UpsertSearchInput {
2675
2676
  favorite: Boolean
2676
2677
  snoozed: Boolean
2677
2678
  size: Int
2678
- order: Int
2679
2679
  }`;
2680
2680
  export interface UpsertSearchInput {
2681
2681
  _id?: string;
@@ -2700,7 +2700,6 @@ export interface UpsertSearchInput {
2700
2700
  favorite?: boolean;
2701
2701
  snoozed?: boolean;
2702
2702
  size?: number;
2703
- order?: number;
2704
2703
  }
2705
2704
 
2706
2705
  export const FindSearchInputQL = `
@@ -2805,7 +2804,6 @@ input SearchInput {
2805
2804
  snoozed: Boolean
2806
2805
  page: Int
2807
2806
  size: Int
2808
- order: Int
2809
2807
  }`;
2810
2808
  export interface SearchInput {
2811
2809
  blockType?: BlockType;
@@ -2830,7 +2828,6 @@ export interface SearchInput {
2830
2828
  snoozed?: boolean;
2831
2829
  page?: number;
2832
2830
  size?: number;
2833
- order?: number;
2834
2831
  }
2835
2832
 
2836
2833
  export const BlockTypeQL = `
@@ -2980,7 +2977,6 @@ export const GraphSearchInputFields = `
2980
2977
  sort: [SortOptionInput]
2981
2978
  page: Int
2982
2979
  size: Int
2983
- order: Int
2984
2980
  `;
2985
2981
  export const GraphSearchInputQL = `
2986
2982
  input GraphSearchInput {${GraphSearchInputFields}
@@ -3011,8 +3007,6 @@ export interface GraphSearchInput {
3011
3007
  // Page and sizing
3012
3008
  page?: number;
3013
3009
  size?: number;
3014
- // For sorting in relation to other searches
3015
- order?: number;
3016
3010
  }
3017
3011
 
3018
3012
  export const GraphSearchEventsInputQL = `
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "5.1.20",
4
+ "version": "5.1.22",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",