@testgorilla/tgo-ai-interview-test 1.0.0 → 2.0.0
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/.eslintrc.json +46 -0
- package/jest.config.ts +29 -0
- package/ng-package.json +16 -0
- package/package.json +8 -23
- package/project.json +48 -0
- package/src/lib/components/ai-interview-test/ai-interview-test.component.html +42 -0
- package/src/lib/components/ai-interview-test/ai-interview-test.component.scss +167 -0
- package/src/lib/components/ai-interview-test/ai-interview-test.component.spec.ts +212 -0
- package/src/lib/components/ai-interview-test/ai-interview-test.component.ts +192 -0
- package/src/lib/components/interview-stream/interview-stream.component.html +9 -0
- package/src/lib/components/interview-stream/interview-stream.component.scss +5 -0
- package/src/lib/components/interview-stream/interview-stream.component.spec.ts +259 -0
- package/src/lib/components/interview-stream/interview-stream.component.ts +320 -0
- package/src/lib/components/interview-video/interview-video.component.html +8 -0
- package/src/lib/components/interview-video/interview-video.component.scss +7 -0
- package/src/lib/components/interview-video/interview-video.component.spec.ts +140 -0
- package/src/lib/components/interview-video/interview-video.component.ts +67 -0
- package/src/lib/models/index.ts +13 -0
- package/src/lib/models/question-component.ts +13 -0
- package/src/lib/models/translations.ts +3 -0
- package/src/test-setup.ts +76 -0
- package/tsconfig.json +20 -0
- package/tsconfig.lib.json +20 -0
- package/tsconfig.lib.prod.json +11 -0
- package/tsconfig.spec.json +17 -0
- package/esm2022/index.mjs +0 -4
- package/esm2022/lib/components/ai-interview-test/ai-interview-test.component.mjs +0 -180
- package/esm2022/lib/components/index.mjs +0 -4
- package/esm2022/lib/components/interview-stream/interview-stream.component.mjs +0 -240
- package/esm2022/lib/components/interview-video/interview-video.component.mjs +0 -61
- package/esm2022/lib/models/index.mjs +0 -6
- package/esm2022/lib/models/question-component.mjs +0 -2
- package/esm2022/lib/models/translations.mjs +0 -3
- package/esm2022/shared/index.mjs +0 -5
- package/esm2022/shared/lib/components/audio-animation/audio-animation.component.mjs +0 -114
- package/esm2022/shared/lib/components/audio-animation/index.mjs +0 -2
- package/esm2022/shared/lib/components/index.mjs +0 -3
- package/esm2022/shared/lib/components/vimeo-video/index.mjs +0 -2
- package/esm2022/shared/lib/components/vimeo-video/vimeo-video.component.mjs +0 -101
- package/esm2022/shared/lib/models/answer.mjs +0 -2
- package/esm2022/shared/lib/models/assessment.mjs +0 -2
- package/esm2022/shared/lib/models/environment.mjs +0 -2
- package/esm2022/shared/lib/models/index.mjs +0 -9
- package/esm2022/shared/lib/models/question-component.mjs +0 -2
- package/esm2022/shared/lib/models/question.mjs +0 -2
- package/esm2022/shared/lib/models/test.mjs +0 -2
- package/esm2022/shared/lib/models/translations.mjs +0 -2
- package/esm2022/shared/lib/models/window.mjs +0 -2
- package/esm2022/shared/lib/services/api/api.service.mjs +0 -97
- package/esm2022/shared/lib/services/api/mocked-api.service.mjs +0 -131
- package/esm2022/shared/lib/services/environment/environment.service.mjs +0 -13
- package/esm2022/shared/lib/services/index.mjs +0 -10
- package/esm2022/shared/lib/services/localization/languages.model.mjs +0 -19
- package/esm2022/shared/lib/services/localization/transloco-lazy-module-utils.mjs +0 -27
- package/esm2022/shared/lib/services/localization/transloco-testing.module.mjs +0 -11
- package/esm2022/shared/lib/services/media/media.service.mjs +0 -129
- package/esm2022/shared/lib/services/mixpanel/mixpanel.service.mjs +0 -30
- package/esm2022/shared/lib/services/theme/theme.service.mjs +0 -24
- package/esm2022/shared/test-mocks/assessment-test.mock.mjs +0 -112
- package/esm2022/shared/test-mocks/index.mjs +0 -3
- package/esm2022/shared/test-mocks/tgo-ui.mock.mjs +0 -39
- package/esm2022/testgorilla-tgo-ai-interview-test.mjs +0 -5
- package/fesm2022/testgorilla-tgo-ai-interview-test.mjs +0 -484
- package/fesm2022/testgorilla-tgo-ai-interview-test.mjs.map +0 -1
- package/lib/components/ai-interview-test/ai-interview-test.component.d.ts +0 -44
- package/lib/components/interview-stream/interview-stream.component.d.ts +0 -46
- package/lib/components/interview-video/interview-video.component.d.ts +0 -16
- package/lib/models/index.d.ts +0 -3
- package/lib/models/question-component.d.ts +0 -5
- package/lib/models/translations.d.ts +0 -1
- package/shared/index.d.ts +0 -4
- package/shared/lib/components/audio-animation/audio-animation.component.d.ts +0 -27
- package/shared/lib/components/audio-animation/index.d.ts +0 -1
- package/shared/lib/components/index.d.ts +0 -2
- package/shared/lib/components/vimeo-video/index.d.ts +0 -1
- package/shared/lib/components/vimeo-video/vimeo-video.component.d.ts +0 -24
- package/shared/lib/models/answer.d.ts +0 -17
- package/shared/lib/models/assessment.d.ts +0 -80
- package/shared/lib/models/environment.d.ts +0 -1
- package/shared/lib/models/index.d.ts +0 -8
- package/shared/lib/models/question-component.d.ts +0 -54
- package/shared/lib/models/question.d.ts +0 -102
- package/shared/lib/models/test.d.ts +0 -81
- package/shared/lib/models/translations.d.ts +0 -1
- package/shared/lib/models/window.d.ts +0 -6
- package/shared/lib/services/api/api.service.d.ts +0 -25
- package/shared/lib/services/api/mocked-api.service.d.ts +0 -35
- package/shared/lib/services/environment/environment.service.d.ts +0 -6
- package/shared/lib/services/index.d.ts +0 -9
- package/shared/lib/services/localization/languages.model.d.ts +0 -15
- package/shared/lib/services/localization/transloco-lazy-module-utils.d.ts +0 -11
- package/shared/lib/services/localization/transloco-testing.module.d.ts +0 -2
- package/shared/lib/services/media/media.service.d.ts +0 -29
- package/shared/lib/services/mixpanel/mixpanel.service.d.ts +0 -10
- package/shared/lib/services/theme/theme.service.d.ts +0 -8
- package/shared/test-mocks/assessment-test.mock.d.ts +0 -21
- package/shared/test-mocks/index.d.ts +0 -2
- package/shared/test-mocks/tgo-ui.mock.d.ts +0 -21
- /package/{assets → src/assets}/i18n/en.json +0 -0
- /package/{index.d.ts → src/index.ts} +0 -0
- /package/{lib/components/index.d.ts → src/lib/components/index.ts} +0 -0
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { SelectedMediaDevices } from '../../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MediaService {
|
|
5
|
-
private mediaRecorder;
|
|
6
|
-
private selectedMediaDevices;
|
|
7
|
-
readonly isRecording: import("@angular/core").WritableSignal<boolean>;
|
|
8
|
-
stopRecording(): void;
|
|
9
|
-
getMediaStream(data: {
|
|
10
|
-
audio: boolean;
|
|
11
|
-
video: boolean;
|
|
12
|
-
}): Promise<MediaStream>;
|
|
13
|
-
recordAudio(): Observable<{
|
|
14
|
-
type: 'complete';
|
|
15
|
-
file: Blob;
|
|
16
|
-
} | {
|
|
17
|
-
type: 'volume';
|
|
18
|
-
value: number;
|
|
19
|
-
}>;
|
|
20
|
-
playAudio(url: string): Promise<void>;
|
|
21
|
-
setSelectedMediaDevices(data?: SelectedMediaDevices): void;
|
|
22
|
-
checkPermission(data: {
|
|
23
|
-
audio: boolean;
|
|
24
|
-
video: boolean;
|
|
25
|
-
}): Promise<boolean>;
|
|
26
|
-
private getMediaStreamConstraints;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MediaService, never>;
|
|
28
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MediaService>;
|
|
29
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as mixpanel from 'mixpanel-browser';
|
|
2
|
-
import '../../models/window';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MixpanelService {
|
|
5
|
-
private mixpanel;
|
|
6
|
-
track(eventName: string, properties?: mixpanel.Dict): void;
|
|
7
|
-
private sendTrackEvent;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MixpanelService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MixpanelService>;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ThemeService {
|
|
3
|
-
private readonly BRAND_PINK_COLOR;
|
|
4
|
-
getCompanyColor(): string;
|
|
5
|
-
private getCSSVariableValue;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
8
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Assessment } from '../lib/models/assessment';
|
|
2
|
-
import { Question } from '../lib/models/question';
|
|
3
|
-
import { TestResultRead } from '../lib/models/test';
|
|
4
|
-
export declare const mockAssessment: Assessment;
|
|
5
|
-
export declare const mockQuestion: Question;
|
|
6
|
-
export declare const mockTestResultRead: TestResultRead;
|
|
7
|
-
export declare const mockSQLTestCases: {
|
|
8
|
-
category: string;
|
|
9
|
-
id: number;
|
|
10
|
-
initial_sql: string;
|
|
11
|
-
name: string;
|
|
12
|
-
post_sql: string;
|
|
13
|
-
pre_sql: string;
|
|
14
|
-
result: string;
|
|
15
|
-
}[];
|
|
16
|
-
export declare const mockTestCases: {
|
|
17
|
-
name: string;
|
|
18
|
-
input: string;
|
|
19
|
-
solution: string;
|
|
20
|
-
points: number;
|
|
21
|
-
}[];
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const ButtonComponentModule: {
|
|
2
|
-
new (): {};
|
|
3
|
-
};
|
|
4
|
-
export declare const IconComponentModule: {
|
|
5
|
-
new (): {};
|
|
6
|
-
};
|
|
7
|
-
export declare const CardComponentModule: {
|
|
8
|
-
new (): {};
|
|
9
|
-
};
|
|
10
|
-
export declare const DialogComponentModule: {
|
|
11
|
-
new (): {};
|
|
12
|
-
};
|
|
13
|
-
export declare class DialogService {
|
|
14
|
-
open: any;
|
|
15
|
-
}
|
|
16
|
-
export declare class SnackbarService {
|
|
17
|
-
error: any;
|
|
18
|
-
}
|
|
19
|
-
export declare const QuillViewComponent: {
|
|
20
|
-
new (): {};
|
|
21
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|