選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

41 行
668 B

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