@bigfootai/bigfoot-types 5.1.19 → 5.1.21

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 -7
  2. package/model.ts +7 -14
  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;
@@ -1474,7 +1474,6 @@ input UpsertFolderInput {
1474
1474
  label: String
1475
1475
  description: String
1476
1476
  searchIds: [String]
1477
- order: Int
1478
1477
  }`;
1479
1478
  exports.FindFolderInputQL = `
1480
1479
  input FindFolderInput {
@@ -1519,7 +1518,6 @@ input UpsertSearchInput {
1519
1518
  favorite: Boolean
1520
1519
  snoozed: Boolean
1521
1520
  size: Int
1522
- order: Int
1523
1521
  }`;
1524
1522
  exports.FindSearchInputQL = `
1525
1523
  input FindSearchInput {
@@ -1584,7 +1582,6 @@ input SearchInput {
1584
1582
  snoozed: Boolean
1585
1583
  page: Int
1586
1584
  size: Int
1587
- order: Int
1588
1585
  }`;
1589
1586
  exports.BlockTypeQL = `
1590
1587
  enum BlockType {
@@ -1638,7 +1635,7 @@ exports.ChildItemFields = `
1638
1635
  blockType: BlockType
1639
1636
  `;
1640
1637
  exports.ChildItemInputQL = `
1641
- input ChildItem {${exports.ChildItemFields}
1638
+ input ChildItemInput {${exports.ChildItemFields}
1642
1639
  }`;
1643
1640
  exports.ChildItemQL = `
1644
1641
  type ChildItem {${exports.ChildItemFields}
@@ -1691,7 +1688,6 @@ exports.GraphSearchInputFields = `
1691
1688
  sort: [SortOptionInput]
1692
1689
  page: Int
1693
1690
  size: Int
1694
- order: Int
1695
1691
  `;
1696
1692
  exports.GraphSearchInputQL = `
1697
1693
  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
 
@@ -2600,7 +2602,6 @@ input UpsertFolderInput {
2600
2602
  label: String
2601
2603
  description: String
2602
2604
  searchIds: [String]
2603
- order: Int
2604
2605
  }`;
2605
2606
  export interface UpsertFolderInput {
2606
2607
  _id?: string;
@@ -2609,7 +2610,6 @@ export interface UpsertFolderInput {
2609
2610
  label?: string;
2610
2611
  description?: string;
2611
2612
  searchIds?: string[];
2612
- order?: number;
2613
2613
  _tagType?: TagType;
2614
2614
  }
2615
2615
 
@@ -2675,7 +2675,6 @@ input UpsertSearchInput {
2675
2675
  favorite: Boolean
2676
2676
  snoozed: Boolean
2677
2677
  size: Int
2678
- order: Int
2679
2678
  }`;
2680
2679
  export interface UpsertSearchInput {
2681
2680
  _id?: string;
@@ -2700,7 +2699,6 @@ export interface UpsertSearchInput {
2700
2699
  favorite?: boolean;
2701
2700
  snoozed?: boolean;
2702
2701
  size?: number;
2703
- order?: number;
2704
2702
  }
2705
2703
 
2706
2704
  export const FindSearchInputQL = `
@@ -2805,7 +2803,6 @@ input SearchInput {
2805
2803
  snoozed: Boolean
2806
2804
  page: Int
2807
2805
  size: Int
2808
- order: Int
2809
2806
  }`;
2810
2807
  export interface SearchInput {
2811
2808
  blockType?: BlockType;
@@ -2830,7 +2827,6 @@ export interface SearchInput {
2830
2827
  snoozed?: boolean;
2831
2828
  page?: number;
2832
2829
  size?: number;
2833
- order?: number;
2834
2830
  }
2835
2831
 
2836
2832
  export const BlockTypeQL = `
@@ -2894,7 +2890,7 @@ export const ChildItemFields = `
2894
2890
  blockType: BlockType
2895
2891
  `;
2896
2892
  export const ChildItemInputQL = `
2897
- input ChildItem {${ChildItemFields}
2893
+ input ChildItemInput {${ChildItemFields}
2898
2894
  }`;
2899
2895
  export const ChildItemQL = `
2900
2896
  type ChildItem {${ChildItemFields}
@@ -2980,7 +2976,6 @@ export const GraphSearchInputFields = `
2980
2976
  sort: [SortOptionInput]
2981
2977
  page: Int
2982
2978
  size: Int
2983
- order: Int
2984
2979
  `;
2985
2980
  export const GraphSearchInputQL = `
2986
2981
  input GraphSearchInput {${GraphSearchInputFields}
@@ -3011,8 +3006,6 @@ export interface GraphSearchInput {
3011
3006
  // Page and sizing
3012
3007
  page?: number;
3013
3008
  size?: number;
3014
- // For sorting in relation to other searches
3015
- order?: number;
3016
3009
  }
3017
3010
 
3018
3011
  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.19",
4
+ "version": "5.1.21",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",