frontPanel/src/constants/rating.ts
2023-12-31 05:53:25 +03:00

23 lines
505 B
TypeScript

import { QUIZ_QUESTION_BASE } from "./base";
import type { QuizQuestionRating } from "../model/questionTypes/rating";
export const QUIZ_QUESTION_RATING: Omit<
QuizQuestionRating,
"id" | "backendId"
> = {
...QUIZ_QUESTION_BASE,
type: "rating",
content: {
...QUIZ_QUESTION_BASE.content,
required: false,
innerNameCheck: false,
innerName: "",
steps: 5,
ratingExpanded: false,
form: "star",
ratingNegativeDescription: "",
ratingPositiveDescription: "",
},
};