@testgorilla/tgo-coding-test 2.0.1 → 2.0.3

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.
Files changed (39) hide show
  1. package/README.md +8 -5
  2. package/fesm2022/testgorilla-tgo-coding-test.mjs +24 -37
  3. package/fesm2022/testgorilla-tgo-coding-test.mjs.map +1 -1
  4. package/index.d.ts +1 -1
  5. package/lib/components/tgo-coding-test-candidate-view/tgo-coding-test-candidate-view.component.d.ts +1 -1
  6. package/lib/config/index.d.ts +1 -1
  7. package/lib/config/tgo-coding-test.token.d.ts +19 -0
  8. package/lib/services/candidate-coding-test-services/candidature-api.service.d.ts +1 -1
  9. package/lib/services/candidate-coding-test-services/coding-test.service.d.ts +1 -1
  10. package/package.json +25 -21
  11. package/lib/config/tgo-coding-test.provider.d.ts +0 -26
  12. package/shared/index.d.ts +0 -4
  13. package/shared/lib/components/audio-animation/audio-animation.component.d.ts +0 -27
  14. package/shared/lib/components/audio-animation/index.d.ts +0 -1
  15. package/shared/lib/components/index.d.ts +0 -2
  16. package/shared/lib/components/vimeo-video/index.d.ts +0 -1
  17. package/shared/lib/components/vimeo-video/vimeo-video.component.d.ts +0 -24
  18. package/shared/lib/models/answer.d.ts +0 -17
  19. package/shared/lib/models/assessment.d.ts +0 -80
  20. package/shared/lib/models/environment.d.ts +0 -1
  21. package/shared/lib/models/index.d.ts +0 -8
  22. package/shared/lib/models/question-component.d.ts +0 -54
  23. package/shared/lib/models/question.d.ts +0 -102
  24. package/shared/lib/models/test.d.ts +0 -81
  25. package/shared/lib/models/translations.d.ts +0 -1
  26. package/shared/lib/models/window.d.ts +0 -6
  27. package/shared/lib/services/api/api.service.d.ts +0 -25
  28. package/shared/lib/services/api/mocked-api.service.d.ts +0 -35
  29. package/shared/lib/services/environment/environment.service.d.ts +0 -6
  30. package/shared/lib/services/index.d.ts +0 -9
  31. package/shared/lib/services/localization/languages.model.d.ts +0 -15
  32. package/shared/lib/services/localization/transloco-lazy-module-utils.d.ts +0 -11
  33. package/shared/lib/services/localization/transloco-testing.module.d.ts +0 -2
  34. package/shared/lib/services/media/media.service.d.ts +0 -29
  35. package/shared/lib/services/mixpanel/mixpanel.service.d.ts +0 -10
  36. package/shared/lib/services/theme/theme.service.d.ts +0 -8
  37. package/shared/test-mocks/assessment-test.mock.d.ts +0 -21
  38. package/shared/test-mocks/index.d.ts +0 -2
  39. package/shared/test-mocks/tgo-ui.mock.d.ts +0 -21
@@ -1,15 +0,0 @@
1
- export declare enum Language {
2
- en = "en",
3
- es = "es",
4
- nl = "nl",
5
- fr = "fr",
6
- de = "de",
7
- 'it-it' = "it-it",
8
- 'ja-jp' = "ja-jp",
9
- 'pt-br' = "pt-br",
10
- 'da-dk' = "da-dk",
11
- 'nb-no' = "nb-no",
12
- 'pl-pl' = "pl-pl",
13
- 'sv-se' = "sv-se"
14
- }
15
- export declare const getAvailableLangs: () => Language[];
@@ -1,11 +0,0 @@
1
- import { ValueProvider } from '@angular/core';
2
- /**
3
- * The util is based on this issue https://github.com/jsverse/transloco/issues/608#issuecomment-1416113493
4
- *
5
- * Transloco can't have several forRoot modules. so the only way for now to decouple translations as a separate file and context
6
- * from the shell (TAS in this case) is to use TRANSLOCO_SCOPE
7
- */
8
- export declare class TranslocoLazyModuleUtils {
9
- private static createInlineLoader;
10
- static getScopeProvider(scope: string, languages: Array<string>, alias: string, loaderFn: (l: string) => Promise<JSON>): ValueProvider;
11
- }
@@ -1,2 +0,0 @@
1
- import { TranslocoTestingModule, TranslocoTestingOptions } from '@ngneat/transloco';
2
- export declare const getTranslocoModule: (options?: TranslocoTestingOptions) => import("@angular/core").ModuleWithProviders<TranslocoTestingModule>;
@@ -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,2 +0,0 @@
1
- export * from './assessment-test.mock';
2
- export * from './tgo-ui.mock';
@@ -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
- };