Rearrange recording feature files

This commit is contained in:
Bettenbuk Zoltan
2018-11-19 15:09:09 +01:00
committed by Zoltan Bettenbuk
parent 2b1cb75e40
commit 71edea8aac
40 changed files with 115 additions and 69 deletions

View File

@@ -10,8 +10,10 @@ import {
import { getActiveSession } from '../../functions';
import StartLiveStreamDialog from './StartLiveStreamDialog';
import StopLiveStreamDialog from './StopLiveStreamDialog';
import {
StartLiveStreamDialog,
StopLiveStreamDialog
} from './_';
/**
* The type of the React {@code Component} props of

View File

@@ -0,0 +1,3 @@
// @flow
export * from './native';

View File

@@ -0,0 +1,3 @@
// @flow
export * from './web';

View File

@@ -1,3 +1,3 @@
export { default as LiveStreamButton } from './LiveStreamButton';
export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';
export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';
// @flow
export * from './_';

View File

@@ -4,7 +4,7 @@ import React, { Component } from 'react';
import { Platform, Text, View } from 'react-native';
import { connect } from 'react-redux';
import { translate } from '../../../base/i18n';
import { translate } from '../../../../base/i18n';
import {
GOOGLE_API_STATES,
@@ -12,7 +12,7 @@ import {
googleApi,
GoogleSignInButton,
setGoogleAPIState
} from '../../../google-api';
} from '../../../../google-api';
import styles from './styles';

View File

@@ -2,12 +2,12 @@
import { connect } from 'react-redux';
import { translate } from '../../../base/i18n';
import { translate } from '../../../../base/i18n';
import AbstractLiveStreamButton, {
_mapStateToProps,
type Props
} from './AbstractLiveStreamButton';
} from '../AbstractLiveStreamButton';
/**
* An implementation of a button for starting and stopping live streaming.

View File

@@ -4,14 +4,15 @@ import React from 'react';
import { View } from 'react-native';
import { connect } from 'react-redux';
import { translate } from '../../../base/i18n';
import { googleApi } from '../../../google-api';
import { translate } from '../../../../base/i18n';
import { googleApi } from '../../../../google-api';
import { setLiveStreamKey } from '../../actions';
import { setLiveStreamKey } from '../../../actions';
import AbstractStartLiveStreamDialog,
{ _mapStateToProps, type Props } from './AbstractStartLiveStreamDialog';
{ _mapStateToProps, type Props } from '../AbstractStartLiveStreamDialog';
import GoogleSigninForm from './GoogleSigninForm';
import StreamKeyForm from './StreamKeyForm';
import StreamKeyPicker from './StreamKeyPicker';

View File

@@ -3,12 +3,12 @@
import React from 'react';
import { connect } from 'react-redux';
import { DialogContent } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import { DialogContent } from '../../../../base/dialog';
import { translate } from '../../../../base/i18n';
import AbstractStopLiveStreamDialog, {
_mapStateToProps
} from './AbstractStopLiveStreamDialog';
} from '../AbstractStopLiveStreamDialog';
/**
* A React Component for confirming the participant wishes to stop the currently

View File

@@ -3,11 +3,12 @@
import React from 'react';
import { Linking, Text, TextInput, TouchableOpacity, View } from 'react-native';
import { translate } from '../../../base/i18n';
import { translate } from '../../../../base/i18n';
import AbstractStreamKeyForm, {
type Props
} from './AbstractStreamKeyForm';
} from '../AbstractStreamKeyForm';
import styles from './styles';
/**

View File

@@ -3,7 +3,7 @@
import React, { Component } from 'react';
import { Text, TouchableHighlight, View } from 'react-native';
import { translate } from '../../../base/i18n';
import { translate } from '../../../../base/i18n';
import styles, { ACTIVE_OPACITY, TOUCHABLE_UNDERLAY } from './styles';

View File

@@ -0,0 +1,5 @@
// @flow
export { default as LiveStreamButton } from './LiveStreamButton';
export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';
export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';

View File

@@ -1,6 +1,10 @@
// @flow
import { BoxModel, ColorPalette, createStyleSheet } from '../../../base/styles';
import {
BoxModel,
ColorPalette,
createStyleSheet
} from '../../../../base/styles';
/**
* Opacity of the TouchableHighlight.

View File

@@ -3,13 +3,13 @@
import React from 'react';
import { connect } from 'react-redux';
import { translate } from '../../../base/i18n';
import { Container, Text } from '../../../base/react';
import { translate } from '../../../../base/i18n';
import { Container, Text } from '../../../../base/react';
import AbstractLiveStreamButton, {
_mapStateToProps as _abstractMapStateToProps,
type Props as AbstractProps
} from './AbstractLiveStreamButton';
} from '../AbstractLiveStreamButton';
declare var interfaceConfig: Object;

View File

@@ -4,7 +4,7 @@ import Spinner from '@atlaskit/spinner';
import React from 'react';
import { connect } from 'react-redux';
import { translate } from '../../../base/i18n';
import { translate } from '../../../../base/i18n';
import {
GOOGLE_API_STATES,
@@ -15,12 +15,13 @@ import {
showAccountSelection,
signIn,
updateProfile
} from '../../../google-api';
} from '../../../../google-api';
import AbstractStartLiveStreamDialog, {
_mapStateToProps as _abstractMapStateToProps,
type Props as AbstractProps
} from './AbstractStartLiveStreamDialog';
} from '../AbstractStartLiveStreamDialog';
import StreamKeyPicker from './StreamKeyPicker';
import StreamKeyForm from './StreamKeyForm';

View File

@@ -2,11 +2,11 @@
import { connect } from 'react-redux';
import { translate } from '../../../base/i18n';
import { translate } from '../../../../base/i18n';
import AbstractStopLiveStreamDialog, {
_mapStateToProps
} from './AbstractStopLiveStreamDialog';
} from '../AbstractStopLiveStreamDialog';
/**
* A React Component for confirming the participant wishes to stop the currently

View File

@@ -3,11 +3,11 @@
import { FieldTextStateless } from '@atlaskit/field-text';
import React from 'react';
import { translate } from '../../../base/i18n';
import { translate } from '../../../../base/i18n';
import AbstractStreamKeyForm, {
type Props
} from './AbstractStreamKeyForm';
} from '../AbstractStreamKeyForm';
/**
* A React Component for entering a key for starting a YouTube live stream.

View File

@@ -7,7 +7,7 @@ import {
} from '@atlaskit/dropdown-menu';
import React, { PureComponent } from 'react';
import { translate } from '../../../base/i18n';
import { translate } from '../../../../base/i18n';
/**
* The type of the React {@code Component} props of {@link StreamKeyPicker}.

View File

@@ -0,0 +1,5 @@
// @flow
export { default as LiveStreamButton } from './LiveStreamButton';
export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';
export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';