@bigfootai/bigfoot-types 4.7.4 → 4.7.6

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 +1 -1
  2. package/model.ts +2 -3
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -639,7 +639,6 @@ type UpsertRecommendation {
639
639
  table: Table!
640
640
  record: Record!
641
641
  upsertType: String!
642
- connectRecommendations: [ConnectRecommendation]
643
642
  }`;
644
643
  exports.RecommendationQL = `
645
644
  type Recommendation {${exports.SharedPrimitiveFields}
@@ -648,6 +647,7 @@ type Recommendation {${exports.SharedPrimitiveFields}
648
647
  recommendationType: String!
649
648
  connectRecommendation: ConnectRecommendation
650
649
  upsertRecommendation: UpsertRecommendation
650
+ parentId: String
651
651
  }`;
652
652
  class Recommendation extends SharedPrimitive {
653
653
  constructor(sharingTags, referenceBlock, tenantIdCreated, recommendationType) {
package/model.ts CHANGED
@@ -964,13 +964,11 @@ type UpsertRecommendation {
964
964
  table: Table!
965
965
  record: Record!
966
966
  upsertType: String!
967
- connectRecommendations: [ConnectRecommendation]
968
967
  }`;
969
968
  export interface UpsertRecommendation {
970
969
  table: Table;
971
970
  record: Record;
972
971
  upsertType: UpsertType;
973
- connectRecommendations?: ConnectRecommendation[]; // Lists out any recommended providers that could be used to perform the data update
974
972
  }
975
973
 
976
974
  export const RecommendationQL = `
@@ -980,13 +978,14 @@ type Recommendation {${SharedPrimitiveFields}
980
978
  recommendationType: String!
981
979
  connectRecommendation: ConnectRecommendation
982
980
  upsertRecommendation: UpsertRecommendation
981
+ parentId: String
983
982
  }`;
984
983
  export class Recommendation extends SharedPrimitive {
985
984
  referenceBlock: ReferenceBlock; // This is the block that caused the recommendation to happen
986
- tenantIdCreated: string;
987
985
  recommendationType: RecommendationType;
988
986
  connectRecommendation?: ConnectRecommendation; // For provider recommendations, we use this field
989
987
  upsertRecommendation?: UpsertRecommendation; // For data upsert recommendations, we use this field
988
+ parentId?: string; // Any parent recommendation that generated this recommendation
990
989
 
991
990
  constructor(
992
991
  sharingTags: SharingTag[],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.7.4",
4
+ "version": "4.7.6",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",