@bigfootai/bigfoot-types 5.1.15 → 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 +8 -0
  2. package/model.ts +15 -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) {
@@ -1096,7 +1098,9 @@ type BlockData {
1096
1098
  }`;
1097
1099
  exports.DashboardQL = `
1098
1100
  type Dashboard {${exports.BusinessObjectFields}
1101
+ metadata: DashboardMetadata
1099
1102
  blockData: [BlockData]
1103
+ tagId: String
1100
1104
  }`;
1101
1105
  class Dashboard extends BusinessObject {
1102
1106
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, dashboardMetadata, tagId) {
@@ -1469,6 +1473,7 @@ input UpsertFolderInput {
1469
1473
  label: String
1470
1474
  description: String
1471
1475
  searchIds: [String]
1476
+ order: Int
1472
1477
  }`;
1473
1478
  exports.FindFolderInputQL = `
1474
1479
  input FindFolderInput {
@@ -1513,6 +1518,7 @@ input UpsertSearchInput {
1513
1518
  favorite: Boolean
1514
1519
  snoozed: Boolean
1515
1520
  size: Int
1521
+ order: Int
1516
1522
  }`;
1517
1523
  exports.FindSearchInputQL = `
1518
1524
  input FindSearchInput {
@@ -1577,6 +1583,7 @@ input SearchInput {
1577
1583
  snoozed: Boolean
1578
1584
  page: Int
1579
1585
  size: Int
1586
+ order: Int
1580
1587
  }`;
1581
1588
  exports.BlockTypeQL = `
1582
1589
  enum BlockType {
@@ -1661,6 +1668,7 @@ exports.GraphSearchInputFields = `
1661
1668
  sort: [SortOptionInput]
1662
1669
  page: Int
1663
1670
  size: Int
1671
+ order: Int
1664
1672
  `;
1665
1673
  exports.GraphSearchInputQL = `
1666
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);
@@ -1875,7 +1879,9 @@ export interface BlockData {
1875
1879
 
1876
1880
  export const DashboardQL = `
1877
1881
  type Dashboard {${BusinessObjectFields}
1882
+ metadata: DashboardMetadata
1878
1883
  blockData: [BlockData]
1884
+ tagId: String
1879
1885
  }`;
1880
1886
  export class Dashboard extends BusinessObject {
1881
1887
  metadata: DashboardMetadata;
@@ -2592,6 +2598,7 @@ input UpsertFolderInput {
2592
2598
  label: String
2593
2599
  description: String
2594
2600
  searchIds: [String]
2601
+ order: Int
2595
2602
  }`;
2596
2603
  export interface UpsertFolderInput {
2597
2604
  _id?: string;
@@ -2600,6 +2607,7 @@ export interface UpsertFolderInput {
2600
2607
  label?: string;
2601
2608
  description?: string;
2602
2609
  searchIds?: string[];
2610
+ order?: number;
2603
2611
  _tagType?: TagType;
2604
2612
  }
2605
2613
 
@@ -2665,6 +2673,7 @@ input UpsertSearchInput {
2665
2673
  favorite: Boolean
2666
2674
  snoozed: Boolean
2667
2675
  size: Int
2676
+ order: Int
2668
2677
  }`;
2669
2678
  export interface UpsertSearchInput {
2670
2679
  _id?: string;
@@ -2689,6 +2698,7 @@ export interface UpsertSearchInput {
2689
2698
  favorite?: boolean;
2690
2699
  snoozed?: boolean;
2691
2700
  size?: number;
2701
+ order?: number;
2692
2702
  }
2693
2703
 
2694
2704
  export const FindSearchInputQL = `
@@ -2793,6 +2803,7 @@ input SearchInput {
2793
2803
  snoozed: Boolean
2794
2804
  page: Int
2795
2805
  size: Int
2806
+ order: Int
2796
2807
  }`;
2797
2808
  export interface SearchInput {
2798
2809
  blockType?: BlockType;
@@ -2817,6 +2828,7 @@ export interface SearchInput {
2817
2828
  snoozed?: boolean;
2818
2829
  page?: number;
2819
2830
  size?: number;
2831
+ order?: number;
2820
2832
  }
2821
2833
 
2822
2834
  export const BlockTypeQL = `
@@ -2931,6 +2943,7 @@ export const GraphSearchInputFields = `
2931
2943
  sort: [SortOptionInput]
2932
2944
  page: Int
2933
2945
  size: Int
2946
+ order: Int
2934
2947
  `;
2935
2948
  export const GraphSearchInputQL = `
2936
2949
  input GraphSearchInput {${GraphSearchInputFields}
@@ -2961,6 +2974,8 @@ export interface GraphSearchInput {
2961
2974
  // Page and sizing
2962
2975
  page?: number;
2963
2976
  size?: number;
2977
+ // For sorting in relation to other searches
2978
+ order?: number;
2964
2979
  }
2965
2980
 
2966
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.15",
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",