frontPanel/src/constants/rating.ts

23 lines
505 B
TypeScript
Raw Normal View History

2023-10-03 14:03:57 +00:00
import { QUIZ_QUESTION_BASE } from "./base";
2023-10-02 19:43:07 +00:00
import type { QuizQuestionRating } from "../model/questionTypes/rating";
2023-12-31 02:53:25 +00:00
export const QUIZ_QUESTION_RATING: Omit<
QuizQuestionRating,
"id" | "backendId"
> = {
2023-10-03 14:03:57 +00:00
...QUIZ_QUESTION_BASE,
2023-10-02 19:43:07 +00:00
type: "rating",
content: {
2023-10-03 14:03:57 +00:00
...QUIZ_QUESTION_BASE.content,
2023-10-02 19:43:07 +00:00
required: false,
innerNameCheck: false,
innerName: "",
steps: 5,
ratingExpanded: false,
2023-10-04 09:12:35 +00:00
form: "star",
2023-10-05 14:03:54 +00:00
ratingNegativeDescription: "",
ratingPositiveDescription: "",
2023-10-02 19:43:07 +00:00
},
};