@myinterview/widget-react 1.1.24-export-ref-actions → 1.1.25-development-aadf19b
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/dist/cjs/components/Widget.d.ts +2 -5
- package/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/index.js +3 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interfaces/configInterface.d.ts +0 -4
- package/dist/esm/components/Widget.d.ts +2 -5
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +3 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/configInterface.d.ts +0 -4
- package/dist/index.d.ts +22 -29
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
import React$1, { CSSProperties } from 'react';
|
|
2
2
|
|
|
3
|
+
interface ICandidate {
|
|
4
|
+
candidate_id?: string;
|
|
5
|
+
email: string;
|
|
6
|
+
username?: string;
|
|
7
|
+
phone?: string;
|
|
8
|
+
video_id?: string;
|
|
9
|
+
redirectUrl?: string;
|
|
10
|
+
additionalData?: object;
|
|
11
|
+
disableResume?: boolean;
|
|
12
|
+
reapply?: boolean;
|
|
13
|
+
enableNotifications?: boolean;
|
|
14
|
+
apiKey?: string;
|
|
15
|
+
company_id?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface ICompany {
|
|
19
|
+
name: string;
|
|
20
|
+
shouldShowWaterMark: boolean;
|
|
21
|
+
}
|
|
22
|
+
|
|
3
23
|
declare const enum ANSWER_TYPES {
|
|
4
24
|
VIDEO = "video",
|
|
5
25
|
TEXT = "text",
|
|
@@ -71,26 +91,6 @@ type IClientJob = Omit<IJob, 'questions'> & {
|
|
|
71
91
|
questions?: IClientQuestion[];
|
|
72
92
|
};
|
|
73
93
|
|
|
74
|
-
interface ICandidate {
|
|
75
|
-
candidate_id?: string;
|
|
76
|
-
email: string;
|
|
77
|
-
username?: string;
|
|
78
|
-
phone?: string;
|
|
79
|
-
video_id?: string;
|
|
80
|
-
redirectUrl?: string;
|
|
81
|
-
additionalData?: object;
|
|
82
|
-
disableResume?: boolean;
|
|
83
|
-
reapply?: boolean;
|
|
84
|
-
enableNotifications?: boolean;
|
|
85
|
-
apiKey?: string;
|
|
86
|
-
company_id?: string;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
interface ICompany {
|
|
90
|
-
name: string;
|
|
91
|
-
shouldShowWaterMark: boolean;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
94
|
interface IVideoDimensions {
|
|
95
95
|
width: number;
|
|
96
96
|
height: number;
|
|
@@ -221,14 +221,7 @@ type IClientWidgetConfig = Omit<IWidgetConfig, 'job' | 'config' | 'event_id'> &
|
|
|
221
221
|
job: IClientJob;
|
|
222
222
|
config: IClientConfig;
|
|
223
223
|
};
|
|
224
|
-
interface IWidgetRef {
|
|
225
|
-
open: () => void;
|
|
226
|
-
close: () => void;
|
|
227
|
-
}
|
|
228
224
|
|
|
229
|
-
declare const Widget: React$1.
|
|
230
|
-
job: IClientJob;
|
|
231
|
-
config: IClientConfig;
|
|
232
|
-
} & React$1.RefAttributes<IWidgetRef>>;
|
|
225
|
+
declare const Widget: React$1.FC<IClientWidgetConfig>;
|
|
233
226
|
|
|
234
|
-
export { IClientWidgetConfig, IWidgetConfig,
|
|
227
|
+
export { IClientWidgetConfig, IWidgetConfig, Widget };
|