You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 line
660 B

  1. {
  2. "kind": "collectionType",
  3. "collectionName": "carts",
  4. "info": {
  5. "name": "Cart",
  6. "description": ""
  7. },
  8. "options": {
  9. "increments": true,
  10. "timestamps": true,
  11. "draftAndPublish": true
  12. },
  13. "attributes": {
  14. "product_name": {
  15. "type": "string"
  16. },
  17. "product_price": {
  18. "type": "biginteger"
  19. },
  20. "product_color": {
  21. "type": "string"
  22. },
  23. "product_otr": {
  24. "type": "string"
  25. },
  26. "product_img": {
  27. "model": "file",
  28. "via": "related",
  29. "allowedTypes": [
  30. "images",
  31. "files",
  32. "videos"
  33. ],
  34. "plugin": "upload",
  35. "required": false
  36. }
  37. }
  38. }