-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π»βοΈ β [SSG-1 SSG-19]: Chapter 1/2 Integration - Merge pull request #156β¦
β¦ from Signal-K/SSG-19 πͺΆπ» β [SSG-1 SSG-19]: Chapter 1/2 Integration
- Loading branch information
Showing
82 changed files
with
4,140 additions
and
1,695 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
up: | ||
docker-compose up | ||
|
||
build: | ||
docker-compose build && yarn build | ||
|
||
up-full: | ||
yarn && yarn build && supabase start && docker-compose up --build | ||
|
||
down: | ||
docker-compose down | ||
|
||
down-full: | ||
docker-compose build && yarn build && docker-compose down && supabase stop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { NextRequest, NextResponse } from "next/server"; | ||
|
||
interface ResearchedTravelMethod { | ||
id: number; | ||
name: string; | ||
description?: string; | ||
icon_url: string; | ||
requires?: number; // Does it require a research ticket previously? | ||
requiresMission?: number; | ||
// usedFor?: number; // Mission | ||
}; | ||
|
||
const ResearchedTravelMethods: ResearchedTravelMethod[] = [ | ||
{ | ||
id: 94, | ||
name: "Intra-Solar System Travel", | ||
description: 'Travel to planets & moons within the solar system', | ||
icon_url: '/assets/Items/Rocket.png', | ||
}, | ||
{ | ||
id: 95, | ||
name: "Unmanned Probe Deployments", | ||
description: 'Deploy probes to planets & moons within the solar system', | ||
icon_url: '/assets/Items/Probe.png', | ||
}, | ||
]; | ||
|
||
export async function GET(req: NextRequest) { | ||
return NextResponse.json(ResearchedTravelMethods); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.