@myinterview/widget-react 1.0.88 → 1.0.311
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/README.md +4 -4
- package/dist/{cjs/types → esm}/App.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/CountDown.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/Counter.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/DeviceSelector.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/DeviceSelectorList.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/DeviceSelectorListNative.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/Error.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/ErrorBoundaries.d.ts +0 -0
- package/dist/esm/{types/components → components}/Errors.d.ts +4 -1
- package/dist/{cjs/types → esm}/components/Explanation.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/Footer.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/Header.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/InnerView.d.ts +2 -0
- package/dist/esm/{types/components → components}/Main.d.ts +3 -2
- package/dist/{cjs/types → esm}/components/OuterView.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/PermissionSteps.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/PracticeModeInfo.d.ts +0 -0
- package/dist/esm/components/PreviewItem.d.ts +16 -0
- package/dist/{cjs/types → esm}/components/PreviewList.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/Question.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/QuestionItem.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/QuestionsList.d.ts +0 -0
- package/dist/esm/{types/components → components}/RecorderModal.d.ts +1 -0
- package/dist/{cjs/types → esm}/components/Setup.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/SetupChecks.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/SliderModal.d.ts +0 -0
- package/dist/esm/components/TopTips.d.ts +2 -0
- package/dist/{cjs/types → esm}/components/Upload.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/VideoCamera.d.ts +1 -0
- package/dist/{cjs/types → esm}/components/VideoQuestion.d.ts +1 -0
- package/dist/{cjs/types → esm}/components/VideoTimeBar.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/WelcomePage.d.ts +6 -1
- package/dist/esm/components/Widget.d.ts +6 -0
- package/dist/{cjs/types → esm}/components/icons/ClockIcon.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/icons/Loading.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/icons/NoCameraMic.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/icons/PlayIcon.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/icons/Retake.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/icons/RotateScreenIcon.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/ui/Loader.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/ui/MicrophoneIndicator.d.ts +0 -0
- package/dist/esm/{types/components/ui/StartNowButton.d.ts → components/ui/MinimizeButton.d.ts} +1 -1
- package/dist/{cjs/types → esm}/components/ui/PracticeMode.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/ui/Progress.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/ui/QuestionDuration.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/ui/QuestionNumber.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/ui/RecordingButton.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/ui/RotateScreen.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/ui/Signal.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/ui/StartNowButton.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/ui/StartRecordingButton.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/ui/StopRecordingButton.d.ts +0 -0
- package/dist/{cjs/types → esm}/components/ui/UnsupportedModal.d.ts +0 -0
- package/dist/{cjs/types → esm}/config/index.d.ts +2 -1
- package/dist/{cjs/types → esm}/config/local.env.d.ts +0 -0
- package/dist/{cjs/types → esm}/config/prod.env.d.ts +0 -0
- package/dist/{cjs/types → esm}/config/staging.env.d.ts +0 -0
- package/dist/esm/{types/i18n → i18n}/config.d.ts +191 -28
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +12280 -2531
- package/dist/esm/index.js.map +1 -1
- package/dist/{cjs/types → esm}/interfaces/candidateInterface.d.ts +5 -1
- package/dist/{cjs/types → esm}/interfaces/candidateSessionInterface.d.ts +10 -5
- package/dist/{cjs/types → esm}/interfaces/companyInterface.d.ts +1 -0
- package/dist/esm/interfaces/configInterface.d.ts +58 -0
- package/dist/esm/{types/interfaces → interfaces}/jobInterface.d.ts +11 -1
- package/dist/esm/{types/interfaces → interfaces}/microphoneInterface.d.ts +2 -0
- package/dist/{cjs/types → esm}/interfaces/networkInterface.d.ts +0 -0
- package/dist/{cjs/types → esm}/interfaces/previewInterface.d.ts +0 -0
- package/dist/esm/interfaces/recorderInterface.d.ts +198 -0
- package/dist/{cjs/types → esm}/interfaces/storageInterface.d.ts +0 -0
- package/dist/{cjs/types → esm}/interfaces/uploaderInterface.d.ts +0 -0
- package/dist/{cjs/types → esm}/interfaces/videoInterface.d.ts +2 -1
- package/dist/{cjs/types → esm}/interfaces/widgetInterface.d.ts +26 -5
- package/dist/{cjs/types → esm}/machines/acceleratorMachines/accUploaderMachine.d.ts +0 -0
- package/dist/{cjs/types → esm}/machines/acceleratorMachines/accWidgetMachine.d.ts +0 -0
- package/dist/{cjs/types → esm}/machines/acceleratorMachines/microphoneMachine.d.ts +0 -0
- package/dist/{cjs/types → esm}/machines/acceleratorMachines/networkMachine.d.ts +0 -0
- package/dist/{cjs/types → esm}/machines/acceleratorMachines/previewMachine.d.ts +0 -0
- package/dist/{cjs/types → esm}/machines/acceleratorMachines/recorderMachineV2.d.ts +0 -0
- package/dist/{cjs/types → esm}/machines/acceleratorMachines/storageMachine.d.ts +0 -0
- package/dist/{cjs/types → esm}/reportWebVitals.d.ts +0 -0
- package/dist/esm/{types/services → services}/axiosInstances.service.d.ts +1 -0
- package/dist/{cjs/types → esm}/services/s3.service.d.ts +0 -0
- package/dist/esm/{types/services → services}/session.service.d.ts +12 -1
- package/dist/{cjs/types → esm}/services/speedTest.service.d.ts +0 -0
- package/dist/esm/services/video.service.d.ts +7 -0
- package/dist/{cjs/types → esm}/setupTests.d.ts +0 -0
- package/dist/{cjs/types → esm}/utils/authToken.utils.d.ts +0 -0
- package/dist/{cjs/types → esm}/utils/constants.utils.d.ts +6 -2
- package/dist/{cjs/types → esm}/utils/debug.utils.d.ts +0 -0
- package/dist/{cjs/types → esm}/utils/device.utils.d.ts +0 -0
- package/dist/{cjs/types → esm}/utils/errors.utils.d.ts +0 -0
- package/dist/{cjs/types → esm}/utils/formatters.utils.d.ts +0 -0
- package/dist/{cjs/types → esm}/utils/messages.utils.d.ts +0 -0
- package/dist/{cjs/types → esm}/utils/practiceQuestions.utils.d.ts +0 -0
- package/dist/esm/utils/recorderErrors.utils.d.ts +28 -0
- package/dist/{cjs/types → esm}/utils/sentry.utils.d.ts +0 -0
- package/dist/{cjs/types → esm}/utils/statusCodes.utils.d.ts +0 -0
- package/dist/index.d.ts +57 -15
- package/package.json +5 -4
- package/dist/cjs/index.js +0 -31900
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/types/components/Errors.d.ts +0 -9
- package/dist/cjs/types/components/Main.d.ts +0 -8
- package/dist/cjs/types/components/PreviewItem.d.ts +0 -10
- package/dist/cjs/types/components/RecorderModal.d.ts +0 -14
- package/dist/cjs/types/components/Widget.d.ts +0 -9
- package/dist/cjs/types/i18n/config.d.ts +0 -430
- package/dist/cjs/types/index.d.ts +0 -2
- package/dist/cjs/types/interfaces/configInterface.d.ts +0 -33
- package/dist/cjs/types/interfaces/jobInterface.d.ts +0 -22
- package/dist/cjs/types/interfaces/microphoneInterface.d.ts +0 -36
- package/dist/cjs/types/interfaces/recorderInterface.d.ts +0 -110
- package/dist/cjs/types/services/axiosInstances.service.d.ts +0 -3
- package/dist/cjs/types/services/session.service.d.ts +0 -46
- package/dist/cjs/types/services/video.service.d.ts +0 -7
- package/dist/cjs/types/utils/permissionSteps.utils.d.ts +0 -19
- package/dist/esm/types/App.d.ts +0 -2
- package/dist/esm/types/components/CountDown.d.ts +0 -6
- package/dist/esm/types/components/Counter.d.ts +0 -8
- package/dist/esm/types/components/DeviceSelector.d.ts +0 -10
- package/dist/esm/types/components/DeviceSelectorList.d.ts +0 -9
- package/dist/esm/types/components/DeviceSelectorListNative.d.ts +0 -6
- package/dist/esm/types/components/Error.d.ts +0 -8
- package/dist/esm/types/components/ErrorBoundaries.d.ts +0 -9
- package/dist/esm/types/components/Explanation.d.ts +0 -7
- package/dist/esm/types/components/Footer.d.ts +0 -2
- package/dist/esm/types/components/Header.d.ts +0 -10
- package/dist/esm/types/components/InnerView.d.ts +0 -12
- package/dist/esm/types/components/OuterView.d.ts +0 -8
- package/dist/esm/types/components/PermissionSteps.d.ts +0 -6
- package/dist/esm/types/components/PracticeModeInfo.d.ts +0 -8
- package/dist/esm/types/components/PreviewItem.d.ts +0 -10
- package/dist/esm/types/components/PreviewList.d.ts +0 -17
- package/dist/esm/types/components/Question.d.ts +0 -9
- package/dist/esm/types/components/QuestionItem.d.ts +0 -12
- package/dist/esm/types/components/QuestionsList.d.ts +0 -11
- package/dist/esm/types/components/Setup.d.ts +0 -6
- package/dist/esm/types/components/SetupChecks.d.ts +0 -14
- package/dist/esm/types/components/SliderModal.d.ts +0 -8
- package/dist/esm/types/components/Upload.d.ts +0 -13
- package/dist/esm/types/components/VideoCamera.d.ts +0 -28
- package/dist/esm/types/components/VideoQuestion.d.ts +0 -9
- package/dist/esm/types/components/VideoTimeBar.d.ts +0 -9
- package/dist/esm/types/components/WelcomePage.d.ts +0 -11
- package/dist/esm/types/components/Widget.d.ts +0 -9
- package/dist/esm/types/components/icons/ClockIcon.d.ts +0 -2
- package/dist/esm/types/components/icons/Loading.d.ts +0 -2
- package/dist/esm/types/components/icons/NoCameraMic.d.ts +0 -2
- package/dist/esm/types/components/icons/PlayIcon.d.ts +0 -6
- package/dist/esm/types/components/icons/Retake.d.ts +0 -2
- package/dist/esm/types/components/icons/RotateScreenIcon.d.ts +0 -2
- package/dist/esm/types/components/ui/Loader.d.ts +0 -2
- package/dist/esm/types/components/ui/MicrophoneIndicator.d.ts +0 -7
- package/dist/esm/types/components/ui/PracticeMode.d.ts +0 -2
- package/dist/esm/types/components/ui/Progress.d.ts +0 -6
- package/dist/esm/types/components/ui/QuestionDuration.d.ts +0 -6
- package/dist/esm/types/components/ui/QuestionNumber.d.ts +0 -7
- package/dist/esm/types/components/ui/RecordingButton.d.ts +0 -6
- package/dist/esm/types/components/ui/RotateScreen.d.ts +0 -2
- package/dist/esm/types/components/ui/Signal.d.ts +0 -9
- package/dist/esm/types/components/ui/StartRecordingButton.d.ts +0 -10
- package/dist/esm/types/components/ui/StopRecordingButton.d.ts +0 -7
- package/dist/esm/types/components/ui/UnsupportedModal.d.ts +0 -6
- package/dist/esm/types/config/index.d.ts +0 -6
- package/dist/esm/types/config/local.env.d.ts +0 -6
- package/dist/esm/types/config/prod.env.d.ts +0 -6
- package/dist/esm/types/config/staging.env.d.ts +0 -6
- package/dist/esm/types/index.d.ts +0 -2
- package/dist/esm/types/interfaces/candidateInterface.d.ts +0 -10
- package/dist/esm/types/interfaces/candidateSessionInterface.d.ts +0 -78
- package/dist/esm/types/interfaces/companyInterface.d.ts +0 -3
- package/dist/esm/types/interfaces/configInterface.d.ts +0 -33
- package/dist/esm/types/interfaces/networkInterface.d.ts +0 -9
- package/dist/esm/types/interfaces/previewInterface.d.ts +0 -14
- package/dist/esm/types/interfaces/recorderInterface.d.ts +0 -110
- package/dist/esm/types/interfaces/storageInterface.d.ts +0 -29
- package/dist/esm/types/interfaces/uploaderInterface.d.ts +0 -39
- package/dist/esm/types/interfaces/videoInterface.d.ts +0 -54
- package/dist/esm/types/interfaces/widgetInterface.d.ts +0 -192
- package/dist/esm/types/machines/acceleratorMachines/accUploaderMachine.d.ts +0 -6
- package/dist/esm/types/machines/acceleratorMachines/accWidgetMachine.d.ts +0 -6
- package/dist/esm/types/machines/acceleratorMachines/microphoneMachine.d.ts +0 -6
- package/dist/esm/types/machines/acceleratorMachines/networkMachine.d.ts +0 -5
- package/dist/esm/types/machines/acceleratorMachines/previewMachine.d.ts +0 -6
- package/dist/esm/types/machines/acceleratorMachines/recorderMachineV2.d.ts +0 -6
- package/dist/esm/types/machines/acceleratorMachines/storageMachine.d.ts +0 -6
- package/dist/esm/types/reportWebVitals.d.ts +0 -3
- package/dist/esm/types/services/s3.service.d.ts +0 -1
- package/dist/esm/types/services/speedTest.service.d.ts +0 -2
- package/dist/esm/types/services/video.service.d.ts +0 -7
- package/dist/esm/types/setupTests.d.ts +0 -1
- package/dist/esm/types/utils/authToken.utils.d.ts +0 -7
- package/dist/esm/types/utils/constants.utils.d.ts +0 -9
- package/dist/esm/types/utils/debug.utils.d.ts +0 -19
- package/dist/esm/types/utils/device.utils.d.ts +0 -12
- package/dist/esm/types/utils/errors.utils.d.ts +0 -9
- package/dist/esm/types/utils/formatters.utils.d.ts +0 -5
- package/dist/esm/types/utils/messages.utils.d.ts +0 -16
- package/dist/esm/types/utils/permissionSteps.utils.d.ts +0 -19
- package/dist/esm/types/utils/practiceQuestions.utils.d.ts +0 -2
- package/dist/esm/types/utils/sentry.utils.d.ts +0 -4
- package/dist/esm/types/utils/statusCodes.utils.d.ts +0 -13
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# React-Widget
|
|
2
2
|
|
|
3
|
-
The myInterview widget for [React](https://reactjs.com).
|
|
3
|
+
The myInterview widget for [React](https://reactjs.com).
|
|
4
4
|
|
|
5
5
|
See [myinterview.com](https://www.myinterview.com) for an examples and comprehensive docs.
|
|
6
6
|
|
|
@@ -27,7 +27,7 @@ import React from 'react';
|
|
|
27
27
|
import { Widget } from '@myinterview/widget-react';
|
|
28
28
|
|
|
29
29
|
const App = () => {
|
|
30
|
-
const
|
|
30
|
+
const onFinish = () => {
|
|
31
31
|
//...
|
|
32
32
|
}
|
|
33
33
|
const onError = () => {
|
|
@@ -38,7 +38,7 @@ const App = () => {
|
|
|
38
38
|
<Widget
|
|
39
39
|
job={{ job_id: "xxxxxxxxxxxxxxxxxx" }}
|
|
40
40
|
candidate={{ email: "test@mail.com", username: "Max" }}
|
|
41
|
-
config={{
|
|
41
|
+
config={{ onFinish, onError,
|
|
42
42
|
auth: "apikey xxxxxxxxxxxxxxxxx sig=xxxxxxxxxxxxxxxxxxxxxxxxxx" }}
|
|
43
43
|
/>
|
|
44
44
|
)
|
|
@@ -51,7 +51,7 @@ const App = () => {
|
|
|
51
51
|
|
|
52
52
|
# Thanks
|
|
53
53
|
|
|
54
|
-
Just want to say thank you to everyone who has made it happen.
|
|
54
|
+
Just want to say thank you to everyone who has made it happen.
|
|
55
55
|
|
|
56
56
|
## License
|
|
57
57
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { IVideoCorruptedMessagesKey } from '../interfaces/widgetInterface';
|
|
2
3
|
import { IDeviceSelectorList } from './DeviceSelectorList';
|
|
3
|
-
export declare type
|
|
4
|
+
export declare type VIDEO_ERRORS = Exclude<IVideoCorruptedMessagesKey, 'NO_ERROR'>;
|
|
5
|
+
export declare type MODAL_ERROR_KEY = 'MEDIA_PERMISSION' | 'NO_SOUND' | 'CONNECTION' | VIDEO_ERRORS;
|
|
4
6
|
interface IProps extends Partial<IDeviceSelectorList> {
|
|
5
7
|
errorType: MODAL_ERROR_KEY;
|
|
6
8
|
onDisplayPermissionSteps?: () => void;
|
|
9
|
+
onReInitRecorder?: () => void;
|
|
7
10
|
}
|
|
8
11
|
export declare const Errors: React.FC<IProps>;
|
|
9
12
|
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -4,9 +4,11 @@ import { IWidgetMachineProps } from '../interfaces/widgetInterface';
|
|
|
4
4
|
interface IProps extends IWidgetMachineProps {
|
|
5
5
|
recorderRef: ActorRef<DoneInvokeEvent<any>, any>;
|
|
6
6
|
isSliderModalOpen: boolean;
|
|
7
|
+
isWidgetMinimized: boolean;
|
|
7
8
|
onOpenSliderModal: () => void;
|
|
8
9
|
onCloseSliderModal: () => void;
|
|
9
10
|
onRecorderRetry: () => void;
|
|
11
|
+
onReInitRecorder: () => void;
|
|
10
12
|
}
|
|
11
13
|
export declare const InnerView: React.ForwardRefExoticComponent<IProps & React.RefAttributes<HTMLVideoElement>>;
|
|
12
14
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { IWidgetConfig } from '../interfaces/configInterface';
|
|
3
3
|
interface IProps {
|
|
4
|
-
|
|
4
|
+
widgetConfig: IWidgetConfig;
|
|
5
5
|
setShouldShowWaterMark: React.Dispatch<React.SetStateAction<boolean>>;
|
|
6
|
+
isWidgetMinimized: boolean;
|
|
6
7
|
}
|
|
7
8
|
export declare const Main: React.FC<IProps>;
|
|
8
9
|
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IDimensions {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
width: number;
|
|
6
|
+
}
|
|
7
|
+
interface IProps {
|
|
8
|
+
blob: string;
|
|
9
|
+
onSelectVideo: () => void;
|
|
10
|
+
isSelected: boolean;
|
|
11
|
+
position: number;
|
|
12
|
+
isPreviewMode: boolean;
|
|
13
|
+
onPreviewMode: (dimensions: IDimensions) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const PreviewItem: React.FC<IProps>;
|
|
16
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -5,6 +5,7 @@ import { MODAL_ERROR_KEY } from './Errors';
|
|
|
5
5
|
interface IProps extends IDeviceSelectorList {
|
|
6
6
|
errorType: MODAL_ERROR_KEY | null;
|
|
7
7
|
onDisplayPermissionSteps: () => void;
|
|
8
|
+
onReInitRecorder: () => void;
|
|
8
9
|
currentQuestion: number;
|
|
9
10
|
numberOfQuestions: number;
|
|
10
11
|
currentQuestionObj: IQuestion | undefined;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -11,6 +11,7 @@ interface IProps extends IDeviceSelectorProps {
|
|
|
11
11
|
isPermissionStepsOpen: boolean;
|
|
12
12
|
onDisplayPermissionSteps: () => void;
|
|
13
13
|
onClosePermissionSteps: () => void;
|
|
14
|
+
onReInitRecorder: () => void;
|
|
14
15
|
onRecorderRetry: () => void;
|
|
15
16
|
isRecorderCanChangeSettings: boolean;
|
|
16
17
|
canStartRecording: boolean;
|
|
File without changes
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface IProps {
|
|
3
3
|
introVideo: string;
|
|
4
|
-
|
|
4
|
+
welcomeTitle?: string;
|
|
5
|
+
welcomeText?: string;
|
|
5
6
|
onContinue: () => void;
|
|
6
7
|
logo: string;
|
|
7
8
|
company: string;
|
|
8
9
|
title: string;
|
|
10
|
+
termsUrl?: string;
|
|
11
|
+
privacyUrl?: string;
|
|
12
|
+
isResumed: boolean;
|
|
13
|
+
isWidgetMinimized: boolean;
|
|
9
14
|
}
|
|
10
15
|
export declare const WelcomePage: React.FC<IProps>;
|
|
11
16
|
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IClientWidgetConfig } from '../interfaces/configInterface';
|
|
3
|
+
import '../assets/styles/global.scss';
|
|
4
|
+
import { getToken } from '../utils/authToken.utils';
|
|
5
|
+
export declare const Widget: React.FC<IClientWidgetConfig>;
|
|
6
|
+
export { getToken };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,29 @@
|
|
|
1
1
|
import i18n from 'i18next';
|
|
2
2
|
export declare const resources: {
|
|
3
|
-
readonly
|
|
3
|
+
readonly cn: {
|
|
4
4
|
readonly translation: {
|
|
5
|
+
welcome: {
|
|
6
|
+
welcome: string;
|
|
7
|
+
startInterview: string;
|
|
8
|
+
resumeInterview: string;
|
|
9
|
+
see_more: string;
|
|
10
|
+
see_less: string;
|
|
11
|
+
click: string;
|
|
12
|
+
terms: string;
|
|
13
|
+
and: string;
|
|
14
|
+
privacy: string;
|
|
15
|
+
};
|
|
16
|
+
top_tips: {
|
|
17
|
+
top_tips: string;
|
|
18
|
+
title: string;
|
|
19
|
+
tip_1: string;
|
|
20
|
+
tip_2: string;
|
|
21
|
+
tip_3: string;
|
|
22
|
+
tip_4: string;
|
|
23
|
+
tip_5: string;
|
|
24
|
+
tip_6: string;
|
|
25
|
+
tip_7: string;
|
|
26
|
+
};
|
|
5
27
|
setup: {
|
|
6
28
|
title: string;
|
|
7
29
|
rotate: string;
|
|
@@ -32,8 +54,8 @@ export declare const resources: {
|
|
|
32
54
|
};
|
|
33
55
|
};
|
|
34
56
|
time: {
|
|
35
|
-
|
|
36
|
-
|
|
57
|
+
minuteLeft_one: string;
|
|
58
|
+
minuteLeft_other: string;
|
|
37
59
|
minute_one: string;
|
|
38
60
|
minute_other: string;
|
|
39
61
|
second_one: string;
|
|
@@ -43,13 +65,6 @@ export declare const resources: {
|
|
|
43
65
|
title: string;
|
|
44
66
|
subtitle: string;
|
|
45
67
|
label: string;
|
|
46
|
-
questions: {
|
|
47
|
-
numOfRetakes: number;
|
|
48
|
-
thinkingTime: number;
|
|
49
|
-
partDuration: number;
|
|
50
|
-
question: string;
|
|
51
|
-
description: string;
|
|
52
|
-
}[];
|
|
53
68
|
};
|
|
54
69
|
preview: {
|
|
55
70
|
title: string;
|
|
@@ -144,8 +159,30 @@ export declare const resources: {
|
|
|
144
159
|
};
|
|
145
160
|
};
|
|
146
161
|
};
|
|
147
|
-
readonly
|
|
162
|
+
readonly de: {
|
|
148
163
|
readonly translation: {
|
|
164
|
+
welcome: {
|
|
165
|
+
welcome: string;
|
|
166
|
+
startInterview: string;
|
|
167
|
+
resumeInterview: string;
|
|
168
|
+
see_more: string;
|
|
169
|
+
see_less: string;
|
|
170
|
+
click: string;
|
|
171
|
+
terms: string;
|
|
172
|
+
and: string;
|
|
173
|
+
privacy: string;
|
|
174
|
+
};
|
|
175
|
+
top_tips: {
|
|
176
|
+
top_tips: string;
|
|
177
|
+
title: string;
|
|
178
|
+
tip_1: string;
|
|
179
|
+
tip_2: string;
|
|
180
|
+
tip_3: string;
|
|
181
|
+
tip_4: string;
|
|
182
|
+
tip_5: string;
|
|
183
|
+
tip_6: string;
|
|
184
|
+
tip_7: string;
|
|
185
|
+
};
|
|
149
186
|
setup: {
|
|
150
187
|
title: string;
|
|
151
188
|
rotate: string;
|
|
@@ -158,7 +195,6 @@ export declare const resources: {
|
|
|
158
195
|
};
|
|
159
196
|
microphone: {
|
|
160
197
|
name: string;
|
|
161
|
-
NO_SOUND: string;
|
|
162
198
|
WAITING: string;
|
|
163
199
|
ERROR: string;
|
|
164
200
|
READY: string;
|
|
@@ -177,8 +213,8 @@ export declare const resources: {
|
|
|
177
213
|
};
|
|
178
214
|
};
|
|
179
215
|
time: {
|
|
180
|
-
|
|
181
|
-
|
|
216
|
+
minuteLeft_one: string;
|
|
217
|
+
minuteLeft_other: string;
|
|
182
218
|
minute_one: string;
|
|
183
219
|
minute_other: string;
|
|
184
220
|
second_one: string;
|
|
@@ -188,13 +224,6 @@ export declare const resources: {
|
|
|
188
224
|
title: string;
|
|
189
225
|
subtitle: string;
|
|
190
226
|
label: string;
|
|
191
|
-
questions: {
|
|
192
|
-
numOfRetakes: number;
|
|
193
|
-
thinkingTime: number;
|
|
194
|
-
partDuration: number;
|
|
195
|
-
question: string;
|
|
196
|
-
description: string;
|
|
197
|
-
}[];
|
|
198
227
|
};
|
|
199
228
|
preview: {
|
|
200
229
|
title: string;
|
|
@@ -289,8 +318,30 @@ export declare const resources: {
|
|
|
289
318
|
};
|
|
290
319
|
};
|
|
291
320
|
};
|
|
292
|
-
readonly
|
|
321
|
+
readonly en: {
|
|
293
322
|
readonly translation: {
|
|
323
|
+
welcome: {
|
|
324
|
+
title: string;
|
|
325
|
+
startInterview: string;
|
|
326
|
+
resumeInterview: string;
|
|
327
|
+
see_more: string;
|
|
328
|
+
see_less: string;
|
|
329
|
+
click: string;
|
|
330
|
+
terms: string;
|
|
331
|
+
and: string;
|
|
332
|
+
privacy: string;
|
|
333
|
+
};
|
|
334
|
+
top_tips: {
|
|
335
|
+
top_tips: string;
|
|
336
|
+
title: string;
|
|
337
|
+
tip_1: string;
|
|
338
|
+
tip_2: string;
|
|
339
|
+
tip_3: string;
|
|
340
|
+
tip_4: string;
|
|
341
|
+
tip_5: string;
|
|
342
|
+
tip_6: string;
|
|
343
|
+
tip_7: string;
|
|
344
|
+
};
|
|
294
345
|
setup: {
|
|
295
346
|
title: string;
|
|
296
347
|
rotate: string;
|
|
@@ -332,6 +383,13 @@ export declare const resources: {
|
|
|
332
383
|
title: string;
|
|
333
384
|
subtitle: string;
|
|
334
385
|
label: string;
|
|
386
|
+
questions: {
|
|
387
|
+
numOfRetakes: number;
|
|
388
|
+
thinkingTime: number;
|
|
389
|
+
partDuration: number;
|
|
390
|
+
question: string;
|
|
391
|
+
description: string;
|
|
392
|
+
}[];
|
|
335
393
|
};
|
|
336
394
|
preview: {
|
|
337
395
|
title: string;
|
|
@@ -378,6 +436,15 @@ export declare const resources: {
|
|
|
378
436
|
TITLE: string;
|
|
379
437
|
DETAILS: string;
|
|
380
438
|
};
|
|
439
|
+
RETRY: {
|
|
440
|
+
TITLE: string;
|
|
441
|
+
DETAILS: string;
|
|
442
|
+
CTA: string;
|
|
443
|
+
};
|
|
444
|
+
REDIRECT: {
|
|
445
|
+
TITLE: string;
|
|
446
|
+
DETAILS: string;
|
|
447
|
+
};
|
|
381
448
|
};
|
|
382
449
|
permissions: {
|
|
383
450
|
title: string;
|
|
@@ -426,8 +493,30 @@ export declare const resources: {
|
|
|
426
493
|
};
|
|
427
494
|
};
|
|
428
495
|
};
|
|
429
|
-
readonly
|
|
496
|
+
readonly es: {
|
|
430
497
|
readonly translation: {
|
|
498
|
+
welcome: {
|
|
499
|
+
welcome: string;
|
|
500
|
+
startInterview: string;
|
|
501
|
+
resumeInterview: string;
|
|
502
|
+
see_more: string;
|
|
503
|
+
see_less: string;
|
|
504
|
+
click: string;
|
|
505
|
+
terms: string;
|
|
506
|
+
and: string;
|
|
507
|
+
privacy: string;
|
|
508
|
+
};
|
|
509
|
+
top_tips: {
|
|
510
|
+
top_tips: string;
|
|
511
|
+
title: string;
|
|
512
|
+
tip_1: string;
|
|
513
|
+
tip_2: string;
|
|
514
|
+
tip_3: string;
|
|
515
|
+
tip_4: string;
|
|
516
|
+
tip_5: string;
|
|
517
|
+
tip_6: string;
|
|
518
|
+
tip_7: string;
|
|
519
|
+
};
|
|
431
520
|
setup: {
|
|
432
521
|
title: string;
|
|
433
522
|
rotate: string;
|
|
@@ -458,8 +547,8 @@ export declare const resources: {
|
|
|
458
547
|
};
|
|
459
548
|
};
|
|
460
549
|
time: {
|
|
461
|
-
|
|
462
|
-
|
|
550
|
+
less_than_one_left: string;
|
|
551
|
+
minuteLeft: string;
|
|
463
552
|
minute_one: string;
|
|
464
553
|
minute_other: string;
|
|
465
554
|
second_one: string;
|
|
@@ -563,8 +652,30 @@ export declare const resources: {
|
|
|
563
652
|
};
|
|
564
653
|
};
|
|
565
654
|
};
|
|
566
|
-
readonly
|
|
655
|
+
readonly fr: {
|
|
567
656
|
readonly translation: {
|
|
657
|
+
welcome: {
|
|
658
|
+
welcome: string;
|
|
659
|
+
startInterview: string;
|
|
660
|
+
resumeInterview: string;
|
|
661
|
+
see_more: string;
|
|
662
|
+
see_less: string;
|
|
663
|
+
click: string;
|
|
664
|
+
terms: string;
|
|
665
|
+
and: string;
|
|
666
|
+
privacy: string;
|
|
667
|
+
};
|
|
668
|
+
top_tips: {
|
|
669
|
+
top_tips: string;
|
|
670
|
+
title: string;
|
|
671
|
+
tip_1: string;
|
|
672
|
+
tip_2: string;
|
|
673
|
+
tip_3: string;
|
|
674
|
+
tip_4: string;
|
|
675
|
+
tip_5: string;
|
|
676
|
+
tip_6: string;
|
|
677
|
+
tip_7: string;
|
|
678
|
+
};
|
|
568
679
|
setup: {
|
|
569
680
|
title: string;
|
|
570
681
|
rotate: string;
|
|
@@ -577,6 +688,7 @@ export declare const resources: {
|
|
|
577
688
|
};
|
|
578
689
|
microphone: {
|
|
579
690
|
name: string;
|
|
691
|
+
NO_SOUND: string;
|
|
580
692
|
WAITING: string;
|
|
581
693
|
ERROR: string;
|
|
582
694
|
READY: string;
|
|
@@ -595,8 +707,8 @@ export declare const resources: {
|
|
|
595
707
|
};
|
|
596
708
|
};
|
|
597
709
|
time: {
|
|
598
|
-
|
|
599
|
-
|
|
710
|
+
less_than_one_left: string;
|
|
711
|
+
minuteLeft: string;
|
|
600
712
|
minute_one: string;
|
|
601
713
|
minute_other: string;
|
|
602
714
|
second_one: string;
|
|
@@ -606,6 +718,13 @@ export declare const resources: {
|
|
|
606
718
|
title: string;
|
|
607
719
|
subtitle: string;
|
|
608
720
|
label: string;
|
|
721
|
+
questions: {
|
|
722
|
+
numOfRetakes: number;
|
|
723
|
+
thinkingTime: number;
|
|
724
|
+
partDuration: number;
|
|
725
|
+
question: string;
|
|
726
|
+
description: string;
|
|
727
|
+
}[];
|
|
609
728
|
};
|
|
610
729
|
preview: {
|
|
611
730
|
title: string;
|
|
@@ -702,6 +821,28 @@ export declare const resources: {
|
|
|
702
821
|
};
|
|
703
822
|
readonly ko: {
|
|
704
823
|
readonly translation: {
|
|
824
|
+
welcome: {
|
|
825
|
+
welcome: string;
|
|
826
|
+
startInterview: string;
|
|
827
|
+
resumeInterview: string;
|
|
828
|
+
see_more: string;
|
|
829
|
+
see_less: string;
|
|
830
|
+
click: string;
|
|
831
|
+
terms: string;
|
|
832
|
+
and: string;
|
|
833
|
+
privacy: string;
|
|
834
|
+
};
|
|
835
|
+
top_tips: {
|
|
836
|
+
top_tips: string;
|
|
837
|
+
title: string;
|
|
838
|
+
tip_1: string;
|
|
839
|
+
tip_2: string;
|
|
840
|
+
tip_3: string;
|
|
841
|
+
tip_4: string;
|
|
842
|
+
tip_5: string;
|
|
843
|
+
tip_6: string;
|
|
844
|
+
tip_7: string;
|
|
845
|
+
};
|
|
705
846
|
setup: {
|
|
706
847
|
title: string;
|
|
707
848
|
rotate: string;
|
|
@@ -839,6 +980,28 @@ export declare const resources: {
|
|
|
839
980
|
};
|
|
840
981
|
readonly pt: {
|
|
841
982
|
readonly translation: {
|
|
983
|
+
welcome: {
|
|
984
|
+
welcome: string;
|
|
985
|
+
startInterview: string;
|
|
986
|
+
resumeInterview: string;
|
|
987
|
+
see_more: string;
|
|
988
|
+
see_less: string;
|
|
989
|
+
click: string;
|
|
990
|
+
terms: string;
|
|
991
|
+
and: string;
|
|
992
|
+
privacy: string;
|
|
993
|
+
};
|
|
994
|
+
top_tips: {
|
|
995
|
+
top_tips: string;
|
|
996
|
+
title: string;
|
|
997
|
+
tip_1: string;
|
|
998
|
+
tip_2: string;
|
|
999
|
+
tip_3: string;
|
|
1000
|
+
tip_4: string;
|
|
1001
|
+
tip_5: string;
|
|
1002
|
+
tip_6: string;
|
|
1003
|
+
tip_7: string;
|
|
1004
|
+
};
|
|
842
1005
|
setup: {
|
|
843
1006
|
title: string;
|
|
844
1007
|
rotate: string;
|