async function seedExampleTemplateCollection(ExampleTemplateCollection) {

  // Create promises that we will resolve once we have added all documents to the mongoDB collection
  const promises = translationsFile.translations.map((translationObject) => (
    seedExampleTemplate(ExampleTemplateCollection, translationObject)
  ));

  // Resolve the promises once all imports are done
  await Promise.all(promises);
}
/**
 * @summary Creates a collection of translations used for our Example.
 * @param {Object} ExampleTemplateCollection MongoDB collection that will be seeded into
 * @returns {undefined}
 */
@summary Creates a collection of translations used for our Example.
@param {Object} ExampleTemplateCollection MongoDB collection that will be seeded into
@returns {undefined}
@summary Creates a collection of translations used for our Example . @param { Object } ExampleTemplateCollection MongoDB collection that will be seeded into @returns { undefined }
async function seedExampleTemplateCollection(ExampleTemplateCollection) {
  const promises = translationsFile.translations.map((translationObject) => (
    seedExampleTemplate(ExampleTemplateCollection, translationObject)
  ));
  await Promise.all(promises);
}
async function seedExampleTemplateCollection ( ExampleTemplateCollection ) { const promises = translationsFile . translations . map ( ( translationObject ) => ( seedExampleTemplate ( ExampleTemplateCollection , translationObject ) ) ) ; await Promise . all ( promises ) ; }
@summary Creates a collection of translations used for our Example.
@summary Creates a collection of translations used for our Example .
// Create promises that we will resolve once we have added all documents to the mongoDB collection // Resolve the promises once all imports are done