59 lines
1.0 KiB
TypeScript
59 lines
1.0 KiB
TypeScript
interface MultilingualMetaType {
|
|
gameId: string
|
|
metaNo: number
|
|
metaType?: string
|
|
metaCode?: string
|
|
metaValue?: number
|
|
metaName?: string
|
|
metaOption?: string
|
|
metaDesc?: string
|
|
refMetaNo?: number
|
|
sort?: number
|
|
status?: boolean
|
|
}
|
|
|
|
interface MultilingualCategoryType {
|
|
transCategory: string
|
|
multilingualNo: number
|
|
startDate: Date
|
|
endDate: Date
|
|
title?: string
|
|
description?: string
|
|
status: boolean
|
|
categoryType?: MultilingualMetaType
|
|
categoryVersion?: MultilingualMetaType
|
|
sort: number
|
|
}
|
|
|
|
interface MultilingualType {
|
|
multilingualNo: number
|
|
gameId: string
|
|
transCategory: string
|
|
transCode: string
|
|
designFont: boolean
|
|
sort: number
|
|
}
|
|
|
|
// [API] Req / Res -----
|
|
interface ReqGetMultilingual {
|
|
baseApiUrl: string
|
|
fileName?: string
|
|
}
|
|
|
|
interface ResGetMultilingual {
|
|
code?: number
|
|
message?: string
|
|
value: {
|
|
multilingual?: object
|
|
}
|
|
}
|
|
|
|
export type {
|
|
MultilingualMetaType,
|
|
MultilingualCategoryType,
|
|
MultilingualType,
|
|
// Api Req / Res -----
|
|
ReqGetMultilingual,
|
|
ResGetMultilingual,
|
|
}
|