-
Notifications
You must be signed in to change notification settings - Fork 3
/
other.pb.ts
55 lines (49 loc) · 1.5 KB
/
other.pb.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// @generated by protoc-gen-es-lite unknown with parameter "target=ts,ts_nocheck=false"
// @generated from file github.com/aperturerobotics/protobuf-project/example/other/other.proto (package other, syntax proto3)
/* eslint-disable */
import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite'
import {
createMessageType,
Message,
ScalarType,
Timestamp,
} from '@aptre/protobuf-es-lite'
export const protobufPackage = 'other'
/**
* @generated from message other.OtherMessage
*/
export type OtherMessage = Message<{
/**
* Timestamp is an example of a Date encoding.
*
* @generated from field: google.protobuf.Timestamp timestamp = 1;
*/
timestamp?: Date
}>
// OtherMessage contains the message type declaration for OtherMessage.
export const OtherMessage: MessageType<OtherMessage> = createMessageType({
typeName: 'other.OtherMessage',
fields: [
{ no: 1, name: 'timestamp', kind: 'message', T: () => Timestamp },
] as readonly PartialFieldInfo[],
packedByDefault: true,
})
/**
* EchoMsg is the message body for Echo.
*
* @generated from message other.EchoMsg
*/
export type EchoMsg = Message<{
/**
* @generated from field: string body = 1;
*/
body?: string
}>
// EchoMsg contains the message type declaration for EchoMsg.
export const EchoMsg: MessageType<EchoMsg> = createMessageType({
typeName: 'other.EchoMsg',
fields: [
{ no: 1, name: 'body', kind: 'scalar', T: ScalarType.STRING },
] as readonly PartialFieldInfo[],
packedByDefault: true,
})