-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-Authored-By: Finn Kötting <69923589+finnkoetting@users.noreply.github.com>
- Loading branch information
1 parent
b86b4d5
commit e97888d
Showing
19 changed files
with
224 additions
and
35 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 @@ | ||
npm run start |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,27 +1,23 @@ | ||
/* eslint-disable */ | ||
window.addEventListener('load', () => { | ||
const logoElement = document.querySelector('.topbar img'); | ||
if (logoElement) | ||
logoElement.setAttribute( | ||
'src', | ||
'https://cdn.discordapp.com/attachments/1052712829028933752/1052712974927794196/Group_160.png' | ||
); | ||
window.addEventListener("load", () => { | ||
const logoElement = document.querySelector(".topbar img"); | ||
if (logoElement) logoElement.setAttribute("src", "/assets/img/logo.svg"); | ||
|
||
document.head.querySelectorAll('link').forEach((elem) => { | ||
if (elem.getAttribute('rel') == 'icon') { | ||
elem.setAttribute('href', 'https://ticketerbot.com/logo.svg'); | ||
document.head.querySelectorAll("link").forEach((elem) => { | ||
if (elem.getAttribute("rel") == "icon") { | ||
elem.setAttribute("href", "/assets/img/favicon-ghibli.png"); | ||
} | ||
}); | ||
|
||
window.scrollTo({ x: 0, y: 0, scrollBehavior: 'smooth' }); | ||
window.scrollTo({ x: 0, y: 0, scrollBehavior: "smooth" }); | ||
|
||
document.querySelectorAll('.opblock-tag').forEach((elem) => { | ||
document.querySelectorAll(".opblock-tag").forEach((elem) => { | ||
elem.click(); | ||
}); | ||
|
||
while (document.querySelectorAll('.opblock.is-open').length > 0) { | ||
document.querySelectorAll('.opblock').forEach((elem) => { | ||
if (elem.classList.contains('is-open')) elem.click(); | ||
while (document.querySelectorAll(".opblock.is-open").length > 0) { | ||
document.querySelectorAll(".opblock").forEach((elem) => { | ||
if (elem.classList.contains("is-open")) elem.click(); | ||
}); | ||
} | ||
}); |
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,19 @@ | ||
// FILM API DOCUMENTATION | ||
|
||
/** | ||
* @swagger | ||
* tags: | ||
* name: Film | ||
* description: The Film API | ||
*/ | ||
|
||
/** | ||
* @swagger | ||
* /films/:id: | ||
* get: | ||
* summary: Sends you specific information about a film | ||
* tags: [Film] | ||
* responses: | ||
* 200: | ||
* description: Film found | ||
*/ |
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,19 @@ | ||
// LOCATION API DOCUMENTATION | ||
|
||
/** | ||
* @swagger | ||
* tags: | ||
* name: Location | ||
* description: The Location API | ||
*/ | ||
|
||
/** | ||
* @swagger | ||
* /locations/:id: | ||
* get: | ||
* summary: Sends you specific information about a location | ||
* tags: [Location] | ||
* responses: | ||
* 200: | ||
* description: Location found | ||
*/ |
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,19 @@ | ||
// PEOPLE API DOCUMENTATION | ||
|
||
/** | ||
* @swagger | ||
* tags: | ||
* name: People | ||
* description: The People API | ||
*/ | ||
|
||
/** | ||
* @swagger | ||
* /people/:id: | ||
* get: | ||
* summary: Sends you specific information about a person | ||
* tags: [People] | ||
* responses: | ||
* 200: | ||
* description: People found | ||
*/ |
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,19 @@ | ||
// SPECIES API DOCUMENTATION | ||
|
||
/** | ||
* @swagger | ||
* tags: | ||
* name: Species | ||
* description: The Species API | ||
*/ | ||
|
||
/** | ||
* @swagger | ||
* /species/:id: | ||
* get: | ||
* summary: Sends you specific information about a species | ||
* tags: [Species] | ||
* responses: | ||
* 200: | ||
* description: Species found | ||
*/ |
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,19 @@ | ||
// VEHICLE API DOCUMENTATION | ||
|
||
/** | ||
* @swagger | ||
* tags: | ||
* name: Vehicles | ||
* description: The Vehicles API | ||
*/ | ||
|
||
/** | ||
* @swagger | ||
* /vehicles/:id: | ||
* get: | ||
* summary: Sends you specific information about a vehicle | ||
* tags: [Vehicles] | ||
* responses: | ||
* 200: | ||
* description: Vehicle found | ||
*/ |
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
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