for ClientMessage use pbjs generated script instead of .proto

This commit is contained in:
Nicolas Dextraze 2016-03-11 15:53:33 -08:00
parent e2adb5325b
commit b0a0af536d
2 changed files with 1487 additions and 7 deletions

View File

@ -1,7 +1 @@
var path = require('path'); module.exports = require('./messages').EventStore.Client.Messages;
var ProtoBuf = require('protobufjs');
var builder = ProtoBuf.loadProtoFile(path.join(__dirname, 'messages.proto'));
var root = builder.build();
var ClientMessage = root.EventStore.Client.Messages;
module.exports = ClientMessage;

1486
src/messages/messages.js Normal file

File diff suppressed because it is too large Load Diff