@infrab4a/connect 4.27.0 → 4.27.1
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/index.cjs.js +10 -0
- package/index.esm.js +10 -0
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -6051,6 +6051,11 @@ class CategoryProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withH
|
|
|
6051
6051
|
order,
|
|
6052
6052
|
})),
|
|
6053
6053
|
},
|
|
6054
|
+
on_conflict: {
|
|
6055
|
+
type: 'category_product_on_conflict',
|
|
6056
|
+
required: true,
|
|
6057
|
+
value: { constraint: 'category_product_pkey', update_columns: ['order'] },
|
|
6058
|
+
},
|
|
6054
6059
|
});
|
|
6055
6060
|
}
|
|
6056
6061
|
async addProductToCategories(productId, categoryIds) {
|
|
@@ -6064,6 +6069,11 @@ class CategoryProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withH
|
|
|
6064
6069
|
order: 0,
|
|
6065
6070
|
})),
|
|
6066
6071
|
},
|
|
6072
|
+
on_conflict: {
|
|
6073
|
+
type: 'category_product_on_conflict',
|
|
6074
|
+
required: true,
|
|
6075
|
+
value: { constraint: 'category_product_pkey' },
|
|
6076
|
+
},
|
|
6067
6077
|
});
|
|
6068
6078
|
}
|
|
6069
6079
|
}
|
package/index.esm.js
CHANGED
|
@@ -6026,6 +6026,11 @@ class CategoryProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withH
|
|
|
6026
6026
|
order,
|
|
6027
6027
|
})),
|
|
6028
6028
|
},
|
|
6029
|
+
on_conflict: {
|
|
6030
|
+
type: 'category_product_on_conflict',
|
|
6031
|
+
required: true,
|
|
6032
|
+
value: { constraint: 'category_product_pkey', update_columns: ['order'] },
|
|
6033
|
+
},
|
|
6029
6034
|
});
|
|
6030
6035
|
}
|
|
6031
6036
|
async addProductToCategories(productId, categoryIds) {
|
|
@@ -6039,6 +6044,11 @@ class CategoryProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withH
|
|
|
6039
6044
|
order: 0,
|
|
6040
6045
|
})),
|
|
6041
6046
|
},
|
|
6047
|
+
on_conflict: {
|
|
6048
|
+
type: 'category_product_on_conflict',
|
|
6049
|
+
required: true,
|
|
6050
|
+
value: { constraint: 'category_product_pkey' },
|
|
6051
|
+
},
|
|
6042
6052
|
});
|
|
6043
6053
|
}
|
|
6044
6054
|
}
|