@teambit/express 0.0.961 → 0.0.963
Sign up to get free protection for your applications and to get access to all the features.
package/artifacts/schema.json
CHANGED
@@ -14,591 +14,435 @@
|
|
14
14
|
},
|
15
15
|
"exports": [
|
16
16
|
{
|
17
|
-
"__schema": "
|
17
|
+
"__schema": "ExportSchema",
|
18
18
|
"location": {
|
19
|
-
"filePath": "
|
20
|
-
"line":
|
21
|
-
"character":
|
19
|
+
"filePath": "index.ts",
|
20
|
+
"line": 1,
|
21
|
+
"character": 15
|
22
22
|
},
|
23
|
-
"signature": "type RouteSlot = SlotRegistry<Route[]>",
|
24
23
|
"name": "RouteSlot",
|
25
|
-
"
|
26
|
-
"__schema": "
|
24
|
+
"exportNode": {
|
25
|
+
"__schema": "TypeSchema",
|
27
26
|
"location": {
|
28
27
|
"filePath": "express.main.runtime.ts",
|
29
28
|
"line": 21,
|
30
|
-
"character":
|
31
|
-
},
|
32
|
-
"name": "SlotRegistry",
|
33
|
-
"componentId": {
|
34
|
-
"scope": "teambit.harmony",
|
35
|
-
"name": "harmony",
|
36
|
-
"version": "0.4.6"
|
29
|
+
"character": 1
|
37
30
|
},
|
38
|
-
"
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
31
|
+
"signature": "type RouteSlot = SlotRegistry<Route[]>",
|
32
|
+
"name": "RouteSlot",
|
33
|
+
"type": {
|
34
|
+
"__schema": "TypeRefSchema",
|
35
|
+
"location": {
|
36
|
+
"filePath": "express.main.runtime.ts",
|
37
|
+
"line": 21,
|
38
|
+
"character": 25
|
39
|
+
},
|
40
|
+
"name": "SlotRegistry",
|
41
|
+
"componentId": {
|
42
|
+
"scope": "teambit.harmony",
|
43
|
+
"name": "harmony",
|
44
|
+
"version": "0.4.6"
|
45
|
+
},
|
46
|
+
"typeArgs": [
|
47
|
+
{
|
48
|
+
"__schema": "TypeArraySchema",
|
48
49
|
"location": {
|
49
50
|
"filePath": "express.main.runtime.ts",
|
50
51
|
"line": 21,
|
51
52
|
"character": 38
|
52
53
|
},
|
53
|
-
"
|
54
|
+
"type": {
|
55
|
+
"__schema": "TypeRefSchema",
|
56
|
+
"location": {
|
57
|
+
"filePath": "express.main.runtime.ts",
|
58
|
+
"line": 21,
|
59
|
+
"character": 38
|
60
|
+
},
|
61
|
+
"name": "Route"
|
62
|
+
}
|
54
63
|
}
|
55
|
-
|
56
|
-
|
64
|
+
]
|
65
|
+
}
|
57
66
|
}
|
58
67
|
},
|
59
68
|
{
|
60
|
-
"__schema": "
|
69
|
+
"__schema": "ExportSchema",
|
61
70
|
"location": {
|
62
|
-
"filePath": "
|
63
|
-
"line":
|
64
|
-
"character":
|
71
|
+
"filePath": "index.ts",
|
72
|
+
"line": 2,
|
73
|
+
"character": 15
|
65
74
|
},
|
66
|
-
"
|
67
|
-
|
75
|
+
"name": "Route",
|
76
|
+
"exportNode": {
|
77
|
+
"__schema": "InterfaceSchema",
|
68
78
|
"location": {
|
69
79
|
"filePath": "types/route.ts",
|
70
|
-
"line":
|
80
|
+
"line": 19,
|
71
81
|
"character": 1
|
72
82
|
},
|
73
|
-
"
|
74
|
-
|
75
|
-
},
|
76
|
-
"signature": "interface Route",
|
77
|
-
"name": "Route",
|
78
|
-
"members": [
|
79
|
-
{
|
80
|
-
"__schema": "VariableLikeSchema",
|
83
|
+
"doc": {
|
84
|
+
"__schema": "DocSchema",
|
81
85
|
"location": {
|
82
86
|
"filePath": "types/route.ts",
|
83
|
-
"line":
|
84
|
-
"character":
|
87
|
+
"line": 15,
|
88
|
+
"character": 1
|
85
89
|
},
|
86
|
-
"
|
87
|
-
"
|
88
|
-
|
89
|
-
|
90
|
+
"raw": "/**\n * express new Route\n */",
|
91
|
+
"comment": "express new Route"
|
92
|
+
},
|
93
|
+
"signature": "interface Route",
|
94
|
+
"name": "Route",
|
95
|
+
"members": [
|
96
|
+
{
|
97
|
+
"__schema": "VariableLikeSchema",
|
90
98
|
"location": {
|
91
99
|
"filePath": "types/route.ts",
|
92
100
|
"line": 20,
|
93
|
-
"character":
|
101
|
+
"character": 3
|
94
102
|
},
|
95
|
-
"
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
103
|
+
"signature": "(property) Route.method: string",
|
104
|
+
"name": "method",
|
105
|
+
"type": {
|
106
|
+
"__schema": "KeywordTypeSchema",
|
107
|
+
"location": {
|
108
|
+
"filePath": "types/route.ts",
|
109
|
+
"line": 20,
|
110
|
+
"character": 11
|
111
|
+
},
|
112
|
+
"name": "string"
|
113
|
+
},
|
114
|
+
"isOptional": false
|
105
115
|
},
|
106
|
-
|
107
|
-
|
108
|
-
"type": {
|
109
|
-
"__schema": "TypeUnionSchema",
|
116
|
+
{
|
117
|
+
"__schema": "VariableLikeSchema",
|
110
118
|
"location": {
|
111
119
|
"filePath": "types/route.ts",
|
112
120
|
"line": 21,
|
113
|
-
"character":
|
121
|
+
"character": 3
|
114
122
|
},
|
115
|
-
"
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
"name": "string"
|
123
|
+
"signature": "(property) Route.route: string | RegExp",
|
124
|
+
"name": "route",
|
125
|
+
"type": {
|
126
|
+
"__schema": "TypeUnionSchema",
|
127
|
+
"location": {
|
128
|
+
"filePath": "types/route.ts",
|
129
|
+
"line": 21,
|
130
|
+
"character": 10
|
124
131
|
},
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
"
|
129
|
-
|
130
|
-
|
132
|
+
"types": [
|
133
|
+
{
|
134
|
+
"__schema": "KeywordTypeSchema",
|
135
|
+
"location": {
|
136
|
+
"filePath": "types/route.ts",
|
137
|
+
"line": 21,
|
138
|
+
"character": 10
|
139
|
+
},
|
140
|
+
"name": "string"
|
131
141
|
},
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
"
|
142
|
+
{
|
143
|
+
"__schema": "TypeRefSchema",
|
144
|
+
"location": {
|
145
|
+
"filePath": "types/route.ts",
|
146
|
+
"line": 21,
|
147
|
+
"character": 19
|
148
|
+
},
|
149
|
+
"name": "RegExp"
|
150
|
+
}
|
151
|
+
]
|
152
|
+
},
|
153
|
+
"isOptional": false
|
144
154
|
},
|
145
|
-
|
146
|
-
|
147
|
-
"type": {
|
148
|
-
"__schema": "KeywordTypeSchema",
|
155
|
+
{
|
156
|
+
"__schema": "VariableLikeSchema",
|
149
157
|
"location": {
|
150
158
|
"filePath": "types/route.ts",
|
151
159
|
"line": 22,
|
152
|
-
"character":
|
160
|
+
"character": 3
|
153
161
|
},
|
154
|
-
"
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
162
|
+
"signature": "(property) Route.disableNamespace?: boolean | undefined",
|
163
|
+
"name": "disableNamespace",
|
164
|
+
"type": {
|
165
|
+
"__schema": "KeywordTypeSchema",
|
166
|
+
"location": {
|
167
|
+
"filePath": "types/route.ts",
|
168
|
+
"line": 22,
|
169
|
+
"character": 22
|
170
|
+
},
|
171
|
+
"name": "boolean"
|
172
|
+
},
|
173
|
+
"isOptional": true
|
164
174
|
},
|
165
|
-
|
166
|
-
|
167
|
-
"type": {
|
168
|
-
"__schema": "TypeRefSchema",
|
175
|
+
{
|
176
|
+
"__schema": "VariableLikeSchema",
|
169
177
|
"location": {
|
170
178
|
"filePath": "types/route.ts",
|
171
179
|
"line": 23,
|
172
|
-
"character":
|
180
|
+
"character": 3
|
173
181
|
},
|
174
|
-
"
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
182
|
+
"signature": "(property) Route.verb?: Verb | undefined",
|
183
|
+
"name": "verb",
|
184
|
+
"type": {
|
185
|
+
"__schema": "TypeRefSchema",
|
186
|
+
"location": {
|
187
|
+
"filePath": "types/route.ts",
|
188
|
+
"line": 23,
|
189
|
+
"character": 10
|
190
|
+
},
|
191
|
+
"name": "Verb"
|
192
|
+
},
|
193
|
+
"isOptional": true
|
184
194
|
},
|
185
|
-
|
186
|
-
|
187
|
-
"type": {
|
188
|
-
"__schema": "TypeArraySchema",
|
195
|
+
{
|
196
|
+
"__schema": "VariableLikeSchema",
|
189
197
|
"location": {
|
190
198
|
"filePath": "types/route.ts",
|
191
199
|
"line": 24,
|
192
|
-
"character":
|
200
|
+
"character": 3
|
193
201
|
},
|
202
|
+
"signature": "(property) Route.middlewares: Middleware[]",
|
203
|
+
"name": "middlewares",
|
194
204
|
"type": {
|
195
|
-
"__schema": "
|
205
|
+
"__schema": "TypeArraySchema",
|
196
206
|
"location": {
|
197
207
|
"filePath": "types/route.ts",
|
198
208
|
"line": 24,
|
199
209
|
"character": 16
|
200
210
|
},
|
201
|
-
"
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
"line": 26,
|
211
|
-
"character": 3
|
212
|
-
},
|
213
|
-
"doc": {
|
214
|
-
"__schema": "DocSchema",
|
215
|
-
"location": {
|
216
|
-
"filePath": "types/route.ts",
|
217
|
-
"line": 25,
|
218
|
-
"character": 3
|
211
|
+
"type": {
|
212
|
+
"__schema": "TypeRefSchema",
|
213
|
+
"location": {
|
214
|
+
"filePath": "types/route.ts",
|
215
|
+
"line": 24,
|
216
|
+
"character": 16
|
217
|
+
},
|
218
|
+
"name": "Middleware"
|
219
|
+
}
|
219
220
|
},
|
220
|
-
"
|
221
|
-
"comment": "route priority if 2 route with the same name default is 0"
|
221
|
+
"isOptional": false
|
222
222
|
},
|
223
|
-
|
224
|
-
|
225
|
-
"type": {
|
226
|
-
"__schema": "KeywordTypeSchema",
|
223
|
+
{
|
224
|
+
"__schema": "VariableLikeSchema",
|
227
225
|
"location": {
|
228
226
|
"filePath": "types/route.ts",
|
229
227
|
"line": 26,
|
230
|
-
"character":
|
228
|
+
"character": 3
|
231
229
|
},
|
232
|
-
"
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
230
|
+
"doc": {
|
231
|
+
"__schema": "DocSchema",
|
232
|
+
"location": {
|
233
|
+
"filePath": "types/route.ts",
|
234
|
+
"line": 25,
|
235
|
+
"character": 3
|
236
|
+
},
|
237
|
+
"raw": "/** route priority if 2 route with the same name default is 0 */",
|
238
|
+
"comment": "route priority if 2 route with the same name default is 0"
|
239
|
+
},
|
240
|
+
"signature": "(property) Route.priority?: number | undefined",
|
241
|
+
"name": "priority",
|
242
|
+
"type": {
|
243
|
+
"__schema": "KeywordTypeSchema",
|
244
|
+
"location": {
|
245
|
+
"filePath": "types/route.ts",
|
246
|
+
"line": 26,
|
247
|
+
"character": 14
|
248
|
+
},
|
249
|
+
"name": "number"
|
250
|
+
},
|
251
|
+
"isOptional": true
|
252
|
+
}
|
253
|
+
],
|
254
|
+
"extendsNodes": []
|
255
|
+
}
|
238
256
|
},
|
239
257
|
{
|
240
|
-
"__schema": "
|
258
|
+
"__schema": "ExportSchema",
|
241
259
|
"location": {
|
242
|
-
"filePath": "
|
243
|
-
"line":
|
244
|
-
"character":
|
260
|
+
"filePath": "index.ts",
|
261
|
+
"line": 3,
|
262
|
+
"character": 10
|
245
263
|
},
|
246
|
-
"signature": "enum Verb",
|
247
264
|
"name": "Verb",
|
248
|
-
"
|
249
|
-
|
250
|
-
|
251
|
-
"
|
252
|
-
|
253
|
-
|
254
|
-
"character": 3
|
255
|
-
},
|
256
|
-
"signature": "(enum member) Verb.WRITE = \"write\"",
|
257
|
-
"name": "WRITE",
|
258
|
-
"value": "'write'"
|
265
|
+
"exportNode": {
|
266
|
+
"__schema": "EnumSchema",
|
267
|
+
"location": {
|
268
|
+
"filePath": "types/route.ts",
|
269
|
+
"line": 10,
|
270
|
+
"character": 1
|
259
271
|
},
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
"
|
265
|
-
"
|
272
|
+
"signature": "enum Verb",
|
273
|
+
"name": "Verb",
|
274
|
+
"members": [
|
275
|
+
{
|
276
|
+
"__schema": "EnumMemberSchema",
|
277
|
+
"location": {
|
278
|
+
"filePath": "types/route.ts",
|
279
|
+
"line": 11,
|
280
|
+
"character": 3
|
281
|
+
},
|
282
|
+
"signature": "(enum member) Verb.WRITE = \"write\"",
|
283
|
+
"name": "WRITE",
|
284
|
+
"value": "'write'"
|
266
285
|
},
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
286
|
+
{
|
287
|
+
"__schema": "EnumMemberSchema",
|
288
|
+
"location": {
|
289
|
+
"filePath": "types/route.ts",
|
290
|
+
"line": 12,
|
291
|
+
"character": 3
|
292
|
+
},
|
293
|
+
"signature": "(enum member) Verb.READ = \"read\"",
|
294
|
+
"name": "READ",
|
295
|
+
"value": "'read'"
|
296
|
+
}
|
297
|
+
]
|
298
|
+
}
|
272
299
|
},
|
273
300
|
{
|
274
|
-
"__schema": "
|
301
|
+
"__schema": "ExportSchema",
|
275
302
|
"location": {
|
276
303
|
"filePath": "index.ts",
|
277
304
|
"line": 4,
|
278
305
|
"character": 15
|
279
306
|
},
|
280
|
-
"name": "Request"
|
307
|
+
"name": "Request",
|
308
|
+
"exportNode": {
|
309
|
+
"__schema": "TypeRefSchema",
|
310
|
+
"location": {
|
311
|
+
"filePath": "index.ts",
|
312
|
+
"line": 4,
|
313
|
+
"character": 15
|
314
|
+
},
|
315
|
+
"name": "Request"
|
316
|
+
}
|
281
317
|
},
|
282
318
|
{
|
283
|
-
"__schema": "
|
319
|
+
"__schema": "ExportSchema",
|
284
320
|
"location": {
|
285
|
-
"filePath": "
|
286
|
-
"line":
|
287
|
-
"character":
|
321
|
+
"filePath": "index.ts",
|
322
|
+
"line": 4,
|
323
|
+
"character": 24
|
288
324
|
},
|
289
|
-
"signature": "type Response = express.Response<any, Record<string, any>>",
|
290
325
|
"name": "Response",
|
291
|
-
"
|
292
|
-
"__schema": "
|
326
|
+
"exportNode": {
|
327
|
+
"__schema": "TypeSchema",
|
293
328
|
"location": {
|
294
329
|
"filePath": "types/response.ts",
|
295
330
|
"line": 3,
|
296
|
-
"character":
|
331
|
+
"character": 1
|
297
332
|
},
|
298
|
-
"
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
"members": []
|
333
|
+
"signature": "type Response = express.Response<any, Record<string, any>>",
|
334
|
+
"name": "Response",
|
335
|
+
"type": {
|
336
|
+
"__schema": "TypeIntersectionSchema",
|
337
|
+
"location": {
|
338
|
+
"filePath": "types/response.ts",
|
339
|
+
"line": 3,
|
340
|
+
"character": 24
|
307
341
|
},
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
"
|
312
|
-
|
313
|
-
|
342
|
+
"types": [
|
343
|
+
{
|
344
|
+
"__schema": "TypeLiteralSchema",
|
345
|
+
"location": {
|
346
|
+
"filePath": "types/response.ts",
|
347
|
+
"line": 3,
|
348
|
+
"character": 24
|
349
|
+
},
|
350
|
+
"members": []
|
314
351
|
},
|
315
|
-
|
316
|
-
|
317
|
-
|
352
|
+
{
|
353
|
+
"__schema": "TypeRefSchema",
|
354
|
+
"location": {
|
355
|
+
"filePath": "types/response.ts",
|
356
|
+
"line": 3,
|
357
|
+
"character": 29
|
358
|
+
},
|
359
|
+
"name": "express.Response"
|
360
|
+
}
|
361
|
+
]
|
362
|
+
}
|
318
363
|
}
|
319
364
|
},
|
320
365
|
{
|
321
|
-
"__schema": "
|
366
|
+
"__schema": "ExportSchema",
|
322
367
|
"location": {
|
323
|
-
"filePath": "
|
324
|
-
"line":
|
325
|
-
"character":
|
368
|
+
"filePath": "index.ts",
|
369
|
+
"line": 4,
|
370
|
+
"character": 34
|
326
371
|
},
|
327
|
-
"signature": "type NextFunction = express.NextFunction",
|
328
372
|
"name": "NextFunction",
|
329
|
-
"
|
330
|
-
"__schema": "
|
373
|
+
"exportNode": {
|
374
|
+
"__schema": "TypeSchema",
|
331
375
|
"location": {
|
332
376
|
"filePath": "types/next.ts",
|
333
377
|
"line": 3,
|
334
|
-
"character":
|
378
|
+
"character": 1
|
335
379
|
},
|
336
|
-
"
|
380
|
+
"signature": "type NextFunction = express.NextFunction",
|
381
|
+
"name": "NextFunction",
|
382
|
+
"type": {
|
383
|
+
"__schema": "TypeRefSchema",
|
384
|
+
"location": {
|
385
|
+
"filePath": "types/next.ts",
|
386
|
+
"line": 3,
|
387
|
+
"character": 28
|
388
|
+
},
|
389
|
+
"name": "express.NextFunction"
|
390
|
+
}
|
337
391
|
}
|
338
392
|
},
|
339
393
|
{
|
340
|
-
"__schema": "
|
394
|
+
"__schema": "ExportSchema",
|
341
395
|
"location": {
|
342
|
-
"filePath": "
|
343
|
-
"line":
|
344
|
-
"character":
|
345
|
-
},
|
346
|
-
"doc": {
|
347
|
-
"__schema": "DocSchema",
|
348
|
-
"location": {
|
349
|
-
"filePath": "types/route.ts",
|
350
|
-
"line": 5,
|
351
|
-
"character": 1
|
352
|
-
},
|
353
|
-
"raw": "/**\n * define express Middleware\n */",
|
354
|
-
"comment": "define express Middleware"
|
396
|
+
"filePath": "index.ts",
|
397
|
+
"line": 4,
|
398
|
+
"character": 48
|
355
399
|
},
|
356
|
-
"signature": "type Middleware = (req: Request, res: Response, next: NextFunction) => void | Promise<any>",
|
357
400
|
"name": "Middleware",
|
358
|
-
"
|
359
|
-
"__schema": "
|
401
|
+
"exportNode": {
|
402
|
+
"__schema": "TypeSchema",
|
360
403
|
"location": {
|
361
404
|
"filePath": "types/route.ts",
|
362
405
|
"line": 8,
|
363
|
-
"character":
|
406
|
+
"character": 1
|
364
407
|
},
|
365
|
-
"
|
366
|
-
|
367
|
-
"params": [
|
368
|
-
{
|
369
|
-
"__schema": "ParameterSchema",
|
370
|
-
"location": {
|
371
|
-
"filePath": "types/route.ts",
|
372
|
-
"line": 8,
|
373
|
-
"character": 27
|
374
|
-
},
|
375
|
-
"name": "req",
|
376
|
-
"type": {
|
377
|
-
"__schema": "TypeRefSchema",
|
378
|
-
"location": {
|
379
|
-
"filePath": "types/route.ts",
|
380
|
-
"line": 8,
|
381
|
-
"character": 32
|
382
|
-
},
|
383
|
-
"name": "Request"
|
384
|
-
},
|
385
|
-
"isOptional": false,
|
386
|
-
"isSpread": false
|
387
|
-
},
|
388
|
-
{
|
389
|
-
"__schema": "ParameterSchema",
|
390
|
-
"location": {
|
391
|
-
"filePath": "types/route.ts",
|
392
|
-
"line": 8,
|
393
|
-
"character": 41
|
394
|
-
},
|
395
|
-
"name": "res",
|
396
|
-
"type": {
|
397
|
-
"__schema": "TypeRefSchema",
|
398
|
-
"location": {
|
399
|
-
"filePath": "types/route.ts",
|
400
|
-
"line": 8,
|
401
|
-
"character": 46
|
402
|
-
},
|
403
|
-
"name": "Response"
|
404
|
-
},
|
405
|
-
"isOptional": false,
|
406
|
-
"isSpread": false
|
407
|
-
},
|
408
|
-
{
|
409
|
-
"__schema": "ParameterSchema",
|
410
|
-
"location": {
|
411
|
-
"filePath": "types/route.ts",
|
412
|
-
"line": 8,
|
413
|
-
"character": 56
|
414
|
-
},
|
415
|
-
"name": "next",
|
416
|
-
"type": {
|
417
|
-
"__schema": "TypeRefSchema",
|
418
|
-
"location": {
|
419
|
-
"filePath": "types/route.ts",
|
420
|
-
"line": 8,
|
421
|
-
"character": 62
|
422
|
-
},
|
423
|
-
"name": "NextFunction"
|
424
|
-
},
|
425
|
-
"isOptional": false,
|
426
|
-
"isSpread": false
|
427
|
-
}
|
428
|
-
],
|
429
|
-
"returnType": {
|
430
|
-
"__schema": "TypeUnionSchema",
|
408
|
+
"doc": {
|
409
|
+
"__schema": "DocSchema",
|
431
410
|
"location": {
|
432
411
|
"filePath": "types/route.ts",
|
433
|
-
"line": 8,
|
434
|
-
"character": 79
|
435
|
-
},
|
436
|
-
"types": [
|
437
|
-
{
|
438
|
-
"__schema": "KeywordTypeSchema",
|
439
|
-
"location": {
|
440
|
-
"filePath": "types/route.ts",
|
441
|
-
"line": 8,
|
442
|
-
"character": 79
|
443
|
-
},
|
444
|
-
"name": "void"
|
445
|
-
},
|
446
|
-
{
|
447
|
-
"__schema": "TypeRefSchema",
|
448
|
-
"location": {
|
449
|
-
"filePath": "types/route.ts",
|
450
|
-
"line": 8,
|
451
|
-
"character": 86
|
452
|
-
},
|
453
|
-
"name": "Promise",
|
454
|
-
"typeArgs": [
|
455
|
-
{
|
456
|
-
"__schema": "KeywordTypeSchema",
|
457
|
-
"location": {
|
458
|
-
"filePath": "types/route.ts",
|
459
|
-
"line": 8,
|
460
|
-
"character": 94
|
461
|
-
},
|
462
|
-
"name": "any"
|
463
|
-
}
|
464
|
-
]
|
465
|
-
}
|
466
|
-
]
|
467
|
-
},
|
468
|
-
"modifiers": []
|
469
|
-
}
|
470
|
-
},
|
471
|
-
{
|
472
|
-
"__schema": "InterfaceSchema",
|
473
|
-
"location": {
|
474
|
-
"filePath": "middleware-manifest.ts",
|
475
|
-
"line": 3,
|
476
|
-
"character": 1
|
477
|
-
},
|
478
|
-
"signature": "interface MiddlewareManifest",
|
479
|
-
"name": "MiddlewareManifest",
|
480
|
-
"members": [
|
481
|
-
{
|
482
|
-
"__schema": "VariableLikeSchema",
|
483
|
-
"location": {
|
484
|
-
"filePath": "middleware-manifest.ts",
|
485
|
-
"line": 4,
|
486
|
-
"character": 3
|
487
|
-
},
|
488
|
-
"signature": "(property) MiddlewareManifest.route?: string | undefined",
|
489
|
-
"name": "route",
|
490
|
-
"type": {
|
491
|
-
"__schema": "KeywordTypeSchema",
|
492
|
-
"location": {
|
493
|
-
"filePath": "middleware-manifest.ts",
|
494
|
-
"line": 4,
|
495
|
-
"character": 11
|
496
|
-
},
|
497
|
-
"name": "string"
|
498
|
-
},
|
499
|
-
"isOptional": true
|
500
|
-
},
|
501
|
-
{
|
502
|
-
"__schema": "VariableLikeSchema",
|
503
|
-
"location": {
|
504
|
-
"filePath": "middleware-manifest.ts",
|
505
412
|
"line": 5,
|
506
|
-
"character":
|
507
|
-
},
|
508
|
-
"signature": "(property) MiddlewareManifest.middleware: Middleware",
|
509
|
-
"name": "middleware",
|
510
|
-
"type": {
|
511
|
-
"__schema": "TypeRefSchema",
|
512
|
-
"location": {
|
513
|
-
"filePath": "middleware-manifest.ts",
|
514
|
-
"line": 5,
|
515
|
-
"character": 3
|
516
|
-
},
|
517
|
-
"name": "Middleware"
|
518
|
-
},
|
519
|
-
"isOptional": false
|
520
|
-
}
|
521
|
-
],
|
522
|
-
"extendsNodes": []
|
523
|
-
},
|
524
|
-
{
|
525
|
-
"__schema": "ClassSchema",
|
526
|
-
"location": {
|
527
|
-
"filePath": "express.main.runtime.ts",
|
528
|
-
"line": 23,
|
529
|
-
"character": 1
|
530
|
-
},
|
531
|
-
"signature": "class ExpressMain",
|
532
|
-
"name": "ExpressMain",
|
533
|
-
"members": [
|
534
|
-
{
|
535
|
-
"__schema": "VariableLikeSchema",
|
536
|
-
"location": {
|
537
|
-
"filePath": "express.main.runtime.ts",
|
538
|
-
"line": 24,
|
539
|
-
"character": 3
|
540
|
-
},
|
541
|
-
"signature": "(property) ExpressMain.runtime: RuntimeDefinition",
|
542
|
-
"name": "runtime",
|
543
|
-
"type": {
|
544
|
-
"__schema": "InferenceTypeSchema",
|
545
|
-
"location": {
|
546
|
-
"filePath": "express.main.runtime.ts",
|
547
|
-
"line": 24,
|
548
|
-
"character": 3
|
549
|
-
},
|
550
|
-
"type": "RuntimeDefinition"
|
413
|
+
"character": 1
|
551
414
|
},
|
552
|
-
"
|
553
|
-
"
|
415
|
+
"raw": "/**\n * define express Middleware\n */",
|
416
|
+
"comment": "define express Middleware"
|
554
417
|
},
|
555
|
-
|
556
|
-
|
418
|
+
"signature": "type Middleware = (req: Request, res: Response, next: NextFunction) => void | Promise<any>",
|
419
|
+
"name": "Middleware",
|
420
|
+
"type": {
|
421
|
+
"__schema": "FunctionLikeSchema",
|
557
422
|
"location": {
|
558
|
-
"filePath": "
|
559
|
-
"line":
|
560
|
-
"character":
|
423
|
+
"filePath": "types/route.ts",
|
424
|
+
"line": 8,
|
425
|
+
"character": 26
|
561
426
|
},
|
562
|
-
"signature": "
|
563
|
-
"name": "
|
427
|
+
"signature": "(req: Request, res: Response, next: NextFunction): void | Promise<any>",
|
428
|
+
"name": "",
|
564
429
|
"params": [
|
565
430
|
{
|
566
431
|
"__schema": "ParameterSchema",
|
567
432
|
"location": {
|
568
|
-
"filePath": "
|
569
|
-
"line":
|
570
|
-
"character":
|
571
|
-
},
|
572
|
-
"name": "config",
|
573
|
-
"type": {
|
574
|
-
"__schema": "TypeRefSchema",
|
575
|
-
"location": {
|
576
|
-
"filePath": "express.main.runtime.ts",
|
577
|
-
"line": 30,
|
578
|
-
"character": 22
|
579
|
-
},
|
580
|
-
"name": "ExpressConfig",
|
581
|
-
"internalFilePath": "express.main.runtime.ts"
|
582
|
-
},
|
583
|
-
"isOptional": false,
|
584
|
-
"isSpread": false
|
585
|
-
},
|
586
|
-
{
|
587
|
-
"__schema": "ParameterSchema",
|
588
|
-
"location": {
|
589
|
-
"filePath": "express.main.runtime.ts",
|
590
|
-
"line": 35,
|
591
|
-
"character": 5
|
433
|
+
"filePath": "types/route.ts",
|
434
|
+
"line": 8,
|
435
|
+
"character": 27
|
592
436
|
},
|
593
|
-
"name": "
|
437
|
+
"name": "req",
|
594
438
|
"type": {
|
595
439
|
"__schema": "TypeRefSchema",
|
596
440
|
"location": {
|
597
|
-
"filePath": "
|
598
|
-
"line":
|
599
|
-
"character":
|
441
|
+
"filePath": "types/route.ts",
|
442
|
+
"line": 8,
|
443
|
+
"character": 32
|
600
444
|
},
|
601
|
-
"name": "
|
445
|
+
"name": "Request"
|
602
446
|
},
|
603
447
|
"isOptional": false,
|
604
448
|
"isSpread": false
|
@@ -606,23 +450,19 @@
|
|
606
450
|
{
|
607
451
|
"__schema": "ParameterSchema",
|
608
452
|
"location": {
|
609
|
-
"filePath": "
|
610
|
-
"line":
|
611
|
-
"character":
|
453
|
+
"filePath": "types/route.ts",
|
454
|
+
"line": 8,
|
455
|
+
"character": 41
|
612
456
|
},
|
613
|
-
"name": "
|
457
|
+
"name": "res",
|
614
458
|
"type": {
|
615
459
|
"__schema": "TypeRefSchema",
|
616
460
|
"location": {
|
617
|
-
"filePath": "
|
618
|
-
"line":
|
619
|
-
"character":
|
461
|
+
"filePath": "types/route.ts",
|
462
|
+
"line": 8,
|
463
|
+
"character": 46
|
620
464
|
},
|
621
|
-
"name": "
|
622
|
-
"componentId": {
|
623
|
-
"scope": "teambit.harmony",
|
624
|
-
"name": "logger"
|
625
|
-
}
|
465
|
+
"name": "Response"
|
626
466
|
},
|
627
467
|
"isOptional": false,
|
628
468
|
"isSpread": false
|
@@ -630,519 +470,769 @@
|
|
630
470
|
{
|
631
471
|
"__schema": "ParameterSchema",
|
632
472
|
"location": {
|
633
|
-
"filePath": "
|
634
|
-
"line":
|
635
|
-
"character":
|
473
|
+
"filePath": "types/route.ts",
|
474
|
+
"line": 8,
|
475
|
+
"character": 56
|
636
476
|
},
|
637
|
-
"name": "
|
477
|
+
"name": "next",
|
638
478
|
"type": {
|
639
479
|
"__schema": "TypeRefSchema",
|
640
480
|
"location": {
|
641
|
-
"filePath": "
|
642
|
-
"line":
|
643
|
-
"character":
|
481
|
+
"filePath": "types/route.ts",
|
482
|
+
"line": 8,
|
483
|
+
"character": 62
|
644
484
|
},
|
645
|
-
"name": "
|
646
|
-
"internalFilePath": "express.main.runtime.ts"
|
485
|
+
"name": "NextFunction"
|
647
486
|
},
|
648
487
|
"isOptional": false,
|
649
488
|
"isSpread": false
|
650
489
|
}
|
651
490
|
],
|
652
491
|
"returnType": {
|
653
|
-
"__schema": "
|
654
|
-
"location": {
|
655
|
-
"filePath": "express.main.runtime.ts",
|
656
|
-
"line": 23,
|
657
|
-
"character": 1
|
658
|
-
},
|
659
|
-
"name": "ExpressMain"
|
660
|
-
},
|
661
|
-
"modifiers": []
|
662
|
-
},
|
663
|
-
{
|
664
|
-
"__schema": "FunctionLikeSchema",
|
665
|
-
"location": {
|
666
|
-
"filePath": "express.main.runtime.ts",
|
667
|
-
"line": 48,
|
668
|
-
"character": 3
|
669
|
-
},
|
670
|
-
"doc": {
|
671
|
-
"__schema": "DocSchema",
|
492
|
+
"__schema": "TypeUnionSchema",
|
672
493
|
"location": {
|
673
|
-
"filePath": "
|
674
|
-
"line":
|
675
|
-
"character":
|
494
|
+
"filePath": "types/route.ts",
|
495
|
+
"line": 8,
|
496
|
+
"character": 79
|
676
497
|
},
|
677
|
-
"
|
678
|
-
|
679
|
-
},
|
680
|
-
"signature": "(method) ExpressMain.listen(port?: number): Promise<Server>",
|
681
|
-
"name": "listen",
|
682
|
-
"params": [
|
683
|
-
{
|
684
|
-
"__schema": "ParameterSchema",
|
685
|
-
"location": {
|
686
|
-
"filePath": "express.main.runtime.ts",
|
687
|
-
"line": 48,
|
688
|
-
"character": 16
|
689
|
-
},
|
690
|
-
"name": "port",
|
691
|
-
"type": {
|
498
|
+
"types": [
|
499
|
+
{
|
692
500
|
"__schema": "KeywordTypeSchema",
|
693
501
|
"location": {
|
694
|
-
"filePath": "
|
695
|
-
"line":
|
696
|
-
"character":
|
502
|
+
"filePath": "types/route.ts",
|
503
|
+
"line": 8,
|
504
|
+
"character": 79
|
697
505
|
},
|
698
|
-
"name": "
|
506
|
+
"name": "void"
|
699
507
|
},
|
700
|
-
"isOptional": true,
|
701
|
-
"isSpread": false
|
702
|
-
}
|
703
|
-
],
|
704
|
-
"returnType": {
|
705
|
-
"__schema": "TypeRefSchema",
|
706
|
-
"location": {
|
707
|
-
"filePath": "express.main.runtime.ts",
|
708
|
-
"line": 48,
|
709
|
-
"character": 32
|
710
|
-
},
|
711
|
-
"name": "Promise",
|
712
|
-
"typeArgs": [
|
713
508
|
{
|
714
509
|
"__schema": "TypeRefSchema",
|
715
510
|
"location": {
|
716
|
-
"filePath": "
|
717
|
-
"line":
|
718
|
-
"character":
|
511
|
+
"filePath": "types/route.ts",
|
512
|
+
"line": 8,
|
513
|
+
"character": 86
|
719
514
|
},
|
720
|
-
"name": "
|
721
|
-
"
|
515
|
+
"name": "Promise",
|
516
|
+
"typeArgs": [
|
517
|
+
{
|
518
|
+
"__schema": "KeywordTypeSchema",
|
519
|
+
"location": {
|
520
|
+
"filePath": "types/route.ts",
|
521
|
+
"line": 8,
|
522
|
+
"character": 94
|
523
|
+
},
|
524
|
+
"name": "any"
|
525
|
+
}
|
526
|
+
]
|
722
527
|
}
|
723
528
|
]
|
724
529
|
},
|
725
|
-
"modifiers": [
|
726
|
-
|
727
|
-
|
530
|
+
"modifiers": []
|
531
|
+
}
|
532
|
+
}
|
533
|
+
},
|
534
|
+
{
|
535
|
+
"__schema": "ExportSchema",
|
536
|
+
"location": {
|
537
|
+
"filePath": "index.ts",
|
538
|
+
"line": 5,
|
539
|
+
"character": 15
|
540
|
+
},
|
541
|
+
"name": "MiddlewareManifest",
|
542
|
+
"exportNode": {
|
543
|
+
"__schema": "InterfaceSchema",
|
544
|
+
"location": {
|
545
|
+
"filePath": "middleware-manifest.ts",
|
546
|
+
"line": 3,
|
547
|
+
"character": 1
|
728
548
|
},
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
"
|
734
|
-
"character": 3
|
735
|
-
},
|
736
|
-
"doc": {
|
737
|
-
"__schema": "DocSchema",
|
549
|
+
"signature": "interface MiddlewareManifest",
|
550
|
+
"name": "MiddlewareManifest",
|
551
|
+
"members": [
|
552
|
+
{
|
553
|
+
"__schema": "VariableLikeSchema",
|
738
554
|
"location": {
|
739
|
-
"filePath": "
|
740
|
-
"line":
|
555
|
+
"filePath": "middleware-manifest.ts",
|
556
|
+
"line": 4,
|
741
557
|
"character": 3
|
742
558
|
},
|
743
|
-
"
|
744
|
-
"
|
745
|
-
|
746
|
-
|
747
|
-
"name": "register",
|
748
|
-
"params": [
|
749
|
-
{
|
750
|
-
"__schema": "ParameterSchema",
|
559
|
+
"signature": "(property) MiddlewareManifest.route?: string | undefined",
|
560
|
+
"name": "route",
|
561
|
+
"type": {
|
562
|
+
"__schema": "KeywordTypeSchema",
|
751
563
|
"location": {
|
752
|
-
"filePath": "
|
753
|
-
"line":
|
754
|
-
"character":
|
755
|
-
},
|
756
|
-
"name": "routes",
|
757
|
-
"type": {
|
758
|
-
"__schema": "TypeArraySchema",
|
759
|
-
"location": {
|
760
|
-
"filePath": "express.main.runtime.ts",
|
761
|
-
"line": 58,
|
762
|
-
"character": 20
|
763
|
-
},
|
764
|
-
"type": {
|
765
|
-
"__schema": "TypeRefSchema",
|
766
|
-
"location": {
|
767
|
-
"filePath": "express.main.runtime.ts",
|
768
|
-
"line": 58,
|
769
|
-
"character": 20
|
770
|
-
},
|
771
|
-
"name": "Route"
|
772
|
-
}
|
564
|
+
"filePath": "middleware-manifest.ts",
|
565
|
+
"line": 4,
|
566
|
+
"character": 11
|
773
567
|
},
|
774
|
-
"
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
"__schema": "
|
568
|
+
"name": "string"
|
569
|
+
},
|
570
|
+
"isOptional": true
|
571
|
+
},
|
572
|
+
{
|
573
|
+
"__schema": "VariableLikeSchema",
|
780
574
|
"location": {
|
781
|
-
"filePath": "
|
782
|
-
"line":
|
575
|
+
"filePath": "middleware-manifest.ts",
|
576
|
+
"line": 5,
|
783
577
|
"character": 3
|
784
578
|
},
|
785
|
-
"
|
786
|
-
|
787
|
-
|
579
|
+
"signature": "(property) MiddlewareManifest.middleware: Middleware",
|
580
|
+
"name": "middleware",
|
581
|
+
"type": {
|
582
|
+
"__schema": "TypeRefSchema",
|
583
|
+
"location": {
|
584
|
+
"filePath": "middleware-manifest.ts",
|
585
|
+
"line": 5,
|
586
|
+
"character": 3
|
587
|
+
},
|
588
|
+
"name": "Middleware"
|
589
|
+
},
|
590
|
+
"isOptional": false
|
591
|
+
}
|
592
|
+
],
|
593
|
+
"extendsNodes": []
|
594
|
+
}
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"__schema": "ExportSchema",
|
598
|
+
"location": {
|
599
|
+
"filePath": "index.ts",
|
600
|
+
"line": 6,
|
601
|
+
"character": 15
|
602
|
+
},
|
603
|
+
"name": "ExpressMain",
|
604
|
+
"exportNode": {
|
605
|
+
"__schema": "ClassSchema",
|
606
|
+
"location": {
|
607
|
+
"filePath": "express.main.runtime.ts",
|
608
|
+
"line": 23,
|
609
|
+
"character": 1
|
788
610
|
},
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
"
|
794
|
-
"
|
611
|
+
"signature": "class ExpressMain",
|
612
|
+
"name": "ExpressMain",
|
613
|
+
"members": [
|
614
|
+
{
|
615
|
+
"__schema": "VariableLikeSchema",
|
616
|
+
"location": {
|
617
|
+
"filePath": "express.main.runtime.ts",
|
618
|
+
"line": 24,
|
619
|
+
"character": 3
|
620
|
+
},
|
621
|
+
"signature": "(property) ExpressMain.runtime: RuntimeDefinition",
|
622
|
+
"name": "runtime",
|
623
|
+
"type": {
|
624
|
+
"__schema": "InferenceTypeSchema",
|
625
|
+
"location": {
|
626
|
+
"filePath": "express.main.runtime.ts",
|
627
|
+
"line": 24,
|
628
|
+
"character": 3
|
629
|
+
},
|
630
|
+
"type": "RuntimeDefinition"
|
631
|
+
},
|
632
|
+
"isOptional": true,
|
633
|
+
"defaultValue": "MainRuntime"
|
795
634
|
},
|
796
|
-
|
797
|
-
"__schema": "
|
635
|
+
{
|
636
|
+
"__schema": "ConstructorSchema",
|
798
637
|
"location": {
|
799
638
|
"filePath": "express.main.runtime.ts",
|
800
|
-
"line":
|
639
|
+
"line": 26,
|
801
640
|
"character": 3
|
802
641
|
},
|
803
|
-
"
|
804
|
-
"
|
642
|
+
"signature": "constructor ExpressMain(config: ExpressConfig, moduleSlot: RouteSlot, logger: Logger, middlewareSlot: MiddlewareSlot): ExpressMain",
|
643
|
+
"name": "constructor",
|
644
|
+
"params": [
|
645
|
+
{
|
646
|
+
"__schema": "ParameterSchema",
|
647
|
+
"location": {
|
648
|
+
"filePath": "express.main.runtime.ts",
|
649
|
+
"line": 30,
|
650
|
+
"character": 5
|
651
|
+
},
|
652
|
+
"name": "config",
|
653
|
+
"type": {
|
654
|
+
"__schema": "TypeRefSchema",
|
655
|
+
"location": {
|
656
|
+
"filePath": "express.main.runtime.ts",
|
657
|
+
"line": 30,
|
658
|
+
"character": 22
|
659
|
+
},
|
660
|
+
"name": "ExpressConfig",
|
661
|
+
"internalFilePath": "express.main.runtime.ts"
|
662
|
+
},
|
663
|
+
"isOptional": false,
|
664
|
+
"isSpread": false
|
665
|
+
},
|
666
|
+
{
|
667
|
+
"__schema": "ParameterSchema",
|
668
|
+
"location": {
|
669
|
+
"filePath": "express.main.runtime.ts",
|
670
|
+
"line": 35,
|
671
|
+
"character": 5
|
672
|
+
},
|
673
|
+
"name": "moduleSlot",
|
674
|
+
"type": {
|
675
|
+
"__schema": "TypeRefSchema",
|
676
|
+
"location": {
|
677
|
+
"filePath": "express.main.runtime.ts",
|
678
|
+
"line": 35,
|
679
|
+
"character": 25
|
680
|
+
},
|
681
|
+
"name": "RouteSlot"
|
682
|
+
},
|
683
|
+
"isOptional": false,
|
684
|
+
"isSpread": false
|
685
|
+
},
|
686
|
+
{
|
687
|
+
"__schema": "ParameterSchema",
|
688
|
+
"location": {
|
689
|
+
"filePath": "express.main.runtime.ts",
|
690
|
+
"line": 40,
|
691
|
+
"character": 5
|
692
|
+
},
|
693
|
+
"name": "logger",
|
694
|
+
"type": {
|
695
|
+
"__schema": "TypeRefSchema",
|
696
|
+
"location": {
|
697
|
+
"filePath": "express.main.runtime.ts",
|
698
|
+
"line": 40,
|
699
|
+
"character": 22
|
700
|
+
},
|
701
|
+
"name": "Logger",
|
702
|
+
"componentId": {
|
703
|
+
"scope": "teambit.harmony",
|
704
|
+
"name": "logger"
|
705
|
+
}
|
706
|
+
},
|
707
|
+
"isOptional": false,
|
708
|
+
"isSpread": false
|
709
|
+
},
|
710
|
+
{
|
711
|
+
"__schema": "ParameterSchema",
|
712
|
+
"location": {
|
713
|
+
"filePath": "express.main.runtime.ts",
|
714
|
+
"line": 42,
|
715
|
+
"character": 5
|
716
|
+
},
|
717
|
+
"name": "middlewareSlot",
|
718
|
+
"type": {
|
719
|
+
"__schema": "TypeRefSchema",
|
720
|
+
"location": {
|
721
|
+
"filePath": "express.main.runtime.ts",
|
722
|
+
"line": 42,
|
723
|
+
"character": 30
|
724
|
+
},
|
725
|
+
"name": "MiddlewareSlot",
|
726
|
+
"internalFilePath": "express.main.runtime.ts"
|
727
|
+
},
|
728
|
+
"isOptional": false,
|
729
|
+
"isSpread": false
|
730
|
+
}
|
731
|
+
],
|
732
|
+
"returnType": {
|
733
|
+
"__schema": "ThisTypeSchema",
|
734
|
+
"location": {
|
735
|
+
"filePath": "express.main.runtime.ts",
|
736
|
+
"line": 23,
|
737
|
+
"character": 1
|
738
|
+
},
|
739
|
+
"name": "ExpressMain"
|
740
|
+
},
|
741
|
+
"modifiers": []
|
805
742
|
},
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
"
|
743
|
+
{
|
744
|
+
"__schema": "FunctionLikeSchema",
|
745
|
+
"location": {
|
746
|
+
"filePath": "express.main.runtime.ts",
|
747
|
+
"line": 48,
|
748
|
+
"character": 3
|
749
|
+
},
|
750
|
+
"doc": {
|
751
|
+
"__schema": "DocSchema",
|
811
752
|
"location": {
|
812
753
|
"filePath": "express.main.runtime.ts",
|
813
|
-
"line":
|
814
|
-
"character":
|
754
|
+
"line": 45,
|
755
|
+
"character": 3
|
815
756
|
},
|
816
|
-
"
|
817
|
-
"
|
818
|
-
|
757
|
+
"raw": "/**\n * start an express server.\n */",
|
758
|
+
"comment": "start an express server."
|
759
|
+
},
|
760
|
+
"signature": "(method) ExpressMain.listen(port?: number): Promise<Server>",
|
761
|
+
"name": "listen",
|
762
|
+
"params": [
|
763
|
+
{
|
764
|
+
"__schema": "ParameterSchema",
|
819
765
|
"location": {
|
820
766
|
"filePath": "express.main.runtime.ts",
|
821
|
-
"line":
|
822
|
-
"character":
|
767
|
+
"line": 48,
|
768
|
+
"character": 16
|
823
769
|
},
|
770
|
+
"name": "port",
|
824
771
|
"type": {
|
772
|
+
"__schema": "KeywordTypeSchema",
|
773
|
+
"location": {
|
774
|
+
"filePath": "express.main.runtime.ts",
|
775
|
+
"line": 48,
|
776
|
+
"character": 23
|
777
|
+
},
|
778
|
+
"name": "number"
|
779
|
+
},
|
780
|
+
"isOptional": true,
|
781
|
+
"isSpread": false
|
782
|
+
}
|
783
|
+
],
|
784
|
+
"returnType": {
|
785
|
+
"__schema": "TypeRefSchema",
|
786
|
+
"location": {
|
787
|
+
"filePath": "express.main.runtime.ts",
|
788
|
+
"line": 48,
|
789
|
+
"character": 32
|
790
|
+
},
|
791
|
+
"name": "Promise",
|
792
|
+
"typeArgs": [
|
793
|
+
{
|
825
794
|
"__schema": "TypeRefSchema",
|
826
795
|
"location": {
|
827
796
|
"filePath": "express.main.runtime.ts",
|
828
|
-
"line":
|
829
|
-
"character":
|
797
|
+
"line": 48,
|
798
|
+
"character": 40
|
830
799
|
},
|
831
|
-
"name": "
|
800
|
+
"name": "Server",
|
801
|
+
"packageName": "http"
|
832
802
|
}
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
803
|
+
]
|
804
|
+
},
|
805
|
+
"modifiers": [
|
806
|
+
"async"
|
807
|
+
]
|
808
|
+
},
|
809
|
+
{
|
810
|
+
"__schema": "FunctionLikeSchema",
|
840
811
|
"location": {
|
841
812
|
"filePath": "express.main.runtime.ts",
|
842
|
-
"line":
|
813
|
+
"line": 58,
|
843
814
|
"character": 3
|
844
815
|
},
|
845
|
-
"
|
846
|
-
|
847
|
-
"modifiers": []
|
848
|
-
},
|
849
|
-
{
|
850
|
-
"__schema": "FunctionLikeSchema",
|
851
|
-
"location": {
|
852
|
-
"filePath": "express.main.runtime.ts",
|
853
|
-
"line": 85,
|
854
|
-
"character": 3
|
855
|
-
},
|
856
|
-
"signature": "(method) ExpressMain.createApp(expressApp?: Express, options?: {\n disableBodyParser: true;\n}): Express",
|
857
|
-
"name": "createApp",
|
858
|
-
"params": [
|
859
|
-
{
|
860
|
-
"__schema": "ParameterSchema",
|
816
|
+
"doc": {
|
817
|
+
"__schema": "DocSchema",
|
861
818
|
"location": {
|
862
819
|
"filePath": "express.main.runtime.ts",
|
863
|
-
"line":
|
864
|
-
"character":
|
820
|
+
"line": 54,
|
821
|
+
"character": 3
|
865
822
|
},
|
866
|
-
"
|
867
|
-
"
|
868
|
-
|
823
|
+
"raw": "/**\n * register a new express routes.\n * route will be added as `/api/${route}`\n */",
|
824
|
+
"comment": "register a new express routes.\nroute will be added as `/api/${route}`"
|
825
|
+
},
|
826
|
+
"signature": "(method) ExpressMain.register(routes: Route[]): this",
|
827
|
+
"name": "register",
|
828
|
+
"params": [
|
829
|
+
{
|
830
|
+
"__schema": "ParameterSchema",
|
869
831
|
"location": {
|
870
832
|
"filePath": "express.main.runtime.ts",
|
871
|
-
"line":
|
872
|
-
"character":
|
833
|
+
"line": 58,
|
834
|
+
"character": 12
|
835
|
+
},
|
836
|
+
"name": "routes",
|
837
|
+
"type": {
|
838
|
+
"__schema": "TypeArraySchema",
|
839
|
+
"location": {
|
840
|
+
"filePath": "express.main.runtime.ts",
|
841
|
+
"line": 58,
|
842
|
+
"character": 20
|
843
|
+
},
|
844
|
+
"type": {
|
845
|
+
"__schema": "TypeRefSchema",
|
846
|
+
"location": {
|
847
|
+
"filePath": "express.main.runtime.ts",
|
848
|
+
"line": 58,
|
849
|
+
"character": 20
|
850
|
+
},
|
851
|
+
"name": "Route"
|
852
|
+
}
|
873
853
|
},
|
874
|
-
"
|
875
|
-
"
|
854
|
+
"isOptional": false,
|
855
|
+
"isSpread": false
|
856
|
+
}
|
857
|
+
],
|
858
|
+
"returnType": {
|
859
|
+
"__schema": "TypeRefSchema",
|
860
|
+
"location": {
|
861
|
+
"filePath": "express.main.runtime.ts",
|
862
|
+
"line": 58,
|
863
|
+
"character": 3
|
876
864
|
},
|
877
|
-
"
|
878
|
-
"isSpread": false
|
865
|
+
"name": "ExpressMain"
|
879
866
|
},
|
880
|
-
|
881
|
-
|
867
|
+
"modifiers": []
|
868
|
+
},
|
869
|
+
{
|
870
|
+
"__schema": "FunctionLikeSchema",
|
871
|
+
"location": {
|
872
|
+
"filePath": "express.main.runtime.ts",
|
873
|
+
"line": 66,
|
874
|
+
"character": 3
|
875
|
+
},
|
876
|
+
"doc": {
|
877
|
+
"__schema": "DocSchema",
|
882
878
|
"location": {
|
883
879
|
"filePath": "express.main.runtime.ts",
|
884
|
-
"line":
|
885
|
-
"character":
|
880
|
+
"line": 63,
|
881
|
+
"character": 3
|
886
882
|
},
|
887
|
-
"
|
888
|
-
"
|
889
|
-
|
883
|
+
"raw": "/**\n * register a new middleware into express.\n */",
|
884
|
+
"comment": "register a new middleware into express."
|
885
|
+
},
|
886
|
+
"signature": "(method) ExpressMain.registerMiddleware(middlewares: MiddlewareManifest[]): this",
|
887
|
+
"name": "registerMiddleware",
|
888
|
+
"params": [
|
889
|
+
{
|
890
|
+
"__schema": "ParameterSchema",
|
890
891
|
"location": {
|
891
892
|
"filePath": "express.main.runtime.ts",
|
892
|
-
"line":
|
893
|
-
"character":
|
893
|
+
"line": 66,
|
894
|
+
"character": 22
|
894
895
|
},
|
895
|
-
"
|
896
|
-
|
897
|
-
|
896
|
+
"name": "middlewares",
|
897
|
+
"type": {
|
898
|
+
"__schema": "TypeArraySchema",
|
899
|
+
"location": {
|
900
|
+
"filePath": "express.main.runtime.ts",
|
901
|
+
"line": 66,
|
902
|
+
"character": 35
|
903
|
+
},
|
904
|
+
"type": {
|
905
|
+
"__schema": "TypeRefSchema",
|
898
906
|
"location": {
|
899
907
|
"filePath": "express.main.runtime.ts",
|
900
|
-
"line":
|
901
|
-
"character":
|
902
|
-
},
|
903
|
-
"signature": "(property) disableBodyParser: true",
|
904
|
-
"name": "disableBodyParser",
|
905
|
-
"type": {
|
906
|
-
"__schema": "LiteralTypeSchema",
|
907
|
-
"location": {
|
908
|
-
"filePath": "express.main.runtime.ts",
|
909
|
-
"line": 85,
|
910
|
-
"character": 66
|
911
|
-
},
|
912
|
-
"name": "true"
|
908
|
+
"line": 66,
|
909
|
+
"character": 35
|
913
910
|
},
|
914
|
-
"
|
911
|
+
"name": "MiddlewareManifest"
|
915
912
|
}
|
916
|
-
|
913
|
+
},
|
914
|
+
"isOptional": false,
|
915
|
+
"isSpread": false
|
916
|
+
}
|
917
|
+
],
|
918
|
+
"returnType": {
|
919
|
+
"__schema": "TypeRefSchema",
|
920
|
+
"location": {
|
921
|
+
"filePath": "express.main.runtime.ts",
|
922
|
+
"line": 66,
|
923
|
+
"character": 3
|
917
924
|
},
|
918
|
-
"
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
"__schema": "
|
925
|
+
"name": "ExpressMain"
|
926
|
+
},
|
927
|
+
"modifiers": []
|
928
|
+
},
|
929
|
+
{
|
930
|
+
"__schema": "FunctionLikeSchema",
|
924
931
|
"location": {
|
925
932
|
"filePath": "express.main.runtime.ts",
|
926
933
|
"line": 85,
|
927
934
|
"character": 3
|
928
935
|
},
|
929
|
-
"
|
930
|
-
"
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
936
|
+
"signature": "(method) ExpressMain.createApp(expressApp?: Express, options?: {\n disableBodyParser: true;\n}): Express",
|
937
|
+
"name": "createApp",
|
938
|
+
"params": [
|
939
|
+
{
|
940
|
+
"__schema": "ParameterSchema",
|
941
|
+
"location": {
|
942
|
+
"filePath": "express.main.runtime.ts",
|
943
|
+
"line": 85,
|
944
|
+
"character": 13
|
945
|
+
},
|
946
|
+
"name": "expressApp",
|
947
|
+
"type": {
|
948
|
+
"__schema": "TypeRefSchema",
|
949
|
+
"location": {
|
950
|
+
"filePath": "express.main.runtime.ts",
|
951
|
+
"line": 85,
|
952
|
+
"character": 26
|
953
|
+
},
|
954
|
+
"name": "Express",
|
955
|
+
"packageName": "express"
|
956
|
+
},
|
957
|
+
"isOptional": true,
|
958
|
+
"isSpread": false
|
959
|
+
},
|
960
|
+
{
|
961
|
+
"__schema": "ParameterSchema",
|
962
|
+
"location": {
|
963
|
+
"filePath": "express.main.runtime.ts",
|
964
|
+
"line": 85,
|
965
|
+
"character": 35
|
966
|
+
},
|
967
|
+
"name": "options",
|
968
|
+
"type": {
|
969
|
+
"__schema": "TypeLiteralSchema",
|
970
|
+
"location": {
|
971
|
+
"filePath": "express.main.runtime.ts",
|
972
|
+
"line": 85,
|
973
|
+
"character": 45
|
974
|
+
},
|
975
|
+
"members": [
|
976
|
+
{
|
977
|
+
"__schema": "VariableLikeSchema",
|
978
|
+
"location": {
|
979
|
+
"filePath": "express.main.runtime.ts",
|
980
|
+
"line": 85,
|
981
|
+
"character": 47
|
982
|
+
},
|
983
|
+
"signature": "(property) disableBodyParser: true",
|
984
|
+
"name": "disableBodyParser",
|
985
|
+
"type": {
|
986
|
+
"__schema": "LiteralTypeSchema",
|
987
|
+
"location": {
|
988
|
+
"filePath": "express.main.runtime.ts",
|
989
|
+
"line": 85,
|
990
|
+
"character": 66
|
991
|
+
},
|
992
|
+
"name": "true"
|
993
|
+
},
|
994
|
+
"isOptional": false
|
995
|
+
}
|
996
|
+
]
|
997
|
+
},
|
998
|
+
"isOptional": true,
|
999
|
+
"isSpread": false
|
1000
|
+
}
|
1001
|
+
],
|
1002
|
+
"returnType": {
|
1003
|
+
"__schema": "TypeRefSchema",
|
1004
|
+
"location": {
|
1005
|
+
"filePath": "express.main.runtime.ts",
|
1006
|
+
"line": 85,
|
1007
|
+
"character": 3
|
1008
|
+
},
|
1009
|
+
"name": "Express",
|
1010
|
+
"packageName": "express"
|
1011
|
+
},
|
1012
|
+
"modifiers": []
|
940
1013
|
},
|
941
|
-
|
942
|
-
|
943
|
-
"type": {
|
944
|
-
"__schema": "InferenceTypeSchema",
|
1014
|
+
{
|
1015
|
+
"__schema": "VariableLikeSchema",
|
945
1016
|
"location": {
|
946
1017
|
"filePath": "express.main.runtime.ts",
|
947
1018
|
"line": 155,
|
948
1019
|
"character": 3
|
949
1020
|
},
|
950
|
-
"
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
1021
|
+
"signature": "(property) ExpressMain.slots: (((registerFn: () => string) => SlotRegistry<Route[]>) | ((registerFn: () => string) => SlotRegistry<MiddlewareManifest[]>))[]",
|
1022
|
+
"name": "slots",
|
1023
|
+
"type": {
|
1024
|
+
"__schema": "InferenceTypeSchema",
|
1025
|
+
"location": {
|
1026
|
+
"filePath": "express.main.runtime.ts",
|
1027
|
+
"line": 155,
|
1028
|
+
"character": 3
|
1029
|
+
},
|
1030
|
+
"type": "(((registerFn: () => string) => SlotRegistry<Route[]>) | ((registerFn: () => string) => SlotRegistry<MiddlewareManifest[]>))[]"
|
1031
|
+
},
|
1032
|
+
"isOptional": true,
|
1033
|
+
"defaultValue": "[Slot.withType<Route[]>(), Slot.withType<MiddlewareManifest[]>()]"
|
961
1034
|
},
|
962
|
-
|
963
|
-
|
964
|
-
"type": {
|
965
|
-
"__schema": "InferenceTypeSchema",
|
1035
|
+
{
|
1036
|
+
"__schema": "VariableLikeSchema",
|
966
1037
|
"location": {
|
967
1038
|
"filePath": "express.main.runtime.ts",
|
968
1039
|
"line": 156,
|
969
1040
|
"character": 3
|
970
1041
|
},
|
971
|
-
"
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
1042
|
+
"signature": "(property) ExpressMain.dependencies: Aspect[]",
|
1043
|
+
"name": "dependencies",
|
1044
|
+
"type": {
|
1045
|
+
"__schema": "InferenceTypeSchema",
|
1046
|
+
"location": {
|
1047
|
+
"filePath": "express.main.runtime.ts",
|
1048
|
+
"line": 156,
|
1049
|
+
"character": 3
|
1050
|
+
},
|
1051
|
+
"type": "Aspect[]"
|
1052
|
+
},
|
1053
|
+
"isOptional": true,
|
1054
|
+
"defaultValue": "[LoggerAspect]"
|
982
1055
|
},
|
983
|
-
|
984
|
-
|
985
|
-
"type": {
|
986
|
-
"__schema": "InferenceTypeSchema",
|
1056
|
+
{
|
1057
|
+
"__schema": "VariableLikeSchema",
|
987
1058
|
"location": {
|
988
1059
|
"filePath": "express.main.runtime.ts",
|
989
1060
|
"line": 158,
|
990
1061
|
"character": 3
|
991
1062
|
},
|
992
|
-
"
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
},
|
997
|
-
{
|
998
|
-
"__schema": "FunctionLikeSchema",
|
999
|
-
"location": {
|
1000
|
-
"filePath": "express.main.runtime.ts",
|
1001
|
-
"line": 164,
|
1002
|
-
"character": 3
|
1003
|
-
},
|
1004
|
-
"signature": "(method) ExpressMain.provider([loggerFactory]: [LoggerMain], config: ExpressConfig, [routeSlot, middlewareSlot]: [RouteSlot, MiddlewareSlot]): Promise<ExpressMain>",
|
1005
|
-
"name": "provider",
|
1006
|
-
"params": [
|
1007
|
-
{
|
1008
|
-
"__schema": "ParameterSchema",
|
1063
|
+
"signature": "(property) ExpressMain.defaultConfig: {\n port: number;\n namespace: string;\n loggerIgnorePath: string[];\n}",
|
1064
|
+
"name": "defaultConfig",
|
1065
|
+
"type": {
|
1066
|
+
"__schema": "InferenceTypeSchema",
|
1009
1067
|
"location": {
|
1010
1068
|
"filePath": "express.main.runtime.ts",
|
1011
|
-
"line":
|
1012
|
-
"character":
|
1069
|
+
"line": 158,
|
1070
|
+
"character": 3
|
1013
1071
|
},
|
1014
|
-
"
|
1015
|
-
|
1016
|
-
|
1072
|
+
"type": "{\n port: number;\n namespace: string;\n loggerIgnorePath: string[];\n}"
|
1073
|
+
},
|
1074
|
+
"isOptional": true,
|
1075
|
+
"defaultValue": "{\n port: 4001,\n namespace: 'api',\n loggerIgnorePath: ['/api/_health'],\n }"
|
1076
|
+
},
|
1077
|
+
{
|
1078
|
+
"__schema": "FunctionLikeSchema",
|
1079
|
+
"location": {
|
1080
|
+
"filePath": "express.main.runtime.ts",
|
1081
|
+
"line": 164,
|
1082
|
+
"character": 3
|
1083
|
+
},
|
1084
|
+
"signature": "(method) ExpressMain.provider([loggerFactory]: [LoggerMain], config: ExpressConfig, [routeSlot, middlewareSlot]: [RouteSlot, MiddlewareSlot]): Promise<ExpressMain>",
|
1085
|
+
"name": "provider",
|
1086
|
+
"params": [
|
1087
|
+
{
|
1088
|
+
"__schema": "ParameterSchema",
|
1017
1089
|
"location": {
|
1018
1090
|
"filePath": "express.main.runtime.ts",
|
1019
1091
|
"line": 165,
|
1020
|
-
"character":
|
1092
|
+
"character": 5
|
1021
1093
|
},
|
1022
|
-
"
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
"
|
1033
|
-
"
|
1094
|
+
"name": "[ loggerFactory ]",
|
1095
|
+
"type": {
|
1096
|
+
"__schema": "TupleTypeSchema",
|
1097
|
+
"location": {
|
1098
|
+
"filePath": "express.main.runtime.ts",
|
1099
|
+
"line": 165,
|
1100
|
+
"character": 22
|
1101
|
+
},
|
1102
|
+
"elements": [
|
1103
|
+
{
|
1104
|
+
"__schema": "TypeRefSchema",
|
1105
|
+
"location": {
|
1106
|
+
"filePath": "express.main.runtime.ts",
|
1107
|
+
"line": 165,
|
1108
|
+
"character": 23
|
1109
|
+
},
|
1110
|
+
"name": "LoggerMain",
|
1111
|
+
"componentId": {
|
1112
|
+
"scope": "teambit.harmony",
|
1113
|
+
"name": "logger"
|
1114
|
+
}
|
1034
1115
|
}
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
"isSpread": false
|
1040
|
-
},
|
1041
|
-
{
|
1042
|
-
"__schema": "ParameterSchema",
|
1043
|
-
"location": {
|
1044
|
-
"filePath": "express.main.runtime.ts",
|
1045
|
-
"line": 166,
|
1046
|
-
"character": 5
|
1116
|
+
]
|
1117
|
+
},
|
1118
|
+
"isOptional": false,
|
1119
|
+
"isSpread": false
|
1047
1120
|
},
|
1048
|
-
|
1049
|
-
|
1050
|
-
"__schema": "TypeRefSchema",
|
1121
|
+
{
|
1122
|
+
"__schema": "ParameterSchema",
|
1051
1123
|
"location": {
|
1052
1124
|
"filePath": "express.main.runtime.ts",
|
1053
1125
|
"line": 166,
|
1054
|
-
"character":
|
1126
|
+
"character": 5
|
1055
1127
|
},
|
1056
|
-
"name": "
|
1057
|
-
"
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
"
|
1128
|
+
"name": "config",
|
1129
|
+
"type": {
|
1130
|
+
"__schema": "TypeRefSchema",
|
1131
|
+
"location": {
|
1132
|
+
"filePath": "express.main.runtime.ts",
|
1133
|
+
"line": 166,
|
1134
|
+
"character": 13
|
1135
|
+
},
|
1136
|
+
"name": "ExpressConfig",
|
1137
|
+
"internalFilePath": "express.main.runtime.ts"
|
1138
|
+
},
|
1139
|
+
"isOptional": false,
|
1140
|
+
"isSpread": false
|
1068
1141
|
},
|
1069
|
-
|
1070
|
-
|
1071
|
-
"__schema": "TupleTypeSchema",
|
1142
|
+
{
|
1143
|
+
"__schema": "ParameterSchema",
|
1072
1144
|
"location": {
|
1073
1145
|
"filePath": "express.main.runtime.ts",
|
1074
1146
|
"line": 167,
|
1075
|
-
"character":
|
1147
|
+
"character": 5
|
1076
1148
|
},
|
1077
|
-
"
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
},
|
1085
|
-
"name": "RouteSlot"
|
1149
|
+
"name": "[ routeSlot, middlewareSlot ]",
|
1150
|
+
"type": {
|
1151
|
+
"__schema": "TupleTypeSchema",
|
1152
|
+
"location": {
|
1153
|
+
"filePath": "express.main.runtime.ts",
|
1154
|
+
"line": 167,
|
1155
|
+
"character": 34
|
1086
1156
|
},
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
"
|
1091
|
-
|
1092
|
-
|
1157
|
+
"elements": [
|
1158
|
+
{
|
1159
|
+
"__schema": "TypeRefSchema",
|
1160
|
+
"location": {
|
1161
|
+
"filePath": "express.main.runtime.ts",
|
1162
|
+
"line": 167,
|
1163
|
+
"character": 35
|
1164
|
+
},
|
1165
|
+
"name": "RouteSlot"
|
1093
1166
|
},
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1167
|
+
{
|
1168
|
+
"__schema": "TypeRefSchema",
|
1169
|
+
"location": {
|
1170
|
+
"filePath": "express.main.runtime.ts",
|
1171
|
+
"line": 167,
|
1172
|
+
"character": 46
|
1173
|
+
},
|
1174
|
+
"name": "MiddlewareSlot",
|
1175
|
+
"internalFilePath": "express.main.runtime.ts"
|
1176
|
+
}
|
1177
|
+
]
|
1178
|
+
},
|
1179
|
+
"isOptional": false,
|
1180
|
+
"isSpread": false
|
1181
|
+
}
|
1182
|
+
],
|
1183
|
+
"returnType": {
|
1184
|
+
"__schema": "InferenceTypeSchema",
|
1185
|
+
"location": {
|
1186
|
+
"filePath": "express.main.runtime.ts",
|
1187
|
+
"line": 164,
|
1188
|
+
"character": 3
|
1098
1189
|
},
|
1099
|
-
"
|
1100
|
-
"isSpread": false
|
1101
|
-
}
|
1102
|
-
],
|
1103
|
-
"returnType": {
|
1104
|
-
"__schema": "InferenceTypeSchema",
|
1105
|
-
"location": {
|
1106
|
-
"filePath": "express.main.runtime.ts",
|
1107
|
-
"line": 164,
|
1108
|
-
"character": 3
|
1190
|
+
"type": "Promise<ExpressMain>"
|
1109
1191
|
},
|
1110
|
-
"
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
"implementNodes": []
|
1192
|
+
"modifiers": [
|
1193
|
+
"static",
|
1194
|
+
"async"
|
1195
|
+
]
|
1196
|
+
}
|
1197
|
+
],
|
1198
|
+
"extendsNodes": [],
|
1199
|
+
"implementNodes": []
|
1200
|
+
}
|
1120
1201
|
},
|
1121
1202
|
{
|
1122
|
-
"__schema": "
|
1203
|
+
"__schema": "ExportSchema",
|
1123
1204
|
"location": {
|
1124
|
-
"filePath": "
|
1125
|
-
"line":
|
1126
|
-
"character":
|
1205
|
+
"filePath": "index.ts",
|
1206
|
+
"line": 7,
|
1207
|
+
"character": 10
|
1127
1208
|
},
|
1128
|
-
"signature": "const ExpressAspect: Aspect",
|
1129
1209
|
"name": "ExpressAspect",
|
1130
|
-
"
|
1131
|
-
"__schema": "
|
1210
|
+
"exportNode": {
|
1211
|
+
"__schema": "VariableLikeSchema",
|
1132
1212
|
"location": {
|
1133
1213
|
"filePath": "express.aspect.ts",
|
1134
1214
|
"line": 3,
|
1135
1215
|
"character": 14
|
1136
1216
|
},
|
1137
|
-
"
|
1138
|
-
"
|
1139
|
-
|
1140
|
-
"
|
1141
|
-
"
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1217
|
+
"signature": "const ExpressAspect: Aspect",
|
1218
|
+
"name": "ExpressAspect",
|
1219
|
+
"type": {
|
1220
|
+
"__schema": "TypeRefSchema",
|
1221
|
+
"location": {
|
1222
|
+
"filePath": "express.aspect.ts",
|
1223
|
+
"line": 3,
|
1224
|
+
"character": 14
|
1225
|
+
},
|
1226
|
+
"name": "Aspect",
|
1227
|
+
"componentId": {
|
1228
|
+
"scope": "teambit.harmony",
|
1229
|
+
"name": "harmony",
|
1230
|
+
"version": "0.4.6"
|
1231
|
+
}
|
1232
|
+
},
|
1233
|
+
"isOptional": false,
|
1234
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.harmony/express',\n dependencies: [],\n defaultConfig: {},\n})"
|
1235
|
+
}
|
1146
1236
|
}
|
1147
1237
|
],
|
1148
1238
|
"internals": []
|
@@ -1982,7 +2072,7 @@
|
|
1982
2072
|
"componentId": {
|
1983
2073
|
"scope": "teambit.harmony",
|
1984
2074
|
"name": "express",
|
1985
|
-
"version": "0.0.
|
2075
|
+
"version": "0.0.963"
|
1986
2076
|
},
|
1987
2077
|
"taggedModuleExports": []
|
1988
2078
|
}
|