@infrab4a/connect 3.4.0-beta.3 → 3.4.0-beta.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/bundles/infrab4a-connect.umd.js +2 -1
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/esm2015/infra/hasura-graphql/mixins/helpers/attribute-option.helper.js +2 -2
- package/esm2015/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.js +2 -1
- package/fesm2015/infrab4a-connect.js +2 -1
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/package.json +1 -1
|
@@ -3042,7 +3042,7 @@
|
|
|
3042
3042
|
}());
|
|
3043
3043
|
AttributeOptionHelper.FindByAttribute = function (attributeName, fields) {
|
|
3044
3044
|
if (fields.includes(attributeName))
|
|
3045
|
-
return { columnName: attributeName.toString(), attributeName: attributeName };
|
|
3045
|
+
return { columnName: attributeName.toString(), attributeName: attributeName, to: function (value) { return value; }, from: function (value) { return value; } };
|
|
3046
3046
|
var field = fields.find(function (columnOption) { return lodash.isObject(columnOption) && Object.keys(columnOption).includes(attributeName.toString()); });
|
|
3047
3047
|
var fieldOption = field === null || field === void 0 ? void 0 : field[attributeName.toString()];
|
|
3048
3048
|
if (lodash.isNil(fieldOption))
|
|
@@ -4110,6 +4110,7 @@
|
|
|
4110
4110
|
fields: [
|
|
4111
4111
|
'id',
|
|
4112
4112
|
'description',
|
|
4113
|
+
'slug',
|
|
4113
4114
|
'enabled',
|
|
4114
4115
|
{ createdAt: { columnName: 'created_at' } },
|
|
4115
4116
|
{ updatedAt: { columnName: 'updated_at' } },
|