Compare commits
6 Commits
7de96fc85f
...
6dd721bbab
| Author | SHA1 | Date |
|---|---|---|
|
|
6dd721bbab | |
|
|
5ac9362df9 | |
|
|
07ac720d73 | |
|
|
0352665076 | |
|
|
454f294045 | |
|
|
209e5e75ed |
|
|
@ -1,3 +1,7 @@
|
|||
## 0.4.12
|
||||
|
||||
feat: add 6.0.0 special
|
||||
|
||||
## 0.4.11
|
||||
|
||||
chore: update `WEB_VIEW_VERSION` and queries
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
},
|
||||
"package": {
|
||||
"productName": "s3si-ts",
|
||||
"version": "0.4.11"
|
||||
"version": "0.4.12"
|
||||
},
|
||||
"tauri": {
|
||||
"allowlist": {
|
||||
|
|
|
|||
2
s3si.ts
2
s3si.ts
|
|
@ -30,7 +30,7 @@ Options:
|
|||
--profile-path <path>, -p Path to config file (default: ./profile.json)
|
||||
--exporter <exporter>, -e Exporter list to use (default: stat.ink)
|
||||
Multiple exporters can be separated by commas
|
||||
(e.g. "stat.ink,file,mongodb")
|
||||
(e.g. "stat.ink,file,mongodb,splashcat")
|
||||
--list-method When set to "latest", the latest 50 matches will be obtained.
|
||||
When set to "all", matches of all modes will be obtained with a maximum of 250 matches (5 modes x 50 matches).
|
||||
When set to "auto", the latest 50 matches will be obtained. If 50 matches have not been uploaded yet, matches will be obtained from the list of all modes.
|
||||
|
|
|
|||
15
src/app.ts
15
src/app.ts
|
|
@ -28,7 +28,7 @@ export type Opts = {
|
|||
|
||||
export const DEFAULT_OPTS: Opts = {
|
||||
profilePath: "./profile.json",
|
||||
exporter: "stat.ink",
|
||||
exporter: "stat.ink,splashcat",
|
||||
noProgress: false,
|
||||
monitor: false,
|
||||
withSummary: false,
|
||||
|
|
@ -244,6 +244,19 @@ export class App {
|
|||
}
|
||||
|
||||
if (exporters.includes("splashcat")) {
|
||||
if (!state.splashcatApiKey) {
|
||||
const key = (await this.env.prompts.prompt(
|
||||
"Splashcat API key is not set. Please enter below.",
|
||||
)).trim();
|
||||
if (!key) {
|
||||
this.env.logger.error("API key is required.");
|
||||
Deno.exit(1);
|
||||
}
|
||||
await this.profile.writeState({
|
||||
...state,
|
||||
splashcatApiKey: key,
|
||||
});
|
||||
}
|
||||
out.push(new SplashcatExporter({
|
||||
env: this.env,
|
||||
uploadMode: this.opts.monitor ? "Monitoring" : "Manual",
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ import type { StatInkPostBody, VsHistoryDetail } from "./types.ts";
|
|||
|
||||
export const AGENT_NAME = "splashcat / s3si.ts";
|
||||
export const AGENT_VERSION = "1.1.1";
|
||||
export const S3SI_VERSION = "0.4.11";
|
||||
export const S3SI_VERSION = "0.4.12";
|
||||
export const COMBINED_VERSION = `${AGENT_VERSION}/${S3SI_VERSION}`;
|
||||
export const NSOAPP_VERSION = "2.7.1";
|
||||
export const NSOAPP_VERSION = "2.8.0";
|
||||
export const WEB_VIEW_VERSION = "6.0.0-e135295b";
|
||||
export enum Queries {
|
||||
HomeQuery =
|
||||
|
|
@ -109,6 +109,10 @@ export const SPLATNET3_STATINK_MAP: {
|
|||
"sameride",
|
||||
"380e541b5bc5e49d77ff1a616f1343aeba01d500fee36aaddf8f09d74bd3d3bc":
|
||||
"tripletornado",
|
||||
"8a7ee88a06407f4be1595ef8af4d2d2ac22bbf213a622cd19bbfaf4d0f36bcd7":
|
||||
"teioika",
|
||||
"a75eac34675bc0d4bd9ca9977cf22472848f89e28e08ee986b4461a3f2af28fc":
|
||||
"ultra_chakuchi",
|
||||
},
|
||||
WATER_LEVEL_MAP: {
|
||||
0: "low",
|
||||
|
|
|
|||
|
|
@ -785,6 +785,7 @@ export type StatInkCoopPostBody = {
|
|||
};
|
||||
|
||||
export type StatInkPostBody = {
|
||||
link_url?: string;
|
||||
test?: "yes" | "no";
|
||||
uuid: string;
|
||||
lobby:
|
||||
|
|
|
|||
Loading…
Reference in New Issue