for ClientMessage use pbjs generated script instead of .proto
This commit is contained in:
parent
e2adb5325b
commit
b0a0af536d
|
@ -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
1486
src/messages/messages.js
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user