@headless-adminapp/app 0.0.17-alpha.20 → 0.0.17-alpha.21

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.
@@ -312,6 +312,11 @@ exports.generateAttributeValidationSchema = (0, lodash_1.memoize)(function gener
312
312
  case 'number':
313
313
  validationSchema = yup.number().nullable();
314
314
  break;
315
+ case 'attachments':
316
+ case 'choices':
317
+ case 'lookups':
318
+ validationSchema = yup.array().nullable();
319
+ break;
315
320
  default:
316
321
  validationSchema = yup.mixed().nullable();
317
322
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@headless-adminapp/app",
3
- "version": "0.0.17-alpha.20",
3
+ "version": "0.0.17-alpha.21",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -39,5 +39,5 @@
39
39
  "react-hook-form": "7.52.2",
40
40
  "yup": "^1.4.0"
41
41
  },
42
- "gitHead": "bcc1bcddef884731f72e5e4fedb0d78ad64afbd0"
42
+ "gitHead": "559490088acc4f2c5c54a7d6aa913f21747ccee8"
43
43
  }