File tree Expand file tree Collapse file tree 2 files changed +9
-18
lines changed
Expand file tree Collapse file tree 2 files changed +9
-18
lines changed Original file line number Diff line number Diff line change @@ -38,19 +38,21 @@ import type {
3838 RoleTypes ,
3939 RoleTypesEnum ,
4040 UserRegistrationProps ,
41- CategoryFirstData ,
42- CategorySecondData
41+ mainCategoryTypes ,
42+ subCategoryTypes
4343} from '@/types/admin'
4444
45- export const CATEGORY_FIRST_ADD : CategoryFirstData = {
45+ export const CATEGORY_FIRST_ADD : mainCategoryTypes = {
4646 name : '' ,
47- code : ''
47+ code : '' ,
48+ id : 0
4849}
4950
50- export const CATEGORY_SECOND_ADD : CategorySecondData = {
51+ export const CATEGORY_SECOND_ADD : subCategoryTypes = {
5152 name : '' ,
52- firstCategory : '' ,
53- code : ''
53+ mainCategoryId : 0 ,
54+ code : '' ,
55+ id : 0
5456}
5557
5658export const INITIAL_USER_REGISTRATION : UserRegistrationProps = {
Original file line number Diff line number Diff line change @@ -22,17 +22,6 @@ export interface LogsListData {
2222 result ?: string
2323}
2424
25- export interface CategoryFirstData {
26- name : string
27- code : string
28- }
29-
30- export interface CategorySecondData {
31- name : string
32- firstCategory : string
33- code : string
34- }
35-
3625export interface UserRegistrationProps {
3726 name : string
3827 email : string
You can’t perform that action at this time.
0 commit comments