stage-browser 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +136 -2
- package/build/icon.icns +0 -0
- package/build/icon.png +0 -0
- package/dist/bin/stage.js +111 -0
- package/dist/main/cli-args.js +28 -0
- package/dist/main/context-menu.js +68 -0
- package/dist/main/context.js +2 -0
- package/dist/main/extensions.js +78 -0
- package/dist/main/ipc.js +90 -0
- package/dist/main/main.js +279 -0
- package/dist/main/menu.js +140 -0
- package/dist/main/reveal.js +155 -0
- package/dist/main/selftest.js +490 -0
- package/dist/main/store.js +85 -0
- package/dist/main/suggest.js +43 -0
- package/dist/main/tabs.js +324 -0
- package/dist/main/url.js +38 -0
- package/dist/main/window.js +68 -0
- package/dist/preload/extension-compat.js +163 -0
- package/dist/preload/ui-preload.js +33 -0
- package/dist/shared/contract.js +6 -0
- package/dist/ui/app.js +653 -0
- package/dist/ui/index.html +41 -0
- package/dist/ui/mock.js +479 -0
- package/dist/ui/newtab.html +69 -0
- package/dist/ui/styles.css +410 -0
- package/node_modules/@types/chrome/LICENSE +21 -0
- package/node_modules/@types/chrome/README.md +15 -0
- package/node_modules/@types/chrome/chrome-cast/index.d.ts +1156 -0
- package/node_modules/@types/chrome/har-format/index.d.ts +6 -0
- package/node_modules/@types/chrome/index.d.ts +13786 -0
- package/node_modules/@types/chrome/package.json +99 -0
- package/node_modules/@types/filesystem/LICENSE +21 -0
- package/node_modules/@types/filesystem/README.md +15 -0
- package/node_modules/@types/filesystem/index.d.ts +564 -0
- package/node_modules/@types/filesystem/package.json +26 -0
- package/node_modules/@types/filewriter/LICENSE +21 -0
- package/node_modules/@types/filewriter/README.md +15 -0
- package/node_modules/@types/filewriter/index.d.ts +166 -0
- package/node_modules/@types/filewriter/package.json +25 -0
- package/node_modules/@types/har-format/LICENSE +21 -0
- package/node_modules/@types/har-format/README.md +15 -0
- package/node_modules/@types/har-format/index.d.ts +938 -0
- package/node_modules/@types/har-format/package.json +31 -0
- package/node_modules/adm-zip/LICENSE +21 -0
- package/node_modules/adm-zip/README.md +90 -0
- package/node_modules/adm-zip/adm-zip.js +1020 -0
- package/node_modules/adm-zip/headers/entryHeader.js +396 -0
- package/node_modules/adm-zip/headers/index.js +2 -0
- package/node_modules/adm-zip/headers/mainHeader.js +177 -0
- package/node_modules/adm-zip/methods/deflater.js +33 -0
- package/node_modules/adm-zip/methods/index.js +3 -0
- package/node_modules/adm-zip/methods/inflater.js +64 -0
- package/node_modules/adm-zip/methods/zipcrypto.js +175 -0
- package/node_modules/adm-zip/package.json +56 -0
- package/node_modules/adm-zip/types.d.ts +223 -0
- package/node_modules/adm-zip/util/constants.js +142 -0
- package/node_modules/adm-zip/util/decoder.js +5 -0
- package/node_modules/adm-zip/util/errors.js +66 -0
- package/node_modules/adm-zip/util/fattr.js +76 -0
- package/node_modules/adm-zip/util/index.js +5 -0
- package/node_modules/adm-zip/util/utils.js +481 -0
- package/node_modules/adm-zip/zipEntry.js +415 -0
- package/node_modules/adm-zip/zipFile.js +466 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/electron-chrome-web-store/README.md +143 -0
- package/node_modules/electron-chrome-web-store/dist/chrome-web-store.preload.js +299 -0
- package/node_modules/electron-chrome-web-store/dist/cjs/browser/index.js +1674 -0
- package/node_modules/electron-chrome-web-store/dist/esm/browser/index.mjs +950 -0
- package/node_modules/electron-chrome-web-store/dist/types/browser/api.d.ts +2 -0
- package/node_modules/electron-chrome-web-store/dist/types/browser/crx3.d.ts +20 -0
- package/node_modules/electron-chrome-web-store/dist/types/browser/id.d.ts +9 -0
- package/node_modules/electron-chrome-web-store/dist/types/browser/index.d.ts +62 -0
- package/node_modules/electron-chrome-web-store/dist/types/browser/installer.d.ts +29 -0
- package/node_modules/electron-chrome-web-store/dist/types/browser/loader.d.ts +18 -0
- package/node_modules/electron-chrome-web-store/dist/types/browser/types.d.ts +21 -0
- package/node_modules/electron-chrome-web-store/dist/types/browser/updater.d.ts +6 -0
- package/node_modules/electron-chrome-web-store/dist/types/browser/utils.d.ts +4 -0
- package/node_modules/electron-chrome-web-store/dist/types/common/constants.d.ts +44 -0
- package/node_modules/electron-chrome-web-store/dist/types/renderer/chrome-web-store.preload.d.ts +1 -0
- package/node_modules/electron-chrome-web-store/package.json +43 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/pbf/LICENSE +27 -0
- package/node_modules/pbf/README.md +293 -0
- package/node_modules/pbf/bin/pbf +17 -0
- package/node_modules/pbf/compile.js +441 -0
- package/node_modules/pbf/dist/pbf-dev.js +838 -0
- package/node_modules/pbf/dist/pbf.js +1 -0
- package/node_modules/pbf/index.d.ts +206 -0
- package/node_modules/pbf/index.js +830 -0
- package/node_modules/pbf/package.json +63 -0
- package/node_modules/protocol-buffers-schema/.travis.yml +7 -0
- package/node_modules/protocol-buffers-schema/LICENSE +21 -0
- package/node_modules/protocol-buffers-schema/README.md +122 -0
- package/node_modules/protocol-buffers-schema/example.js +11 -0
- package/node_modules/protocol-buffers-schema/example.proto +13 -0
- package/node_modules/protocol-buffers-schema/index.js +6 -0
- package/node_modules/protocol-buffers-schema/package.json +31 -0
- package/node_modules/protocol-buffers-schema/parse.js +769 -0
- package/node_modules/protocol-buffers-schema/stringify.js +206 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/basic.json +90 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/basic.proto +11 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/comments.json +99 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/comments.proto +19 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/complex.json +125 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/complex.proto +30 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/enum.json +42 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/enum.proto +8 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/escaped-quotes.json +32 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/escaped-quotes.proto +3 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/extend.json +167 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/extend.proto +19 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/import.json +30 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/import.proto +6 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/map.json +33 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/map.proto +3 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/no-tags.proto +8 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/oneof.json +41 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/oneof.proto +6 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/option.json +364 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/option.proto +72 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/options.json +47 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/options.proto +8 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/pheromon-trajectories.proto +8 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/reserved.json +55 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/reserved.proto +17 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/search.json +30 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/search.proto +5 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/service.json +108 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/service.proto +30 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/valid-packed.proto +35 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/version.json +90 -0
- package/node_modules/protocol-buffers-schema/test/fixtures/version.proto +13 -0
- package/node_modules/protocol-buffers-schema/test/index.js +157 -0
- package/node_modules/protocol-buffers-schema/tokenize.js +56 -0
- package/node_modules/resolve-protobuf-schema/.travis.yml +3 -0
- package/node_modules/resolve-protobuf-schema/LICENSE +21 -0
- package/node_modules/resolve-protobuf-schema/README.md +49 -0
- package/node_modules/resolve-protobuf-schema/index.js +50 -0
- package/node_modules/resolve-protobuf-schema/package.json +25 -0
- package/node_modules/resolve-protobuf-schema/test/a.proto +5 -0
- package/node_modules/resolve-protobuf-schema/test/b.proto +5 -0
- package/node_modules/resolve-protobuf-schema/test/c.proto +3 -0
- package/node_modules/resolve-protobuf-schema/test/index.js +49 -0
- package/package.json +64 -4
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
{
|
|
2
|
+
"syntax": 3,
|
|
3
|
+
"package": null,
|
|
4
|
+
"imports": [],
|
|
5
|
+
"enums": [],
|
|
6
|
+
"messages": [
|
|
7
|
+
{
|
|
8
|
+
"name": "MsgNormal",
|
|
9
|
+
"enums": [],
|
|
10
|
+
"extends": [],
|
|
11
|
+
"options": {},
|
|
12
|
+
"messages": [],
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "field1",
|
|
16
|
+
"type": "int32",
|
|
17
|
+
"tag": 1,
|
|
18
|
+
"map": null,
|
|
19
|
+
"oneof": null,
|
|
20
|
+
"required": true,
|
|
21
|
+
"repeated": false,
|
|
22
|
+
"options": {}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "field2",
|
|
26
|
+
"type": "string",
|
|
27
|
+
"tag": 2,
|
|
28
|
+
"map": null,
|
|
29
|
+
"oneof": null,
|
|
30
|
+
"required": false,
|
|
31
|
+
"repeated": false,
|
|
32
|
+
"options": {}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "field3",
|
|
36
|
+
"type": "int32",
|
|
37
|
+
"tag": 3,
|
|
38
|
+
"map": null,
|
|
39
|
+
"oneof": null,
|
|
40
|
+
"required": true,
|
|
41
|
+
"repeated": false,
|
|
42
|
+
"options": {}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "exField1",
|
|
46
|
+
"type": "int32",
|
|
47
|
+
"tag": 101,
|
|
48
|
+
"map": null,
|
|
49
|
+
"oneof": null,
|
|
50
|
+
"required": false,
|
|
51
|
+
"repeated": false,
|
|
52
|
+
"options": {}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "exField2",
|
|
56
|
+
"type": "string",
|
|
57
|
+
"tag": 102,
|
|
58
|
+
"map": null,
|
|
59
|
+
"oneof": null,
|
|
60
|
+
"required": false,
|
|
61
|
+
"repeated": false,
|
|
62
|
+
"options": {}
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"extensions": null
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "MsgExtend",
|
|
69
|
+
"enums": [],
|
|
70
|
+
"extends": [],
|
|
71
|
+
"messages": [],
|
|
72
|
+
"options": {},
|
|
73
|
+
"fields": [
|
|
74
|
+
{
|
|
75
|
+
"name": "field1",
|
|
76
|
+
"type": "int32",
|
|
77
|
+
"tag": 1,
|
|
78
|
+
"map": null,
|
|
79
|
+
"oneof": null,
|
|
80
|
+
"required": true,
|
|
81
|
+
"repeated": false,
|
|
82
|
+
"options": {}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "field2",
|
|
86
|
+
"type": "string",
|
|
87
|
+
"tag": 2,
|
|
88
|
+
"map": null,
|
|
89
|
+
"oneof": null,
|
|
90
|
+
"required": false,
|
|
91
|
+
"repeated": false,
|
|
92
|
+
"options": {}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "field3",
|
|
96
|
+
"type": "int32",
|
|
97
|
+
"tag": 3,
|
|
98
|
+
"map": null,
|
|
99
|
+
"oneof": null,
|
|
100
|
+
"required": true,
|
|
101
|
+
"repeated": false,
|
|
102
|
+
"options": {}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "exField1",
|
|
106
|
+
"type": "int32",
|
|
107
|
+
"tag": 101,
|
|
108
|
+
"map": null,
|
|
109
|
+
"oneof": null,
|
|
110
|
+
"required": false,
|
|
111
|
+
"repeated": false,
|
|
112
|
+
"options": {}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "exField2",
|
|
116
|
+
"type": "string",
|
|
117
|
+
"tag": 102,
|
|
118
|
+
"map": null,
|
|
119
|
+
"oneof": null,
|
|
120
|
+
"required": false,
|
|
121
|
+
"repeated": false,
|
|
122
|
+
"options": {}
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"extensions": {
|
|
126
|
+
"from": 100,
|
|
127
|
+
"to": 200
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"options": {},
|
|
132
|
+
"extends": [
|
|
133
|
+
{
|
|
134
|
+
"name": "MsgExtend",
|
|
135
|
+
"message": {
|
|
136
|
+
"name": "MsgExtend",
|
|
137
|
+
"enums": [],
|
|
138
|
+
"extends": [],
|
|
139
|
+
"options": {},
|
|
140
|
+
"messages": [],
|
|
141
|
+
"fields": [
|
|
142
|
+
{
|
|
143
|
+
"name": "exField1",
|
|
144
|
+
"type": "int32",
|
|
145
|
+
"tag": 101,
|
|
146
|
+
"map": null,
|
|
147
|
+
"oneof": null,
|
|
148
|
+
"required": false,
|
|
149
|
+
"repeated": false,
|
|
150
|
+
"options": {}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "exField2",
|
|
154
|
+
"type": "string",
|
|
155
|
+
"tag": 102,
|
|
156
|
+
"map": null,
|
|
157
|
+
"oneof": null,
|
|
158
|
+
"required": false,
|
|
159
|
+
"repeated": false,
|
|
160
|
+
"options": {}
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"extensions": null
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
message MsgNormal {
|
|
2
|
+
required int32 field1 = 1;
|
|
3
|
+
optional string field2 = 2;
|
|
4
|
+
required int32 field3 = 3;
|
|
5
|
+
optional int32 exField1 = 101;
|
|
6
|
+
optional string exField2 = 102;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
message MsgExtend {
|
|
10
|
+
required int32 field1 = 1;
|
|
11
|
+
optional string field2 = 2;
|
|
12
|
+
required int32 field3 = 3;
|
|
13
|
+
extensions 100 to 200;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
extend MsgExtend {
|
|
17
|
+
optional int32 exField1 = 101;
|
|
18
|
+
optional string exField2 = 102;
|
|
19
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"syntax": 3,
|
|
3
|
+
"package": null,
|
|
4
|
+
"imports": ["./result.proto", "./other_result.proto"],
|
|
5
|
+
"enums": [],
|
|
6
|
+
"extends": [],
|
|
7
|
+
"messages": [
|
|
8
|
+
{
|
|
9
|
+
"name": "SearchResponse",
|
|
10
|
+
"extensions": null,
|
|
11
|
+
"enums": [],
|
|
12
|
+
"extends": [],
|
|
13
|
+
"options": {},
|
|
14
|
+
"messages": [],
|
|
15
|
+
"fields": [
|
|
16
|
+
{
|
|
17
|
+
"name": "result",
|
|
18
|
+
"type": "Result",
|
|
19
|
+
"tag": 1,
|
|
20
|
+
"map": null,
|
|
21
|
+
"oneof": null,
|
|
22
|
+
"required": false,
|
|
23
|
+
"repeated": true,
|
|
24
|
+
"options": {}
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"options": {}
|
|
30
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"syntax": 3,
|
|
3
|
+
"package": null,
|
|
4
|
+
"imports": [],
|
|
5
|
+
"enums": [],
|
|
6
|
+
"messages": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Data",
|
|
9
|
+
"enums": [],
|
|
10
|
+
"options": {},
|
|
11
|
+
"extends": [],
|
|
12
|
+
"messages": [],
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "data",
|
|
16
|
+
"type": "map",
|
|
17
|
+
"map": {
|
|
18
|
+
"from": "string",
|
|
19
|
+
"to": "bytes"
|
|
20
|
+
},
|
|
21
|
+
"oneof": null,
|
|
22
|
+
"tag": 1,
|
|
23
|
+
"required": false,
|
|
24
|
+
"repeated": false,
|
|
25
|
+
"options": {}
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"extensions": null
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"options": {},
|
|
32
|
+
"extends": []
|
|
33
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"syntax": 3,
|
|
3
|
+
"package": null,
|
|
4
|
+
"imports": [],
|
|
5
|
+
"enums": [],
|
|
6
|
+
"messages": [
|
|
7
|
+
{
|
|
8
|
+
"name": "SampleMessage",
|
|
9
|
+
"enums": [],
|
|
10
|
+
"extends": [],
|
|
11
|
+
"messages": [],
|
|
12
|
+
"options": {},
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "name",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"tag": 4,
|
|
18
|
+
"map": null,
|
|
19
|
+
"oneof": "test_oneof",
|
|
20
|
+
"required": false,
|
|
21
|
+
"repeated": false,
|
|
22
|
+
"options": {}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "sub_message",
|
|
26
|
+
"type": "SubMessage",
|
|
27
|
+
"tag": 9,
|
|
28
|
+
"map": null,
|
|
29
|
+
"oneof": "test_oneof",
|
|
30
|
+
"required": false,
|
|
31
|
+
"repeated": false,
|
|
32
|
+
"options": {}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
],
|
|
36
|
+
"extensions": null
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"options": {},
|
|
40
|
+
"extends": []
|
|
41
|
+
}
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
{
|
|
2
|
+
"syntax": 3,
|
|
3
|
+
"package": null,
|
|
4
|
+
"imports": [
|
|
5
|
+
"google/protobuf/descriptor.proto"
|
|
6
|
+
],
|
|
7
|
+
"enums": [
|
|
8
|
+
{
|
|
9
|
+
"name": "MyEnum",
|
|
10
|
+
"values": {
|
|
11
|
+
"FOO": {
|
|
12
|
+
"value": 1,
|
|
13
|
+
"options": {
|
|
14
|
+
"my_enum_value_option": "321"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"BAR": {
|
|
18
|
+
"value": 2,
|
|
19
|
+
"options": {}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"options": {
|
|
23
|
+
"my_enum_option": true
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"messages": [
|
|
28
|
+
{
|
|
29
|
+
"name": "MyMessage",
|
|
30
|
+
"enums": [],
|
|
31
|
+
"extends": [],
|
|
32
|
+
"messages": [],
|
|
33
|
+
"options": {
|
|
34
|
+
"my_message_option": "1234"
|
|
35
|
+
},
|
|
36
|
+
"fields": [
|
|
37
|
+
{
|
|
38
|
+
"name": "foo",
|
|
39
|
+
"type": "int32",
|
|
40
|
+
"tag": 1,
|
|
41
|
+
"map": null,
|
|
42
|
+
"oneof": null,
|
|
43
|
+
"required": false,
|
|
44
|
+
"repeated": false,
|
|
45
|
+
"options": {
|
|
46
|
+
"my_field_option": "4.5"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "bar",
|
|
51
|
+
"type": "string",
|
|
52
|
+
"tag": 2,
|
|
53
|
+
"map": null,
|
|
54
|
+
"oneof": null,
|
|
55
|
+
"required": false,
|
|
56
|
+
"repeated": false,
|
|
57
|
+
"options": {}
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"extensions": null
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "RequestType",
|
|
64
|
+
"enums": [],
|
|
65
|
+
"extends": [],
|
|
66
|
+
"messages": [],
|
|
67
|
+
"options": {},
|
|
68
|
+
"fields": [],
|
|
69
|
+
"extensions": null
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "ResponseType",
|
|
73
|
+
"enums": [],
|
|
74
|
+
"extends": [],
|
|
75
|
+
"options": {},
|
|
76
|
+
"messages": [],
|
|
77
|
+
"fields": [],
|
|
78
|
+
"extensions": null
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "FooOptions",
|
|
82
|
+
"enums": [],
|
|
83
|
+
"extends": [],
|
|
84
|
+
"options": {},
|
|
85
|
+
"messages": [],
|
|
86
|
+
"fields": [
|
|
87
|
+
{
|
|
88
|
+
"name": "opt1",
|
|
89
|
+
"type": "int32",
|
|
90
|
+
"tag": 1,
|
|
91
|
+
"map": null,
|
|
92
|
+
"oneof": null,
|
|
93
|
+
"required": false,
|
|
94
|
+
"repeated": false,
|
|
95
|
+
"options": {}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "opt2",
|
|
99
|
+
"type": "string",
|
|
100
|
+
"tag": 2,
|
|
101
|
+
"map": null,
|
|
102
|
+
"oneof": null,
|
|
103
|
+
"required": false,
|
|
104
|
+
"repeated": false,
|
|
105
|
+
"options": {}
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"extensions": null
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "Bar",
|
|
112
|
+
"enums": [],
|
|
113
|
+
"extends": [],
|
|
114
|
+
"options": {},
|
|
115
|
+
"messages": [],
|
|
116
|
+
"fields": [
|
|
117
|
+
{
|
|
118
|
+
"name": "a",
|
|
119
|
+
"type": "int32",
|
|
120
|
+
"tag": 1,
|
|
121
|
+
"map": null,
|
|
122
|
+
"oneof": null,
|
|
123
|
+
"required": false,
|
|
124
|
+
"repeated": false,
|
|
125
|
+
"options": {
|
|
126
|
+
"foo_options": {
|
|
127
|
+
"opt1": "123",
|
|
128
|
+
"opt2": "\"baz\""
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "b",
|
|
134
|
+
"type": "int32",
|
|
135
|
+
"tag": 2,
|
|
136
|
+
"map": null,
|
|
137
|
+
"oneof": null,
|
|
138
|
+
"required": false,
|
|
139
|
+
"repeated": false,
|
|
140
|
+
"options": {
|
|
141
|
+
"foo_options": {
|
|
142
|
+
"opt1": "123",
|
|
143
|
+
"opt2": "\"baz\""
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"extensions": null
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"options": {
|
|
152
|
+
"my_file_option": "Hello world!"
|
|
153
|
+
},
|
|
154
|
+
"extends": [
|
|
155
|
+
{
|
|
156
|
+
"name": "google.protobuf.FileOptions",
|
|
157
|
+
"message": {
|
|
158
|
+
"name": "google.protobuf.FileOptions",
|
|
159
|
+
"enums": [],
|
|
160
|
+
"extends": [],
|
|
161
|
+
"messages": [],
|
|
162
|
+
"options": {},
|
|
163
|
+
"fields": [
|
|
164
|
+
{
|
|
165
|
+
"name": "my_file_option",
|
|
166
|
+
"type": "string",
|
|
167
|
+
"tag": 50000,
|
|
168
|
+
"map": null,
|
|
169
|
+
"oneof": null,
|
|
170
|
+
"required": false,
|
|
171
|
+
"repeated": false,
|
|
172
|
+
"options": {}
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"extensions": null
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "google.protobuf.MessageOptions",
|
|
180
|
+
"message": {
|
|
181
|
+
"name": "google.protobuf.MessageOptions",
|
|
182
|
+
"enums": [],
|
|
183
|
+
"extends": [],
|
|
184
|
+
"messages": [],
|
|
185
|
+
"options": {},
|
|
186
|
+
"fields": [
|
|
187
|
+
{
|
|
188
|
+
"name": "my_message_option",
|
|
189
|
+
"type": "int32",
|
|
190
|
+
"tag": 50001,
|
|
191
|
+
"map": null,
|
|
192
|
+
"oneof": null,
|
|
193
|
+
"required": false,
|
|
194
|
+
"repeated": false,
|
|
195
|
+
"options": {}
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"extensions": null
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "google.protobuf.FieldOptions",
|
|
203
|
+
"message": {
|
|
204
|
+
"name": "google.protobuf.FieldOptions",
|
|
205
|
+
"enums": [],
|
|
206
|
+
"extends": [],
|
|
207
|
+
"messages": [],
|
|
208
|
+
"options": {},
|
|
209
|
+
"fields": [
|
|
210
|
+
{
|
|
211
|
+
"name": "my_field_option",
|
|
212
|
+
"type": "float",
|
|
213
|
+
"tag": 50002,
|
|
214
|
+
"map": null,
|
|
215
|
+
"oneof": null,
|
|
216
|
+
"required": false,
|
|
217
|
+
"repeated": false,
|
|
218
|
+
"options": {}
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"extensions": null
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "google.protobuf.EnumOptions",
|
|
226
|
+
"message": {
|
|
227
|
+
"name": "google.protobuf.EnumOptions",
|
|
228
|
+
"enums": [],
|
|
229
|
+
"extends": [],
|
|
230
|
+
"messages": [],
|
|
231
|
+
"options": {},
|
|
232
|
+
"fields": [
|
|
233
|
+
{
|
|
234
|
+
"name": "my_enum_option",
|
|
235
|
+
"type": "bool",
|
|
236
|
+
"tag": 50003,
|
|
237
|
+
"map": null,
|
|
238
|
+
"oneof": null,
|
|
239
|
+
"required": false,
|
|
240
|
+
"repeated": false,
|
|
241
|
+
"options": {}
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"extensions": null
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "google.protobuf.EnumValueOptions",
|
|
249
|
+
"message": {
|
|
250
|
+
"name": "google.protobuf.EnumValueOptions",
|
|
251
|
+
"enums": [],
|
|
252
|
+
"extends": [],
|
|
253
|
+
"messages": [],
|
|
254
|
+
"options": {},
|
|
255
|
+
"fields": [
|
|
256
|
+
{
|
|
257
|
+
"name": "my_enum_value_option",
|
|
258
|
+
"type": "uint32",
|
|
259
|
+
"tag": 50004,
|
|
260
|
+
"map": null,
|
|
261
|
+
"oneof": null,
|
|
262
|
+
"required": false,
|
|
263
|
+
"repeated": false,
|
|
264
|
+
"options": {}
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"extensions": null
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "google.protobuf.ServiceOptions",
|
|
272
|
+
"message": {
|
|
273
|
+
"name": "google.protobuf.ServiceOptions",
|
|
274
|
+
"enums": [],
|
|
275
|
+
"extends": [],
|
|
276
|
+
"messages": [],
|
|
277
|
+
"options": {},
|
|
278
|
+
"fields": [
|
|
279
|
+
{
|
|
280
|
+
"name": "my_service_option",
|
|
281
|
+
"type": "MyEnum",
|
|
282
|
+
"tag": 50005,
|
|
283
|
+
"map": null,
|
|
284
|
+
"oneof": null,
|
|
285
|
+
"required": false,
|
|
286
|
+
"repeated": false,
|
|
287
|
+
"options": {}
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"extensions": null
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "google.protobuf.MethodOptions",
|
|
295
|
+
"message": {
|
|
296
|
+
"name": "google.protobuf.MethodOptions",
|
|
297
|
+
"enums": [],
|
|
298
|
+
"extends": [],
|
|
299
|
+
"messages": [],
|
|
300
|
+
"options": {},
|
|
301
|
+
"fields": [
|
|
302
|
+
{
|
|
303
|
+
"name": "my_method_option",
|
|
304
|
+
"type": "MyMessage",
|
|
305
|
+
"tag": 50006,
|
|
306
|
+
"map": null,
|
|
307
|
+
"oneof": null,
|
|
308
|
+
"required": false,
|
|
309
|
+
"repeated": false,
|
|
310
|
+
"options": {}
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"extensions": null
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "google.protobuf.FieldOptions",
|
|
318
|
+
"message": {
|
|
319
|
+
"name": "google.protobuf.FieldOptions",
|
|
320
|
+
"enums": [],
|
|
321
|
+
"extends": [],
|
|
322
|
+
"messages": [],
|
|
323
|
+
"options": {},
|
|
324
|
+
"fields": [
|
|
325
|
+
{
|
|
326
|
+
"name": "foo_options",
|
|
327
|
+
"type": "FooOptions",
|
|
328
|
+
"tag": 1234,
|
|
329
|
+
"map": null,
|
|
330
|
+
"oneof": null,
|
|
331
|
+
"required": false,
|
|
332
|
+
"repeated": false,
|
|
333
|
+
"options": {}
|
|
334
|
+
}
|
|
335
|
+
],
|
|
336
|
+
"extensions": null
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
],
|
|
340
|
+
"services": [
|
|
341
|
+
{
|
|
342
|
+
"name": "MyService",
|
|
343
|
+
"methods": [
|
|
344
|
+
{
|
|
345
|
+
"name": "MyMethod",
|
|
346
|
+
"input_type": "RequestType",
|
|
347
|
+
"output_type": "ResponseType",
|
|
348
|
+
"client_streaming": false,
|
|
349
|
+
"server_streaming": false,
|
|
350
|
+
"options": {
|
|
351
|
+
"my_method_option.foo": "567",
|
|
352
|
+
"my_method_option.bar": "Some string"
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
],
|
|
356
|
+
"options": {
|
|
357
|
+
"my_service_option": "FOO",
|
|
358
|
+
"my_service_option_map": {
|
|
359
|
+
"foo": "bar"
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
}
|