From e6037b430935720ce60245ae36ecd3622e8a22bf Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Mon, 2 Jun 2025 16:45:21 +0700 Subject: Updated openapi generator to use the latest version (camelCase to underscore - which respects API models). Updating views to use the new swagger definitions. AnswerSlice as a datastore alongside Questions TS interface --- src/models/questionSlice.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/models/questionSlice.ts') diff --git a/src/models/questionSlice.ts b/src/models/questionSlice.ts index 6a4da6f..e3674be 100644 --- a/src/models/questionSlice.ts +++ b/src/models/questionSlice.ts @@ -1,10 +1,9 @@ import {createSlice, PayloadAction} from '@reduxjs/toolkit' import type {RootState} from '@/store' -import {UpkQuestion} from "@/api/models/upk-question.ts" +import {UpkQuestion} from "@/api"; const initialState: UpkQuestion[] = [] -// Create the slice and pass in the initial state const questionSlice = createSlice({ name: 'questions', initialState, -- cgit v1.2.3