Adds a ubiquitous language dictionary to a domain.
Optionally specify a version to add a ubiquitous language dictionary to a specific version of the domain.
@example
import utils from'@eventcatalog/utils'; const{ addUbiquitousLanguageToDomain }=utils('/path/to/eventcatalog'); // Adds a ubiquitous language dictionary to the latest Payment domain awaitaddUbiquitousLanguageToDomain('Payment',{ dictionary:[{ id:'Order', name:'Order', summary:'All things to do with the payment systems', description:'This is a description', icon:'KeyIcon'}]}); // Adds a ubiquitous language dictionary to a specific version of the domain awaitaddUbiquitousLanguageToDomain('Payment',{ dictionary:[{ id:'Order', name:'Order', summary:'All things to do with the payment systems', description:'This is a description', icon:'KeyIcon'}]},'0.0.1');
Adds a ubiquitous language dictionary to a domain.
Optionally specify a version to add a ubiquitous language dictionary to a specific version of the domain.