@teambit/lanes.hooks.use-lanes 0.0.257 → 0.0.259

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