@teambit/community 1.0.158 → 1.0.159

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
- <testsuites>
3
- <testsuite name="teambit.community/community@1.0.158" tests="0" failures="0" errors="0" skipped="0"/>
2
+ <testsuites tests="0" failures="0" errors="0" skipped="0">
3
+ <testsuite name="teambit.community/community@1.0.159" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -0,0 +1,691 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "ClassSchema",
18
+ "location": {
19
+ "filePath": "community.main.runtime.ts",
20
+ "line": 18,
21
+ "character": 1
22
+ },
23
+ "signature": "class CommunityMain",
24
+ "name": "CommunityMain",
25
+ "members": [
26
+ {
27
+ "__schema": "ConstructorSchema",
28
+ "location": {
29
+ "filePath": "community.main.runtime.ts",
30
+ "line": 19,
31
+ "character": 3
32
+ },
33
+ "signature": "constructor CommunityMain(config: CommunityWorkspaceConfig): CommunityMain",
34
+ "name": "constructor",
35
+ "params": [
36
+ {
37
+ "__schema": "ParameterSchema",
38
+ "location": {
39
+ "filePath": "community.main.runtime.ts",
40
+ "line": 20,
41
+ "character": 5
42
+ },
43
+ "name": "config",
44
+ "type": {
45
+ "__schema": "TypeRefSchema",
46
+ "location": {
47
+ "filePath": "community.main.runtime.ts",
48
+ "line": 20,
49
+ "character": 21
50
+ },
51
+ "name": "CommunityWorkspaceConfig"
52
+ },
53
+ "isOptional": false,
54
+ "isSpread": false
55
+ }
56
+ ],
57
+ "returnType": {
58
+ "__schema": "ThisTypeSchema",
59
+ "location": {
60
+ "filePath": "community.main.runtime.ts",
61
+ "line": 18,
62
+ "character": 1
63
+ },
64
+ "name": "CommunityMain"
65
+ },
66
+ "modifiers": []
67
+ },
68
+ {
69
+ "__schema": "FunctionLikeSchema",
70
+ "location": {
71
+ "filePath": "community.main.runtime.ts",
72
+ "line": 23,
73
+ "character": 3
74
+ },
75
+ "signature": "(method) CommunityMain.getBaseDomain(): string",
76
+ "name": "getBaseDomain",
77
+ "params": [],
78
+ "returnType": {
79
+ "__schema": "KeywordTypeSchema",
80
+ "location": {
81
+ "filePath": "community.main.runtime.ts",
82
+ "line": 23,
83
+ "character": 20
84
+ },
85
+ "name": "string"
86
+ },
87
+ "modifiers": []
88
+ },
89
+ {
90
+ "__schema": "FunctionLikeSchema",
91
+ "location": {
92
+ "filePath": "community.main.runtime.ts",
93
+ "line": 27,
94
+ "character": 3
95
+ },
96
+ "signature": "(method) CommunityMain.getDocsDomain(): string",
97
+ "name": "getDocsDomain",
98
+ "params": [],
99
+ "returnType": {
100
+ "__schema": "KeywordTypeSchema",
101
+ "location": {
102
+ "filePath": "community.main.runtime.ts",
103
+ "line": 27,
104
+ "character": 20
105
+ },
106
+ "name": "string"
107
+ },
108
+ "modifiers": []
109
+ },
110
+ {
111
+ "__schema": "VariableLikeSchema",
112
+ "location": {
113
+ "filePath": "community.main.runtime.ts",
114
+ "line": 31,
115
+ "character": 3
116
+ },
117
+ "signature": "(property) CommunityMain.slots: never[]",
118
+ "name": "slots",
119
+ "type": {
120
+ "__schema": "InferenceTypeSchema",
121
+ "location": {
122
+ "filePath": "community.main.runtime.ts",
123
+ "line": 31,
124
+ "character": 3
125
+ },
126
+ "type": "never[]"
127
+ },
128
+ "isOptional": true,
129
+ "defaultValue": "[]"
130
+ },
131
+ {
132
+ "__schema": "VariableLikeSchema",
133
+ "location": {
134
+ "filePath": "community.main.runtime.ts",
135
+ "line": 32,
136
+ "character": 3
137
+ },
138
+ "signature": "(property) CommunityMain.dependencies: Aspect[]",
139
+ "name": "dependencies",
140
+ "type": {
141
+ "__schema": "InferenceTypeSchema",
142
+ "location": {
143
+ "filePath": "community.main.runtime.ts",
144
+ "line": 32,
145
+ "character": 3
146
+ },
147
+ "type": "Aspect[]"
148
+ },
149
+ "isOptional": true,
150
+ "defaultValue": "[GeneratorAspect]"
151
+ },
152
+ {
153
+ "__schema": "VariableLikeSchema",
154
+ "location": {
155
+ "filePath": "community.main.runtime.ts",
156
+ "line": 33,
157
+ "character": 3
158
+ },
159
+ "signature": "(property) CommunityMain.runtime: RuntimeDefinition",
160
+ "name": "runtime",
161
+ "type": {
162
+ "__schema": "InferenceTypeSchema",
163
+ "location": {
164
+ "filePath": "community.main.runtime.ts",
165
+ "line": 33,
166
+ "character": 3
167
+ },
168
+ "type": "RuntimeDefinition"
169
+ },
170
+ "isOptional": true,
171
+ "defaultValue": "MainRuntime"
172
+ },
173
+ {
174
+ "__schema": "VariableLikeSchema",
175
+ "location": {
176
+ "filePath": "community.main.runtime.ts",
177
+ "line": 34,
178
+ "character": 3
179
+ },
180
+ "signature": "(property) CommunityMain.defaultConfig: CommunityWorkspaceConfig",
181
+ "name": "defaultConfig",
182
+ "type": {
183
+ "__schema": "TypeRefSchema",
184
+ "location": {
185
+ "filePath": "community.main.runtime.ts",
186
+ "line": 34,
187
+ "character": 3
188
+ },
189
+ "name": "CommunityWorkspaceConfig",
190
+ "internalFilePath": "community.main.runtime.ts"
191
+ },
192
+ "isOptional": true,
193
+ "defaultValue": "{\n communityDomain: BASE_COMMUNITY_DOMAIN,\n docsDomain: BASE_DOCS_DOMAIN,\n }"
194
+ },
195
+ {
196
+ "__schema": "FunctionLikeSchema",
197
+ "location": {
198
+ "filePath": "community.main.runtime.ts",
199
+ "line": 39,
200
+ "character": 3
201
+ },
202
+ "signature": "(method) CommunityMain.provider(_deps: [GeneratorMain], config: CommunityWorkspaceConfig): Promise<CommunityMain>",
203
+ "name": "provider",
204
+ "params": [
205
+ {
206
+ "__schema": "ParameterSchema",
207
+ "location": {
208
+ "filePath": "community.main.runtime.ts",
209
+ "line": 39,
210
+ "character": 25
211
+ },
212
+ "name": "_deps",
213
+ "type": {
214
+ "__schema": "TupleTypeSchema",
215
+ "location": {
216
+ "filePath": "community.main.runtime.ts",
217
+ "line": 39,
218
+ "character": 32
219
+ },
220
+ "elements": [
221
+ {
222
+ "__schema": "TypeRefSchema",
223
+ "location": {
224
+ "filePath": "community.main.runtime.ts",
225
+ "line": 39,
226
+ "character": 33
227
+ },
228
+ "name": "GeneratorMain"
229
+ }
230
+ ]
231
+ },
232
+ "isOptional": false,
233
+ "isSpread": false
234
+ },
235
+ {
236
+ "__schema": "ParameterSchema",
237
+ "location": {
238
+ "filePath": "community.main.runtime.ts",
239
+ "line": 39,
240
+ "character": 49
241
+ },
242
+ "name": "config",
243
+ "type": {
244
+ "__schema": "TypeRefSchema",
245
+ "location": {
246
+ "filePath": "community.main.runtime.ts",
247
+ "line": 39,
248
+ "character": 57
249
+ },
250
+ "name": "CommunityWorkspaceConfig"
251
+ },
252
+ "isOptional": false,
253
+ "isSpread": false
254
+ }
255
+ ],
256
+ "returnType": {
257
+ "__schema": "InferenceTypeSchema",
258
+ "location": {
259
+ "filePath": "community.main.runtime.ts",
260
+ "line": 39,
261
+ "character": 3
262
+ },
263
+ "type": "Promise<CommunityMain>"
264
+ },
265
+ "modifiers": [
266
+ "static",
267
+ "async"
268
+ ]
269
+ }
270
+ ],
271
+ "extendsNodes": [],
272
+ "implementNodes": []
273
+ },
274
+ {
275
+ "__schema": "UnImplementedSchema",
276
+ "location": {
277
+ "filePath": "index.ts",
278
+ "line": 4,
279
+ "character": 16
280
+ },
281
+ "name": "CommunityAspect",
282
+ "type": "Identifier"
283
+ },
284
+ {
285
+ "__schema": "VariableLikeSchema",
286
+ "location": {
287
+ "filePath": "community.aspect.ts",
288
+ "line": 3,
289
+ "character": 14
290
+ },
291
+ "signature": "const CommunityAspect: Aspect",
292
+ "name": "CommunityAspect",
293
+ "type": {
294
+ "__schema": "TypeRefSchema",
295
+ "location": {
296
+ "filePath": "community.aspect.ts",
297
+ "line": 3,
298
+ "character": 14
299
+ },
300
+ "name": "Aspect",
301
+ "componentId": {
302
+ "scope": "teambit.harmony",
303
+ "name": "harmony",
304
+ "version": "0.4.6"
305
+ }
306
+ },
307
+ "isOptional": false,
308
+ "defaultValue": "Aspect.create({\n id: 'teambit.community/community',\n})"
309
+ }
310
+ ],
311
+ "internals": []
312
+ },
313
+ "internals": [
314
+ {
315
+ "__schema": "ModuleSchema",
316
+ "location": {
317
+ "filePath": "community.main.runtime.ts",
318
+ "line": 1,
319
+ "character": 1
320
+ },
321
+ "exports": [
322
+ {
323
+ "__schema": "InterfaceSchema",
324
+ "location": {
325
+ "filePath": "community.main.runtime.ts",
326
+ "line": 13,
327
+ "character": 1
328
+ },
329
+ "signature": "interface CommunityWorkspaceConfig",
330
+ "name": "CommunityWorkspaceConfig",
331
+ "members": [
332
+ {
333
+ "__schema": "VariableLikeSchema",
334
+ "location": {
335
+ "filePath": "community.main.runtime.ts",
336
+ "line": 14,
337
+ "character": 3
338
+ },
339
+ "signature": "(property) CommunityWorkspaceConfig.communityDomain: string",
340
+ "name": "communityDomain",
341
+ "type": {
342
+ "__schema": "KeywordTypeSchema",
343
+ "location": {
344
+ "filePath": "community.main.runtime.ts",
345
+ "line": 14,
346
+ "character": 20
347
+ },
348
+ "name": "string"
349
+ },
350
+ "isOptional": false
351
+ },
352
+ {
353
+ "__schema": "VariableLikeSchema",
354
+ "location": {
355
+ "filePath": "community.main.runtime.ts",
356
+ "line": 15,
357
+ "character": 3
358
+ },
359
+ "signature": "(property) CommunityWorkspaceConfig.docsDomain: string",
360
+ "name": "docsDomain",
361
+ "type": {
362
+ "__schema": "KeywordTypeSchema",
363
+ "location": {
364
+ "filePath": "community.main.runtime.ts",
365
+ "line": 15,
366
+ "character": 15
367
+ },
368
+ "name": "string"
369
+ },
370
+ "isOptional": false
371
+ }
372
+ ],
373
+ "extendsNodes": []
374
+ },
375
+ {
376
+ "__schema": "ClassSchema",
377
+ "location": {
378
+ "filePath": "community.main.runtime.ts",
379
+ "line": 18,
380
+ "character": 1
381
+ },
382
+ "signature": "class CommunityMain",
383
+ "name": "CommunityMain",
384
+ "members": [
385
+ {
386
+ "__schema": "ConstructorSchema",
387
+ "location": {
388
+ "filePath": "community.main.runtime.ts",
389
+ "line": 19,
390
+ "character": 3
391
+ },
392
+ "signature": "constructor CommunityMain(config: CommunityWorkspaceConfig): CommunityMain",
393
+ "name": "constructor",
394
+ "params": [
395
+ {
396
+ "__schema": "ParameterSchema",
397
+ "location": {
398
+ "filePath": "community.main.runtime.ts",
399
+ "line": 20,
400
+ "character": 5
401
+ },
402
+ "name": "config",
403
+ "type": {
404
+ "__schema": "TypeRefSchema",
405
+ "location": {
406
+ "filePath": "community.main.runtime.ts",
407
+ "line": 20,
408
+ "character": 21
409
+ },
410
+ "name": "CommunityWorkspaceConfig"
411
+ },
412
+ "isOptional": false,
413
+ "isSpread": false
414
+ }
415
+ ],
416
+ "returnType": {
417
+ "__schema": "ThisTypeSchema",
418
+ "location": {
419
+ "filePath": "community.main.runtime.ts",
420
+ "line": 18,
421
+ "character": 1
422
+ },
423
+ "name": "CommunityMain"
424
+ },
425
+ "modifiers": []
426
+ },
427
+ {
428
+ "__schema": "FunctionLikeSchema",
429
+ "location": {
430
+ "filePath": "community.main.runtime.ts",
431
+ "line": 23,
432
+ "character": 3
433
+ },
434
+ "signature": "(method) CommunityMain.getBaseDomain(): string",
435
+ "name": "getBaseDomain",
436
+ "params": [],
437
+ "returnType": {
438
+ "__schema": "KeywordTypeSchema",
439
+ "location": {
440
+ "filePath": "community.main.runtime.ts",
441
+ "line": 23,
442
+ "character": 20
443
+ },
444
+ "name": "string"
445
+ },
446
+ "modifiers": []
447
+ },
448
+ {
449
+ "__schema": "FunctionLikeSchema",
450
+ "location": {
451
+ "filePath": "community.main.runtime.ts",
452
+ "line": 27,
453
+ "character": 3
454
+ },
455
+ "signature": "(method) CommunityMain.getDocsDomain(): string",
456
+ "name": "getDocsDomain",
457
+ "params": [],
458
+ "returnType": {
459
+ "__schema": "KeywordTypeSchema",
460
+ "location": {
461
+ "filePath": "community.main.runtime.ts",
462
+ "line": 27,
463
+ "character": 20
464
+ },
465
+ "name": "string"
466
+ },
467
+ "modifiers": []
468
+ },
469
+ {
470
+ "__schema": "VariableLikeSchema",
471
+ "location": {
472
+ "filePath": "community.main.runtime.ts",
473
+ "line": 31,
474
+ "character": 3
475
+ },
476
+ "signature": "(property) CommunityMain.slots: never[]",
477
+ "name": "slots",
478
+ "type": {
479
+ "__schema": "InferenceTypeSchema",
480
+ "location": {
481
+ "filePath": "community.main.runtime.ts",
482
+ "line": 31,
483
+ "character": 3
484
+ },
485
+ "type": "never[]"
486
+ },
487
+ "isOptional": true,
488
+ "defaultValue": "[]"
489
+ },
490
+ {
491
+ "__schema": "VariableLikeSchema",
492
+ "location": {
493
+ "filePath": "community.main.runtime.ts",
494
+ "line": 32,
495
+ "character": 3
496
+ },
497
+ "signature": "(property) CommunityMain.dependencies: Aspect[]",
498
+ "name": "dependencies",
499
+ "type": {
500
+ "__schema": "InferenceTypeSchema",
501
+ "location": {
502
+ "filePath": "community.main.runtime.ts",
503
+ "line": 32,
504
+ "character": 3
505
+ },
506
+ "type": "Aspect[]"
507
+ },
508
+ "isOptional": true,
509
+ "defaultValue": "[GeneratorAspect]"
510
+ },
511
+ {
512
+ "__schema": "VariableLikeSchema",
513
+ "location": {
514
+ "filePath": "community.main.runtime.ts",
515
+ "line": 33,
516
+ "character": 3
517
+ },
518
+ "signature": "(property) CommunityMain.runtime: RuntimeDefinition",
519
+ "name": "runtime",
520
+ "type": {
521
+ "__schema": "InferenceTypeSchema",
522
+ "location": {
523
+ "filePath": "community.main.runtime.ts",
524
+ "line": 33,
525
+ "character": 3
526
+ },
527
+ "type": "RuntimeDefinition"
528
+ },
529
+ "isOptional": true,
530
+ "defaultValue": "MainRuntime"
531
+ },
532
+ {
533
+ "__schema": "VariableLikeSchema",
534
+ "location": {
535
+ "filePath": "community.main.runtime.ts",
536
+ "line": 34,
537
+ "character": 3
538
+ },
539
+ "signature": "(property) CommunityMain.defaultConfig: CommunityWorkspaceConfig",
540
+ "name": "defaultConfig",
541
+ "type": {
542
+ "__schema": "TypeRefSchema",
543
+ "location": {
544
+ "filePath": "community.main.runtime.ts",
545
+ "line": 34,
546
+ "character": 3
547
+ },
548
+ "name": "CommunityWorkspaceConfig",
549
+ "internalFilePath": "community.main.runtime.ts"
550
+ },
551
+ "isOptional": true,
552
+ "defaultValue": "{\n communityDomain: BASE_COMMUNITY_DOMAIN,\n docsDomain: BASE_DOCS_DOMAIN,\n }"
553
+ },
554
+ {
555
+ "__schema": "FunctionLikeSchema",
556
+ "location": {
557
+ "filePath": "community.main.runtime.ts",
558
+ "line": 39,
559
+ "character": 3
560
+ },
561
+ "signature": "(method) CommunityMain.provider(_deps: [GeneratorMain], config: CommunityWorkspaceConfig): Promise<CommunityMain>",
562
+ "name": "provider",
563
+ "params": [
564
+ {
565
+ "__schema": "ParameterSchema",
566
+ "location": {
567
+ "filePath": "community.main.runtime.ts",
568
+ "line": 39,
569
+ "character": 25
570
+ },
571
+ "name": "_deps",
572
+ "type": {
573
+ "__schema": "TupleTypeSchema",
574
+ "location": {
575
+ "filePath": "community.main.runtime.ts",
576
+ "line": 39,
577
+ "character": 32
578
+ },
579
+ "elements": [
580
+ {
581
+ "__schema": "TypeRefSchema",
582
+ "location": {
583
+ "filePath": "community.main.runtime.ts",
584
+ "line": 39,
585
+ "character": 33
586
+ },
587
+ "name": "GeneratorMain"
588
+ }
589
+ ]
590
+ },
591
+ "isOptional": false,
592
+ "isSpread": false
593
+ },
594
+ {
595
+ "__schema": "ParameterSchema",
596
+ "location": {
597
+ "filePath": "community.main.runtime.ts",
598
+ "line": 39,
599
+ "character": 49
600
+ },
601
+ "name": "config",
602
+ "type": {
603
+ "__schema": "TypeRefSchema",
604
+ "location": {
605
+ "filePath": "community.main.runtime.ts",
606
+ "line": 39,
607
+ "character": 57
608
+ },
609
+ "name": "CommunityWorkspaceConfig"
610
+ },
611
+ "isOptional": false,
612
+ "isSpread": false
613
+ }
614
+ ],
615
+ "returnType": {
616
+ "__schema": "InferenceTypeSchema",
617
+ "location": {
618
+ "filePath": "community.main.runtime.ts",
619
+ "line": 39,
620
+ "character": 3
621
+ },
622
+ "type": "Promise<CommunityMain>"
623
+ },
624
+ "modifiers": [
625
+ "static",
626
+ "async"
627
+ ]
628
+ }
629
+ ],
630
+ "extendsNodes": [],
631
+ "implementNodes": []
632
+ }
633
+ ],
634
+ "internals": [
635
+ {
636
+ "__schema": "UnImplementedSchema",
637
+ "location": {
638
+ "filePath": "community.main.runtime.ts",
639
+ "line": 49,
640
+ "character": 1
641
+ },
642
+ "name": "CommunityAspect.addRuntime(CommunityMain);",
643
+ "type": "ExpressionStatement"
644
+ }
645
+ ]
646
+ },
647
+ {
648
+ "__schema": "ModuleSchema",
649
+ "location": {
650
+ "filePath": "community.aspect.ts",
651
+ "line": 1,
652
+ "character": 1
653
+ },
654
+ "exports": [
655
+ {
656
+ "__schema": "VariableLikeSchema",
657
+ "location": {
658
+ "filePath": "community.aspect.ts",
659
+ "line": 3,
660
+ "character": 14
661
+ },
662
+ "signature": "const CommunityAspect: Aspect",
663
+ "name": "CommunityAspect",
664
+ "type": {
665
+ "__schema": "TypeRefSchema",
666
+ "location": {
667
+ "filePath": "community.aspect.ts",
668
+ "line": 3,
669
+ "character": 14
670
+ },
671
+ "name": "Aspect",
672
+ "componentId": {
673
+ "scope": "teambit.harmony",
674
+ "name": "harmony",
675
+ "version": "0.4.6"
676
+ }
677
+ },
678
+ "isOptional": false,
679
+ "defaultValue": "Aspect.create({\n id: 'teambit.community/community',\n})"
680
+ }
681
+ ],
682
+ "internals": []
683
+ }
684
+ ],
685
+ "componentId": {
686
+ "scope": "teambit.community",
687
+ "name": "community",
688
+ "version": "1.0.159"
689
+ },
690
+ "taggedModuleExports": []
691
+ }
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@teambit/community",
3
- "version": "1.0.158",
3
+ "version": "1.0.159",
4
4
  "homepage": "https://bit.cloud/teambit/community/community",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.community",
8
8
  "name": "community",
9
- "version": "1.0.158"
9
+ "version": "1.0.159"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.4.6",
13
- "@teambit/cli": "0.0.850",
14
- "@teambit/generator": "1.0.159"
13
+ "@teambit/cli": "0.0.851",
14
+ "@teambit/generator": "1.0.160"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/mocha": "9.1.0",
18
18
  "chai": "4.3.0",
19
- "@teambit/harmony.envs.core-aspect-env": "0.0.24"
19
+ "@teambit/harmony.envs.core-aspect-env": "0.0.25"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "@teambit/legacy": "1.0.624"