@bigfootai/bigfoot-types 5.1.16 → 5.1.17

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 +6 -0
  2. package/model.ts +13 -0
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -511,6 +511,7 @@ type Folder {${exports.SharedPrimitiveFields}
511
511
  description: String
512
512
  searchIds: [String]
513
513
  archived: Boolean!
514
+ order: Int
514
515
  }`;
515
516
  class Folder extends SharedPrimitive {
516
517
  constructor(tenantIdCreated, sharingTags, label) {
@@ -546,6 +547,7 @@ type Search {${exports.SharedPrimitiveFields}
546
547
  size: Int
547
548
  archived: Boolean!
548
549
  favoriteTagId: String
550
+ order: Int
549
551
  }`;
550
552
  class Search extends SharedPrimitive {
551
553
  constructor(tenantIdCreated, sharingTags) {
@@ -1471,6 +1473,7 @@ input UpsertFolderInput {
1471
1473
  label: String
1472
1474
  description: String
1473
1475
  searchIds: [String]
1476
+ order: Int
1474
1477
  }`;
1475
1478
  exports.FindFolderInputQL = `
1476
1479
  input FindFolderInput {
@@ -1515,6 +1518,7 @@ input UpsertSearchInput {
1515
1518
  favorite: Boolean
1516
1519
  snoozed: Boolean
1517
1520
  size: Int
1521
+ order: Int
1518
1522
  }`;
1519
1523
  exports.FindSearchInputQL = `
1520
1524
  input FindSearchInput {
@@ -1579,6 +1583,7 @@ input SearchInput {
1579
1583
  snoozed: Boolean
1580
1584
  page: Int
1581
1585
  size: Int
1586
+ order: Int
1582
1587
  }`;
1583
1588
  exports.BlockTypeQL = `
1584
1589
  enum BlockType {
@@ -1663,6 +1668,7 @@ exports.GraphSearchInputFields = `
1663
1668
  sort: [SortOptionInput]
1664
1669
  page: Int
1665
1670
  size: Int
1671
+ order: Int
1666
1672
  `;
1667
1673
  exports.GraphSearchInputQL = `
1668
1674
  input GraphSearchInput {${exports.GraphSearchInputFields}
package/model.ts CHANGED
@@ -724,6 +724,7 @@ type Folder {${SharedPrimitiveFields}
724
724
  description: String
725
725
  searchIds: [String]
726
726
  archived: Boolean!
727
+ order: Int
727
728
  }`;
728
729
  export class Folder extends SharedPrimitive {
729
730
  icon?: string;
@@ -731,6 +732,7 @@ export class Folder extends SharedPrimitive {
731
732
  description?: string;
732
733
  searchIds?: string[];
733
734
  archived: boolean;
735
+ order?: number;
734
736
  _tagType?: TagType;
735
737
 
736
738
  constructor(
@@ -771,6 +773,7 @@ type Search {${SharedPrimitiveFields}
771
773
  size: Int
772
774
  archived: Boolean!
773
775
  favoriteTagId: String
776
+ order: Int
774
777
  }`;
775
778
  export class Search extends SharedPrimitive {
776
779
  blockType?: BlockType;
@@ -796,6 +799,7 @@ export class Search extends SharedPrimitive {
796
799
  size?: number;
797
800
  archived: boolean;
798
801
  favoriteTagId?: string;
802
+ order?: number;
799
803
 
800
804
  constructor(tenantIdCreated: string, sharingTags: SharingTag[]) {
801
805
  super(sharingTags);
@@ -2594,6 +2598,7 @@ input UpsertFolderInput {
2594
2598
  label: String
2595
2599
  description: String
2596
2600
  searchIds: [String]
2601
+ order: Int
2597
2602
  }`;
2598
2603
  export interface UpsertFolderInput {
2599
2604
  _id?: string;
@@ -2602,6 +2607,7 @@ export interface UpsertFolderInput {
2602
2607
  label?: string;
2603
2608
  description?: string;
2604
2609
  searchIds?: string[];
2610
+ order?: number;
2605
2611
  _tagType?: TagType;
2606
2612
  }
2607
2613
 
@@ -2667,6 +2673,7 @@ input UpsertSearchInput {
2667
2673
  favorite: Boolean
2668
2674
  snoozed: Boolean
2669
2675
  size: Int
2676
+ order: Int
2670
2677
  }`;
2671
2678
  export interface UpsertSearchInput {
2672
2679
  _id?: string;
@@ -2691,6 +2698,7 @@ export interface UpsertSearchInput {
2691
2698
  favorite?: boolean;
2692
2699
  snoozed?: boolean;
2693
2700
  size?: number;
2701
+ order?: number;
2694
2702
  }
2695
2703
 
2696
2704
  export const FindSearchInputQL = `
@@ -2795,6 +2803,7 @@ input SearchInput {
2795
2803
  snoozed: Boolean
2796
2804
  page: Int
2797
2805
  size: Int
2806
+ order: Int
2798
2807
  }`;
2799
2808
  export interface SearchInput {
2800
2809
  blockType?: BlockType;
@@ -2819,6 +2828,7 @@ export interface SearchInput {
2819
2828
  snoozed?: boolean;
2820
2829
  page?: number;
2821
2830
  size?: number;
2831
+ order?: number;
2822
2832
  }
2823
2833
 
2824
2834
  export const BlockTypeQL = `
@@ -2933,6 +2943,7 @@ export const GraphSearchInputFields = `
2933
2943
  sort: [SortOptionInput]
2934
2944
  page: Int
2935
2945
  size: Int
2946
+ order: Int
2936
2947
  `;
2937
2948
  export const GraphSearchInputQL = `
2938
2949
  input GraphSearchInput {${GraphSearchInputFields}
@@ -2963,6 +2974,8 @@ export interface GraphSearchInput {
2963
2974
  // Page and sizing
2964
2975
  page?: number;
2965
2976
  size?: number;
2977
+ // For sorting in relation to other searches
2978
+ order?: number;
2966
2979
  }
2967
2980
 
2968
2981
  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.16",
4
+ "version": "5.1.17",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",