Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] I think to was supposed to be string and not array of receivers since that is handled in campaing #8

Open
BenMaruchu opened this issue Jul 3, 2019 · 1 comment

Comments

@BenMaruchu
Copy link

/**
* @name to
* @description receiver(s) of the message
* i.e e-mail receiver, message receiver etc
* @type {Object}
* @since 0.1.0
* @version 1.0.0
* @instance
*/
to: {
// todo must me a receiver
type: [String],
required: true,
index: true,
searchable: true,
fake: {
generator: 'internet',
type: 'email',
},
},

@BenMaruchu
Copy link
Author

Was this supposed to be in message or campaign model?

    /**
     * @name cc
     * @description receiver(s) of the carbon copy of the message
     * i.e e-mail cc receiver
     * @type {Object}
     * @since 0.1.0
     * @version 1.0.0
     * @instance
     */
    cc: {
      type: [String],
      index: true,
      searchable: true,
      fake: {
        generator: 'internet',
        type: 'email',
      },
    },


    /**
     * @name bcc
     * @description receiver(s) of the blind carbon copy of the message
     * i.e e-mail cc receiver
     * @type {Object}
     * @since 0.1.0
     * @version 1.0.0
     * @instance
     */
    bcc: {
      type: [String],
      index: true,
      searchable: true,
      fake: {
        generator: 'internet',
        type: 'email',
      },
    },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant