UNPKG

protobufjs

Version:

Protocol Buffers for JavaScript & TypeScript.

124 lines 3.25 kB
{ "nested": { "google": { "nested": { "protobuf": { "nested": { "Api": { "fields": { "name": { "type": "string", "id": 1 }, "methods": { "rule": "repeated", "type": "Method", "id": 2 }, "options": { "rule": "repeated", "type": "Option", "id": 3 }, "version": { "type": "string", "id": 4 }, "sourceContext": { "type": "SourceContext", "id": 5, "protoName": "source_context" }, "mixins": { "rule": "repeated", "type": "Mixin", "id": 6 }, "syntax": { "type": "Syntax", "id": 7 } } }, "Method": { "fields": { "name": { "type": "string", "id": 1 }, "requestTypeUrl": { "type": "string", "id": 2, "protoName": "request_type_url" }, "requestStreaming": { "type": "bool", "id": 3, "protoName": "request_streaming" }, "responseTypeUrl": { "type": "string", "id": 4, "protoName": "response_type_url" }, "responseStreaming": { "type": "bool", "id": 5, "protoName": "response_streaming" }, "options": { "rule": "repeated", "type": "Option", "id": 6 }, "syntax": { "type": "Syntax", "id": 7 } } }, "Mixin": { "fields": { "name": { "type": "string", "id": 1 }, "root": { "type": "string", "id": 2 } } }, "SourceContext": { "fields": { "fileName": { "type": "string", "id": 1, "protoName": "file_name" } } }, "Option": { "fields": { "name": { "type": "string", "id": 1 }, "value": { "type": "Any", "id": 2 } } }, "Syntax": { "values": { "SYNTAX_PROTO2": 0, "SYNTAX_PROTO3": 1 } } } } } } } }