File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -115,18 +115,18 @@ export interface EnumTypeDefinition extends ProtobufTypeDefinition {
115
115
format : 'Protocol Buffer 3 EnumDescriptorProto' ;
116
116
}
117
117
118
- enum IdempotencyLevel {
118
+ export enum IdempotencyLevel {
119
119
IDEMPOTENCY_UNKNOWN = 0 ,
120
120
NO_SIDE_EFFECTS = 1 ,
121
121
IDEMPOTENT = 2
122
122
}
123
123
124
- interface NamePart {
124
+ export interface NamePart {
125
125
namePart : string ;
126
126
isExtension : boolean ;
127
127
}
128
128
129
- interface UninterpretedOption {
129
+ export interface UninterpretedOption {
130
130
name ?: ( NamePart [ ] | null ) ;
131
131
identifierValue ?: ( string | null ) ;
132
132
positiveIntValue ?: ( number | Long | string | null ) ;
@@ -136,12 +136,12 @@ interface UninterpretedOption {
136
136
aggregateValue ?: ( string | null ) ;
137
137
}
138
138
139
- interface CustomHttpPattern {
139
+ export interface CustomHttpPattern {
140
140
kind ?: ( string | null ) ;
141
141
path ?: ( string | null ) ;
142
142
}
143
143
144
- interface HttpRule {
144
+ export interface HttpRule {
145
145
selector ?: ( string | null ) ;
146
146
get ?: ( string | null ) ;
147
147
put ?: ( string | null ) ;
@@ -154,7 +154,7 @@ interface HttpRule {
154
154
additionalBindings ?: ( HttpRule [ ] | null ) ;
155
155
}
156
156
157
- interface MethodOptions {
157
+ export interface MethodOptions {
158
158
deprecated ?: ( boolean | null ) ;
159
159
idempotency_level ?: ( IdempotencyLevel | keyof typeof IdempotencyLevel | null ) ;
160
160
uninterpreted_option ?: ( UninterpretedOption [ ] | null ) ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import { rpcFileDescriptorSet } from '../test_protos/rpc.desc';
20
20
import { readFileSync } from 'fs' ;
21
21
22
22
import * as proto_loader from '../src/index' ;
23
- import { dirname } from " path" ;
23
+ import { dirname } from ' path' ;
24
24
25
25
// Relative path from build output directory to test_protos directory
26
26
const TEST_PROTO_DIR = `${ __dirname } /../../test_protos/` ;
You can’t perform that action at this time.
0 commit comments