Skip to content

Commit

Permalink
Re-add useJapanese to configschema but mark as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
zoton2 committed May 11, 2024
1 parent 2b85653 commit 1c4877d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions configschema.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@
"type": "string",
"default": "SHORTNAME"
},
"useJapanese": {
"$comment": "DEPRECATED; should be removed in next major version (2.x > 3.x).",
"description": "DEPRECATED; left for compatibility reasons.",
"type": "boolean",
"default": false
},
"ignoreGamesWhileImporting": {
"$ref": "#/definitions/ignoreGamesWhileImporting"
},
Expand All @@ -213,6 +219,7 @@
},
"required": [
"defaultMarathon",
"useJapanese",
"disableSpeedrunComLookup"
]
},
Expand Down
4 changes: 4 additions & 0 deletions src/types/schemas/configschema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ export interface Configschema {
horaro: Horaro;
oengus: {
defaultMarathon: string;
/**
* DEPRECATED; left for compatibility reasons.
*/
useJapanese: boolean;
ignoreGamesWhileImporting?: IgnoreGamesWhileImporting;
disableSpeedrunComLookup: boolean;
useSandbox?: boolean | null;
Expand Down

0 comments on commit 1c4877d

Please sign in to comment.