Home Reference Source
public class | source

HackerApplicationController

Method Summary

Public Methods
public

async create(applicationID: string): Promise<string>

Create a new hacker hacker application, return hacker application ID if successful

public

async submit(hackerApplicationID: string): Promise<string>

Mark an application as submitted

public

async updateQuestion(hackerApplicationID: string, questionID: string, answer: string[]): Promise<string>

Update an existing hacker application.

Public Methods

public async create(applicationID: string): Promise<string> source

Create a new hacker hacker application, return hacker application ID if successful

Params:

NameTypeAttributeDescription
applicationID string

Return:

Promise<string>

public async submit(hackerApplicationID: string): Promise<string> source

Mark an application as submitted

Params:

NameTypeAttributeDescription
hackerApplicationID string

Return:

Promise<string>

public async updateQuestion(hackerApplicationID: string, questionID: string, answer: string[]): Promise<string> source

Update an existing hacker application.

Params:

NameTypeAttributeDescription
hackerApplicationID string
questionID string
answer string[]

Return:

Promise<string>