@xuulu/xuulu-types 1.0.0 → 1.0.1

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.
@@ -0,0 +1,9 @@
1
+ import { QuestionResponse } from "../questions";
2
+
3
+ export type InterviewsQuestionsResponse = {
4
+ interviewId: number;
5
+ questionId: number;
6
+ question: QuestionResponse;
7
+ answerRating: number;
8
+ comment: string;
9
+ };
@@ -0,0 +1,9 @@
1
+ import { QuestionResponse } from "../questions";
2
+
3
+ export type InterviewsQuestionsCustomResponse = {
4
+ interviewId: number;
5
+ questionId: number;
6
+ question: QuestionResponse;
7
+ answerRating: number;
8
+ comment: string;
9
+ };
@@ -1,3 +1,12 @@
1
- export type Test2 = {
2
- test: string;
3
- }
1
+ import { InterviewsQuestionsResponse } from "../InterviewQuestions";
2
+ import { InterviewsQuestionsCustomResponse } from "../interviewQuestionsCustom";
3
+ import { QuestionResponse } from "../questions";
4
+ import { SectionResponse } from "../sections";
5
+
6
+ export type InterviewSetupResponse = {
7
+ additionalSkills: SectionResponse[];
8
+ absentSkills: SectionResponse[];
9
+ requiredQuestions: QuestionResponse[];
10
+ selectedQuestions: InterviewsQuestionsResponse[];
11
+ selectedQuestionsCustom: InterviewsQuestionsCustomResponse[];
12
+ };
@@ -1,3 +0,0 @@
1
- export type Test1 = {
2
- test: string;
3
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuulu/xuulu-types",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {},
@@ -0,0 +1,11 @@
1
+ import { SectionResponse } from "../sections";
2
+
3
+ export type QuestionResponse = {
4
+ id: number;
5
+ question: string;
6
+ answer: string;
7
+ comment: string;
8
+ section: Pick<SectionResponse, "id" | "name">;
9
+ seniorityLevel: Pick<SectionResponse, "id" | "name">;
10
+ framework: Pick<SectionResponse, "id" | "name">;
11
+ };
@@ -0,0 +1,5 @@
1
+ export type SectionResponse = {
2
+ id: number;
3
+ name: string;
4
+ description: string;
5
+ };