Interface SubmissionDetail

interface SubmissionDetail {
    code: string;
    codeOutput: string;
    compileError: null | string;
    expectedOutput: string;
    flagType: string;
    fullCodeOutput: null | string;
    id: number;
    lang: {
        name: string;
        verboseName: string;
    };
    lastTestcase: string;
    memory: number;
    memoryDisplay: string;
    memoryDistribution: string;
    memoryPercentile: number;
    notes: string;
    question: {
        hasFrontendPreview: boolean;
        questionId: string;
        titleSlug: string;
    };
    runtime: number;
    runtimeDisplay: string;
    runtimeDistribution: string;
    runtimeError: null | string;
    runtimePercentile: number;
    statusCode: number;
    stdOutput: null | string;
    testBodies: null | string;
    testDescriptions: null | string;
    testInfo: null | string;
    timestamp: number;
    topicTags: string[];
    totalCorrect: number;
    totalTestcases: number;
    user: {
        profile: {
            realName: string;
            userAvatar: string;
        };
        username: string;
    };
}

Properties

code: string
codeOutput: string
compileError: null | string
expectedOutput: string
flagType: string
fullCodeOutput: null | string
id: number
lang: {
    name: string;
    verboseName: string;
}

Type declaration

  • name: string
  • verboseName: string
lastTestcase: string
memory: number
memoryDisplay: string
memoryDistribution: string
memoryPercentile: number
notes: string
question: {
    hasFrontendPreview: boolean;
    questionId: string;
    titleSlug: string;
}

Type declaration

  • hasFrontendPreview: boolean
  • questionId: string
  • titleSlug: string
runtime: number
runtimeDisplay: string
runtimeDistribution: string
runtimeError: null | string
runtimePercentile: number
statusCode: number
stdOutput: null | string
testBodies: null | string
testDescriptions: null | string
testInfo: null | string
timestamp: number
topicTags: string[]
totalCorrect: number
totalTestcases: number
user: {
    profile: {
        realName: string;
        userAvatar: string;
    };
    username: string;
}

Type declaration

  • profile: {
        realName: string;
        userAvatar: string;
    }
    • realName: string
    • userAvatar: string
  • username: string

Generated using TypeDoc