@bigfootai/bigfoot-types 4.7.4 → 4.7.5
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.
- package/model.js +1 -0
- package/model.ts +2 -2
- package/package.json +1 -1
package/model.js
CHANGED
@@ -648,6 +648,7 @@ type Recommendation {${exports.SharedPrimitiveFields}
|
|
648
648
|
recommendationType: String!
|
649
649
|
connectRecommendation: ConnectRecommendation
|
650
650
|
upsertRecommendation: UpsertRecommendation
|
651
|
+
parentId: String
|
651
652
|
}`;
|
652
653
|
class Recommendation extends SharedPrimitive {
|
653
654
|
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,6 +978,7 @@ 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
|
@@ -987,6 +986,7 @@ export class Recommendation extends SharedPrimitive {
|
|
987
986
|
recommendationType: RecommendationType;
|
988
987
|
connectRecommendation?: ConnectRecommendation; // For provider recommendations, we use this field
|
989
988
|
upsertRecommendation?: UpsertRecommendation; // For data upsert recommendations, we use this field
|
989
|
+
parentId?: string; // Any parent recommendation that generated this recommendation
|
990
990
|
|
991
991
|
constructor(
|
992
992
|
sharingTags: SharingTag[],
|