-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update github actions to deploy next and version tag. Begin work on demo uploads.
- Loading branch information
1 parent
72e205e
commit cffb4e0
Showing
6 changed files
with
218 additions
and
24 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
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,31 @@ | ||
/** Express API router for demo uploads in get5. | ||
* @module routes/v2 | ||
* @requires express | ||
* @requires db | ||
*/ | ||
|
||
|
||
/** | ||
* @swagger | ||
* resourcePath: /v2/demo | ||
* description: Express API for v2 API calls in G5API. | ||
*/ | ||
|
||
/** ZIP files. | ||
* @const | ||
*/ | ||
import JSZip from "jszip"; | ||
|
||
/** Required to save files. | ||
* @const | ||
*/ | ||
import { existsSync, mkdirSync, writeFile } from "fs"; | ||
|
||
/** Config to check demo uploads. | ||
* @const | ||
*/ | ||
import config from "config"; | ||
|
||
import { db } from "../../services/db.js"; | ||
|
||
|
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,6 @@ | ||
export interface Get5_OnRoundStart { | ||
event: string | ||
matchid: string, | ||
map_number: number, | ||
round_number: number | ||
} |
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