Interface UserMessageWebSocketResponseEventDTO

interface UserMessageWebSocketResponseEventDTO {
    content: {
        contestName: string;
        points: number;
        problemName: string;
        type: "SUBMISSION_VERDICT";
        verdict: ProblemVerdict;
    };
    event: USER_MESSAGE;
    key: `PONG-${string & {
        length: 24;
    }}-${string}` | `RESPONSE-${string & {
        length: 24;
    }}-${string}` | `CODE_RUN_STATUS_MESSAGE-${string & {
        length: 24;
    }}-${string}` | `SUBMISSION_RUN_STATUS_MESSAGE-${string & {
        length: 24;
    }}-${string}` | `USER_MESSAGE-${string & {
        length: 24;
    }}-${string}` | `SEND_DATA_ECS_TASK_DEFINITIONS_LIST-${string & {
        length: 24;
    }}-${string}` | `SEND_DATA_ECS_TASKS_LIST-${string & {
        length: 24;
    }}-${string}` | `SEND_DATA_EC2_INSTANCES_LIST-${string & {
        length: 24;
    }}-${string}` | `SEND_DATA_SSM_SESSIONS_LIST-${string & {
        length: 24;
    }}-${string}` | `PROBLEM_CRAWLED-${string & {
        length: 24;
    }}-${string}`;
    messageTimestamp: number;
    user: UserCompanyBasicInfoResponseDTO;
}

Properties

content: {
    contestName: string;
    points: number;
    problemName: string;
    type: "SUBMISSION_VERDICT";
    verdict: ProblemVerdict;
}

Type declaration

  • contestName: string
  • points: number
  • problemName: string
  • type: "SUBMISSION_VERDICT"
  • verdict: ProblemVerdict
key: `PONG-${string & {
    length: 24;
}}-${string}` | `RESPONSE-${string & {
    length: 24;
}}-${string}` | `CODE_RUN_STATUS_MESSAGE-${string & {
    length: 24;
}}-${string}` | `SUBMISSION_RUN_STATUS_MESSAGE-${string & {
    length: 24;
}}-${string}` | `USER_MESSAGE-${string & {
    length: 24;
}}-${string}` | `SEND_DATA_ECS_TASK_DEFINITIONS_LIST-${string & {
    length: 24;
}}-${string}` | `SEND_DATA_ECS_TASKS_LIST-${string & {
    length: 24;
}}-${string}` | `SEND_DATA_EC2_INSTANCES_LIST-${string & {
    length: 24;
}}-${string}` | `SEND_DATA_SSM_SESSIONS_LIST-${string & {
    length: 24;
}}-${string}` | `PROBLEM_CRAWLED-${string & {
    length: 24;
}}-${string}`
messageTimestamp: number