Submitted.js 713 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. export const Submitted = {
  2. "className": "Submitted",
  3. "fields": {
  4. "eduCollection": { //指向报送合集
  5. "type": "Pointer",
  6. "targetClass": "EduCollection",
  7. "required": false
  8. },
  9. "profile": {//报送人
  10. "type": "Pointer",
  11. "targetClass": "Profile",
  12. "required": false
  13. },
  14. },
  15. "classLevelPermissions": {
  16. "find": {
  17. "*": true
  18. },
  19. "get": {
  20. "*": true
  21. },
  22. "count": {
  23. "*": true
  24. },
  25. "create": {
  26. "*": true
  27. },
  28. "update": {
  29. "*": true
  30. },
  31. "delete": {
  32. "*": true
  33. },
  34. "addField": {
  35. "*": true
  36. },
  37. "protectedFields": {
  38. "*": []
  39. }
  40. }
  41. }
  42. module.exports.Submitted = Submitted