mirror of https://github.com/jitsi/jitsi-meet
ref: Remove index files (#13154)
Fix imports Convert some files to TSpull/13155/head jitsi-meet_8497
parent
20fd544ded
commit
05a79ec793
@ -1,2 +1,5 @@ |
||||
// @ts-ignore
|
||||
export { default as LoginDialog } from './native/LoginDialog'; |
||||
// eslint-disable-next-line lines-around-comment
|
||||
// @ts-ignore
|
||||
export { default as WaitForOwnerDialog } from './native/WaitForOwnerDialog'; |
||||
|
@ -1 +1,2 @@ |
||||
export { default as LoginDialog } from './web/LoginDialog'; |
||||
export { default as WaitForOwnerDialog } from './web/WaitForOwnerDialog'; |
||||
|
@ -1,90 +0,0 @@ |
||||
// @flow
|
||||
|
||||
import type { ComponentType } from 'react'; |
||||
|
||||
/** |
||||
* Item data for <tt>NavigateSectionList</tt>. |
||||
*/ |
||||
export type Item = { |
||||
|
||||
/** |
||||
* The avatar URL or icon name. |
||||
*/ |
||||
avatar: ?string, |
||||
|
||||
/** |
||||
* The color base of the avatar. |
||||
*/ |
||||
colorBase: string, |
||||
|
||||
/** |
||||
* An optional react element to append to the end of the Item. |
||||
*/ |
||||
elementAfter?: ?React$Node, |
||||
|
||||
/** |
||||
* Unique ID of the item. |
||||
*/ |
||||
id: Object | string, |
||||
|
||||
/** |
||||
* Item title. |
||||
*/ |
||||
title: string, |
||||
|
||||
/** |
||||
* Item url. |
||||
*/ |
||||
url: string, |
||||
|
||||
/** |
||||
* Lines[0] - date |
||||
* lines[1] - duration |
||||
* lines[2] - server name. |
||||
*/ |
||||
lines: Array<string> |
||||
} |
||||
|
||||
/** |
||||
* Web implementation of section data for NavigateSectionList. |
||||
*/ |
||||
export type Section = { |
||||
|
||||
/** |
||||
* Section title. |
||||
*/ |
||||
title: string, |
||||
|
||||
/** |
||||
* Unique key for the section. |
||||
*/ |
||||
key?: string, |
||||
|
||||
/** |
||||
* Array of items in the section. |
||||
*/ |
||||
data: $ReadOnlyArray<Item>, |
||||
|
||||
/** |
||||
* Optional properties added only to fix some flow errors thrown by React |
||||
* SectionList. |
||||
*/ |
||||
ItemSeparatorComponent?: ?ComponentType<any>, |
||||
|
||||
keyExtractor?: (item: Object) => string, |
||||
|
||||
renderItem?: ?(info: Object) => null | React$Element<any> |
||||
|
||||
} |
||||
|
||||
/** |
||||
* Native implementation of section data for NavigateSectionList. |
||||
* |
||||
* When react-native's SectionList component parses through an array of sections |
||||
* it passes the section nested within the section property of another object |
||||
* to the renderSection method (on web for our own implementation of SectionList |
||||
* this nesting is not implemented as there is no need for nesting). |
||||
*/ |
||||
export type SetionListSection = { |
||||
section: Section |
||||
} |
@ -1,8 +0,0 @@ |
||||
// @flow
|
||||
|
||||
/** |
||||
* A list of base components to be exported without all the components being exported from |
||||
* this feature to reduce package size of libraries. |
||||
*/ |
||||
|
||||
export * from './components/base'; |
@ -1,3 +0,0 @@ |
||||
// @flow
|
||||
|
||||
export * from './native'; |
@ -1 +0,0 @@ |
||||
export * from './web'; |
@ -1,3 +0,0 @@ |
||||
// @flow
|
||||
|
||||
export { default as Container } from './native/Container'; |
@ -1,3 +0,0 @@ |
||||
// @flow
|
||||
|
||||
export { default as Container } from './web/Container'; |
@ -1,5 +0,0 @@ |
||||
// @flow
|
||||
|
||||
export * from './_'; |
||||
export { default as AbstractPage } from './AbstractPage'; |
||||
export { default as NavigateSectionList } from './NavigateSectionList'; |
@ -0,0 +1,5 @@ |
||||
/* eslint-disable lines-around-comment */ |
||||
// @ts-ignore
|
||||
export { default as Container } from './native/Container'; |
||||
// @ts-ignore
|
||||
export { default as Text } from './native/Text'; |
@ -0,0 +1,5 @@ |
||||
/* eslint-disable lines-around-comment */ |
||||
// @ts-ignore
|
||||
export { default as Container } from './web/Container'; |
||||
// @ts-ignore
|
||||
export { default as Text } from './web/Text'; |
@ -1,21 +0,0 @@ |
||||
// @flow
|
||||
|
||||
export { default as AvatarListItem } from './AvatarListItem'; |
||||
export { default as BaseIndicator } from './BaseIndicator'; |
||||
export { default as Container } from './Container'; |
||||
export { default as Image } from './Image'; |
||||
export { default as Link } from './Link'; |
||||
export { default as Linkify } from './Linkify'; |
||||
export { default as LoadingIndicator } from './LoadingIndicator'; |
||||
export { default as Modal } from './Modal'; |
||||
export { default as NavigateSectionListEmptyComponent } from |
||||
'./NavigateSectionListEmptyComponent'; |
||||
export { default as NavigateSectionListItem } |
||||
from './NavigateSectionListItem'; |
||||
export { default as NavigateSectionListSectionHeader } |
||||
from './NavigateSectionListSectionHeader'; |
||||
export { default as Pressable } from './Pressable'; |
||||
export { default as SectionList } from './SectionList'; |
||||
export { default as SlidingView } from './SlidingView'; |
||||
export { default as Text } from './Text'; |
||||
export { default as TintedView } from './TintedView'; |
@ -1,3 +1 @@ |
||||
/* @flow */ |
||||
|
||||
export { default } from '../../../ui/components/web/Spinner'; |
@ -1,18 +0,0 @@ |
||||
// @flow
|
||||
|
||||
export { default as BaseIndicator } from './BaseIndicator'; |
||||
export { default as Container } from './Container'; |
||||
export { default as Image } from './Image'; |
||||
export { default as Linkify } from './Linkify'; |
||||
export { default as LoadingIndicator } from './LoadingIndicator'; |
||||
export { default as MeetingsList } from './MeetingsList'; |
||||
export { default as MultiSelectAutocomplete } from './MultiSelectAutocomplete'; |
||||
export { default as NavigateSectionListEmptyComponent } from |
||||
'./NavigateSectionListEmptyComponent'; |
||||
export { default as NavigateSectionListItem } from |
||||
'./NavigateSectionListItem'; |
||||
export { default as NavigateSectionListSectionHeader } |
||||
from './NavigateSectionListSectionHeader'; |
||||
export { default as SectionList } from './SectionList'; |
||||
export { default as Text } from './Text'; |
||||
export { default as Watermarks } from './Watermarks'; |
@ -1,5 +0,0 @@ |
||||
export * from './components'; |
||||
export * from './functions'; |
||||
|
||||
export { default as Platform } from './Platform'; |
||||
export * from './Types'; |
Loading…
Reference in new issue