elastic/kibana

Cases plugin needs to export some more types publically

Open

#99.547 aperta il 6 mag 2021

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)TypeScript (8021 fork)batch import
Feature:CasesTeam:Casesgood first issuetechnical debt

Metriche repository

Star
 (19.065 star)
Metriche merge PR
 (Merge medio 1g 16h) (999 PR mergiate in 30 g)

Descrizione

Run node scripts/build_api_docs --stats exports --plugin cases to see the list:

 7 referenced API items not exported
┌─────────┬───────────────────────────────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ (index) │            Not exported source            │                                                    references                                                    │
├─────────┼───────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│    0    │       'cases-public-AllCasesProps'        │              'cases-def-public.CasesUiStart.getAllCases, cases-def-public.CasesUiStart.getAllCases'              │
│    1    │ 'cases-public-AllCasesSelectorModalProps' │ 'cases-def-public.CasesUiStart.getAllCasesSelectorModal, cases-def-public.CasesUiStart.getAllCasesSelectorModal' │
│    2    │       'cases-public-CaseViewProps'        │              'cases-def-public.CasesUiStart.getCaseView, cases-def-public.CasesUiStart.getCaseView'              │
│    3    │    'cases-public-ConfigureCasesProps'     │        'cases-def-public.CasesUiStart.getConfigureCases, cases-def-public.CasesUiStart.getConfigureCases'        │
│    4    │      'cases-public-CreateCaseProps'       │            'cases-def-public.CasesUiStart.getCreateCase, cases-def-public.CasesUiStart.getCreateCase'            │
│    5    │      'cases-public-RecentCasesProps'      │           'cases-def-public.CasesUiStart.getRecentCases, cases-def-public.CasesUiStart.getRecentCases'           │
│    6    │        'cases-server-CasesClient'         │                               'cases-def-server.CaseRequestContext.getCasesClient'                               │

Without exporting these types publically they won't show up in our API documentation:

Guida contributor