frontPanel/src/constants/base.ts
2023-11-28 02:07:24 +03:00

35 lines
726 B
TypeScript

import type { QuizQuestionBase } from "../model/questionTypes/shared";
export const QUIZ_QUESTION_BASE: Omit<QuizQuestionBase, "id" | "backendId"> = {
quizId: 0,
description: "",
page: 0,
title: "",
expanded: true,
openedModalSettings: false,
required: false,
deleted: false,
deleteTimeoutId: 0,
content: {
hint: {
text: "",
video: "",
},
rule: {
or: true,
show: true,
title: "",
reqs: [
{
id: "",
vars: [],
},
],
},
back: "",
originalBack: "",
autofill: false,
},
};