@infrab4a/connect 4.9.7-beta.16 → 4.9.7-beta.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.
package/index.cjs.js CHANGED
@@ -4634,6 +4634,7 @@ class CategoryFilterHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHa
4634
4634
  fields: [
4635
4635
  'id',
4636
4636
  'description',
4637
+ 'title',
4637
4638
  'slug',
4638
4639
  'enabled',
4639
4640
  { createdAt: { columnName: 'created_at' } },
@@ -4777,7 +4778,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
4777
4778
  filters: {
4778
4779
  columnName: 'filters',
4779
4780
  foreignKeyColumn: { filter_id: 'id' },
4780
- fields: [{ filter: ['id', 'description', 'slug', 'enabled'] }],
4781
+ fields: [{ filter: ['id', 'title', 'description', 'slug', 'enabled'] }],
4781
4782
  bindPersistData: (value) => ({
4782
4783
  filters: { data: value.map((filter) => ({ filter_id: filter.id })) },
4783
4784
  }),
@@ -5127,6 +5128,7 @@ class FilterHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGrap
5127
5128
  interceptors,
5128
5129
  fields: [
5129
5130
  'id',
5131
+ 'title',
5130
5132
  'description',
5131
5133
  'slug',
5132
5134
  'enabled',
package/index.esm.js CHANGED
@@ -4628,6 +4628,7 @@ class CategoryFilterHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHa
4628
4628
  fields: [
4629
4629
  'id',
4630
4630
  'description',
4631
+ 'title',
4631
4632
  'slug',
4632
4633
  'enabled',
4633
4634
  { createdAt: { columnName: 'created_at' } },
@@ -4771,7 +4772,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
4771
4772
  filters: {
4772
4773
  columnName: 'filters',
4773
4774
  foreignKeyColumn: { filter_id: 'id' },
4774
- fields: [{ filter: ['id', 'description', 'slug', 'enabled'] }],
4775
+ fields: [{ filter: ['id', 'title', 'description', 'slug', 'enabled'] }],
4775
4776
  bindPersistData: (value) => ({
4776
4777
  filters: { data: value.map((filter) => ({ filter_id: filter.id })) },
4777
4778
  }),
@@ -5121,6 +5122,7 @@ class FilterHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGrap
5121
5122
  interceptors,
5122
5123
  fields: [
5123
5124
  'id',
5125
+ 'title',
5124
5126
  'description',
5125
5127
  'slug',
5126
5128
  'enabled',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "4.9.7-beta.16",
3
+ "version": "4.9.7-beta.17",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -4,6 +4,7 @@ import { FilterOption } from './filter-option';
4
4
  export declare class Filter extends BaseModel<Filter> {
5
5
  id: number;
6
6
  description: string;
7
+ title?: string;
7
8
  slug: string;
8
9
  enabled: boolean;
9
10
  options?: FilterOption[];