Skip to content
Snippets Groups Projects
Commit db431571 authored by Sebastian Karlsson's avatar Sebastian Karlsson
Browse files

Add comments to interfaces

parent 11f518e4
No related branches found
No related tags found
1 merge request!167Add comments to interfaces
Pipeline #47019 passed with warnings
/**
* This file contains interfaces used by the API when getting tables from the database.
* Some of these interfaces are lightweight versions used when getting all data is unneccesary.
* The full versions of these interfaces are found in ApiRichModels.
*/
export interface NameID {
id: number
name: string
......
/**
* This file contains interfaces used by the API when getting full tables from the database.
* These interfaces also have more lightweight versions used when getting all data is unneccesary,
* found in ApiModels.
*/
import { Component, Media, QuestionAlternative, QuestionAlternativeAnswer, QuestionScore } from './ApiModels'
export interface RichCompetition {
......
/**
* This file contains interfaces used by components.
*/
export interface Position {
x: number
y: number
......
/**
* This file contains interfaces used when filtering.
*/
export interface CompetitionFilterParams {
name?: string
year?: number
......
/**
* This file contains interfaces used by form models.
*/
export interface ServerResponse {
code: number
message: string
......
/**
* This file contains interfaces used by the timer.
*/
export interface TimerState {
value: number | null
enabled: boolean
......
/**
* This file contains interfaces used by ViewParams.
*/
export interface ViewParams {
competitionId: string
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment