schema.js 399 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * Models / Schema
  3. * (for reference)
  4. *
  5. * @type {Object}
  6. */
  7. // Message: {
  8. // attributes: {
  9. // subject: 'string',
  10. // body: 'string',
  11. // to: {
  12. // collection: 'user'
  13. // },
  14. // cc: {
  15. // collection: 'user'
  16. // },
  17. // bcc: {
  18. // collection: 'user'
  19. // },
  20. // from: {
  21. // model: 'user'
  22. // }
  23. // }
  24. // };
  25. // User: {
  26. // attributes: {
  27. // email: 'string'
  28. // }
  29. // };