Skip to content

Commit c39195c

Browse files
committedApr 9, 2021
fix: rebuild
1 parent 2d48c59 commit c39195c

13 files changed

+99
-34
lines changed
 

‎cli/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"version": "6.9.0",
33
"dependencies": {
4+
"escodegen": "^2.0.0",
45
"espree": "^7.1.0",
56
"tmp": "^0.2.1"
67
}

‎dist/light/protobuf.js

+17-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/light/protobuf.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/light/protobuf.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/light/protobuf.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/minimal/protobuf.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/minimal/protobuf.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/minimal/protobuf.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/protobuf.js

+54-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/protobuf.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/protobuf.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/protobuf.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎index.d.ts

+11-4
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,6 @@ export class FieldBase extends ReflectionObject {
300300
*/
301301
constructor(name: string, id: number, type: string, rule?: (string|{ [k: string]: any }), extend?: (string|{ [k: string]: any }), options?: { [k: string]: any }, comment?: string);
302302

303-
/** Field rule, if any. */
304-
public rule?: string;
305-
306303
/** Field type. */
307304
public type: string;
308305

@@ -602,8 +599,9 @@ export class Method extends ReflectionObject {
602599
* @param [responseStream] Whether the response is streamed
603600
* @param [options] Declared options
604601
* @param [comment] The comment for this method
602+
* @param [parsedOptions] Declared options, properly parsed into an object
605603
*/
606-
constructor(name: string, type: (string|undefined), requestType: string, responseType: string, requestStream?: (boolean|{ [k: string]: any }), responseStream?: (boolean|{ [k: string]: any }), options?: { [k: string]: any }, comment?: string);
604+
constructor(name: string, type: (string|undefined), requestType: string, responseType: string, requestStream?: (boolean|{ [k: string]: any }), responseStream?: (boolean|{ [k: string]: any }), options?: { [k: string]: any }, comment?: string, parsedOptions?: { [k: string]: any });
607605

608606
/** Method type. */
609607
public type: string;
@@ -629,6 +627,9 @@ export class Method extends ReflectionObject {
629627
/** Comment for this method */
630628
public comment: (string|null);
631629

630+
/** Options properly parsed into an object */
631+
public parsedOptions: any;
632+
632633
/**
633634
* Constructs a method from a method descriptor.
634635
* @param name Method name
@@ -666,6 +667,12 @@ export interface IMethod {
666667

667668
/** Method options */
668669
options?: { [k: string]: any };
670+
671+
/** Method comments */
672+
comment: string;
673+
674+
/** Method options properly parsed into an object */
675+
parsedOptions?: { [k: string]: any };
669676
}
670677

671678
/** Reflected namespace. */

0 commit comments

Comments
 (0)
Please sign in to comment.