Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

61 wiersze
1.0 KiB

  1. {
  2. "kind": "collectionType",
  3. "collectionName": "transactions",
  4. "info": {
  5. "name": "Transaction",
  6. "description": ""
  7. },
  8. "options": {
  9. "increments": true,
  10. "timestamps": true,
  11. "draftAndPublish": true
  12. },
  13. "attributes": {
  14. "order_id": {
  15. "type": "string"
  16. },
  17. "product_name": {
  18. "type": "string"
  19. },
  20. "product_quantity": {
  21. "type": "biginteger"
  22. },
  23. "product_price": {
  24. "type": "biginteger"
  25. },
  26. "product_color": {
  27. "type": "string"
  28. },
  29. "product_courier": {
  30. "type": "string"
  31. },
  32. "cust_name": {
  33. "type": "string"
  34. },
  35. "cust_telp": {
  36. "type": "string"
  37. },
  38. "cust_address": {
  39. "type": "string"
  40. },
  41. "note": {
  42. "type": "text"
  43. },
  44. "product_img": {
  45. "model": "file",
  46. "via": "related",
  47. "allowedTypes": [
  48. "images",
  49. "files",
  50. "videos"
  51. ],
  52. "plugin": "upload",
  53. "required": false
  54. },
  55. "status": {
  56. "model": "status",
  57. "via": "transactions"
  58. }
  59. }
  60. }