@teambit/lanes.hooks.use-lanes 0.0.272 → 0.0.273

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/schema.json DELETED
@@ -1,3818 +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": 1,
21
- "character": 10
22
- },
23
- "name": "LanesContext",
24
- "exportNode": {
25
- "__schema": "VariableLikeSchema",
26
- "location": {
27
- "filePath": "lanes-context.ts",
28
- "line": 17,
29
- "character": 14
30
- },
31
- "signature": "const LanesContext: React.Context<LanesContextModel>",
32
- "name": "LanesContext",
33
- "type": {
34
- "__schema": "TypeRefSchema",
35
- "location": {
36
- "filePath": "lanes-context.ts",
37
- "line": 17,
38
- "character": 28
39
- },
40
- "name": "React.Context",
41
- "typeArgs": [
42
- {
43
- "__schema": "TypeUnionSchema",
44
- "location": {
45
- "filePath": "lanes-context.ts",
46
- "line": 17,
47
- "character": 42
48
- },
49
- "types": [
50
- {
51
- "__schema": "TypeRefSchema",
52
- "location": {
53
- "filePath": "lanes-context.ts",
54
- "line": 17,
55
- "character": 42
56
- },
57
- "name": "LanesContextModel"
58
- },
59
- {
60
- "__schema": "KeywordTypeSchema",
61
- "location": {
62
- "filePath": "lanes-context.ts",
63
- "line": 17,
64
- "character": 62
65
- },
66
- "name": "undefined"
67
- }
68
- ]
69
- }
70
- ]
71
- },
72
- "isOptional": false,
73
- "defaultValue": "createContext<LanesContextModel | undefined>(\n undefined\n)"
74
- }
75
- },
76
- {
77
- "__schema": "ExportSchema",
78
- "location": {
79
- "filePath": "index.ts",
80
- "line": 1,
81
- "character": 24
82
- },
83
- "name": "LanesContextModel",
84
- "exportNode": {
85
- "__schema": "TypeSchema",
86
- "location": {
87
- "filePath": "lanes-context.ts",
88
- "line": 6,
89
- "character": 1
90
- },
91
- "signature": "type LanesContextModel = {\n lanesModel?: LanesModel;\n updateViewedLane?: (viewedLaneId?: LaneId) => void;\n fetchMoreLanes?: FetchMoreLanes;\n hasMore?: boolean;\n loading?: boolean;\n options?: UseLanesOptions;\n offset?: number;\n limit?: number;\n}",
92
- "name": "LanesContextModel",
93
- "type": {
94
- "__schema": "TypeLiteralSchema",
95
- "location": {
96
- "filePath": "lanes-context.ts",
97
- "line": 6,
98
- "character": 33
99
- },
100
- "members": [
101
- {
102
- "__schema": "VariableLikeSchema",
103
- "location": {
104
- "filePath": "lanes-context.ts",
105
- "line": 7,
106
- "character": 3
107
- },
108
- "signature": "(property) lanesModel?: LanesModel",
109
- "name": "lanesModel",
110
- "type": {
111
- "__schema": "TypeRefSchema",
112
- "location": {
113
- "filePath": "lanes-context.ts",
114
- "line": 7,
115
- "character": 3
116
- },
117
- "name": "LanesModel",
118
- "componentId": {
119
- "scope": "teambit.lanes",
120
- "name": "ui/models/lanes-model",
121
- "version": "0.0.220"
122
- }
123
- },
124
- "isOptional": true
125
- },
126
- {
127
- "__schema": "VariableLikeSchema",
128
- "location": {
129
- "filePath": "lanes-context.ts",
130
- "line": 8,
131
- "character": 3
132
- },
133
- "signature": "(property) updateViewedLane?: (viewedLaneId?: LaneId) => void",
134
- "name": "updateViewedLane",
135
- "type": {
136
- "__schema": "FunctionLikeSchema",
137
- "location": {
138
- "filePath": "lanes-context.ts",
139
- "line": 8,
140
- "character": 22
141
- },
142
- "signature": "(viewedLaneId?: \u001b[2m(component: teambit.lanes/lane-id)\u001b[22m LaneId): void",
143
- "name": "",
144
- "params": [
145
- {
146
- "__schema": "ParameterSchema",
147
- "location": {
148
- "filePath": "lanes-context.ts",
149
- "line": 8,
150
- "character": 23
151
- },
152
- "name": "viewedLaneId",
153
- "type": {
154
- "__schema": "TypeRefSchema",
155
- "location": {
156
- "filePath": "lanes-context.ts",
157
- "line": 8,
158
- "character": 38
159
- },
160
- "name": "LaneId",
161
- "componentId": {
162
- "scope": "teambit.lanes",
163
- "name": "lane-id",
164
- "version": "0.0.311"
165
- }
166
- },
167
- "isOptional": true,
168
- "isSpread": false
169
- }
170
- ],
171
- "returnType": {
172
- "__schema": "KeywordTypeSchema",
173
- "location": {
174
- "filePath": "lanes-context.ts",
175
- "line": 8,
176
- "character": 49
177
- },
178
- "name": "void"
179
- },
180
- "modifiers": []
181
- },
182
- "isOptional": true
183
- },
184
- {
185
- "__schema": "VariableLikeSchema",
186
- "location": {
187
- "filePath": "lanes-context.ts",
188
- "line": 9,
189
- "character": 3
190
- },
191
- "signature": "(property) fetchMoreLanes?: FetchMoreLanes",
192
- "name": "fetchMoreLanes",
193
- "type": {
194
- "__schema": "TypeRefSchema",
195
- "location": {
196
- "filePath": "lanes-context.ts",
197
- "line": 9,
198
- "character": 3
199
- },
200
- "name": "FetchMoreLanes"
201
- },
202
- "isOptional": true
203
- },
204
- {
205
- "__schema": "VariableLikeSchema",
206
- "location": {
207
- "filePath": "lanes-context.ts",
208
- "line": 10,
209
- "character": 3
210
- },
211
- "signature": "(property) hasMore?: boolean",
212
- "name": "hasMore",
213
- "type": {
214
- "__schema": "KeywordTypeSchema",
215
- "location": {
216
- "filePath": "lanes-context.ts",
217
- "line": 10,
218
- "character": 13
219
- },
220
- "name": "boolean"
221
- },
222
- "isOptional": true
223
- },
224
- {
225
- "__schema": "VariableLikeSchema",
226
- "location": {
227
- "filePath": "lanes-context.ts",
228
- "line": 11,
229
- "character": 3
230
- },
231
- "signature": "(property) loading?: boolean",
232
- "name": "loading",
233
- "type": {
234
- "__schema": "KeywordTypeSchema",
235
- "location": {
236
- "filePath": "lanes-context.ts",
237
- "line": 11,
238
- "character": 13
239
- },
240
- "name": "boolean"
241
- },
242
- "isOptional": true
243
- },
244
- {
245
- "__schema": "VariableLikeSchema",
246
- "location": {
247
- "filePath": "lanes-context.ts",
248
- "line": 12,
249
- "character": 3
250
- },
251
- "signature": "(property) options?: UseLanesOptions",
252
- "name": "options",
253
- "type": {
254
- "__schema": "TypeRefSchema",
255
- "location": {
256
- "filePath": "lanes-context.ts",
257
- "line": 12,
258
- "character": 3
259
- },
260
- "name": "UseLanesOptions"
261
- },
262
- "isOptional": true
263
- },
264
- {
265
- "__schema": "VariableLikeSchema",
266
- "location": {
267
- "filePath": "lanes-context.ts",
268
- "line": 13,
269
- "character": 3
270
- },
271
- "signature": "(property) offset?: number",
272
- "name": "offset",
273
- "type": {
274
- "__schema": "KeywordTypeSchema",
275
- "location": {
276
- "filePath": "lanes-context.ts",
277
- "line": 13,
278
- "character": 12
279
- },
280
- "name": "number"
281
- },
282
- "isOptional": true
283
- },
284
- {
285
- "__schema": "VariableLikeSchema",
286
- "location": {
287
- "filePath": "lanes-context.ts",
288
- "line": 14,
289
- "character": 3
290
- },
291
- "signature": "(property) limit?: number",
292
- "name": "limit",
293
- "type": {
294
- "__schema": "KeywordTypeSchema",
295
- "location": {
296
- "filePath": "lanes-context.ts",
297
- "line": 14,
298
- "character": 11
299
- },
300
- "name": "number"
301
- },
302
- "isOptional": true
303
- }
304
- ]
305
- }
306
- }
307
- },
308
- {
309
- "__schema": "ExportSchema",
310
- "location": {
311
- "filePath": "index.ts",
312
- "line": 1,
313
- "character": 43
314
- },
315
- "name": "useLanesContext",
316
- "exportNode": {
317
- "__schema": "FunctionLikeSchema",
318
- "location": {
319
- "filePath": "lanes-context.ts",
320
- "line": 21,
321
- "character": 14
322
- },
323
- "signature": "function(): LanesContextModel",
324
- "name": "useLanesContext",
325
- "params": [],
326
- "returnType": {
327
- "__schema": "TypeUnionSchema",
328
- "location": {
329
- "filePath": "lanes-context.ts",
330
- "line": 21,
331
- "character": 37
332
- },
333
- "types": [
334
- {
335
- "__schema": "TypeRefSchema",
336
- "location": {
337
- "filePath": "lanes-context.ts",
338
- "line": 21,
339
- "character": 37
340
- },
341
- "name": "LanesContextModel"
342
- },
343
- {
344
- "__schema": "KeywordTypeSchema",
345
- "location": {
346
- "filePath": "lanes-context.ts",
347
- "line": 21,
348
- "character": 57
349
- },
350
- "name": "undefined"
351
- }
352
- ]
353
- },
354
- "modifiers": []
355
- }
356
- },
357
- {
358
- "__schema": "ExportSchema",
359
- "location": {
360
- "filePath": "index.ts",
361
- "line": 2,
362
- "character": 10
363
- },
364
- "name": "LanesProvider",
365
- "exportNode": {
366
- "__schema": "ReactSchema",
367
- "location": {
368
- "filePath": "lanes-provider.tsx",
369
- "line": 21,
370
- "character": 1
371
- },
372
- "signature": "function LanesProvider({ children, viewedLaneId: viewedIdFromProps, targetLanes, ignoreDerivingFromUrl: ignoreDerivingFromUrlFromProps, skipNetworkCall, options: optionsFromProps, useScope, }: LanesProviderProps): React.JSX.Element",
373
- "name": "LanesProvider",
374
- "props": {
375
- "__schema": "ParameterSchema",
376
- "location": {
377
- "filePath": "lanes-provider.tsx",
378
- "line": 21,
379
- "character": 31
380
- },
381
- "name": "{ children, viewedLaneId: viewedIdFromProps, targetLanes, ignoreDerivingFromUrl: ignoreDerivingFromUrlFromProps, skipNetworkCall, options: optionsFromProps = {}, useScope }",
382
- "type": {
383
- "__schema": "TypeRefSchema",
384
- "location": {
385
- "filePath": "lanes-provider.tsx",
386
- "line": 29,
387
- "character": 4
388
- },
389
- "name": "LanesProviderProps"
390
- },
391
- "isOptional": false,
392
- "objectBindingNodes": [
393
- {
394
- "__schema": "InferenceTypeSchema",
395
- "location": {
396
- "filePath": "lanes-provider.tsx",
397
- "line": 22,
398
- "character": 3
399
- },
400
- "name": "children",
401
- "type": "React.ReactNode",
402
- "isSpread": false
403
- },
404
- {
405
- "__schema": "InferenceTypeSchema",
406
- "location": {
407
- "filePath": "lanes-provider.tsx",
408
- "line": 23,
409
- "character": 17
410
- },
411
- "name": "viewedIdFromProps",
412
- "type": "LaneId",
413
- "isSpread": false
414
- },
415
- {
416
- "__schema": "InferenceTypeSchema",
417
- "location": {
418
- "filePath": "lanes-provider.tsx",
419
- "line": 24,
420
- "character": 3
421
- },
422
- "name": "targetLanes",
423
- "type": "LanesModel",
424
- "isSpread": false
425
- },
426
- {
427
- "__schema": "InferenceTypeSchema",
428
- "location": {
429
- "filePath": "lanes-provider.tsx",
430
- "line": 25,
431
- "character": 26
432
- },
433
- "name": "ignoreDerivingFromUrlFromProps",
434
- "type": "IgnoreDerivingFromUrl[]",
435
- "isSpread": false
436
- },
437
- {
438
- "__schema": "InferenceTypeSchema",
439
- "location": {
440
- "filePath": "lanes-provider.tsx",
441
- "line": 26,
442
- "character": 3
443
- },
444
- "name": "skipNetworkCall",
445
- "type": "boolean",
446
- "isSpread": false
447
- },
448
- {
449
- "__schema": "InferenceTypeSchema",
450
- "location": {
451
- "filePath": "lanes-provider.tsx",
452
- "line": 27,
453
- "character": 12
454
- },
455
- "name": "optionsFromProps",
456
- "type": "UseLaneOptions",
457
- "defaultValue": "{}",
458
- "isSpread": false
459
- },
460
- {
461
- "__schema": "InferenceTypeSchema",
462
- "location": {
463
- "filePath": "lanes-provider.tsx",
464
- "line": 28,
465
- "character": 3
466
- },
467
- "name": "useScope",
468
- "type": "() => {\n scope?: string;\n}",
469
- "isSpread": false
470
- }
471
- ],
472
- "isSpread": false
473
- },
474
- "returnType": {
475
- "__schema": "TypeRefSchema",
476
- "location": {
477
- "filePath": "lanes-provider.tsx",
478
- "line": 21,
479
- "character": 1
480
- },
481
- "name": "React.JSX.Element",
482
- "packageName": "react"
483
- },
484
- "modifiers": [
485
- "export"
486
- ]
487
- }
488
- },
489
- {
490
- "__schema": "ExportSchema",
491
- "location": {
492
- "filePath": "index.ts",
493
- "line": 2,
494
- "character": 25
495
- },
496
- "name": "LanesProviderProps",
497
- "exportNode": {
498
- "__schema": "TypeSchema",
499
- "location": {
500
- "filePath": "lanes-provider.tsx",
501
- "line": 11,
502
- "character": 1
503
- },
504
- "signature": "type LanesProviderProps = {\n children: ReactNode;\n viewedLaneId?: LaneId;\n targetLanes?: LanesModel;\n skipNetworkCall?: boolean;\n ignoreDerivingFromUrl?: IgnoreDerivingFromUrl[];\n options?: UseLaneOptions;\n useScope?: () => {\n scope?: string;\n };\n}",
505
- "name": "LanesProviderProps",
506
- "type": {
507
- "__schema": "TypeLiteralSchema",
508
- "location": {
509
- "filePath": "lanes-provider.tsx",
510
- "line": 11,
511
- "character": 34
512
- },
513
- "members": [
514
- {
515
- "__schema": "VariableLikeSchema",
516
- "location": {
517
- "filePath": "lanes-provider.tsx",
518
- "line": 12,
519
- "character": 3
520
- },
521
- "signature": "(property) children: React.ReactNode",
522
- "name": "children",
523
- "type": {
524
- "__schema": "TypeRefSchema",
525
- "location": {
526
- "filePath": "lanes-provider.tsx",
527
- "line": 12,
528
- "character": 13
529
- },
530
- "name": "ReactNode",
531
- "packageName": "react"
532
- },
533
- "isOptional": false
534
- },
535
- {
536
- "__schema": "VariableLikeSchema",
537
- "location": {
538
- "filePath": "lanes-provider.tsx",
539
- "line": 13,
540
- "character": 3
541
- },
542
- "signature": "(property) viewedLaneId?: LaneId",
543
- "name": "viewedLaneId",
544
- "type": {
545
- "__schema": "TypeRefSchema",
546
- "location": {
547
- "filePath": "lanes-provider.tsx",
548
- "line": 13,
549
- "character": 3
550
- },
551
- "name": "LaneId",
552
- "componentId": {
553
- "scope": "teambit.lanes",
554
- "name": "lane-id",
555
- "version": "0.0.311"
556
- }
557
- },
558
- "isOptional": true
559
- },
560
- {
561
- "__schema": "VariableLikeSchema",
562
- "location": {
563
- "filePath": "lanes-provider.tsx",
564
- "line": 14,
565
- "character": 3
566
- },
567
- "signature": "(property) targetLanes?: LanesModel",
568
- "name": "targetLanes",
569
- "type": {
570
- "__schema": "TypeRefSchema",
571
- "location": {
572
- "filePath": "lanes-provider.tsx",
573
- "line": 14,
574
- "character": 3
575
- },
576
- "name": "LanesModel",
577
- "componentId": {
578
- "scope": "teambit.lanes",
579
- "name": "ui/models/lanes-model",
580
- "version": "0.0.220"
581
- }
582
- },
583
- "isOptional": true
584
- },
585
- {
586
- "__schema": "VariableLikeSchema",
587
- "location": {
588
- "filePath": "lanes-provider.tsx",
589
- "line": 15,
590
- "character": 3
591
- },
592
- "signature": "(property) skipNetworkCall?: boolean",
593
- "name": "skipNetworkCall",
594
- "type": {
595
- "__schema": "KeywordTypeSchema",
596
- "location": {
597
- "filePath": "lanes-provider.tsx",
598
- "line": 15,
599
- "character": 21
600
- },
601
- "name": "boolean"
602
- },
603
- "isOptional": true
604
- },
605
- {
606
- "__schema": "VariableLikeSchema",
607
- "location": {
608
- "filePath": "lanes-provider.tsx",
609
- "line": 16,
610
- "character": 3
611
- },
612
- "signature": "(property) ignoreDerivingFromUrl?: IgnoreDerivingFromUrl[]",
613
- "name": "ignoreDerivingFromUrl",
614
- "type": {
615
- "__schema": "TypeArraySchema",
616
- "location": {
617
- "filePath": "lanes-provider.tsx",
618
- "line": 16,
619
- "character": 27
620
- },
621
- "type": {
622
- "__schema": "TypeRefSchema",
623
- "location": {
624
- "filePath": "lanes-provider.tsx",
625
- "line": 16,
626
- "character": 27
627
- },
628
- "name": "IgnoreDerivingFromUrl"
629
- }
630
- },
631
- "isOptional": true
632
- },
633
- {
634
- "__schema": "VariableLikeSchema",
635
- "location": {
636
- "filePath": "lanes-provider.tsx",
637
- "line": 17,
638
- "character": 3
639
- },
640
- "signature": "(property) options?: UseLaneOptions",
641
- "name": "options",
642
- "type": {
643
- "__schema": "TypeRefSchema",
644
- "location": {
645
- "filePath": "lanes-provider.tsx",
646
- "line": 17,
647
- "character": 13
648
- },
649
- "name": "UseLanesOptions"
650
- },
651
- "isOptional": true
652
- },
653
- {
654
- "__schema": "VariableLikeSchema",
655
- "location": {
656
- "filePath": "lanes-provider.tsx",
657
- "line": 18,
658
- "character": 3
659
- },
660
- "signature": "(property) useScope?: () => {\n scope?: string;\n}",
661
- "name": "useScope",
662
- "type": {
663
- "__schema": "FunctionLikeSchema",
664
- "location": {
665
- "filePath": "lanes-provider.tsx",
666
- "line": 18,
667
- "character": 14
668
- },
669
- "signature": "(): { \u001b[1mscope\u001b[22m?: string }",
670
- "name": "",
671
- "params": [],
672
- "returnType": {
673
- "__schema": "TypeLiteralSchema",
674
- "location": {
675
- "filePath": "lanes-provider.tsx",
676
- "line": 18,
677
- "character": 20
678
- },
679
- "members": [
680
- {
681
- "__schema": "VariableLikeSchema",
682
- "location": {
683
- "filePath": "lanes-provider.tsx",
684
- "line": 18,
685
- "character": 22
686
- },
687
- "signature": "(property) scope?: string",
688
- "name": "scope",
689
- "type": {
690
- "__schema": "KeywordTypeSchema",
691
- "location": {
692
- "filePath": "lanes-provider.tsx",
693
- "line": 18,
694
- "character": 30
695
- },
696
- "name": "string"
697
- },
698
- "isOptional": true
699
- }
700
- ]
701
- },
702
- "modifiers": []
703
- },
704
- "isOptional": true
705
- }
706
- ]
707
- }
708
- }
709
- },
710
- {
711
- "__schema": "ExportSchema",
712
- "location": {
713
- "filePath": "index.ts",
714
- "line": 2,
715
- "character": 45
716
- },
717
- "name": "IgnoreDerivingFromUrl",
718
- "exportNode": {
719
- "__schema": "TypeSchema",
720
- "location": {
721
- "filePath": "lanes-provider.tsx",
722
- "line": 9,
723
- "character": 1
724
- },
725
- "signature": "type IgnoreDerivingFromUrl = (location?: Location) => boolean",
726
- "name": "IgnoreDerivingFromUrl",
727
- "type": {
728
- "__schema": "FunctionLikeSchema",
729
- "location": {
730
- "filePath": "lanes-provider.tsx",
731
- "line": 9,
732
- "character": 37
733
- },
734
- "signature": "(location?: \u001b[2m(component: teambit.base-react/navigation/link)\u001b[22m Location): boolean",
735
- "name": "",
736
- "params": [
737
- {
738
- "__schema": "ParameterSchema",
739
- "location": {
740
- "filePath": "lanes-provider.tsx",
741
- "line": 9,
742
- "character": 38
743
- },
744
- "name": "location",
745
- "type": {
746
- "__schema": "TypeRefSchema",
747
- "location": {
748
- "filePath": "lanes-provider.tsx",
749
- "line": 9,
750
- "character": 49
751
- },
752
- "name": "Location",
753
- "componentId": {
754
- "scope": "teambit.base-react",
755
- "name": "navigation/link",
756
- "version": "2.0.27"
757
- }
758
- },
759
- "isOptional": true,
760
- "isSpread": false
761
- }
762
- ],
763
- "returnType": {
764
- "__schema": "KeywordTypeSchema",
765
- "location": {
766
- "filePath": "lanes-provider.tsx",
767
- "line": 9,
768
- "character": 62
769
- },
770
- "name": "boolean"
771
- },
772
- "modifiers": []
773
- }
774
- }
775
- },
776
- {
777
- "__schema": "ExportSchema",
778
- "location": {
779
- "filePath": "index.ts",
780
- "line": 3,
781
- "character": 10
782
- },
783
- "name": "useLanes",
784
- "exportNode": {
785
- "__schema": "FunctionLikeSchema",
786
- "location": {
787
- "filePath": "use-lanes.tsx",
788
- "line": 283,
789
- "character": 14
790
- },
791
- "signature": "function(targetLanes: LanesModel, skip: boolean, optionsFromProps: UseLanesOptions, useContextFromProps: boolean, scope: string): {\n searchResult: SearchLanesResult;\n ... 7 more ...;\n limit?: number;\n}",
792
- "name": "useLanes",
793
- "params": [
794
- {
795
- "__schema": "ParameterSchema",
796
- "location": {
797
- "filePath": "use-lanes.tsx",
798
- "line": 283,
799
- "character": 14
800
- },
801
- "name": "targetLanes",
802
- "type": {
803
- "__schema": "TypeRefSchema",
804
- "location": {
805
- "filePath": "use-lanes.tsx",
806
- "line": 283,
807
- "character": 24
808
- },
809
- "name": "UseLanes"
810
- },
811
- "isOptional": false,
812
- "isSpread": false
813
- },
814
- {
815
- "__schema": "ParameterSchema",
816
- "location": {
817
- "filePath": "use-lanes.tsx",
818
- "line": 283,
819
- "character": 14
820
- },
821
- "name": "skip",
822
- "type": {
823
- "__schema": "TypeRefSchema",
824
- "location": {
825
- "filePath": "use-lanes.tsx",
826
- "line": 283,
827
- "character": 24
828
- },
829
- "name": "UseLanes"
830
- },
831
- "isOptional": false,
832
- "isSpread": false
833
- },
834
- {
835
- "__schema": "ParameterSchema",
836
- "location": {
837
- "filePath": "use-lanes.tsx",
838
- "line": 283,
839
- "character": 14
840
- },
841
- "name": "optionsFromProps",
842
- "type": {
843
- "__schema": "TypeRefSchema",
844
- "location": {
845
- "filePath": "use-lanes.tsx",
846
- "line": 283,
847
- "character": 24
848
- },
849
- "name": "UseLanes"
850
- },
851
- "isOptional": false,
852
- "isSpread": false
853
- },
854
- {
855
- "__schema": "ParameterSchema",
856
- "location": {
857
- "filePath": "use-lanes.tsx",
858
- "line": 283,
859
- "character": 14
860
- },
861
- "name": "useContextFromProps",
862
- "type": {
863
- "__schema": "TypeRefSchema",
864
- "location": {
865
- "filePath": "use-lanes.tsx",
866
- "line": 283,
867
- "character": 24
868
- },
869
- "name": "UseLanes"
870
- },
871
- "isOptional": false,
872
- "defaultValue": "true",
873
- "isSpread": false
874
- },
875
- {
876
- "__schema": "ParameterSchema",
877
- "location": {
878
- "filePath": "use-lanes.tsx",
879
- "line": 283,
880
- "character": 14
881
- },
882
- "name": "scope",
883
- "type": {
884
- "__schema": "TypeRefSchema",
885
- "location": {
886
- "filePath": "use-lanes.tsx",
887
- "line": 283,
888
- "character": 24
889
- },
890
- "name": "UseLanes"
891
- },
892
- "isOptional": false,
893
- "isSpread": false
894
- }
895
- ],
896
- "returnType": {
897
- "__schema": "InferenceTypeSchema",
898
- "location": {
899
- "filePath": "use-lanes.tsx",
900
- "line": 283,
901
- "character": 35
902
- },
903
- "type": "{\n searchResult: SearchLanesResult;\n ... 7 more ...;\n limit?: number;\n}"
904
- },
905
- "modifiers": []
906
- }
907
- },
908
- {
909
- "__schema": "ExportSchema",
910
- "location": {
911
- "filePath": "index.ts",
912
- "line": 5,
913
- "character": 22
914
- },
915
- "name": "UseLanesOptions",
916
- "exportNode": {
917
- "__schema": "TypeSchema",
918
- "location": {
919
- "filePath": "use-lanes.tsx",
920
- "line": 117,
921
- "character": 1
922
- },
923
- "signature": "type UseLanesOptions = {\n ids?: string[];\n offset?: number;\n limit?: number;\n sort?: LaneSort;\n search?: string;\n}",
924
- "name": "UseLanesOptions",
925
- "type": {
926
- "__schema": "TypeLiteralSchema",
927
- "location": {
928
- "filePath": "use-lanes.tsx",
929
- "line": 117,
930
- "character": 31
931
- },
932
- "members": [
933
- {
934
- "__schema": "VariableLikeSchema",
935
- "location": {
936
- "filePath": "use-lanes.tsx",
937
- "line": 118,
938
- "character": 3
939
- },
940
- "signature": "(property) ids?: string[]",
941
- "name": "ids",
942
- "type": {
943
- "__schema": "TypeArraySchema",
944
- "location": {
945
- "filePath": "use-lanes.tsx",
946
- "line": 118,
947
- "character": 9
948
- },
949
- "type": {
950
- "__schema": "KeywordTypeSchema",
951
- "location": {
952
- "filePath": "use-lanes.tsx",
953
- "line": 118,
954
- "character": 9
955
- },
956
- "name": "string"
957
- }
958
- },
959
- "isOptional": true
960
- },
961
- {
962
- "__schema": "VariableLikeSchema",
963
- "location": {
964
- "filePath": "use-lanes.tsx",
965
- "line": 119,
966
- "character": 3
967
- },
968
- "signature": "(property) offset?: number",
969
- "name": "offset",
970
- "type": {
971
- "__schema": "KeywordTypeSchema",
972
- "location": {
973
- "filePath": "use-lanes.tsx",
974
- "line": 119,
975
- "character": 12
976
- },
977
- "name": "number"
978
- },
979
- "isOptional": true
980
- },
981
- {
982
- "__schema": "VariableLikeSchema",
983
- "location": {
984
- "filePath": "use-lanes.tsx",
985
- "line": 120,
986
- "character": 3
987
- },
988
- "signature": "(property) limit?: number",
989
- "name": "limit",
990
- "type": {
991
- "__schema": "KeywordTypeSchema",
992
- "location": {
993
- "filePath": "use-lanes.tsx",
994
- "line": 120,
995
- "character": 11
996
- },
997
- "name": "number"
998
- },
999
- "isOptional": true
1000
- },
1001
- {
1002
- "__schema": "VariableLikeSchema",
1003
- "location": {
1004
- "filePath": "use-lanes.tsx",
1005
- "line": 121,
1006
- "character": 3
1007
- },
1008
- "signature": "(property) sort?: LaneSort",
1009
- "name": "sort",
1010
- "type": {
1011
- "__schema": "TypeRefSchema",
1012
- "location": {
1013
- "filePath": "use-lanes.tsx",
1014
- "line": 121,
1015
- "character": 3
1016
- },
1017
- "name": "LaneSort",
1018
- "internalFilePath": "use-lanes.tsx"
1019
- },
1020
- "isOptional": true
1021
- },
1022
- {
1023
- "__schema": "VariableLikeSchema",
1024
- "location": {
1025
- "filePath": "use-lanes.tsx",
1026
- "line": 122,
1027
- "character": 3
1028
- },
1029
- "signature": "(property) search?: string",
1030
- "name": "search",
1031
- "type": {
1032
- "__schema": "KeywordTypeSchema",
1033
- "location": {
1034
- "filePath": "use-lanes.tsx",
1035
- "line": 122,
1036
- "character": 12
1037
- },
1038
- "name": "string"
1039
- },
1040
- "isOptional": true
1041
- }
1042
- ]
1043
- }
1044
- },
1045
- "alias": "UseLaneOptions"
1046
- },
1047
- {
1048
- "__schema": "ExportSchema",
1049
- "location": {
1050
- "filePath": "index.ts",
1051
- "line": 6,
1052
- "character": 3
1053
- },
1054
- "name": "UseLanes",
1055
- "exportNode": {
1056
- "__schema": "TypeSchema",
1057
- "location": {
1058
- "filePath": "use-lanes.tsx",
1059
- "line": 155,
1060
- "character": 1
1061
- },
1062
- "signature": "type UseLanes = (targetLanes?: LanesModel, skip?: boolean, options?: UseLanesOptions, useContext?: boolean, scope?: string) => UseLanesResult",
1063
- "name": "UseLanes",
1064
- "type": {
1065
- "__schema": "FunctionLikeSchema",
1066
- "location": {
1067
- "filePath": "use-lanes.tsx",
1068
- "line": 155,
1069
- "character": 24
1070
- },
1071
- "signature": "(targetLanes?: \u001b[2m(component: teambit.lanes/ui/models/lanes-model)\u001b[22m LanesModel, skip?: boolean, options?: UseLanesOptions, useContext?: boolean, scope?: string): UseLanesResult",
1072
- "name": "",
1073
- "params": [
1074
- {
1075
- "__schema": "ParameterSchema",
1076
- "location": {
1077
- "filePath": "use-lanes.tsx",
1078
- "line": 156,
1079
- "character": 3
1080
- },
1081
- "name": "targetLanes",
1082
- "type": {
1083
- "__schema": "TypeRefSchema",
1084
- "location": {
1085
- "filePath": "use-lanes.tsx",
1086
- "line": 156,
1087
- "character": 17
1088
- },
1089
- "name": "LanesModel",
1090
- "componentId": {
1091
- "scope": "teambit.lanes",
1092
- "name": "ui/models/lanes-model",
1093
- "version": "0.0.220"
1094
- }
1095
- },
1096
- "isOptional": true,
1097
- "isSpread": false
1098
- },
1099
- {
1100
- "__schema": "ParameterSchema",
1101
- "location": {
1102
- "filePath": "use-lanes.tsx",
1103
- "line": 157,
1104
- "character": 3
1105
- },
1106
- "name": "skip",
1107
- "type": {
1108
- "__schema": "KeywordTypeSchema",
1109
- "location": {
1110
- "filePath": "use-lanes.tsx",
1111
- "line": 157,
1112
- "character": 10
1113
- },
1114
- "name": "boolean"
1115
- },
1116
- "isOptional": true,
1117
- "isSpread": false
1118
- },
1119
- {
1120
- "__schema": "ParameterSchema",
1121
- "location": {
1122
- "filePath": "use-lanes.tsx",
1123
- "line": 158,
1124
- "character": 3
1125
- },
1126
- "name": "options",
1127
- "type": {
1128
- "__schema": "TypeRefSchema",
1129
- "location": {
1130
- "filePath": "use-lanes.tsx",
1131
- "line": 158,
1132
- "character": 13
1133
- },
1134
- "name": "UseLanesOptions"
1135
- },
1136
- "isOptional": true,
1137
- "isSpread": false
1138
- },
1139
- {
1140
- "__schema": "ParameterSchema",
1141
- "location": {
1142
- "filePath": "use-lanes.tsx",
1143
- "line": 159,
1144
- "character": 3
1145
- },
1146
- "name": "useContext",
1147
- "type": {
1148
- "__schema": "KeywordTypeSchema",
1149
- "location": {
1150
- "filePath": "use-lanes.tsx",
1151
- "line": 159,
1152
- "character": 16
1153
- },
1154
- "name": "boolean"
1155
- },
1156
- "isOptional": true,
1157
- "isSpread": false
1158
- },
1159
- {
1160
- "__schema": "ParameterSchema",
1161
- "location": {
1162
- "filePath": "use-lanes.tsx",
1163
- "line": 160,
1164
- "character": 3
1165
- },
1166
- "name": "scope",
1167
- "type": {
1168
- "__schema": "KeywordTypeSchema",
1169
- "location": {
1170
- "filePath": "use-lanes.tsx",
1171
- "line": 160,
1172
- "character": 11
1173
- },
1174
- "name": "string"
1175
- },
1176
- "isOptional": true,
1177
- "isSpread": false
1178
- }
1179
- ],
1180
- "returnType": {
1181
- "__schema": "TypeRefSchema",
1182
- "location": {
1183
- "filePath": "use-lanes.tsx",
1184
- "line": 161,
1185
- "character": 6
1186
- },
1187
- "name": "UseLanesResult"
1188
- },
1189
- "modifiers": []
1190
- }
1191
- }
1192
- },
1193
- {
1194
- "__schema": "ExportSchema",
1195
- "location": {
1196
- "filePath": "index.ts",
1197
- "line": 7,
1198
- "character": 3
1199
- },
1200
- "name": "UseLanesResult",
1201
- "exportNode": {
1202
- "__schema": "TypeSchema",
1203
- "location": {
1204
- "filePath": "use-lanes.tsx",
1205
- "line": 142,
1206
- "character": 1
1207
- },
1208
- "signature": "type UseLanesResult = UseRootLanesResult & {\n searchResult?: SearchLanesResult;\n}",
1209
- "name": "UseLanesResult",
1210
- "type": {
1211
- "__schema": "TypeIntersectionSchema",
1212
- "location": {
1213
- "filePath": "use-lanes.tsx",
1214
- "line": 142,
1215
- "character": 30
1216
- },
1217
- "types": [
1218
- {
1219
- "__schema": "TypeRefSchema",
1220
- "location": {
1221
- "filePath": "use-lanes.tsx",
1222
- "line": 142,
1223
- "character": 30
1224
- },
1225
- "name": "UseRootLanesResult",
1226
- "internalFilePath": "use-lanes.tsx"
1227
- },
1228
- {
1229
- "__schema": "TypeLiteralSchema",
1230
- "location": {
1231
- "filePath": "use-lanes.tsx",
1232
- "line": 142,
1233
- "character": 51
1234
- },
1235
- "members": [
1236
- {
1237
- "__schema": "VariableLikeSchema",
1238
- "location": {
1239
- "filePath": "use-lanes.tsx",
1240
- "line": 143,
1241
- "character": 3
1242
- },
1243
- "signature": "(property) searchResult?: SearchLanesResult",
1244
- "name": "searchResult",
1245
- "type": {
1246
- "__schema": "TypeRefSchema",
1247
- "location": {
1248
- "filePath": "use-lanes.tsx",
1249
- "line": 143,
1250
- "character": 3
1251
- },
1252
- "name": "SearchLanesResult"
1253
- },
1254
- "isOptional": true
1255
- }
1256
- ]
1257
- }
1258
- ]
1259
- }
1260
- }
1261
- },
1262
- {
1263
- "__schema": "ExportSchema",
1264
- "location": {
1265
- "filePath": "index.ts",
1266
- "line": 8,
1267
- "character": 3
1268
- },
1269
- "name": "FetchMoreLanes",
1270
- "exportNode": {
1271
- "__schema": "TypeSchema",
1272
- "location": {
1273
- "filePath": "use-lanes.tsx",
1274
- "line": 138,
1275
- "character": 1
1276
- },
1277
- "signature": "type FetchMoreLanes = (offset: number, limit: number, sort?: LaneSort) => Promise<FetchMoreLanesResult>",
1278
- "name": "FetchMoreLanes",
1279
- "type": {
1280
- "__schema": "FunctionLikeSchema",
1281
- "location": {
1282
- "filePath": "use-lanes.tsx",
1283
- "line": 138,
1284
- "character": 30
1285
- },
1286
- "signature": "(offset: number, limit: number, sort?: LaneSort): Promise<FetchMoreLanesResult>",
1287
- "name": "",
1288
- "params": [
1289
- {
1290
- "__schema": "ParameterSchema",
1291
- "location": {
1292
- "filePath": "use-lanes.tsx",
1293
- "line": 138,
1294
- "character": 31
1295
- },
1296
- "name": "offset",
1297
- "type": {
1298
- "__schema": "KeywordTypeSchema",
1299
- "location": {
1300
- "filePath": "use-lanes.tsx",
1301
- "line": 138,
1302
- "character": 39
1303
- },
1304
- "name": "number"
1305
- },
1306
- "isOptional": false,
1307
- "isSpread": false
1308
- },
1309
- {
1310
- "__schema": "ParameterSchema",
1311
- "location": {
1312
- "filePath": "use-lanes.tsx",
1313
- "line": 138,
1314
- "character": 47
1315
- },
1316
- "name": "limit",
1317
- "type": {
1318
- "__schema": "KeywordTypeSchema",
1319
- "location": {
1320
- "filePath": "use-lanes.tsx",
1321
- "line": 138,
1322
- "character": 54
1323
- },
1324
- "name": "number"
1325
- },
1326
- "isOptional": false,
1327
- "isSpread": false
1328
- },
1329
- {
1330
- "__schema": "ParameterSchema",
1331
- "location": {
1332
- "filePath": "use-lanes.tsx",
1333
- "line": 138,
1334
- "character": 62
1335
- },
1336
- "name": "sort",
1337
- "type": {
1338
- "__schema": "TypeRefSchema",
1339
- "location": {
1340
- "filePath": "use-lanes.tsx",
1341
- "line": 138,
1342
- "character": 69
1343
- },
1344
- "name": "LaneSort",
1345
- "internalFilePath": "use-lanes.tsx"
1346
- },
1347
- "isOptional": true,
1348
- "isSpread": false
1349
- }
1350
- ],
1351
- "returnType": {
1352
- "__schema": "TypeRefSchema",
1353
- "location": {
1354
- "filePath": "use-lanes.tsx",
1355
- "line": 138,
1356
- "character": 82
1357
- },
1358
- "name": "Promise",
1359
- "typeArgs": [
1360
- {
1361
- "__schema": "TypeRefSchema",
1362
- "location": {
1363
- "filePath": "use-lanes.tsx",
1364
- "line": 138,
1365
- "character": 90
1366
- },
1367
- "name": "FetchMoreLanesResult"
1368
- }
1369
- ]
1370
- },
1371
- "modifiers": []
1372
- }
1373
- }
1374
- },
1375
- {
1376
- "__schema": "ExportSchema",
1377
- "location": {
1378
- "filePath": "index.ts",
1379
- "line": 9,
1380
- "character": 3
1381
- },
1382
- "name": "FetchMoreLanesResult",
1383
- "exportNode": {
1384
- "__schema": "TypeSchema",
1385
- "location": {
1386
- "filePath": "use-lanes.tsx",
1387
- "line": 125,
1388
- "character": 1
1389
- },
1390
- "signature": "type FetchMoreLanesResult = {\n lanesModel?: LanesModel;\n loading?: boolean;\n hasMore?: boolean;\n nextOffset?: number;\n currentLimit?: number;\n}",
1391
- "name": "FetchMoreLanesResult",
1392
- "type": {
1393
- "__schema": "TypeLiteralSchema",
1394
- "location": {
1395
- "filePath": "use-lanes.tsx",
1396
- "line": 125,
1397
- "character": 36
1398
- },
1399
- "members": [
1400
- {
1401
- "__schema": "VariableLikeSchema",
1402
- "location": {
1403
- "filePath": "use-lanes.tsx",
1404
- "line": 126,
1405
- "character": 3
1406
- },
1407
- "signature": "(property) lanesModel?: LanesModel",
1408
- "name": "lanesModel",
1409
- "type": {
1410
- "__schema": "TypeRefSchema",
1411
- "location": {
1412
- "filePath": "use-lanes.tsx",
1413
- "line": 126,
1414
- "character": 3
1415
- },
1416
- "name": "LanesModel",
1417
- "componentId": {
1418
- "scope": "teambit.lanes",
1419
- "name": "ui/models/lanes-model",
1420
- "version": "0.0.220"
1421
- }
1422
- },
1423
- "isOptional": true
1424
- },
1425
- {
1426
- "__schema": "VariableLikeSchema",
1427
- "location": {
1428
- "filePath": "use-lanes.tsx",
1429
- "line": 127,
1430
- "character": 3
1431
- },
1432
- "signature": "(property) loading?: boolean",
1433
- "name": "loading",
1434
- "type": {
1435
- "__schema": "KeywordTypeSchema",
1436
- "location": {
1437
- "filePath": "use-lanes.tsx",
1438
- "line": 127,
1439
- "character": 13
1440
- },
1441
- "name": "boolean"
1442
- },
1443
- "isOptional": true
1444
- },
1445
- {
1446
- "__schema": "VariableLikeSchema",
1447
- "location": {
1448
- "filePath": "use-lanes.tsx",
1449
- "line": 128,
1450
- "character": 3
1451
- },
1452
- "signature": "(property) hasMore?: boolean",
1453
- "name": "hasMore",
1454
- "type": {
1455
- "__schema": "KeywordTypeSchema",
1456
- "location": {
1457
- "filePath": "use-lanes.tsx",
1458
- "line": 128,
1459
- "character": 13
1460
- },
1461
- "name": "boolean"
1462
- },
1463
- "isOptional": true
1464
- },
1465
- {
1466
- "__schema": "VariableLikeSchema",
1467
- "location": {
1468
- "filePath": "use-lanes.tsx",
1469
- "line": 129,
1470
- "character": 3
1471
- },
1472
- "signature": "(property) nextOffset?: number",
1473
- "name": "nextOffset",
1474
- "type": {
1475
- "__schema": "KeywordTypeSchema",
1476
- "location": {
1477
- "filePath": "use-lanes.tsx",
1478
- "line": 129,
1479
- "character": 16
1480
- },
1481
- "name": "number"
1482
- },
1483
- "isOptional": true
1484
- },
1485
- {
1486
- "__schema": "VariableLikeSchema",
1487
- "location": {
1488
- "filePath": "use-lanes.tsx",
1489
- "line": 130,
1490
- "character": 3
1491
- },
1492
- "signature": "(property) currentLimit?: number",
1493
- "name": "currentLimit",
1494
- "type": {
1495
- "__schema": "KeywordTypeSchema",
1496
- "location": {
1497
- "filePath": "use-lanes.tsx",
1498
- "line": 130,
1499
- "character": 18
1500
- },
1501
- "name": "number"
1502
- },
1503
- "isOptional": true
1504
- }
1505
- ]
1506
- }
1507
- }
1508
- },
1509
- {
1510
- "__schema": "ExportSchema",
1511
- "location": {
1512
- "filePath": "index.ts",
1513
- "line": 10,
1514
- "character": 3
1515
- },
1516
- "name": "SearchLanes",
1517
- "exportNode": {
1518
- "__schema": "TypeSchema",
1519
- "location": {
1520
- "filePath": "use-lanes.tsx",
1521
- "line": 140,
1522
- "character": 1
1523
- },
1524
- "signature": "type SearchLanes = (search?: string, skip?: boolean) => SearchLanesResult",
1525
- "name": "SearchLanes",
1526
- "type": {
1527
- "__schema": "FunctionLikeSchema",
1528
- "location": {
1529
- "filePath": "use-lanes.tsx",
1530
- "line": 140,
1531
- "character": 27
1532
- },
1533
- "signature": "(search?: string, skip?: boolean): SearchLanesResult",
1534
- "name": "",
1535
- "params": [
1536
- {
1537
- "__schema": "ParameterSchema",
1538
- "location": {
1539
- "filePath": "use-lanes.tsx",
1540
- "line": 140,
1541
- "character": 28
1542
- },
1543
- "name": "search",
1544
- "type": {
1545
- "__schema": "KeywordTypeSchema",
1546
- "location": {
1547
- "filePath": "use-lanes.tsx",
1548
- "line": 140,
1549
- "character": 37
1550
- },
1551
- "name": "string"
1552
- },
1553
- "isOptional": true,
1554
- "isSpread": false
1555
- },
1556
- {
1557
- "__schema": "ParameterSchema",
1558
- "location": {
1559
- "filePath": "use-lanes.tsx",
1560
- "line": 140,
1561
- "character": 45
1562
- },
1563
- "name": "skip",
1564
- "type": {
1565
- "__schema": "KeywordTypeSchema",
1566
- "location": {
1567
- "filePath": "use-lanes.tsx",
1568
- "line": 140,
1569
- "character": 52
1570
- },
1571
- "name": "boolean"
1572
- },
1573
- "isOptional": true,
1574
- "isSpread": false
1575
- }
1576
- ],
1577
- "returnType": {
1578
- "__schema": "TypeRefSchema",
1579
- "location": {
1580
- "filePath": "use-lanes.tsx",
1581
- "line": 140,
1582
- "character": 64
1583
- },
1584
- "name": "SearchLanesResult"
1585
- },
1586
- "modifiers": []
1587
- }
1588
- }
1589
- },
1590
- {
1591
- "__schema": "ExportSchema",
1592
- "location": {
1593
- "filePath": "index.ts",
1594
- "line": 11,
1595
- "character": 3
1596
- },
1597
- "name": "SearchLanesResult",
1598
- "exportNode": {
1599
- "__schema": "TypeSchema",
1600
- "location": {
1601
- "filePath": "use-lanes.tsx",
1602
- "line": 133,
1603
- "character": 1
1604
- },
1605
- "signature": "type SearchLanesResult = {\n lanesModel?: LanesModel;\n loading?: boolean;\n}",
1606
- "name": "SearchLanesResult",
1607
- "type": {
1608
- "__schema": "TypeLiteralSchema",
1609
- "location": {
1610
- "filePath": "use-lanes.tsx",
1611
- "line": 133,
1612
- "character": 33
1613
- },
1614
- "members": [
1615
- {
1616
- "__schema": "VariableLikeSchema",
1617
- "location": {
1618
- "filePath": "use-lanes.tsx",
1619
- "line": 134,
1620
- "character": 3
1621
- },
1622
- "signature": "(property) lanesModel?: LanesModel",
1623
- "name": "lanesModel",
1624
- "type": {
1625
- "__schema": "TypeRefSchema",
1626
- "location": {
1627
- "filePath": "use-lanes.tsx",
1628
- "line": 134,
1629
- "character": 3
1630
- },
1631
- "name": "LanesModel",
1632
- "componentId": {
1633
- "scope": "teambit.lanes",
1634
- "name": "ui/models/lanes-model",
1635
- "version": "0.0.220"
1636
- }
1637
- },
1638
- "isOptional": true
1639
- },
1640
- {
1641
- "__schema": "VariableLikeSchema",
1642
- "location": {
1643
- "filePath": "use-lanes.tsx",
1644
- "line": 135,
1645
- "character": 3
1646
- },
1647
- "signature": "(property) loading?: boolean",
1648
- "name": "loading",
1649
- "type": {
1650
- "__schema": "KeywordTypeSchema",
1651
- "location": {
1652
- "filePath": "use-lanes.tsx",
1653
- "line": 135,
1654
- "character": 13
1655
- },
1656
- "name": "boolean"
1657
- },
1658
- "isOptional": true
1659
- }
1660
- ]
1661
- }
1662
- }
1663
- }
1664
- ],
1665
- "internals": []
1666
- },
1667
- "internals": [
1668
- {
1669
- "__schema": "ModuleSchema",
1670
- "location": {
1671
- "filePath": "lanes-context.ts",
1672
- "line": 1,
1673
- "character": 1
1674
- },
1675
- "exports": [
1676
- {
1677
- "__schema": "TypeSchema",
1678
- "location": {
1679
- "filePath": "lanes-context.ts",
1680
- "line": 6,
1681
- "character": 1
1682
- },
1683
- "signature": "type LanesContextModel = {\n lanesModel?: LanesModel;\n updateViewedLane?: (viewedLaneId?: LaneId) => void;\n fetchMoreLanes?: FetchMoreLanes;\n hasMore?: boolean;\n loading?: boolean;\n options?: UseLanesOptions;\n offset?: number;\n limit?: number;\n}",
1684
- "name": "LanesContextModel",
1685
- "type": {
1686
- "__schema": "TypeLiteralSchema",
1687
- "location": {
1688
- "filePath": "lanes-context.ts",
1689
- "line": 6,
1690
- "character": 33
1691
- },
1692
- "members": [
1693
- {
1694
- "__schema": "VariableLikeSchema",
1695
- "location": {
1696
- "filePath": "lanes-context.ts",
1697
- "line": 7,
1698
- "character": 3
1699
- },
1700
- "signature": "(property) lanesModel?: LanesModel",
1701
- "name": "lanesModel",
1702
- "type": {
1703
- "__schema": "TypeRefSchema",
1704
- "location": {
1705
- "filePath": "lanes-context.ts",
1706
- "line": 7,
1707
- "character": 3
1708
- },
1709
- "name": "LanesModel",
1710
- "componentId": {
1711
- "scope": "teambit.lanes",
1712
- "name": "ui/models/lanes-model",
1713
- "version": "0.0.220"
1714
- }
1715
- },
1716
- "isOptional": true
1717
- },
1718
- {
1719
- "__schema": "VariableLikeSchema",
1720
- "location": {
1721
- "filePath": "lanes-context.ts",
1722
- "line": 8,
1723
- "character": 3
1724
- },
1725
- "signature": "(property) updateViewedLane?: (viewedLaneId?: LaneId) => void",
1726
- "name": "updateViewedLane",
1727
- "type": {
1728
- "__schema": "FunctionLikeSchema",
1729
- "location": {
1730
- "filePath": "lanes-context.ts",
1731
- "line": 8,
1732
- "character": 22
1733
- },
1734
- "signature": "(viewedLaneId?: \u001b[2m(component: teambit.lanes/lane-id)\u001b[22m LaneId): void",
1735
- "name": "",
1736
- "params": [
1737
- {
1738
- "__schema": "ParameterSchema",
1739
- "location": {
1740
- "filePath": "lanes-context.ts",
1741
- "line": 8,
1742
- "character": 23
1743
- },
1744
- "name": "viewedLaneId",
1745
- "type": {
1746
- "__schema": "TypeRefSchema",
1747
- "location": {
1748
- "filePath": "lanes-context.ts",
1749
- "line": 8,
1750
- "character": 38
1751
- },
1752
- "name": "LaneId",
1753
- "componentId": {
1754
- "scope": "teambit.lanes",
1755
- "name": "lane-id",
1756
- "version": "0.0.311"
1757
- }
1758
- },
1759
- "isOptional": true,
1760
- "isSpread": false
1761
- }
1762
- ],
1763
- "returnType": {
1764
- "__schema": "KeywordTypeSchema",
1765
- "location": {
1766
- "filePath": "lanes-context.ts",
1767
- "line": 8,
1768
- "character": 49
1769
- },
1770
- "name": "void"
1771
- },
1772
- "modifiers": []
1773
- },
1774
- "isOptional": true
1775
- },
1776
- {
1777
- "__schema": "VariableLikeSchema",
1778
- "location": {
1779
- "filePath": "lanes-context.ts",
1780
- "line": 9,
1781
- "character": 3
1782
- },
1783
- "signature": "(property) fetchMoreLanes?: FetchMoreLanes",
1784
- "name": "fetchMoreLanes",
1785
- "type": {
1786
- "__schema": "TypeRefSchema",
1787
- "location": {
1788
- "filePath": "lanes-context.ts",
1789
- "line": 9,
1790
- "character": 3
1791
- },
1792
- "name": "FetchMoreLanes"
1793
- },
1794
- "isOptional": true
1795
- },
1796
- {
1797
- "__schema": "VariableLikeSchema",
1798
- "location": {
1799
- "filePath": "lanes-context.ts",
1800
- "line": 10,
1801
- "character": 3
1802
- },
1803
- "signature": "(property) hasMore?: boolean",
1804
- "name": "hasMore",
1805
- "type": {
1806
- "__schema": "KeywordTypeSchema",
1807
- "location": {
1808
- "filePath": "lanes-context.ts",
1809
- "line": 10,
1810
- "character": 13
1811
- },
1812
- "name": "boolean"
1813
- },
1814
- "isOptional": true
1815
- },
1816
- {
1817
- "__schema": "VariableLikeSchema",
1818
- "location": {
1819
- "filePath": "lanes-context.ts",
1820
- "line": 11,
1821
- "character": 3
1822
- },
1823
- "signature": "(property) loading?: boolean",
1824
- "name": "loading",
1825
- "type": {
1826
- "__schema": "KeywordTypeSchema",
1827
- "location": {
1828
- "filePath": "lanes-context.ts",
1829
- "line": 11,
1830
- "character": 13
1831
- },
1832
- "name": "boolean"
1833
- },
1834
- "isOptional": true
1835
- },
1836
- {
1837
- "__schema": "VariableLikeSchema",
1838
- "location": {
1839
- "filePath": "lanes-context.ts",
1840
- "line": 12,
1841
- "character": 3
1842
- },
1843
- "signature": "(property) options?: UseLanesOptions",
1844
- "name": "options",
1845
- "type": {
1846
- "__schema": "TypeRefSchema",
1847
- "location": {
1848
- "filePath": "lanes-context.ts",
1849
- "line": 12,
1850
- "character": 3
1851
- },
1852
- "name": "UseLanesOptions"
1853
- },
1854
- "isOptional": true
1855
- },
1856
- {
1857
- "__schema": "VariableLikeSchema",
1858
- "location": {
1859
- "filePath": "lanes-context.ts",
1860
- "line": 13,
1861
- "character": 3
1862
- },
1863
- "signature": "(property) offset?: number",
1864
- "name": "offset",
1865
- "type": {
1866
- "__schema": "KeywordTypeSchema",
1867
- "location": {
1868
- "filePath": "lanes-context.ts",
1869
- "line": 13,
1870
- "character": 12
1871
- },
1872
- "name": "number"
1873
- },
1874
- "isOptional": true
1875
- },
1876
- {
1877
- "__schema": "VariableLikeSchema",
1878
- "location": {
1879
- "filePath": "lanes-context.ts",
1880
- "line": 14,
1881
- "character": 3
1882
- },
1883
- "signature": "(property) limit?: number",
1884
- "name": "limit",
1885
- "type": {
1886
- "__schema": "KeywordTypeSchema",
1887
- "location": {
1888
- "filePath": "lanes-context.ts",
1889
- "line": 14,
1890
- "character": 11
1891
- },
1892
- "name": "number"
1893
- },
1894
- "isOptional": true
1895
- }
1896
- ]
1897
- }
1898
- },
1899
- {
1900
- "__schema": "VariableLikeSchema",
1901
- "location": {
1902
- "filePath": "lanes-context.ts",
1903
- "line": 17,
1904
- "character": 14
1905
- },
1906
- "signature": "const LanesContext: React.Context<LanesContextModel>",
1907
- "name": "LanesContext",
1908
- "type": {
1909
- "__schema": "TypeRefSchema",
1910
- "location": {
1911
- "filePath": "lanes-context.ts",
1912
- "line": 17,
1913
- "character": 28
1914
- },
1915
- "name": "React.Context",
1916
- "typeArgs": [
1917
- {
1918
- "__schema": "TypeUnionSchema",
1919
- "location": {
1920
- "filePath": "lanes-context.ts",
1921
- "line": 17,
1922
- "character": 42
1923
- },
1924
- "types": [
1925
- {
1926
- "__schema": "TypeRefSchema",
1927
- "location": {
1928
- "filePath": "lanes-context.ts",
1929
- "line": 17,
1930
- "character": 42
1931
- },
1932
- "name": "LanesContextModel"
1933
- },
1934
- {
1935
- "__schema": "KeywordTypeSchema",
1936
- "location": {
1937
- "filePath": "lanes-context.ts",
1938
- "line": 17,
1939
- "character": 62
1940
- },
1941
- "name": "undefined"
1942
- }
1943
- ]
1944
- }
1945
- ]
1946
- },
1947
- "isOptional": false,
1948
- "defaultValue": "createContext<LanesContextModel | undefined>(\n undefined\n)"
1949
- },
1950
- {
1951
- "__schema": "FunctionLikeSchema",
1952
- "location": {
1953
- "filePath": "lanes-context.ts",
1954
- "line": 21,
1955
- "character": 14
1956
- },
1957
- "signature": "function(): LanesContextModel",
1958
- "name": "useLanesContext",
1959
- "params": [],
1960
- "returnType": {
1961
- "__schema": "TypeUnionSchema",
1962
- "location": {
1963
- "filePath": "lanes-context.ts",
1964
- "line": 21,
1965
- "character": 37
1966
- },
1967
- "types": [
1968
- {
1969
- "__schema": "TypeRefSchema",
1970
- "location": {
1971
- "filePath": "lanes-context.ts",
1972
- "line": 21,
1973
- "character": 37
1974
- },
1975
- "name": "LanesContextModel"
1976
- },
1977
- {
1978
- "__schema": "KeywordTypeSchema",
1979
- "location": {
1980
- "filePath": "lanes-context.ts",
1981
- "line": 21,
1982
- "character": 57
1983
- },
1984
- "name": "undefined"
1985
- }
1986
- ]
1987
- },
1988
- "modifiers": []
1989
- }
1990
- ],
1991
- "internals": []
1992
- },
1993
- {
1994
- "__schema": "ModuleSchema",
1995
- "location": {
1996
- "filePath": "lanes-provider.tsx",
1997
- "line": 1,
1998
- "character": 1
1999
- },
2000
- "exports": [
2001
- {
2002
- "__schema": "TypeSchema",
2003
- "location": {
2004
- "filePath": "lanes-provider.tsx",
2005
- "line": 9,
2006
- "character": 1
2007
- },
2008
- "signature": "type IgnoreDerivingFromUrl = (location?: Location) => boolean",
2009
- "name": "IgnoreDerivingFromUrl",
2010
- "type": {
2011
- "__schema": "FunctionLikeSchema",
2012
- "location": {
2013
- "filePath": "lanes-provider.tsx",
2014
- "line": 9,
2015
- "character": 37
2016
- },
2017
- "signature": "(location?: \u001b[2m(component: teambit.base-react/navigation/link)\u001b[22m Location): boolean",
2018
- "name": "",
2019
- "params": [
2020
- {
2021
- "__schema": "ParameterSchema",
2022
- "location": {
2023
- "filePath": "lanes-provider.tsx",
2024
- "line": 9,
2025
- "character": 38
2026
- },
2027
- "name": "location",
2028
- "type": {
2029
- "__schema": "TypeRefSchema",
2030
- "location": {
2031
- "filePath": "lanes-provider.tsx",
2032
- "line": 9,
2033
- "character": 49
2034
- },
2035
- "name": "Location",
2036
- "componentId": {
2037
- "scope": "teambit.base-react",
2038
- "name": "navigation/link",
2039
- "version": "2.0.27"
2040
- }
2041
- },
2042
- "isOptional": true,
2043
- "isSpread": false
2044
- }
2045
- ],
2046
- "returnType": {
2047
- "__schema": "KeywordTypeSchema",
2048
- "location": {
2049
- "filePath": "lanes-provider.tsx",
2050
- "line": 9,
2051
- "character": 62
2052
- },
2053
- "name": "boolean"
2054
- },
2055
- "modifiers": []
2056
- }
2057
- },
2058
- {
2059
- "__schema": "TypeSchema",
2060
- "location": {
2061
- "filePath": "lanes-provider.tsx",
2062
- "line": 11,
2063
- "character": 1
2064
- },
2065
- "signature": "type LanesProviderProps = {\n children: ReactNode;\n viewedLaneId?: LaneId;\n targetLanes?: LanesModel;\n skipNetworkCall?: boolean;\n ignoreDerivingFromUrl?: IgnoreDerivingFromUrl[];\n options?: UseLaneOptions;\n useScope?: () => {\n scope?: string;\n };\n}",
2066
- "name": "LanesProviderProps",
2067
- "type": {
2068
- "__schema": "TypeLiteralSchema",
2069
- "location": {
2070
- "filePath": "lanes-provider.tsx",
2071
- "line": 11,
2072
- "character": 34
2073
- },
2074
- "members": [
2075
- {
2076
- "__schema": "VariableLikeSchema",
2077
- "location": {
2078
- "filePath": "lanes-provider.tsx",
2079
- "line": 12,
2080
- "character": 3
2081
- },
2082
- "signature": "(property) children: React.ReactNode",
2083
- "name": "children",
2084
- "type": {
2085
- "__schema": "TypeRefSchema",
2086
- "location": {
2087
- "filePath": "lanes-provider.tsx",
2088
- "line": 12,
2089
- "character": 13
2090
- },
2091
- "name": "ReactNode",
2092
- "packageName": "react"
2093
- },
2094
- "isOptional": false
2095
- },
2096
- {
2097
- "__schema": "VariableLikeSchema",
2098
- "location": {
2099
- "filePath": "lanes-provider.tsx",
2100
- "line": 13,
2101
- "character": 3
2102
- },
2103
- "signature": "(property) viewedLaneId?: LaneId",
2104
- "name": "viewedLaneId",
2105
- "type": {
2106
- "__schema": "TypeRefSchema",
2107
- "location": {
2108
- "filePath": "lanes-provider.tsx",
2109
- "line": 13,
2110
- "character": 3
2111
- },
2112
- "name": "LaneId",
2113
- "componentId": {
2114
- "scope": "teambit.lanes",
2115
- "name": "lane-id",
2116
- "version": "0.0.311"
2117
- }
2118
- },
2119
- "isOptional": true
2120
- },
2121
- {
2122
- "__schema": "VariableLikeSchema",
2123
- "location": {
2124
- "filePath": "lanes-provider.tsx",
2125
- "line": 14,
2126
- "character": 3
2127
- },
2128
- "signature": "(property) targetLanes?: LanesModel",
2129
- "name": "targetLanes",
2130
- "type": {
2131
- "__schema": "TypeRefSchema",
2132
- "location": {
2133
- "filePath": "lanes-provider.tsx",
2134
- "line": 14,
2135
- "character": 3
2136
- },
2137
- "name": "LanesModel",
2138
- "componentId": {
2139
- "scope": "teambit.lanes",
2140
- "name": "ui/models/lanes-model",
2141
- "version": "0.0.220"
2142
- }
2143
- },
2144
- "isOptional": true
2145
- },
2146
- {
2147
- "__schema": "VariableLikeSchema",
2148
- "location": {
2149
- "filePath": "lanes-provider.tsx",
2150
- "line": 15,
2151
- "character": 3
2152
- },
2153
- "signature": "(property) skipNetworkCall?: boolean",
2154
- "name": "skipNetworkCall",
2155
- "type": {
2156
- "__schema": "KeywordTypeSchema",
2157
- "location": {
2158
- "filePath": "lanes-provider.tsx",
2159
- "line": 15,
2160
- "character": 21
2161
- },
2162
- "name": "boolean"
2163
- },
2164
- "isOptional": true
2165
- },
2166
- {
2167
- "__schema": "VariableLikeSchema",
2168
- "location": {
2169
- "filePath": "lanes-provider.tsx",
2170
- "line": 16,
2171
- "character": 3
2172
- },
2173
- "signature": "(property) ignoreDerivingFromUrl?: IgnoreDerivingFromUrl[]",
2174
- "name": "ignoreDerivingFromUrl",
2175
- "type": {
2176
- "__schema": "TypeArraySchema",
2177
- "location": {
2178
- "filePath": "lanes-provider.tsx",
2179
- "line": 16,
2180
- "character": 27
2181
- },
2182
- "type": {
2183
- "__schema": "TypeRefSchema",
2184
- "location": {
2185
- "filePath": "lanes-provider.tsx",
2186
- "line": 16,
2187
- "character": 27
2188
- },
2189
- "name": "IgnoreDerivingFromUrl"
2190
- }
2191
- },
2192
- "isOptional": true
2193
- },
2194
- {
2195
- "__schema": "VariableLikeSchema",
2196
- "location": {
2197
- "filePath": "lanes-provider.tsx",
2198
- "line": 17,
2199
- "character": 3
2200
- },
2201
- "signature": "(property) options?: UseLaneOptions",
2202
- "name": "options",
2203
- "type": {
2204
- "__schema": "TypeRefSchema",
2205
- "location": {
2206
- "filePath": "lanes-provider.tsx",
2207
- "line": 17,
2208
- "character": 13
2209
- },
2210
- "name": "UseLanesOptions"
2211
- },
2212
- "isOptional": true
2213
- },
2214
- {
2215
- "__schema": "VariableLikeSchema",
2216
- "location": {
2217
- "filePath": "lanes-provider.tsx",
2218
- "line": 18,
2219
- "character": 3
2220
- },
2221
- "signature": "(property) useScope?: () => {\n scope?: string;\n}",
2222
- "name": "useScope",
2223
- "type": {
2224
- "__schema": "FunctionLikeSchema",
2225
- "location": {
2226
- "filePath": "lanes-provider.tsx",
2227
- "line": 18,
2228
- "character": 14
2229
- },
2230
- "signature": "(): { \u001b[1mscope\u001b[22m?: string }",
2231
- "name": "",
2232
- "params": [],
2233
- "returnType": {
2234
- "__schema": "TypeLiteralSchema",
2235
- "location": {
2236
- "filePath": "lanes-provider.tsx",
2237
- "line": 18,
2238
- "character": 20
2239
- },
2240
- "members": [
2241
- {
2242
- "__schema": "VariableLikeSchema",
2243
- "location": {
2244
- "filePath": "lanes-provider.tsx",
2245
- "line": 18,
2246
- "character": 22
2247
- },
2248
- "signature": "(property) scope?: string",
2249
- "name": "scope",
2250
- "type": {
2251
- "__schema": "KeywordTypeSchema",
2252
- "location": {
2253
- "filePath": "lanes-provider.tsx",
2254
- "line": 18,
2255
- "character": 30
2256
- },
2257
- "name": "string"
2258
- },
2259
- "isOptional": true
2260
- }
2261
- ]
2262
- },
2263
- "modifiers": []
2264
- },
2265
- "isOptional": true
2266
- }
2267
- ]
2268
- }
2269
- },
2270
- {
2271
- "__schema": "ReactSchema",
2272
- "location": {
2273
- "filePath": "lanes-provider.tsx",
2274
- "line": 21,
2275
- "character": 1
2276
- },
2277
- "signature": "function LanesProvider({ children, viewedLaneId: viewedIdFromProps, targetLanes, ignoreDerivingFromUrl: ignoreDerivingFromUrlFromProps, skipNetworkCall, options: optionsFromProps, useScope, }: LanesProviderProps): React.JSX.Element",
2278
- "name": "LanesProvider",
2279
- "props": {
2280
- "__schema": "ParameterSchema",
2281
- "location": {
2282
- "filePath": "lanes-provider.tsx",
2283
- "line": 21,
2284
- "character": 31
2285
- },
2286
- "name": "{ children, viewedLaneId: viewedIdFromProps, targetLanes, ignoreDerivingFromUrl: ignoreDerivingFromUrlFromProps, skipNetworkCall, options: optionsFromProps = {}, useScope }",
2287
- "type": {
2288
- "__schema": "TypeRefSchema",
2289
- "location": {
2290
- "filePath": "lanes-provider.tsx",
2291
- "line": 29,
2292
- "character": 4
2293
- },
2294
- "name": "LanesProviderProps"
2295
- },
2296
- "isOptional": false,
2297
- "objectBindingNodes": [
2298
- {
2299
- "__schema": "InferenceTypeSchema",
2300
- "location": {
2301
- "filePath": "lanes-provider.tsx",
2302
- "line": 22,
2303
- "character": 3
2304
- },
2305
- "name": "children",
2306
- "type": "React.ReactNode",
2307
- "isSpread": false
2308
- },
2309
- {
2310
- "__schema": "InferenceTypeSchema",
2311
- "location": {
2312
- "filePath": "lanes-provider.tsx",
2313
- "line": 23,
2314
- "character": 17
2315
- },
2316
- "name": "viewedIdFromProps",
2317
- "type": "LaneId",
2318
- "isSpread": false
2319
- },
2320
- {
2321
- "__schema": "InferenceTypeSchema",
2322
- "location": {
2323
- "filePath": "lanes-provider.tsx",
2324
- "line": 24,
2325
- "character": 3
2326
- },
2327
- "name": "targetLanes",
2328
- "type": "LanesModel",
2329
- "isSpread": false
2330
- },
2331
- {
2332
- "__schema": "InferenceTypeSchema",
2333
- "location": {
2334
- "filePath": "lanes-provider.tsx",
2335
- "line": 25,
2336
- "character": 26
2337
- },
2338
- "name": "ignoreDerivingFromUrlFromProps",
2339
- "type": "IgnoreDerivingFromUrl[]",
2340
- "isSpread": false
2341
- },
2342
- {
2343
- "__schema": "InferenceTypeSchema",
2344
- "location": {
2345
- "filePath": "lanes-provider.tsx",
2346
- "line": 26,
2347
- "character": 3
2348
- },
2349
- "name": "skipNetworkCall",
2350
- "type": "boolean",
2351
- "isSpread": false
2352
- },
2353
- {
2354
- "__schema": "InferenceTypeSchema",
2355
- "location": {
2356
- "filePath": "lanes-provider.tsx",
2357
- "line": 27,
2358
- "character": 12
2359
- },
2360
- "name": "optionsFromProps",
2361
- "type": "UseLaneOptions",
2362
- "defaultValue": "{}",
2363
- "isSpread": false
2364
- },
2365
- {
2366
- "__schema": "InferenceTypeSchema",
2367
- "location": {
2368
- "filePath": "lanes-provider.tsx",
2369
- "line": 28,
2370
- "character": 3
2371
- },
2372
- "name": "useScope",
2373
- "type": "() => {\n scope?: string;\n}",
2374
- "isSpread": false
2375
- }
2376
- ],
2377
- "isSpread": false
2378
- },
2379
- "returnType": {
2380
- "__schema": "TypeRefSchema",
2381
- "location": {
2382
- "filePath": "lanes-provider.tsx",
2383
- "line": 21,
2384
- "character": 1
2385
- },
2386
- "name": "React.JSX.Element",
2387
- "packageName": "react"
2388
- },
2389
- "modifiers": [
2390
- "export"
2391
- ]
2392
- }
2393
- ],
2394
- "internals": []
2395
- },
2396
- {
2397
- "__schema": "ModuleSchema",
2398
- "location": {
2399
- "filePath": "use-lanes.tsx",
2400
- "line": 1,
2401
- "character": 1
2402
- },
2403
- "exports": [
2404
- {
2405
- "__schema": "TypeSchema",
2406
- "location": {
2407
- "filePath": "use-lanes.tsx",
2408
- "line": 113,
2409
- "character": 1
2410
- },
2411
- "signature": "type LaneSort = {\n by?: Exclude<keyof LaneModel, 'components' | 'readmeComponent'>;\n direction?: string;\n}",
2412
- "name": "LaneSort",
2413
- "type": {
2414
- "__schema": "TypeLiteralSchema",
2415
- "location": {
2416
- "filePath": "use-lanes.tsx",
2417
- "line": 113,
2418
- "character": 24
2419
- },
2420
- "members": [
2421
- {
2422
- "__schema": "VariableLikeSchema",
2423
- "location": {
2424
- "filePath": "use-lanes.tsx",
2425
- "line": 114,
2426
- "character": 3
2427
- },
2428
- "signature": "(property) by?: \"id\" | \"hash\" | \"displayName\" | \"createdAt\" | \"createdBy\" | \"updatedAt\" | \"updatedBy\" | \"dependents\"",
2429
- "name": "by",
2430
- "type": {
2431
- "__schema": "TypeRefSchema",
2432
- "location": {
2433
- "filePath": "use-lanes.tsx",
2434
- "line": 114,
2435
- "character": 8
2436
- },
2437
- "name": "Exclude",
2438
- "typeArgs": [
2439
- {
2440
- "__schema": "TypeOperatorSchema",
2441
- "location": {
2442
- "filePath": "use-lanes.tsx",
2443
- "line": 114,
2444
- "character": 16
2445
- },
2446
- "name": "keyof",
2447
- "type": {
2448
- "__schema": "TypeRefSchema",
2449
- "location": {
2450
- "filePath": "use-lanes.tsx",
2451
- "line": 114,
2452
- "character": 22
2453
- },
2454
- "name": "LaneModel",
2455
- "componentId": {
2456
- "scope": "teambit.lanes",
2457
- "name": "ui/models/lanes-model",
2458
- "version": "0.0.220"
2459
- }
2460
- }
2461
- },
2462
- {
2463
- "__schema": "TypeUnionSchema",
2464
- "location": {
2465
- "filePath": "use-lanes.tsx",
2466
- "line": 114,
2467
- "character": 33
2468
- },
2469
- "types": [
2470
- {
2471
- "__schema": "LiteralTypeSchema",
2472
- "location": {
2473
- "filePath": "use-lanes.tsx",
2474
- "line": 114,
2475
- "character": 33
2476
- },
2477
- "name": "'components'"
2478
- },
2479
- {
2480
- "__schema": "LiteralTypeSchema",
2481
- "location": {
2482
- "filePath": "use-lanes.tsx",
2483
- "line": 114,
2484
- "character": 48
2485
- },
2486
- "name": "'readmeComponent'"
2487
- }
2488
- ]
2489
- }
2490
- ]
2491
- },
2492
- "isOptional": true
2493
- },
2494
- {
2495
- "__schema": "VariableLikeSchema",
2496
- "location": {
2497
- "filePath": "use-lanes.tsx",
2498
- "line": 115,
2499
- "character": 3
2500
- },
2501
- "signature": "(property) direction?: string",
2502
- "name": "direction",
2503
- "type": {
2504
- "__schema": "KeywordTypeSchema",
2505
- "location": {
2506
- "filePath": "use-lanes.tsx",
2507
- "line": 115,
2508
- "character": 15
2509
- },
2510
- "name": "string"
2511
- },
2512
- "isOptional": true
2513
- }
2514
- ]
2515
- }
2516
- },
2517
- {
2518
- "__schema": "TypeSchema",
2519
- "location": {
2520
- "filePath": "use-lanes.tsx",
2521
- "line": 117,
2522
- "character": 1
2523
- },
2524
- "signature": "type UseLanesOptions = {\n ids?: string[];\n offset?: number;\n limit?: number;\n sort?: LaneSort;\n search?: string;\n}",
2525
- "name": "UseLanesOptions",
2526
- "type": {
2527
- "__schema": "TypeLiteralSchema",
2528
- "location": {
2529
- "filePath": "use-lanes.tsx",
2530
- "line": 117,
2531
- "character": 31
2532
- },
2533
- "members": [
2534
- {
2535
- "__schema": "VariableLikeSchema",
2536
- "location": {
2537
- "filePath": "use-lanes.tsx",
2538
- "line": 118,
2539
- "character": 3
2540
- },
2541
- "signature": "(property) ids?: string[]",
2542
- "name": "ids",
2543
- "type": {
2544
- "__schema": "TypeArraySchema",
2545
- "location": {
2546
- "filePath": "use-lanes.tsx",
2547
- "line": 118,
2548
- "character": 9
2549
- },
2550
- "type": {
2551
- "__schema": "KeywordTypeSchema",
2552
- "location": {
2553
- "filePath": "use-lanes.tsx",
2554
- "line": 118,
2555
- "character": 9
2556
- },
2557
- "name": "string"
2558
- }
2559
- },
2560
- "isOptional": true
2561
- },
2562
- {
2563
- "__schema": "VariableLikeSchema",
2564
- "location": {
2565
- "filePath": "use-lanes.tsx",
2566
- "line": 119,
2567
- "character": 3
2568
- },
2569
- "signature": "(property) offset?: number",
2570
- "name": "offset",
2571
- "type": {
2572
- "__schema": "KeywordTypeSchema",
2573
- "location": {
2574
- "filePath": "use-lanes.tsx",
2575
- "line": 119,
2576
- "character": 12
2577
- },
2578
- "name": "number"
2579
- },
2580
- "isOptional": true
2581
- },
2582
- {
2583
- "__schema": "VariableLikeSchema",
2584
- "location": {
2585
- "filePath": "use-lanes.tsx",
2586
- "line": 120,
2587
- "character": 3
2588
- },
2589
- "signature": "(property) limit?: number",
2590
- "name": "limit",
2591
- "type": {
2592
- "__schema": "KeywordTypeSchema",
2593
- "location": {
2594
- "filePath": "use-lanes.tsx",
2595
- "line": 120,
2596
- "character": 11
2597
- },
2598
- "name": "number"
2599
- },
2600
- "isOptional": true
2601
- },
2602
- {
2603
- "__schema": "VariableLikeSchema",
2604
- "location": {
2605
- "filePath": "use-lanes.tsx",
2606
- "line": 121,
2607
- "character": 3
2608
- },
2609
- "signature": "(property) sort?: LaneSort",
2610
- "name": "sort",
2611
- "type": {
2612
- "__schema": "TypeRefSchema",
2613
- "location": {
2614
- "filePath": "use-lanes.tsx",
2615
- "line": 121,
2616
- "character": 3
2617
- },
2618
- "name": "LaneSort",
2619
- "internalFilePath": "use-lanes.tsx"
2620
- },
2621
- "isOptional": true
2622
- },
2623
- {
2624
- "__schema": "VariableLikeSchema",
2625
- "location": {
2626
- "filePath": "use-lanes.tsx",
2627
- "line": 122,
2628
- "character": 3
2629
- },
2630
- "signature": "(property) search?: string",
2631
- "name": "search",
2632
- "type": {
2633
- "__schema": "KeywordTypeSchema",
2634
- "location": {
2635
- "filePath": "use-lanes.tsx",
2636
- "line": 122,
2637
- "character": 12
2638
- },
2639
- "name": "string"
2640
- },
2641
- "isOptional": true
2642
- }
2643
- ]
2644
- }
2645
- },
2646
- {
2647
- "__schema": "TypeSchema",
2648
- "location": {
2649
- "filePath": "use-lanes.tsx",
2650
- "line": 125,
2651
- "character": 1
2652
- },
2653
- "signature": "type FetchMoreLanesResult = {\n lanesModel?: LanesModel;\n loading?: boolean;\n hasMore?: boolean;\n nextOffset?: number;\n currentLimit?: number;\n}",
2654
- "name": "FetchMoreLanesResult",
2655
- "type": {
2656
- "__schema": "TypeLiteralSchema",
2657
- "location": {
2658
- "filePath": "use-lanes.tsx",
2659
- "line": 125,
2660
- "character": 36
2661
- },
2662
- "members": [
2663
- {
2664
- "__schema": "VariableLikeSchema",
2665
- "location": {
2666
- "filePath": "use-lanes.tsx",
2667
- "line": 126,
2668
- "character": 3
2669
- },
2670
- "signature": "(property) lanesModel?: LanesModel",
2671
- "name": "lanesModel",
2672
- "type": {
2673
- "__schema": "TypeRefSchema",
2674
- "location": {
2675
- "filePath": "use-lanes.tsx",
2676
- "line": 126,
2677
- "character": 3
2678
- },
2679
- "name": "LanesModel",
2680
- "componentId": {
2681
- "scope": "teambit.lanes",
2682
- "name": "ui/models/lanes-model",
2683
- "version": "0.0.220"
2684
- }
2685
- },
2686
- "isOptional": true
2687
- },
2688
- {
2689
- "__schema": "VariableLikeSchema",
2690
- "location": {
2691
- "filePath": "use-lanes.tsx",
2692
- "line": 127,
2693
- "character": 3
2694
- },
2695
- "signature": "(property) loading?: boolean",
2696
- "name": "loading",
2697
- "type": {
2698
- "__schema": "KeywordTypeSchema",
2699
- "location": {
2700
- "filePath": "use-lanes.tsx",
2701
- "line": 127,
2702
- "character": 13
2703
- },
2704
- "name": "boolean"
2705
- },
2706
- "isOptional": true
2707
- },
2708
- {
2709
- "__schema": "VariableLikeSchema",
2710
- "location": {
2711
- "filePath": "use-lanes.tsx",
2712
- "line": 128,
2713
- "character": 3
2714
- },
2715
- "signature": "(property) hasMore?: boolean",
2716
- "name": "hasMore",
2717
- "type": {
2718
- "__schema": "KeywordTypeSchema",
2719
- "location": {
2720
- "filePath": "use-lanes.tsx",
2721
- "line": 128,
2722
- "character": 13
2723
- },
2724
- "name": "boolean"
2725
- },
2726
- "isOptional": true
2727
- },
2728
- {
2729
- "__schema": "VariableLikeSchema",
2730
- "location": {
2731
- "filePath": "use-lanes.tsx",
2732
- "line": 129,
2733
- "character": 3
2734
- },
2735
- "signature": "(property) nextOffset?: number",
2736
- "name": "nextOffset",
2737
- "type": {
2738
- "__schema": "KeywordTypeSchema",
2739
- "location": {
2740
- "filePath": "use-lanes.tsx",
2741
- "line": 129,
2742
- "character": 16
2743
- },
2744
- "name": "number"
2745
- },
2746
- "isOptional": true
2747
- },
2748
- {
2749
- "__schema": "VariableLikeSchema",
2750
- "location": {
2751
- "filePath": "use-lanes.tsx",
2752
- "line": 130,
2753
- "character": 3
2754
- },
2755
- "signature": "(property) currentLimit?: number",
2756
- "name": "currentLimit",
2757
- "type": {
2758
- "__schema": "KeywordTypeSchema",
2759
- "location": {
2760
- "filePath": "use-lanes.tsx",
2761
- "line": 130,
2762
- "character": 18
2763
- },
2764
- "name": "number"
2765
- },
2766
- "isOptional": true
2767
- }
2768
- ]
2769
- }
2770
- },
2771
- {
2772
- "__schema": "TypeSchema",
2773
- "location": {
2774
- "filePath": "use-lanes.tsx",
2775
- "line": 133,
2776
- "character": 1
2777
- },
2778
- "signature": "type SearchLanesResult = {\n lanesModel?: LanesModel;\n loading?: boolean;\n}",
2779
- "name": "SearchLanesResult",
2780
- "type": {
2781
- "__schema": "TypeLiteralSchema",
2782
- "location": {
2783
- "filePath": "use-lanes.tsx",
2784
- "line": 133,
2785
- "character": 33
2786
- },
2787
- "members": [
2788
- {
2789
- "__schema": "VariableLikeSchema",
2790
- "location": {
2791
- "filePath": "use-lanes.tsx",
2792
- "line": 134,
2793
- "character": 3
2794
- },
2795
- "signature": "(property) lanesModel?: LanesModel",
2796
- "name": "lanesModel",
2797
- "type": {
2798
- "__schema": "TypeRefSchema",
2799
- "location": {
2800
- "filePath": "use-lanes.tsx",
2801
- "line": 134,
2802
- "character": 3
2803
- },
2804
- "name": "LanesModel",
2805
- "componentId": {
2806
- "scope": "teambit.lanes",
2807
- "name": "ui/models/lanes-model",
2808
- "version": "0.0.220"
2809
- }
2810
- },
2811
- "isOptional": true
2812
- },
2813
- {
2814
- "__schema": "VariableLikeSchema",
2815
- "location": {
2816
- "filePath": "use-lanes.tsx",
2817
- "line": 135,
2818
- "character": 3
2819
- },
2820
- "signature": "(property) loading?: boolean",
2821
- "name": "loading",
2822
- "type": {
2823
- "__schema": "KeywordTypeSchema",
2824
- "location": {
2825
- "filePath": "use-lanes.tsx",
2826
- "line": 135,
2827
- "character": 13
2828
- },
2829
- "name": "boolean"
2830
- },
2831
- "isOptional": true
2832
- }
2833
- ]
2834
- }
2835
- },
2836
- {
2837
- "__schema": "TypeSchema",
2838
- "location": {
2839
- "filePath": "use-lanes.tsx",
2840
- "line": 138,
2841
- "character": 1
2842
- },
2843
- "signature": "type FetchMoreLanes = (offset: number, limit: number, sort?: LaneSort) => Promise<FetchMoreLanesResult>",
2844
- "name": "FetchMoreLanes",
2845
- "type": {
2846
- "__schema": "FunctionLikeSchema",
2847
- "location": {
2848
- "filePath": "use-lanes.tsx",
2849
- "line": 138,
2850
- "character": 30
2851
- },
2852
- "signature": "(offset: number, limit: number, sort?: LaneSort): Promise<FetchMoreLanesResult>",
2853
- "name": "",
2854
- "params": [
2855
- {
2856
- "__schema": "ParameterSchema",
2857
- "location": {
2858
- "filePath": "use-lanes.tsx",
2859
- "line": 138,
2860
- "character": 31
2861
- },
2862
- "name": "offset",
2863
- "type": {
2864
- "__schema": "KeywordTypeSchema",
2865
- "location": {
2866
- "filePath": "use-lanes.tsx",
2867
- "line": 138,
2868
- "character": 39
2869
- },
2870
- "name": "number"
2871
- },
2872
- "isOptional": false,
2873
- "isSpread": false
2874
- },
2875
- {
2876
- "__schema": "ParameterSchema",
2877
- "location": {
2878
- "filePath": "use-lanes.tsx",
2879
- "line": 138,
2880
- "character": 47
2881
- },
2882
- "name": "limit",
2883
- "type": {
2884
- "__schema": "KeywordTypeSchema",
2885
- "location": {
2886
- "filePath": "use-lanes.tsx",
2887
- "line": 138,
2888
- "character": 54
2889
- },
2890
- "name": "number"
2891
- },
2892
- "isOptional": false,
2893
- "isSpread": false
2894
- },
2895
- {
2896
- "__schema": "ParameterSchema",
2897
- "location": {
2898
- "filePath": "use-lanes.tsx",
2899
- "line": 138,
2900
- "character": 62
2901
- },
2902
- "name": "sort",
2903
- "type": {
2904
- "__schema": "TypeRefSchema",
2905
- "location": {
2906
- "filePath": "use-lanes.tsx",
2907
- "line": 138,
2908
- "character": 69
2909
- },
2910
- "name": "LaneSort",
2911
- "internalFilePath": "use-lanes.tsx"
2912
- },
2913
- "isOptional": true,
2914
- "isSpread": false
2915
- }
2916
- ],
2917
- "returnType": {
2918
- "__schema": "TypeRefSchema",
2919
- "location": {
2920
- "filePath": "use-lanes.tsx",
2921
- "line": 138,
2922
- "character": 82
2923
- },
2924
- "name": "Promise",
2925
- "typeArgs": [
2926
- {
2927
- "__schema": "TypeRefSchema",
2928
- "location": {
2929
- "filePath": "use-lanes.tsx",
2930
- "line": 138,
2931
- "character": 90
2932
- },
2933
- "name": "FetchMoreLanesResult"
2934
- }
2935
- ]
2936
- },
2937
- "modifiers": []
2938
- }
2939
- },
2940
- {
2941
- "__schema": "TypeSchema",
2942
- "location": {
2943
- "filePath": "use-lanes.tsx",
2944
- "line": 140,
2945
- "character": 1
2946
- },
2947
- "signature": "type SearchLanes = (search?: string, skip?: boolean) => SearchLanesResult",
2948
- "name": "SearchLanes",
2949
- "type": {
2950
- "__schema": "FunctionLikeSchema",
2951
- "location": {
2952
- "filePath": "use-lanes.tsx",
2953
- "line": 140,
2954
- "character": 27
2955
- },
2956
- "signature": "(search?: string, skip?: boolean): SearchLanesResult",
2957
- "name": "",
2958
- "params": [
2959
- {
2960
- "__schema": "ParameterSchema",
2961
- "location": {
2962
- "filePath": "use-lanes.tsx",
2963
- "line": 140,
2964
- "character": 28
2965
- },
2966
- "name": "search",
2967
- "type": {
2968
- "__schema": "KeywordTypeSchema",
2969
- "location": {
2970
- "filePath": "use-lanes.tsx",
2971
- "line": 140,
2972
- "character": 37
2973
- },
2974
- "name": "string"
2975
- },
2976
- "isOptional": true,
2977
- "isSpread": false
2978
- },
2979
- {
2980
- "__schema": "ParameterSchema",
2981
- "location": {
2982
- "filePath": "use-lanes.tsx",
2983
- "line": 140,
2984
- "character": 45
2985
- },
2986
- "name": "skip",
2987
- "type": {
2988
- "__schema": "KeywordTypeSchema",
2989
- "location": {
2990
- "filePath": "use-lanes.tsx",
2991
- "line": 140,
2992
- "character": 52
2993
- },
2994
- "name": "boolean"
2995
- },
2996
- "isOptional": true,
2997
- "isSpread": false
2998
- }
2999
- ],
3000
- "returnType": {
3001
- "__schema": "TypeRefSchema",
3002
- "location": {
3003
- "filePath": "use-lanes.tsx",
3004
- "line": 140,
3005
- "character": 64
3006
- },
3007
- "name": "SearchLanesResult"
3008
- },
3009
- "modifiers": []
3010
- }
3011
- },
3012
- {
3013
- "__schema": "TypeSchema",
3014
- "location": {
3015
- "filePath": "use-lanes.tsx",
3016
- "line": 142,
3017
- "character": 1
3018
- },
3019
- "signature": "type UseLanesResult = UseRootLanesResult & {\n searchResult?: SearchLanesResult;\n}",
3020
- "name": "UseLanesResult",
3021
- "type": {
3022
- "__schema": "TypeIntersectionSchema",
3023
- "location": {
3024
- "filePath": "use-lanes.tsx",
3025
- "line": 142,
3026
- "character": 30
3027
- },
3028
- "types": [
3029
- {
3030
- "__schema": "TypeRefSchema",
3031
- "location": {
3032
- "filePath": "use-lanes.tsx",
3033
- "line": 142,
3034
- "character": 30
3035
- },
3036
- "name": "UseRootLanesResult",
3037
- "internalFilePath": "use-lanes.tsx"
3038
- },
3039
- {
3040
- "__schema": "TypeLiteralSchema",
3041
- "location": {
3042
- "filePath": "use-lanes.tsx",
3043
- "line": 142,
3044
- "character": 51
3045
- },
3046
- "members": [
3047
- {
3048
- "__schema": "VariableLikeSchema",
3049
- "location": {
3050
- "filePath": "use-lanes.tsx",
3051
- "line": 143,
3052
- "character": 3
3053
- },
3054
- "signature": "(property) searchResult?: SearchLanesResult",
3055
- "name": "searchResult",
3056
- "type": {
3057
- "__schema": "TypeRefSchema",
3058
- "location": {
3059
- "filePath": "use-lanes.tsx",
3060
- "line": 143,
3061
- "character": 3
3062
- },
3063
- "name": "SearchLanesResult"
3064
- },
3065
- "isOptional": true
3066
- }
3067
- ]
3068
- }
3069
- ]
3070
- }
3071
- },
3072
- {
3073
- "__schema": "TypeSchema",
3074
- "location": {
3075
- "filePath": "use-lanes.tsx",
3076
- "line": 146,
3077
- "character": 1
3078
- },
3079
- "signature": "type UseRootLanesResult = {\n lanesModel?: LanesModel;\n loading?: boolean;\n fetchMoreLanes?: FetchMoreLanes;\n hasMore?: boolean;\n offset?: number;\n limit?: number;\n}",
3080
- "name": "UseRootLanesResult",
3081
- "type": {
3082
- "__schema": "TypeLiteralSchema",
3083
- "location": {
3084
- "filePath": "use-lanes.tsx",
3085
- "line": 146,
3086
- "character": 34
3087
- },
3088
- "members": [
3089
- {
3090
- "__schema": "VariableLikeSchema",
3091
- "location": {
3092
- "filePath": "use-lanes.tsx",
3093
- "line": 147,
3094
- "character": 3
3095
- },
3096
- "signature": "(property) lanesModel?: LanesModel",
3097
- "name": "lanesModel",
3098
- "type": {
3099
- "__schema": "TypeRefSchema",
3100
- "location": {
3101
- "filePath": "use-lanes.tsx",
3102
- "line": 147,
3103
- "character": 3
3104
- },
3105
- "name": "LanesModel",
3106
- "componentId": {
3107
- "scope": "teambit.lanes",
3108
- "name": "ui/models/lanes-model",
3109
- "version": "0.0.220"
3110
- }
3111
- },
3112
- "isOptional": true
3113
- },
3114
- {
3115
- "__schema": "VariableLikeSchema",
3116
- "location": {
3117
- "filePath": "use-lanes.tsx",
3118
- "line": 148,
3119
- "character": 3
3120
- },
3121
- "signature": "(property) loading?: boolean",
3122
- "name": "loading",
3123
- "type": {
3124
- "__schema": "KeywordTypeSchema",
3125
- "location": {
3126
- "filePath": "use-lanes.tsx",
3127
- "line": 148,
3128
- "character": 13
3129
- },
3130
- "name": "boolean"
3131
- },
3132
- "isOptional": true
3133
- },
3134
- {
3135
- "__schema": "VariableLikeSchema",
3136
- "location": {
3137
- "filePath": "use-lanes.tsx",
3138
- "line": 149,
3139
- "character": 3
3140
- },
3141
- "signature": "(property) fetchMoreLanes?: FetchMoreLanes",
3142
- "name": "fetchMoreLanes",
3143
- "type": {
3144
- "__schema": "TypeRefSchema",
3145
- "location": {
3146
- "filePath": "use-lanes.tsx",
3147
- "line": 149,
3148
- "character": 3
3149
- },
3150
- "name": "FetchMoreLanes"
3151
- },
3152
- "isOptional": true
3153
- },
3154
- {
3155
- "__schema": "VariableLikeSchema",
3156
- "location": {
3157
- "filePath": "use-lanes.tsx",
3158
- "line": 150,
3159
- "character": 3
3160
- },
3161
- "signature": "(property) hasMore?: boolean",
3162
- "name": "hasMore",
3163
- "type": {
3164
- "__schema": "KeywordTypeSchema",
3165
- "location": {
3166
- "filePath": "use-lanes.tsx",
3167
- "line": 150,
3168
- "character": 13
3169
- },
3170
- "name": "boolean"
3171
- },
3172
- "isOptional": true
3173
- },
3174
- {
3175
- "__schema": "VariableLikeSchema",
3176
- "location": {
3177
- "filePath": "use-lanes.tsx",
3178
- "line": 151,
3179
- "character": 3
3180
- },
3181
- "signature": "(property) offset?: number",
3182
- "name": "offset",
3183
- "type": {
3184
- "__schema": "KeywordTypeSchema",
3185
- "location": {
3186
- "filePath": "use-lanes.tsx",
3187
- "line": 151,
3188
- "character": 12
3189
- },
3190
- "name": "number"
3191
- },
3192
- "isOptional": true
3193
- },
3194
- {
3195
- "__schema": "VariableLikeSchema",
3196
- "location": {
3197
- "filePath": "use-lanes.tsx",
3198
- "line": 152,
3199
- "character": 3
3200
- },
3201
- "signature": "(property) limit?: number",
3202
- "name": "limit",
3203
- "type": {
3204
- "__schema": "KeywordTypeSchema",
3205
- "location": {
3206
- "filePath": "use-lanes.tsx",
3207
- "line": 152,
3208
- "character": 11
3209
- },
3210
- "name": "number"
3211
- },
3212
- "isOptional": true
3213
- }
3214
- ]
3215
- }
3216
- },
3217
- {
3218
- "__schema": "TypeSchema",
3219
- "location": {
3220
- "filePath": "use-lanes.tsx",
3221
- "line": 155,
3222
- "character": 1
3223
- },
3224
- "signature": "type UseLanes = (targetLanes?: LanesModel, skip?: boolean, options?: UseLanesOptions, useContext?: boolean, scope?: string) => UseLanesResult",
3225
- "name": "UseLanes",
3226
- "type": {
3227
- "__schema": "FunctionLikeSchema",
3228
- "location": {
3229
- "filePath": "use-lanes.tsx",
3230
- "line": 155,
3231
- "character": 24
3232
- },
3233
- "signature": "(targetLanes?: \u001b[2m(component: teambit.lanes/ui/models/lanes-model)\u001b[22m LanesModel, skip?: boolean, options?: UseLanesOptions, useContext?: boolean, scope?: string): UseLanesResult",
3234
- "name": "",
3235
- "params": [
3236
- {
3237
- "__schema": "ParameterSchema",
3238
- "location": {
3239
- "filePath": "use-lanes.tsx",
3240
- "line": 156,
3241
- "character": 3
3242
- },
3243
- "name": "targetLanes",
3244
- "type": {
3245
- "__schema": "TypeRefSchema",
3246
- "location": {
3247
- "filePath": "use-lanes.tsx",
3248
- "line": 156,
3249
- "character": 17
3250
- },
3251
- "name": "LanesModel",
3252
- "componentId": {
3253
- "scope": "teambit.lanes",
3254
- "name": "ui/models/lanes-model",
3255
- "version": "0.0.220"
3256
- }
3257
- },
3258
- "isOptional": true,
3259
- "isSpread": false
3260
- },
3261
- {
3262
- "__schema": "ParameterSchema",
3263
- "location": {
3264
- "filePath": "use-lanes.tsx",
3265
- "line": 157,
3266
- "character": 3
3267
- },
3268
- "name": "skip",
3269
- "type": {
3270
- "__schema": "KeywordTypeSchema",
3271
- "location": {
3272
- "filePath": "use-lanes.tsx",
3273
- "line": 157,
3274
- "character": 10
3275
- },
3276
- "name": "boolean"
3277
- },
3278
- "isOptional": true,
3279
- "isSpread": false
3280
- },
3281
- {
3282
- "__schema": "ParameterSchema",
3283
- "location": {
3284
- "filePath": "use-lanes.tsx",
3285
- "line": 158,
3286
- "character": 3
3287
- },
3288
- "name": "options",
3289
- "type": {
3290
- "__schema": "TypeRefSchema",
3291
- "location": {
3292
- "filePath": "use-lanes.tsx",
3293
- "line": 158,
3294
- "character": 13
3295
- },
3296
- "name": "UseLanesOptions"
3297
- },
3298
- "isOptional": true,
3299
- "isSpread": false
3300
- },
3301
- {
3302
- "__schema": "ParameterSchema",
3303
- "location": {
3304
- "filePath": "use-lanes.tsx",
3305
- "line": 159,
3306
- "character": 3
3307
- },
3308
- "name": "useContext",
3309
- "type": {
3310
- "__schema": "KeywordTypeSchema",
3311
- "location": {
3312
- "filePath": "use-lanes.tsx",
3313
- "line": 159,
3314
- "character": 16
3315
- },
3316
- "name": "boolean"
3317
- },
3318
- "isOptional": true,
3319
- "isSpread": false
3320
- },
3321
- {
3322
- "__schema": "ParameterSchema",
3323
- "location": {
3324
- "filePath": "use-lanes.tsx",
3325
- "line": 160,
3326
- "character": 3
3327
- },
3328
- "name": "scope",
3329
- "type": {
3330
- "__schema": "KeywordTypeSchema",
3331
- "location": {
3332
- "filePath": "use-lanes.tsx",
3333
- "line": 160,
3334
- "character": 11
3335
- },
3336
- "name": "string"
3337
- },
3338
- "isOptional": true,
3339
- "isSpread": false
3340
- }
3341
- ],
3342
- "returnType": {
3343
- "__schema": "TypeRefSchema",
3344
- "location": {
3345
- "filePath": "use-lanes.tsx",
3346
- "line": 161,
3347
- "character": 6
3348
- },
3349
- "name": "UseLanesResult"
3350
- },
3351
- "modifiers": []
3352
- }
3353
- },
3354
- {
3355
- "__schema": "FunctionLikeSchema",
3356
- "location": {
3357
- "filePath": "use-lanes.tsx",
3358
- "line": 260,
3359
- "character": 14
3360
- },
3361
- "signature": "function(search: string, skip: boolean): {\n loading?: undefined;\n lanesModel?: undefined;\n} | {\n loading: boolean;\n lanesModel: LanesModel;\n}",
3362
- "name": "useSearchLanes",
3363
- "params": [
3364
- {
3365
- "__schema": "ParameterSchema",
3366
- "location": {
3367
- "filePath": "use-lanes.tsx",
3368
- "line": 260,
3369
- "character": 14
3370
- },
3371
- "name": "search",
3372
- "type": {
3373
- "__schema": "TypeRefSchema",
3374
- "location": {
3375
- "filePath": "use-lanes.tsx",
3376
- "line": 260,
3377
- "character": 30
3378
- },
3379
- "name": "SearchLanes"
3380
- },
3381
- "isOptional": false,
3382
- "isSpread": false
3383
- },
3384
- {
3385
- "__schema": "ParameterSchema",
3386
- "location": {
3387
- "filePath": "use-lanes.tsx",
3388
- "line": 260,
3389
- "character": 14
3390
- },
3391
- "name": "skip",
3392
- "type": {
3393
- "__schema": "TypeRefSchema",
3394
- "location": {
3395
- "filePath": "use-lanes.tsx",
3396
- "line": 260,
3397
- "character": 30
3398
- },
3399
- "name": "SearchLanes"
3400
- },
3401
- "isOptional": false,
3402
- "isSpread": false
3403
- }
3404
- ],
3405
- "returnType": {
3406
- "__schema": "InferenceTypeSchema",
3407
- "location": {
3408
- "filePath": "use-lanes.tsx",
3409
- "line": 260,
3410
- "character": 44
3411
- },
3412
- "type": "{\n loading?: undefined;\n lanesModel?: undefined;\n} | {\n loading: boolean;\n lanesModel: LanesModel;\n}"
3413
- },
3414
- "modifiers": []
3415
- },
3416
- {
3417
- "__schema": "FunctionLikeSchema",
3418
- "location": {
3419
- "filePath": "use-lanes.tsx",
3420
- "line": 283,
3421
- "character": 14
3422
- },
3423
- "signature": "function(targetLanes: LanesModel, skip: boolean, optionsFromProps: UseLanesOptions, useContextFromProps: boolean, scope: string): {\n searchResult: SearchLanesResult;\n ... 7 more ...;\n limit?: number;\n}",
3424
- "name": "useLanes",
3425
- "params": [
3426
- {
3427
- "__schema": "ParameterSchema",
3428
- "location": {
3429
- "filePath": "use-lanes.tsx",
3430
- "line": 283,
3431
- "character": 14
3432
- },
3433
- "name": "targetLanes",
3434
- "type": {
3435
- "__schema": "TypeRefSchema",
3436
- "location": {
3437
- "filePath": "use-lanes.tsx",
3438
- "line": 283,
3439
- "character": 24
3440
- },
3441
- "name": "UseLanes"
3442
- },
3443
- "isOptional": false,
3444
- "isSpread": false
3445
- },
3446
- {
3447
- "__schema": "ParameterSchema",
3448
- "location": {
3449
- "filePath": "use-lanes.tsx",
3450
- "line": 283,
3451
- "character": 14
3452
- },
3453
- "name": "skip",
3454
- "type": {
3455
- "__schema": "TypeRefSchema",
3456
- "location": {
3457
- "filePath": "use-lanes.tsx",
3458
- "line": 283,
3459
- "character": 24
3460
- },
3461
- "name": "UseLanes"
3462
- },
3463
- "isOptional": false,
3464
- "isSpread": false
3465
- },
3466
- {
3467
- "__schema": "ParameterSchema",
3468
- "location": {
3469
- "filePath": "use-lanes.tsx",
3470
- "line": 283,
3471
- "character": 14
3472
- },
3473
- "name": "optionsFromProps",
3474
- "type": {
3475
- "__schema": "TypeRefSchema",
3476
- "location": {
3477
- "filePath": "use-lanes.tsx",
3478
- "line": 283,
3479
- "character": 24
3480
- },
3481
- "name": "UseLanes"
3482
- },
3483
- "isOptional": false,
3484
- "isSpread": false
3485
- },
3486
- {
3487
- "__schema": "ParameterSchema",
3488
- "location": {
3489
- "filePath": "use-lanes.tsx",
3490
- "line": 283,
3491
- "character": 14
3492
- },
3493
- "name": "useContextFromProps",
3494
- "type": {
3495
- "__schema": "TypeRefSchema",
3496
- "location": {
3497
- "filePath": "use-lanes.tsx",
3498
- "line": 283,
3499
- "character": 24
3500
- },
3501
- "name": "UseLanes"
3502
- },
3503
- "isOptional": false,
3504
- "defaultValue": "true",
3505
- "isSpread": false
3506
- },
3507
- {
3508
- "__schema": "ParameterSchema",
3509
- "location": {
3510
- "filePath": "use-lanes.tsx",
3511
- "line": 283,
3512
- "character": 14
3513
- },
3514
- "name": "scope",
3515
- "type": {
3516
- "__schema": "TypeRefSchema",
3517
- "location": {
3518
- "filePath": "use-lanes.tsx",
3519
- "line": 283,
3520
- "character": 24
3521
- },
3522
- "name": "UseLanes"
3523
- },
3524
- "isOptional": false,
3525
- "isSpread": false
3526
- }
3527
- ],
3528
- "returnType": {
3529
- "__schema": "InferenceTypeSchema",
3530
- "location": {
3531
- "filePath": "use-lanes.tsx",
3532
- "line": 283,
3533
- "character": 35
3534
- },
3535
- "type": "{\n searchResult: SearchLanesResult;\n ... 7 more ...;\n limit?: number;\n}"
3536
- },
3537
- "modifiers": []
3538
- }
3539
- ],
3540
- "internals": [
3541
- {
3542
- "__schema": "ModuleSchema",
3543
- "location": {
3544
- "filePath": "use-lanes.tsx",
3545
- "line": 9,
3546
- "character": 1
3547
- },
3548
- "exports": [
3549
- {
3550
- "__schema": "VariableLikeSchema",
3551
- "location": {
3552
- "filePath": "use-lanes.tsx",
3553
- "line": 9,
3554
- "character": 7
3555
- },
3556
- "signature": "const GET_LANES: DocumentNode",
3557
- "name": "GET_LANES",
3558
- "type": {
3559
- "__schema": "InferenceTypeSchema",
3560
- "location": {
3561
- "filePath": "use-lanes.tsx",
3562
- "line": 9,
3563
- "character": 7
3564
- },
3565
- "type": "DocumentNode"
3566
- },
3567
- "isOptional": false,
3568
- "defaultValue": "gql`\n query Lanes(\n $extensionId: String\n $laneIds: [String!]\n $offset: Int\n $limit: Int\n $sort: LaneSort\n $search: String\n $viewedLaneId: [String!]\n $skipViewedLane: Boolean!\n ) {\n lanes {\n id\n viewedLane: list(ids: $viewedLaneId) @skip(if: $skipViewedLane) {\n id {\n name\n scope\n }\n hash\n createdAt\n createdBy {\n name\n email\n profileImage\n }\n readmeComponent {\n id {\n name\n scope\n version\n }\n }\n laneComponentIds {\n name\n scope\n version\n }\n }\n list(ids: $laneIds, offset: $offset, limit: $limit, sort: $sort, search: $search) {\n id {\n name\n scope\n }\n hash\n createdAt\n createdBy {\n name\n email\n profileImage\n }\n readmeComponent {\n id {\n name\n scope\n version\n }\n }\n laneComponentIds {\n name\n scope\n version\n }\n }\n current {\n id {\n name\n scope\n }\n createdAt\n createdBy {\n name\n email\n profileImage\n }\n laneComponentIds {\n name\n scope\n version\n }\n }\n default {\n id {\n name\n scope\n }\n createdAt\n createdBy {\n name\n email\n profileImage\n }\n laneComponentIds {\n name\n scope\n version\n }\n }\n }\n getHost(id: $extensionId) {\n id\n }\n }\n`"
3569
- }
3570
- ],
3571
- "internals": []
3572
- },
3573
- {
3574
- "__schema": "TypeSchema",
3575
- "location": {
3576
- "filePath": "use-lanes.tsx",
3577
- "line": 163,
3578
- "character": 1
3579
- },
3580
- "signature": "type UseRootLanes = (viewedLaneId?: LaneId, skip?: boolean, options?: UseLanesOptions, scope?: string) => UseRootLanesResult",
3581
- "name": "UseRootLanes",
3582
- "type": {
3583
- "__schema": "FunctionLikeSchema",
3584
- "location": {
3585
- "filePath": "use-lanes.tsx",
3586
- "line": 163,
3587
- "character": 21
3588
- },
3589
- "signature": "(viewedLaneId?: \u001b[2m(component: teambit.lanes/lane-id)\u001b[22m LaneId, skip?: boolean, options?: UseLanesOptions, scope?: string): UseRootLanesResult",
3590
- "name": "",
3591
- "params": [
3592
- {
3593
- "__schema": "ParameterSchema",
3594
- "location": {
3595
- "filePath": "use-lanes.tsx",
3596
- "line": 164,
3597
- "character": 3
3598
- },
3599
- "name": "viewedLaneId",
3600
- "type": {
3601
- "__schema": "TypeRefSchema",
3602
- "location": {
3603
- "filePath": "use-lanes.tsx",
3604
- "line": 164,
3605
- "character": 18
3606
- },
3607
- "name": "LaneId",
3608
- "componentId": {
3609
- "scope": "teambit.lanes",
3610
- "name": "lane-id",
3611
- "version": "0.0.311"
3612
- }
3613
- },
3614
- "isOptional": true,
3615
- "isSpread": false
3616
- },
3617
- {
3618
- "__schema": "ParameterSchema",
3619
- "location": {
3620
- "filePath": "use-lanes.tsx",
3621
- "line": 165,
3622
- "character": 3
3623
- },
3624
- "name": "skip",
3625
- "type": {
3626
- "__schema": "KeywordTypeSchema",
3627
- "location": {
3628
- "filePath": "use-lanes.tsx",
3629
- "line": 165,
3630
- "character": 10
3631
- },
3632
- "name": "boolean"
3633
- },
3634
- "isOptional": true,
3635
- "isSpread": false
3636
- },
3637
- {
3638
- "__schema": "ParameterSchema",
3639
- "location": {
3640
- "filePath": "use-lanes.tsx",
3641
- "line": 166,
3642
- "character": 3
3643
- },
3644
- "name": "options",
3645
- "type": {
3646
- "__schema": "TypeRefSchema",
3647
- "location": {
3648
- "filePath": "use-lanes.tsx",
3649
- "line": 166,
3650
- "character": 13
3651
- },
3652
- "name": "UseLanesOptions"
3653
- },
3654
- "isOptional": true,
3655
- "isSpread": false
3656
- },
3657
- {
3658
- "__schema": "ParameterSchema",
3659
- "location": {
3660
- "filePath": "use-lanes.tsx",
3661
- "line": 167,
3662
- "character": 3
3663
- },
3664
- "name": "scope",
3665
- "type": {
3666
- "__schema": "KeywordTypeSchema",
3667
- "location": {
3668
- "filePath": "use-lanes.tsx",
3669
- "line": 167,
3670
- "character": 11
3671
- },
3672
- "name": "string"
3673
- },
3674
- "isOptional": true,
3675
- "isSpread": false
3676
- }
3677
- ],
3678
- "returnType": {
3679
- "__schema": "TypeRefSchema",
3680
- "location": {
3681
- "filePath": "use-lanes.tsx",
3682
- "line": 168,
3683
- "character": 6
3684
- },
3685
- "name": "UseRootLanesResult",
3686
- "internalFilePath": "use-lanes.tsx"
3687
- },
3688
- "modifiers": []
3689
- }
3690
- },
3691
- {
3692
- "__schema": "ModuleSchema",
3693
- "location": {
3694
- "filePath": "use-lanes.tsx",
3695
- "line": 170,
3696
- "character": 1
3697
- },
3698
- "exports": [
3699
- {
3700
- "__schema": "FunctionLikeSchema",
3701
- "location": {
3702
- "filePath": "use-lanes.tsx",
3703
- "line": 170,
3704
- "character": 7
3705
- },
3706
- "signature": "function(viewedLaneId: LaneId, skip: boolean, options: UseLanesOptions, scope: string): {\n loading: boolean;\n lanesModel: LanesModel;\n fetchMoreLanes: FetchMoreLanes;\n hasMore: boolean;\n offset: number;\n limit: number;\n}",
3707
- "name": "useRootLanes",
3708
- "params": [
3709
- {
3710
- "__schema": "ParameterSchema",
3711
- "location": {
3712
- "filePath": "use-lanes.tsx",
3713
- "line": 170,
3714
- "character": 7
3715
- },
3716
- "name": "viewedLaneId",
3717
- "type": {
3718
- "__schema": "TypeRefSchema",
3719
- "location": {
3720
- "filePath": "use-lanes.tsx",
3721
- "line": 170,
3722
- "character": 21
3723
- },
3724
- "name": "UseRootLanes",
3725
- "internalFilePath": "use-lanes.tsx"
3726
- },
3727
- "isOptional": false,
3728
- "isSpread": false
3729
- },
3730
- {
3731
- "__schema": "ParameterSchema",
3732
- "location": {
3733
- "filePath": "use-lanes.tsx",
3734
- "line": 170,
3735
- "character": 7
3736
- },
3737
- "name": "skip",
3738
- "type": {
3739
- "__schema": "TypeRefSchema",
3740
- "location": {
3741
- "filePath": "use-lanes.tsx",
3742
- "line": 170,
3743
- "character": 21
3744
- },
3745
- "name": "UseRootLanes",
3746
- "internalFilePath": "use-lanes.tsx"
3747
- },
3748
- "isOptional": false,
3749
- "isSpread": false
3750
- },
3751
- {
3752
- "__schema": "ParameterSchema",
3753
- "location": {
3754
- "filePath": "use-lanes.tsx",
3755
- "line": 170,
3756
- "character": 7
3757
- },
3758
- "name": "options",
3759
- "type": {
3760
- "__schema": "TypeRefSchema",
3761
- "location": {
3762
- "filePath": "use-lanes.tsx",
3763
- "line": 170,
3764
- "character": 21
3765
- },
3766
- "name": "UseRootLanes",
3767
- "internalFilePath": "use-lanes.tsx"
3768
- },
3769
- "isOptional": false,
3770
- "defaultValue": "{}",
3771
- "isSpread": false
3772
- },
3773
- {
3774
- "__schema": "ParameterSchema",
3775
- "location": {
3776
- "filePath": "use-lanes.tsx",
3777
- "line": 170,
3778
- "character": 7
3779
- },
3780
- "name": "scope",
3781
- "type": {
3782
- "__schema": "TypeRefSchema",
3783
- "location": {
3784
- "filePath": "use-lanes.tsx",
3785
- "line": 170,
3786
- "character": 21
3787
- },
3788
- "name": "UseRootLanes",
3789
- "internalFilePath": "use-lanes.tsx"
3790
- },
3791
- "isOptional": false,
3792
- "isSpread": false
3793
- }
3794
- ],
3795
- "returnType": {
3796
- "__schema": "InferenceTypeSchema",
3797
- "location": {
3798
- "filePath": "use-lanes.tsx",
3799
- "line": 170,
3800
- "character": 36
3801
- },
3802
- "type": "{\n loading: boolean;\n lanesModel: LanesModel;\n fetchMoreLanes: FetchMoreLanes;\n hasMore: boolean;\n offset: number;\n limit: number;\n}"
3803
- },
3804
- "modifiers": []
3805
- }
3806
- ],
3807
- "internals": []
3808
- }
3809
- ]
3810
- }
3811
- ],
3812
- "componentId": {
3813
- "scope": "teambit.lanes",
3814
- "name": "hooks/use-lanes",
3815
- "version": "5d753b16cb637eb4af84aa8350cb6579104c80fb"
3816
- },
3817
- "taggedModuleExports": []
3818
- }