Update src/types/format.ts
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c2d1858e68
commit
a13b3acbe5
@ -14,7 +14,7 @@ declare global {
|
||||
|
||||
interface leg {
|
||||
title: string
|
||||
step_title: string[]
|
||||
day_title: string[]
|
||||
date_range: [Date, Date] | null
|
||||
map: map
|
||||
travel: unknown[]
|
||||
@ -27,6 +27,7 @@ declare global {
|
||||
}
|
||||
|
||||
interface journey {
|
||||
fmt_ver: number
|
||||
title: string
|
||||
name: string | null
|
||||
main: leg[]
|
||||
@ -34,6 +35,7 @@ declare global {
|
||||
}
|
||||
|
||||
const journey_template: journey = {
|
||||
fmt_ver: 1,
|
||||
title: "New Journey",
|
||||
name: null,
|
||||
main: [],
|
||||
@ -41,7 +43,7 @@ const journey_template: journey = {
|
||||
|
||||
const leg_template: leg = {
|
||||
title: "New Leg",
|
||||
step_title: [],
|
||||
day_title: [],
|
||||
map: { zoom: 2, center: { lng: 0, lat: 0 } },
|
||||
travel: [],
|
||||
hotel: null,
|
||||
|
Loading…
x
Reference in New Issue
Block a user