@teambit/community 1.0.510 → 1.0.512

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