Merge branch 'master' of https://git.loafle.net/ucap-web/next-ucap-messenger
This commit is contained in:
commit
b19548688a
|
@ -29,16 +29,16 @@ export const decodeFileEventJson: EventJsonDecoder<FileEventJson> = (
|
|||
return {
|
||||
statusCode: json.StatusCode,
|
||||
errorMessage: json.ErrorMessage,
|
||||
roomSeq: json.RoomID,
|
||||
roomSeq: Number(json.RoomID),
|
||||
fileName: json.FileName,
|
||||
fileExt: json.FileExt,
|
||||
fileType: json.FileType,
|
||||
thumbUrl: json.ThumbURL,
|
||||
attachmentSeq: json.AttSEQ,
|
||||
attachmentSize: json.AttSize,
|
||||
attachmentSeq: Number(json.AttSEQ),
|
||||
attachmentSize: Number(json.AttSize),
|
||||
attachmentRegDate: json.AttRegDate,
|
||||
imageWidth: json.ImageWidth,
|
||||
imageHeight: json.ImageHeight,
|
||||
imageWidth: Number(json.ImageWidth),
|
||||
imageHeight: Number(json.ImageHeight),
|
||||
companyCode: json.CompanyCode,
|
||||
voiceTime: json.VoiceTime,
|
||||
synappKey: json.SynappKey
|
||||
|
|
|
@ -19,8 +19,8 @@ export const decodeMassTextEventJson: EventJsonDecoder<MassTextEventJson> = (
|
|||
return {
|
||||
statusCode: json.StatusCode,
|
||||
errorMessage: json.ErrorMessage,
|
||||
roomSeq: json.RoomID,
|
||||
massSeq: json.EventMassSeq,
|
||||
roomSeq: Number(json.RoomID),
|
||||
massSeq: Number(json.EventMassSeq),
|
||||
regDate: json.RegDate,
|
||||
content: json.Content
|
||||
} as MassTextEventJson;
|
||||
|
|
|
@ -12,18 +12,18 @@ export interface MassTranslationEventJson {
|
|||
translation?: string;
|
||||
}
|
||||
|
||||
export const decodeMassTranslationEventJson: EventJsonDecoder<
|
||||
MassTranslationEventJson
|
||||
> = (message: string) => {
|
||||
export const decodeMassTranslationEventJson: EventJsonDecoder<MassTranslationEventJson> = (
|
||||
message: string
|
||||
) => {
|
||||
try {
|
||||
const json = JsonAnalization.receiveAnalization(message);
|
||||
|
||||
return {
|
||||
statusCode: json.StatusCode,
|
||||
errorMessage: json.ErrorMessage,
|
||||
translationSeq: json.EventTransSeq,
|
||||
translationSeq: Number(json.EventTransSeq),
|
||||
destLocale: json.DestLocale,
|
||||
roomSeq: json.RoomID,
|
||||
roomSeq: Number(json.RoomID),
|
||||
regDate: json.RegDate,
|
||||
original: json.Original,
|
||||
translation: json.Translation
|
||||
|
|
|
@ -21,7 +21,7 @@ export const decodePlanEventJson: EventJsonDecoder<PlanEventJson> = (
|
|||
try {
|
||||
const json = JsonAnalization.receiveAnalization(message);
|
||||
return {
|
||||
planSeq: json.planSeq,
|
||||
planSeq: Number(json.planSeq),
|
||||
title: json.title,
|
||||
contents: json.contents,
|
||||
date: json.date,
|
||||
|
|
|
@ -19,7 +19,7 @@ export const decodeVideoConferenceEventJson: EventJsonDecoder<VideoConferenceEve
|
|||
const json = JsonAnalization.receiveAnalization(message);
|
||||
|
||||
return {
|
||||
conferenceSeq: json.confSeq,
|
||||
conferenceSeq: Number(json.confSeq),
|
||||
title: json.title,
|
||||
contents: json.contents,
|
||||
startDate: json.startDate,
|
||||
|
|
Loading…
Reference in New Issue
Block a user