incidentActivity.js 259 B

12345678910111213
  1. import {User} from './user';
  2. export function IncidentActivity(params = {}) {
  3. return {
  4. comment: 'incident activity comment',
  5. type: 3,
  6. dateCreated: new Date(),
  7. user: User(),
  8. id: '123',
  9. incidentIdentifier: '999',
  10. ...params,
  11. };
  12. }