@infrab4a/connect 5.1.1-beta.8 → 5.1.1-beta.9

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
@@ -3922,25 +3922,12 @@ class HasuraGetVariablesHelper {
3922
3922
  if (lodash.isNil(instance[identifierBinded]))
3923
3923
  return ids;
3924
3924
  const columnOption = AttributeOptionHelper.FindByAttribute(identifier, fields);
3925
- console.warn('columnOption', columnOption);
3926
- console.warn('columnOption 1', identifiers[identifier]);
3927
- console.warn('columnOption 2', identifiers[identifier]);
3928
3925
  // const value =
3929
3926
  // columnOption?.to?.(identifiers[identifier as keyof typeof identifiers], instance) ||
3930
3927
  // identifiers[identifier as keyof typeof identifiers]
3931
3928
  const value = 'to' in columnOption
3932
3929
  ? columnOption?.to?.(identifiers[identifier], instance)
3933
3930
  : identifiers[identifier];
3934
- console.warn('columnOption value', value);
3935
- console.warn('columnOption ...ids', ids);
3936
- console.warn('columnOption return', {
3937
- ...ids,
3938
- [columnOption.columnName]: {
3939
- type: repository.getAttributeGraphQLTypeOf(columnOption.type || value),
3940
- value,
3941
- required: true,
3942
- },
3943
- });
3944
3931
  return {
3945
3932
  ...ids,
3946
3933
  [columnOption.columnName]: {
@@ -7656,7 +7643,6 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
7656
7643
  return reviews;
7657
7644
  }
7658
7645
  async findCatalog(params, mainGender, options) {
7659
- console.warn('findCatalog', { params, ...params.filters, published: true });
7660
7646
  const result = await this.find({
7661
7647
  ...params,
7662
7648
  filters: { ...params.filters, published: true },
package/index.esm.js CHANGED
@@ -3897,25 +3897,12 @@ class HasuraGetVariablesHelper {
3897
3897
  if (isNil(instance[identifierBinded]))
3898
3898
  return ids;
3899
3899
  const columnOption = AttributeOptionHelper.FindByAttribute(identifier, fields);
3900
- console.warn('columnOption', columnOption);
3901
- console.warn('columnOption 1', identifiers[identifier]);
3902
- console.warn('columnOption 2', identifiers[identifier]);
3903
3900
  // const value =
3904
3901
  // columnOption?.to?.(identifiers[identifier as keyof typeof identifiers], instance) ||
3905
3902
  // identifiers[identifier as keyof typeof identifiers]
3906
3903
  const value = 'to' in columnOption
3907
3904
  ? columnOption?.to?.(identifiers[identifier], instance)
3908
3905
  : identifiers[identifier];
3909
- console.warn('columnOption value', value);
3910
- console.warn('columnOption ...ids', ids);
3911
- console.warn('columnOption return', {
3912
- ...ids,
3913
- [columnOption.columnName]: {
3914
- type: repository.getAttributeGraphQLTypeOf(columnOption.type || value),
3915
- value,
3916
- required: true,
3917
- },
3918
- });
3919
3906
  return {
3920
3907
  ...ids,
3921
3908
  [columnOption.columnName]: {
@@ -7631,7 +7618,6 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
7631
7618
  return reviews;
7632
7619
  }
7633
7620
  async findCatalog(params, mainGender, options) {
7634
- console.warn('findCatalog', { params, ...params.filters, published: true });
7635
7621
  const result = await this.find({
7636
7622
  ...params,
7637
7623
  filters: { ...params.filters, published: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "5.1.1-beta.8",
3
+ "version": "5.1.1-beta.9",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },