lib/model/instance/submission-partial.js
// returns a { submission, submissionDef } object.
returns a { submission, submissionDef } object.
returns a { submission submissionDef } object .
createAll(form, maybeActor, deviceId = null) {
    const actorId = Option.of(maybeActor).map((actor) => actor.id).orNull();
    const formattedDeviceId = blankStringToNull(deviceId);
    return submissions.create(this, form, actorId, formattedDeviceId);
  }
createAll ( form , maybeActor , deviceId = null ) { const actorId = Option . of ( maybeActor ) . map ( ( actor ) => actor . id ) . orNull ( ) ; const formattedDeviceId = blankStringToNull ( deviceId ) ; return submissions . create ( this , form , actorId , formattedDeviceId ) ; }
returns a { submission, submissionDef } object.
returns a { submission submissionDef } object .