forked from TWS/kalkutago
Add NewTrackView
This commit is contained in:
parent
c7cfa86be1
commit
678e95bba0
8 changed files with 160 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { error } from "./error"
|
||||
|
||||
export interface ITrack {
|
||||
id: number
|
||||
id?: number
|
||||
name: String
|
||||
description: String
|
||||
icon: String
|
||||
|
|
@ -13,7 +13,7 @@ export interface ITrack {
|
|||
}
|
||||
|
||||
export class Track implements ITrack {
|
||||
id: number
|
||||
id?: number
|
||||
name: String
|
||||
description: String
|
||||
icon: String
|
||||
|
|
@ -24,7 +24,7 @@ export class Track implements ITrack {
|
|||
ticks?: Array<Tick>
|
||||
|
||||
constructor(
|
||||
id: number,
|
||||
id: number | undefined,
|
||||
name: String,
|
||||
description: String,
|
||||
icon: String,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue