Usage:
Once you import the package, you can get the proto absoluate path directly. And if you use an intelligent IDE, it should gives you intelligent auto completion for available proto file paths.
An Example for use case:
const protoPaths = require('di-api-protobufs')
module.exports = {
customer: {
protoPath: protoPaths.customerProtoPath,
service: customerService
},
tag: {
protoPath: protoPaths.tagProtoPath,
service: tagService
},
batch: {
protoPath: protoPaths.batchProtoPath,
service: batchService
}
}