@teambit/api-server 1.0.257 → 1.0.259
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<testsuites tests="0" failures="0" errors="0" skipped="0">
|
|
3
|
-
<testsuite name="teambit.harmony/api-server@1.0.
|
|
3
|
+
<testsuite name="teambit.harmony/api-server@1.0.259" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
package/artifacts/schema.json
CHANGED
|
@@ -14,565 +14,574 @@
|
|
|
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": 3,
|
|
21
|
+
"character": 15
|
|
22
22
|
},
|
|
23
|
-
"signature": "class ApiServerMain",
|
|
24
23
|
"name": "ApiServerMain",
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
24
|
+
"exportNode": {
|
|
25
|
+
"__schema": "ClassSchema",
|
|
26
|
+
"location": {
|
|
27
|
+
"filePath": "api-server.main.runtime.ts",
|
|
28
|
+
"line": 25,
|
|
29
|
+
"character": 1
|
|
30
|
+
},
|
|
31
|
+
"signature": "class ApiServerMain",
|
|
32
|
+
"name": "ApiServerMain",
|
|
33
|
+
"members": [
|
|
34
|
+
{
|
|
35
|
+
"__schema": "ConstructorSchema",
|
|
36
|
+
"location": {
|
|
37
|
+
"filePath": "api-server.main.runtime.ts",
|
|
38
|
+
"line": 26,
|
|
39
|
+
"character": 3
|
|
40
|
+
},
|
|
41
|
+
"signature": "constructor ApiServerMain(workspace: Workspace, logger: Logger, express: ExpressMain, watcher: WatcherMain, installer: InstallMain, importer: ImporterMain): ApiServerMain",
|
|
42
|
+
"name": "constructor",
|
|
43
|
+
"params": [
|
|
44
|
+
{
|
|
45
|
+
"__schema": "ParameterSchema",
|
|
46
46
|
"location": {
|
|
47
47
|
"filePath": "api-server.main.runtime.ts",
|
|
48
48
|
"line": 27,
|
|
49
|
-
"character":
|
|
49
|
+
"character": 5
|
|
50
50
|
},
|
|
51
|
-
"name": "
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
51
|
+
"name": "workspace",
|
|
52
|
+
"type": {
|
|
53
|
+
"__schema": "TypeRefSchema",
|
|
54
|
+
"location": {
|
|
55
|
+
"filePath": "api-server.main.runtime.ts",
|
|
56
|
+
"line": 27,
|
|
57
|
+
"character": 24
|
|
58
|
+
},
|
|
59
|
+
"name": "Workspace",
|
|
60
|
+
"componentId": {
|
|
61
|
+
"scope": "teambit.workspace",
|
|
62
|
+
"name": "workspace"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"isOptional": false,
|
|
66
|
+
"isSpread": false
|
|
66
67
|
},
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"__schema": "TypeRefSchema",
|
|
68
|
+
{
|
|
69
|
+
"__schema": "ParameterSchema",
|
|
70
70
|
"location": {
|
|
71
71
|
"filePath": "api-server.main.runtime.ts",
|
|
72
72
|
"line": 28,
|
|
73
|
-
"character":
|
|
73
|
+
"character": 5
|
|
74
74
|
},
|
|
75
|
-
"name": "
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
"
|
|
75
|
+
"name": "logger",
|
|
76
|
+
"type": {
|
|
77
|
+
"__schema": "TypeRefSchema",
|
|
78
|
+
"location": {
|
|
79
|
+
"filePath": "api-server.main.runtime.ts",
|
|
80
|
+
"line": 28,
|
|
81
|
+
"character": 21
|
|
82
|
+
},
|
|
83
|
+
"name": "Logger",
|
|
84
|
+
"componentId": {
|
|
85
|
+
"scope": "teambit.harmony",
|
|
86
|
+
"name": "logger"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"isOptional": false,
|
|
90
|
+
"isSpread": false
|
|
90
91
|
},
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
"__schema": "TypeRefSchema",
|
|
92
|
+
{
|
|
93
|
+
"__schema": "ParameterSchema",
|
|
94
94
|
"location": {
|
|
95
95
|
"filePath": "api-server.main.runtime.ts",
|
|
96
96
|
"line": 29,
|
|
97
|
-
"character":
|
|
97
|
+
"character": 5
|
|
98
98
|
},
|
|
99
|
-
"name": "
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
"
|
|
99
|
+
"name": "express",
|
|
100
|
+
"type": {
|
|
101
|
+
"__schema": "TypeRefSchema",
|
|
102
|
+
"location": {
|
|
103
|
+
"filePath": "api-server.main.runtime.ts",
|
|
104
|
+
"line": 29,
|
|
105
|
+
"character": 22
|
|
106
|
+
},
|
|
107
|
+
"name": "ExpressMain",
|
|
108
|
+
"componentId": {
|
|
109
|
+
"scope": "teambit.harmony",
|
|
110
|
+
"name": "express"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"isOptional": false,
|
|
114
|
+
"isSpread": false
|
|
114
115
|
},
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
"__schema": "TypeRefSchema",
|
|
116
|
+
{
|
|
117
|
+
"__schema": "ParameterSchema",
|
|
118
118
|
"location": {
|
|
119
119
|
"filePath": "api-server.main.runtime.ts",
|
|
120
120
|
"line": 30,
|
|
121
|
-
"character":
|
|
121
|
+
"character": 5
|
|
122
122
|
},
|
|
123
|
-
"name": "
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"
|
|
123
|
+
"name": "watcher",
|
|
124
|
+
"type": {
|
|
125
|
+
"__schema": "TypeRefSchema",
|
|
126
|
+
"location": {
|
|
127
|
+
"filePath": "api-server.main.runtime.ts",
|
|
128
|
+
"line": 30,
|
|
129
|
+
"character": 22
|
|
130
|
+
},
|
|
131
|
+
"name": "WatcherMain",
|
|
132
|
+
"componentId": {
|
|
133
|
+
"scope": "teambit.workspace",
|
|
134
|
+
"name": "watcher"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"isOptional": false,
|
|
138
|
+
"isSpread": false
|
|
138
139
|
},
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
"__schema": "TypeRefSchema",
|
|
140
|
+
{
|
|
141
|
+
"__schema": "ParameterSchema",
|
|
142
142
|
"location": {
|
|
143
143
|
"filePath": "api-server.main.runtime.ts",
|
|
144
144
|
"line": 31,
|
|
145
|
-
"character":
|
|
145
|
+
"character": 5
|
|
146
146
|
},
|
|
147
|
-
"name": "
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
"
|
|
147
|
+
"name": "installer",
|
|
148
|
+
"type": {
|
|
149
|
+
"__schema": "TypeRefSchema",
|
|
150
|
+
"location": {
|
|
151
|
+
"filePath": "api-server.main.runtime.ts",
|
|
152
|
+
"line": 31,
|
|
153
|
+
"character": 24
|
|
154
|
+
},
|
|
155
|
+
"name": "InstallMain",
|
|
156
|
+
"componentId": {
|
|
157
|
+
"scope": "teambit.workspace",
|
|
158
|
+
"name": "install"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"isOptional": false,
|
|
162
|
+
"isSpread": false
|
|
162
163
|
},
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
"__schema": "TypeRefSchema",
|
|
164
|
+
{
|
|
165
|
+
"__schema": "ParameterSchema",
|
|
166
166
|
"location": {
|
|
167
167
|
"filePath": "api-server.main.runtime.ts",
|
|
168
168
|
"line": 32,
|
|
169
|
-
"character":
|
|
169
|
+
"character": 5
|
|
170
|
+
},
|
|
171
|
+
"name": "importer",
|
|
172
|
+
"type": {
|
|
173
|
+
"__schema": "TypeRefSchema",
|
|
174
|
+
"location": {
|
|
175
|
+
"filePath": "api-server.main.runtime.ts",
|
|
176
|
+
"line": 32,
|
|
177
|
+
"character": 23
|
|
178
|
+
},
|
|
179
|
+
"name": "ImporterMain",
|
|
180
|
+
"componentId": {
|
|
181
|
+
"scope": "teambit.scope",
|
|
182
|
+
"name": "importer"
|
|
183
|
+
}
|
|
170
184
|
},
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
185
|
+
"isOptional": false,
|
|
186
|
+
"isSpread": false
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"returnType": {
|
|
190
|
+
"__schema": "ThisTypeSchema",
|
|
191
|
+
"location": {
|
|
192
|
+
"filePath": "api-server.main.runtime.ts",
|
|
193
|
+
"line": 25,
|
|
194
|
+
"character": 1
|
|
176
195
|
},
|
|
177
|
-
"
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
"__schema": "
|
|
196
|
+
"name": "ApiServerMain"
|
|
197
|
+
},
|
|
198
|
+
"modifiers": []
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"__schema": "FunctionLikeSchema",
|
|
183
202
|
"location": {
|
|
184
203
|
"filePath": "api-server.main.runtime.ts",
|
|
185
|
-
"line":
|
|
186
|
-
"character":
|
|
204
|
+
"line": 35,
|
|
205
|
+
"character": 3
|
|
187
206
|
},
|
|
188
|
-
"
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
"__schema": "FunctionLikeSchema",
|
|
194
|
-
"location": {
|
|
195
|
-
"filePath": "api-server.main.runtime.ts",
|
|
196
|
-
"line": 35,
|
|
197
|
-
"character": 3
|
|
198
|
-
},
|
|
199
|
-
"signature": "(method) ApiServerMain.runApiServer(options: {\n port: number;\n compile: boolean;\n}): Promise<unknown>",
|
|
200
|
-
"name": "runApiServer",
|
|
201
|
-
"params": [
|
|
202
|
-
{
|
|
203
|
-
"__schema": "ParameterSchema",
|
|
204
|
-
"location": {
|
|
205
|
-
"filePath": "api-server.main.runtime.ts",
|
|
206
|
-
"line": 35,
|
|
207
|
-
"character": 22
|
|
208
|
-
},
|
|
209
|
-
"name": "options",
|
|
210
|
-
"type": {
|
|
211
|
-
"__schema": "TypeLiteralSchema",
|
|
207
|
+
"signature": "(method) ApiServerMain.runApiServer(options: {\n port: number;\n compile: boolean;\n}): Promise<unknown>",
|
|
208
|
+
"name": "runApiServer",
|
|
209
|
+
"params": [
|
|
210
|
+
{
|
|
211
|
+
"__schema": "ParameterSchema",
|
|
212
212
|
"location": {
|
|
213
213
|
"filePath": "api-server.main.runtime.ts",
|
|
214
214
|
"line": 35,
|
|
215
|
-
"character":
|
|
215
|
+
"character": 22
|
|
216
216
|
},
|
|
217
|
-
"
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
"__schema": "KeywordTypeSchema",
|
|
217
|
+
"name": "options",
|
|
218
|
+
"type": {
|
|
219
|
+
"__schema": "TypeLiteralSchema",
|
|
220
|
+
"location": {
|
|
221
|
+
"filePath": "api-server.main.runtime.ts",
|
|
222
|
+
"line": 35,
|
|
223
|
+
"character": 31
|
|
224
|
+
},
|
|
225
|
+
"members": [
|
|
226
|
+
{
|
|
227
|
+
"__schema": "VariableLikeSchema",
|
|
229
228
|
"location": {
|
|
230
229
|
"filePath": "api-server.main.runtime.ts",
|
|
231
230
|
"line": 35,
|
|
232
|
-
"character":
|
|
231
|
+
"character": 33
|
|
233
232
|
},
|
|
234
|
-
"
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
233
|
+
"signature": "(property) port: number",
|
|
234
|
+
"name": "port",
|
|
235
|
+
"type": {
|
|
236
|
+
"__schema": "KeywordTypeSchema",
|
|
237
|
+
"location": {
|
|
238
|
+
"filePath": "api-server.main.runtime.ts",
|
|
239
|
+
"line": 35,
|
|
240
|
+
"character": 39
|
|
241
|
+
},
|
|
242
|
+
"name": "number"
|
|
243
|
+
},
|
|
244
|
+
"isOptional": false
|
|
244
245
|
},
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
"type": {
|
|
248
|
-
"__schema": "KeywordTypeSchema",
|
|
246
|
+
{
|
|
247
|
+
"__schema": "VariableLikeSchema",
|
|
249
248
|
"location": {
|
|
250
249
|
"filePath": "api-server.main.runtime.ts",
|
|
251
250
|
"line": 35,
|
|
252
|
-
"character":
|
|
251
|
+
"character": 47
|
|
253
252
|
},
|
|
254
|
-
"
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
253
|
+
"signature": "(property) compile: boolean",
|
|
254
|
+
"name": "compile",
|
|
255
|
+
"type": {
|
|
256
|
+
"__schema": "KeywordTypeSchema",
|
|
257
|
+
"location": {
|
|
258
|
+
"filePath": "api-server.main.runtime.ts",
|
|
259
|
+
"line": 35,
|
|
260
|
+
"character": 56
|
|
261
|
+
},
|
|
262
|
+
"name": "boolean"
|
|
263
|
+
},
|
|
264
|
+
"isOptional": false
|
|
265
|
+
}
|
|
266
|
+
]
|
|
267
|
+
},
|
|
268
|
+
"isOptional": false,
|
|
269
|
+
"isSpread": false
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
"returnType": {
|
|
273
|
+
"__schema": "InferenceTypeSchema",
|
|
274
|
+
"location": {
|
|
275
|
+
"filePath": "api-server.main.runtime.ts",
|
|
276
|
+
"line": 35,
|
|
277
|
+
"character": 3
|
|
259
278
|
},
|
|
260
|
-
"
|
|
261
|
-
"isSpread": false
|
|
262
|
-
}
|
|
263
|
-
],
|
|
264
|
-
"returnType": {
|
|
265
|
-
"__schema": "InferenceTypeSchema",
|
|
266
|
-
"location": {
|
|
267
|
-
"filePath": "api-server.main.runtime.ts",
|
|
268
|
-
"line": 35,
|
|
269
|
-
"character": 3
|
|
279
|
+
"type": "Promise<unknown>"
|
|
270
280
|
},
|
|
271
|
-
"
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
"async"
|
|
275
|
-
]
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"__schema": "VariableLikeSchema",
|
|
279
|
-
"location": {
|
|
280
|
-
"filePath": "api-server.main.runtime.ts",
|
|
281
|
-
"line": 99,
|
|
282
|
-
"character": 3
|
|
281
|
+
"modifiers": [
|
|
282
|
+
"async"
|
|
283
|
+
]
|
|
283
284
|
},
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
"type": {
|
|
287
|
-
"__schema": "InferenceTypeSchema",
|
|
285
|
+
{
|
|
286
|
+
"__schema": "VariableLikeSchema",
|
|
288
287
|
"location": {
|
|
289
288
|
"filePath": "api-server.main.runtime.ts",
|
|
290
289
|
"line": 99,
|
|
291
290
|
"character": 3
|
|
292
291
|
},
|
|
293
|
-
"
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
292
|
+
"signature": "(property) ApiServerMain.dependencies: Aspect[]",
|
|
293
|
+
"name": "dependencies",
|
|
294
|
+
"type": {
|
|
295
|
+
"__schema": "InferenceTypeSchema",
|
|
296
|
+
"location": {
|
|
297
|
+
"filePath": "api-server.main.runtime.ts",
|
|
298
|
+
"line": 99,
|
|
299
|
+
"character": 3
|
|
300
|
+
},
|
|
301
|
+
"type": "Aspect[]"
|
|
302
|
+
},
|
|
303
|
+
"isOptional": true,
|
|
304
|
+
"defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n LoggerAspect,\n ExpressAspect,\n WatcherAspect,\n SnappingAspect,\n LanesAspect,\n InstallAspect,\n ExportAspect,\n CheckoutAspect,\n ComponentLogAspect,\n ImporterAspect,\n ComponentCompareAspect,\n GeneratorAspect,\n RemoveAspect,\n ConfigAspect,\n ]"
|
|
304
305
|
},
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
"type": {
|
|
308
|
-
"__schema": "InferenceTypeSchema",
|
|
306
|
+
{
|
|
307
|
+
"__schema": "VariableLikeSchema",
|
|
309
308
|
"location": {
|
|
310
309
|
"filePath": "api-server.main.runtime.ts",
|
|
311
310
|
"line": 117,
|
|
312
311
|
"character": 3
|
|
313
312
|
},
|
|
314
|
-
"
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"__schema": "FunctionLikeSchema",
|
|
321
|
-
"location": {
|
|
322
|
-
"filePath": "api-server.main.runtime.ts",
|
|
323
|
-
"line": 118,
|
|
324
|
-
"character": 3
|
|
325
|
-
},
|
|
326
|
-
"signature": "(method) ApiServerMain.provider([cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config,]: [\n CLIMain,\n Workspace,\n LoggerMain,\n ExpressMain,\n WatcherMain,\n SnappingMain,\n LanesMain,\n InstallMain,\n ExportMain,\n CheckoutMain,\n ComponentLogMain,\n ImporterMain,\n ComponentCompareMain,\n GeneratorMain,\n RemoveMain,\n ConfigMain\n]): Promise<ApiServerMain>",
|
|
327
|
-
"name": "provider",
|
|
328
|
-
"params": [
|
|
329
|
-
{
|
|
330
|
-
"__schema": "ParameterSchema",
|
|
313
|
+
"signature": "(property) ApiServerMain.runtime: RuntimeDefinition",
|
|
314
|
+
"name": "runtime",
|
|
315
|
+
"type": {
|
|
316
|
+
"__schema": "InferenceTypeSchema",
|
|
331
317
|
"location": {
|
|
332
318
|
"filePath": "api-server.main.runtime.ts",
|
|
333
|
-
"line":
|
|
334
|
-
"character":
|
|
319
|
+
"line": 117,
|
|
320
|
+
"character": 3
|
|
335
321
|
},
|
|
336
|
-
"
|
|
337
|
-
|
|
338
|
-
|
|
322
|
+
"type": "RuntimeDefinition"
|
|
323
|
+
},
|
|
324
|
+
"isOptional": true,
|
|
325
|
+
"defaultValue": "MainRuntime"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"__schema": "FunctionLikeSchema",
|
|
329
|
+
"location": {
|
|
330
|
+
"filePath": "api-server.main.runtime.ts",
|
|
331
|
+
"line": 118,
|
|
332
|
+
"character": 3
|
|
333
|
+
},
|
|
334
|
+
"signature": "(method) ApiServerMain.provider([cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config,]: [\n CLIMain,\n Workspace,\n LoggerMain,\n ExpressMain,\n WatcherMain,\n SnappingMain,\n LanesMain,\n InstallMain,\n ExportMain,\n CheckoutMain,\n ComponentLogMain,\n ImporterMain,\n ComponentCompareMain,\n GeneratorMain,\n RemoveMain,\n ConfigMain\n]): Promise<ApiServerMain>",
|
|
335
|
+
"name": "provider",
|
|
336
|
+
"params": [
|
|
337
|
+
{
|
|
338
|
+
"__schema": "ParameterSchema",
|
|
339
339
|
"location": {
|
|
340
340
|
"filePath": "api-server.main.runtime.ts",
|
|
341
|
-
"line":
|
|
342
|
-
"character":
|
|
341
|
+
"line": 118,
|
|
342
|
+
"character": 25
|
|
343
343
|
},
|
|
344
|
-
"
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
},
|
|
352
|
-
"name": "CLIMain",
|
|
353
|
-
"componentId": {
|
|
354
|
-
"scope": "teambit.harmony",
|
|
355
|
-
"name": "cli"
|
|
356
|
-
}
|
|
344
|
+
"name": "[ cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config ]",
|
|
345
|
+
"type": {
|
|
346
|
+
"__schema": "TupleTypeSchema",
|
|
347
|
+
"location": {
|
|
348
|
+
"filePath": "api-server.main.runtime.ts",
|
|
349
|
+
"line": 135,
|
|
350
|
+
"character": 6
|
|
357
351
|
},
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
"
|
|
362
|
-
|
|
363
|
-
|
|
352
|
+
"elements": [
|
|
353
|
+
{
|
|
354
|
+
"__schema": "TypeRefSchema",
|
|
355
|
+
"location": {
|
|
356
|
+
"filePath": "api-server.main.runtime.ts",
|
|
357
|
+
"line": 136,
|
|
358
|
+
"character": 5
|
|
359
|
+
},
|
|
360
|
+
"name": "CLIMain",
|
|
361
|
+
"componentId": {
|
|
362
|
+
"scope": "teambit.harmony",
|
|
363
|
+
"name": "cli"
|
|
364
|
+
}
|
|
364
365
|
},
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
"
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
366
|
+
{
|
|
367
|
+
"__schema": "TypeRefSchema",
|
|
368
|
+
"location": {
|
|
369
|
+
"filePath": "api-server.main.runtime.ts",
|
|
370
|
+
"line": 137,
|
|
371
|
+
"character": 5
|
|
372
|
+
},
|
|
373
|
+
"name": "Workspace",
|
|
374
|
+
"componentId": {
|
|
375
|
+
"scope": "teambit.workspace",
|
|
376
|
+
"name": "workspace"
|
|
377
|
+
}
|
|
377
378
|
},
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
"
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
379
|
+
{
|
|
380
|
+
"__schema": "TypeRefSchema",
|
|
381
|
+
"location": {
|
|
382
|
+
"filePath": "api-server.main.runtime.ts",
|
|
383
|
+
"line": 138,
|
|
384
|
+
"character": 5
|
|
385
|
+
},
|
|
386
|
+
"name": "LoggerMain",
|
|
387
|
+
"componentId": {
|
|
388
|
+
"scope": "teambit.harmony",
|
|
389
|
+
"name": "logger"
|
|
390
|
+
}
|
|
390
391
|
},
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
"
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
392
|
+
{
|
|
393
|
+
"__schema": "TypeRefSchema",
|
|
394
|
+
"location": {
|
|
395
|
+
"filePath": "api-server.main.runtime.ts",
|
|
396
|
+
"line": 139,
|
|
397
|
+
"character": 5
|
|
398
|
+
},
|
|
399
|
+
"name": "ExpressMain",
|
|
400
|
+
"componentId": {
|
|
401
|
+
"scope": "teambit.harmony",
|
|
402
|
+
"name": "express"
|
|
403
|
+
}
|
|
403
404
|
},
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
"
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
405
|
+
{
|
|
406
|
+
"__schema": "TypeRefSchema",
|
|
407
|
+
"location": {
|
|
408
|
+
"filePath": "api-server.main.runtime.ts",
|
|
409
|
+
"line": 140,
|
|
410
|
+
"character": 5
|
|
411
|
+
},
|
|
412
|
+
"name": "WatcherMain",
|
|
413
|
+
"componentId": {
|
|
414
|
+
"scope": "teambit.workspace",
|
|
415
|
+
"name": "watcher"
|
|
416
|
+
}
|
|
416
417
|
},
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
"
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
418
|
+
{
|
|
419
|
+
"__schema": "TypeRefSchema",
|
|
420
|
+
"location": {
|
|
421
|
+
"filePath": "api-server.main.runtime.ts",
|
|
422
|
+
"line": 141,
|
|
423
|
+
"character": 5
|
|
424
|
+
},
|
|
425
|
+
"name": "SnappingMain",
|
|
426
|
+
"componentId": {
|
|
427
|
+
"scope": "teambit.component",
|
|
428
|
+
"name": "snapping"
|
|
429
|
+
}
|
|
429
430
|
},
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
"
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
431
|
+
{
|
|
432
|
+
"__schema": "TypeRefSchema",
|
|
433
|
+
"location": {
|
|
434
|
+
"filePath": "api-server.main.runtime.ts",
|
|
435
|
+
"line": 142,
|
|
436
|
+
"character": 5
|
|
437
|
+
},
|
|
438
|
+
"name": "LanesMain",
|
|
439
|
+
"componentId": {
|
|
440
|
+
"scope": "teambit.lanes",
|
|
441
|
+
"name": "lanes"
|
|
442
|
+
}
|
|
442
443
|
},
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
"
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
444
|
+
{
|
|
445
|
+
"__schema": "TypeRefSchema",
|
|
446
|
+
"location": {
|
|
447
|
+
"filePath": "api-server.main.runtime.ts",
|
|
448
|
+
"line": 143,
|
|
449
|
+
"character": 5
|
|
450
|
+
},
|
|
451
|
+
"name": "InstallMain",
|
|
452
|
+
"componentId": {
|
|
453
|
+
"scope": "teambit.workspace",
|
|
454
|
+
"name": "install"
|
|
455
|
+
}
|
|
455
456
|
},
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
"
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
457
|
+
{
|
|
458
|
+
"__schema": "TypeRefSchema",
|
|
459
|
+
"location": {
|
|
460
|
+
"filePath": "api-server.main.runtime.ts",
|
|
461
|
+
"line": 144,
|
|
462
|
+
"character": 5
|
|
463
|
+
},
|
|
464
|
+
"name": "ExportMain",
|
|
465
|
+
"componentId": {
|
|
466
|
+
"scope": "teambit.scope",
|
|
467
|
+
"name": "export"
|
|
468
|
+
}
|
|
468
469
|
},
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
"
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
470
|
+
{
|
|
471
|
+
"__schema": "TypeRefSchema",
|
|
472
|
+
"location": {
|
|
473
|
+
"filePath": "api-server.main.runtime.ts",
|
|
474
|
+
"line": 145,
|
|
475
|
+
"character": 5
|
|
476
|
+
},
|
|
477
|
+
"name": "CheckoutMain",
|
|
478
|
+
"componentId": {
|
|
479
|
+
"scope": "teambit.component",
|
|
480
|
+
"name": "checkout"
|
|
481
|
+
}
|
|
481
482
|
},
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
"
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
483
|
+
{
|
|
484
|
+
"__schema": "TypeRefSchema",
|
|
485
|
+
"location": {
|
|
486
|
+
"filePath": "api-server.main.runtime.ts",
|
|
487
|
+
"line": 146,
|
|
488
|
+
"character": 5
|
|
489
|
+
},
|
|
490
|
+
"name": "ComponentLogMain",
|
|
491
|
+
"componentId": {
|
|
492
|
+
"scope": "teambit.component",
|
|
493
|
+
"name": "component-log"
|
|
494
|
+
}
|
|
494
495
|
},
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
"
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
496
|
+
{
|
|
497
|
+
"__schema": "TypeRefSchema",
|
|
498
|
+
"location": {
|
|
499
|
+
"filePath": "api-server.main.runtime.ts",
|
|
500
|
+
"line": 147,
|
|
501
|
+
"character": 5
|
|
502
|
+
},
|
|
503
|
+
"name": "ImporterMain",
|
|
504
|
+
"componentId": {
|
|
505
|
+
"scope": "teambit.scope",
|
|
506
|
+
"name": "importer"
|
|
507
|
+
}
|
|
507
508
|
},
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
"
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
509
|
+
{
|
|
510
|
+
"__schema": "TypeRefSchema",
|
|
511
|
+
"location": {
|
|
512
|
+
"filePath": "api-server.main.runtime.ts",
|
|
513
|
+
"line": 148,
|
|
514
|
+
"character": 5
|
|
515
|
+
},
|
|
516
|
+
"name": "ComponentCompareMain",
|
|
517
|
+
"componentId": {
|
|
518
|
+
"scope": "teambit.component",
|
|
519
|
+
"name": "component-compare"
|
|
520
|
+
}
|
|
520
521
|
},
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
"
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
522
|
+
{
|
|
523
|
+
"__schema": "TypeRefSchema",
|
|
524
|
+
"location": {
|
|
525
|
+
"filePath": "api-server.main.runtime.ts",
|
|
526
|
+
"line": 149,
|
|
527
|
+
"character": 5
|
|
528
|
+
},
|
|
529
|
+
"name": "GeneratorMain",
|
|
530
|
+
"componentId": {
|
|
531
|
+
"scope": "teambit.generator",
|
|
532
|
+
"name": "generator"
|
|
533
|
+
}
|
|
533
534
|
},
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
"
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
535
|
+
{
|
|
536
|
+
"__schema": "TypeRefSchema",
|
|
537
|
+
"location": {
|
|
538
|
+
"filePath": "api-server.main.runtime.ts",
|
|
539
|
+
"line": 150,
|
|
540
|
+
"character": 5
|
|
541
|
+
},
|
|
542
|
+
"name": "RemoveMain",
|
|
543
|
+
"componentId": {
|
|
544
|
+
"scope": "teambit.component",
|
|
545
|
+
"name": "remove"
|
|
546
|
+
}
|
|
546
547
|
},
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
"
|
|
550
|
-
|
|
548
|
+
{
|
|
549
|
+
"__schema": "TypeRefSchema",
|
|
550
|
+
"location": {
|
|
551
|
+
"filePath": "api-server.main.runtime.ts",
|
|
552
|
+
"line": 151,
|
|
553
|
+
"character": 5
|
|
554
|
+
},
|
|
555
|
+
"name": "ConfigMain",
|
|
556
|
+
"componentId": {
|
|
557
|
+
"scope": "teambit.harmony",
|
|
558
|
+
"name": "config"
|
|
559
|
+
}
|
|
551
560
|
}
|
|
552
|
-
|
|
553
|
-
|
|
561
|
+
]
|
|
562
|
+
},
|
|
563
|
+
"isOptional": false,
|
|
564
|
+
"isSpread": false
|
|
565
|
+
}
|
|
566
|
+
],
|
|
567
|
+
"returnType": {
|
|
568
|
+
"__schema": "InferenceTypeSchema",
|
|
569
|
+
"location": {
|
|
570
|
+
"filePath": "api-server.main.runtime.ts",
|
|
571
|
+
"line": 118,
|
|
572
|
+
"character": 3
|
|
554
573
|
},
|
|
555
|
-
"
|
|
556
|
-
"isSpread": false
|
|
557
|
-
}
|
|
558
|
-
],
|
|
559
|
-
"returnType": {
|
|
560
|
-
"__schema": "InferenceTypeSchema",
|
|
561
|
-
"location": {
|
|
562
|
-
"filePath": "api-server.main.runtime.ts",
|
|
563
|
-
"line": 118,
|
|
564
|
-
"character": 3
|
|
574
|
+
"type": "Promise<ApiServerMain>"
|
|
565
575
|
},
|
|
566
|
-
"
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
"implementNodes": []
|
|
576
|
+
"modifiers": [
|
|
577
|
+
"static",
|
|
578
|
+
"async"
|
|
579
|
+
]
|
|
580
|
+
}
|
|
581
|
+
],
|
|
582
|
+
"extendsNodes": [],
|
|
583
|
+
"implementNodes": []
|
|
584
|
+
}
|
|
576
585
|
},
|
|
577
586
|
{
|
|
578
587
|
"__schema": "UnImplementedSchema",
|
|
@@ -585,30 +594,39 @@
|
|
|
585
594
|
"type": "Identifier"
|
|
586
595
|
},
|
|
587
596
|
{
|
|
588
|
-
"__schema": "
|
|
597
|
+
"__schema": "ExportSchema",
|
|
589
598
|
"location": {
|
|
590
|
-
"filePath": "
|
|
591
|
-
"line":
|
|
592
|
-
"character":
|
|
599
|
+
"filePath": "index.ts",
|
|
600
|
+
"line": 5,
|
|
601
|
+
"character": 10
|
|
593
602
|
},
|
|
594
|
-
"signature": "const ApiServerAspect: Aspect",
|
|
595
603
|
"name": "ApiServerAspect",
|
|
596
|
-
"
|
|
597
|
-
"__schema": "
|
|
604
|
+
"exportNode": {
|
|
605
|
+
"__schema": "VariableLikeSchema",
|
|
598
606
|
"location": {
|
|
599
607
|
"filePath": "api-server.aspect.ts",
|
|
600
608
|
"line": 3,
|
|
601
609
|
"character": 14
|
|
602
610
|
},
|
|
603
|
-
"
|
|
604
|
-
"
|
|
605
|
-
|
|
606
|
-
"
|
|
607
|
-
"
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
611
|
+
"signature": "const ApiServerAspect: Aspect",
|
|
612
|
+
"name": "ApiServerAspect",
|
|
613
|
+
"type": {
|
|
614
|
+
"__schema": "TypeRefSchema",
|
|
615
|
+
"location": {
|
|
616
|
+
"filePath": "api-server.aspect.ts",
|
|
617
|
+
"line": 3,
|
|
618
|
+
"character": 14
|
|
619
|
+
},
|
|
620
|
+
"name": "Aspect",
|
|
621
|
+
"componentId": {
|
|
622
|
+
"scope": "teambit.harmony",
|
|
623
|
+
"name": "harmony",
|
|
624
|
+
"version": "0.4.6"
|
|
625
|
+
}
|
|
626
|
+
},
|
|
627
|
+
"isOptional": false,
|
|
628
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.harmony/api-server',\n})"
|
|
629
|
+
}
|
|
612
630
|
}
|
|
613
631
|
],
|
|
614
632
|
"internals": []
|
|
@@ -1248,7 +1266,7 @@
|
|
|
1248
1266
|
"componentId": {
|
|
1249
1267
|
"scope": "teambit.harmony",
|
|
1250
1268
|
"name": "api-server",
|
|
1251
|
-
"version": "1.0.
|
|
1269
|
+
"version": "1.0.259"
|
|
1252
1270
|
},
|
|
1253
1271
|
"taggedModuleExports": []
|
|
1254
1272
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/api-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.259",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/harmony/api-server",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.harmony",
|
|
8
8
|
"name": "api-server",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.259"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fs-extra": "10.0.0",
|
|
@@ -14,24 +14,24 @@
|
|
|
14
14
|
"p-map": "4.0.0",
|
|
15
15
|
"pretty-time": "1.1.0",
|
|
16
16
|
"@teambit/harmony": "0.4.6",
|
|
17
|
-
"@teambit/checkout": "1.0.
|
|
18
|
-
"@teambit/component-compare": "1.0.
|
|
19
|
-
"@teambit/component-log": "1.0.
|
|
20
|
-
"@teambit/config": "0.0.
|
|
21
|
-
"@teambit/export": "1.0.
|
|
22
|
-
"@teambit/generator": "1.0.
|
|
23
|
-
"@teambit/install": "1.0.
|
|
24
|
-
"@teambit/lanes": "1.0.
|
|
25
|
-
"@teambit/merging": "1.0.
|
|
26
|
-
"@teambit/remove": "1.0.
|
|
27
|
-
"@teambit/snapping": "1.0.
|
|
28
|
-
"@teambit/workspace": "1.0.
|
|
29
|
-
"@teambit/cli": "0.0.
|
|
30
|
-
"@teambit/component": "1.0.
|
|
31
|
-
"@teambit/express": "0.0.
|
|
32
|
-
"@teambit/importer": "1.0.
|
|
33
|
-
"@teambit/logger": "0.0.
|
|
34
|
-
"@teambit/watcher": "1.0.
|
|
17
|
+
"@teambit/checkout": "1.0.259",
|
|
18
|
+
"@teambit/component-compare": "1.0.259",
|
|
19
|
+
"@teambit/component-log": "1.0.259",
|
|
20
|
+
"@teambit/config": "0.0.1010",
|
|
21
|
+
"@teambit/export": "1.0.259",
|
|
22
|
+
"@teambit/generator": "1.0.260",
|
|
23
|
+
"@teambit/install": "1.0.259",
|
|
24
|
+
"@teambit/lanes": "1.0.259",
|
|
25
|
+
"@teambit/merging": "1.0.259",
|
|
26
|
+
"@teambit/remove": "1.0.259",
|
|
27
|
+
"@teambit/snapping": "1.0.259",
|
|
28
|
+
"@teambit/workspace": "1.0.259",
|
|
29
|
+
"@teambit/cli": "0.0.863",
|
|
30
|
+
"@teambit/component": "1.0.259",
|
|
31
|
+
"@teambit/express": "0.0.962",
|
|
32
|
+
"@teambit/importer": "1.0.259",
|
|
33
|
+
"@teambit/logger": "0.0.956",
|
|
34
|
+
"@teambit/watcher": "1.0.259"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/fs-extra": "9.0.7",
|
|
File without changes
|