kcommons 13.13.0 → 13.14.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.
|
@@ -71,3 +71,10 @@ export interface IExtraFormQuestions {
|
|
|
71
71
|
}
|
|
72
72
|
export interface INestedExtraFormQuestions extends Omit<IExtraFormQuestions, "company" | "created_by" | "updated_by" | "selected_opts" | "answers"> {
|
|
73
73
|
}
|
|
74
|
+
export interface IExtraFormQuestionAndAnsUnit {
|
|
75
|
+
question: INestedExtraFormQuestions;
|
|
76
|
+
answer: INestedExtraFormAnswerEntitys | null;
|
|
77
|
+
}
|
|
78
|
+
export interface IExtraFormQuestionAndAnsResponse {
|
|
79
|
+
data: IExtraFormQuestionAndAnsUnit[];
|
|
80
|
+
}
|
|
@@ -30,24 +30,3 @@ var EXTRA_FORM_QUESTIONS_INCLUDE;
|
|
|
30
30
|
// select_opts = "select_opts",
|
|
31
31
|
EXTRA_FORM_QUESTIONS_INCLUDE["answers"] = "answers";
|
|
32
32
|
})(EXTRA_FORM_QUESTIONS_INCLUDE || (exports.EXTRA_FORM_QUESTIONS_INCLUDE = EXTRA_FORM_QUESTIONS_INCLUDE = {}));
|
|
33
|
-
// export interface IExtraQuesSelectOpts {
|
|
34
|
-
// id: string;
|
|
35
|
-
// que_id: string;
|
|
36
|
-
// opt_text: string;
|
|
37
|
-
// company_id: string;
|
|
38
|
-
// created_by_id: string;
|
|
39
|
-
// updated_by_id: string;
|
|
40
|
-
// is_deleted: boolean;
|
|
41
|
-
// deleted_at: string | null;
|
|
42
|
-
// created_at: string;
|
|
43
|
-
// updated_at: string;
|
|
44
|
-
// company: INestedCompany | null;
|
|
45
|
-
// created_by: INestedUser | null;
|
|
46
|
-
// updated_by: INestedUser | null;
|
|
47
|
-
// parent_question: INestedExtraFormQuestions | null;
|
|
48
|
-
// }
|
|
49
|
-
// export interface INestedExtraQuesSelectOpts
|
|
50
|
-
// extends Omit<
|
|
51
|
-
// IExtraQuesSelectOpts,
|
|
52
|
-
// "company" | "created_by" | "updated_by" | "parent_question"
|
|
53
|
-
// > {}
|