Update index.d.ts
inline versions list for helper-bot workflow
This commit is contained in:
parent
a8f1349c83
commit
8507286895
1 changed files with 2 additions and 43 deletions
45
index.d.ts
vendored
45
index.d.ts
vendored
|
|
@ -3,48 +3,7 @@ import { Realm } from 'prismarine-realms'
|
|||
import { ServerDeviceCodeResponse } from 'prismarine-auth'
|
||||
|
||||
declare module 'bedrock-protocol' {
|
||||
type Version =
|
||||
| '1.19.80'
|
||||
| '1.19.70'
|
||||
| '1.19.63'
|
||||
| '1.19.62'
|
||||
| '1.19.60'
|
||||
| '1.19.51'
|
||||
| '1.19.50'
|
||||
| '1.19.41'
|
||||
| '1.19.40'
|
||||
| '1.19.31'
|
||||
| '1.19.30'
|
||||
| '1.19.22'
|
||||
| '1.19.21'
|
||||
| '1.19.20'
|
||||
| '1.19.11'
|
||||
| '1.19.10'
|
||||
| '1.19.2'
|
||||
| '1.19.1'
|
||||
| '1.18.31'
|
||||
| '1.18.30'
|
||||
| '1.18.12'
|
||||
| '1.18.11'
|
||||
| '1.18.10'
|
||||
| '1.18.2'
|
||||
| '1.18.1'
|
||||
| '1.18.0'
|
||||
| '1.17.41'
|
||||
| '1.17.40'
|
||||
| '1.17.34'
|
||||
| '1.17.30'
|
||||
| '1.17.11'
|
||||
| '1.17.10'
|
||||
| '1.17.0'
|
||||
| '1.16.220'
|
||||
| '1.16.210'
|
||||
| '1.16.201'
|
||||
|
||||
enum title {
|
||||
MinecraftNintendoSwitch,
|
||||
MinecraftJava
|
||||
}
|
||||
type Version = '1.19.80' | '1.19.70' | '1.19.63' | '1.19.62' | '1.19.60' | '1.19.51' | '1.19.50' | '1.19.41' | '1.19.40' | '1.19.31' | '1.19.30' | '1.19.22' | '1.19.21' | '1.19.20' | '1.19.11' | '1.19.10' | '1.19.2' | '1.19.1' | '1.18.31' | '1.18.30' | '1.18.12' | '1.18.11' | '1.18.10' | '1.18.2' | '1.18.1' | '1.18.0' | '1.17.41' | '1.17.40' | '1.17.34' | '1.17.30' | '1.17.11' | '1.17.10' | '1.17.0' | '1.16.220' | '1.16.210' | '1.16.201'
|
||||
|
||||
export interface Options {
|
||||
// The string version to start the client or server as
|
||||
|
|
@ -74,7 +33,7 @@ declare module 'bedrock-protocol' {
|
|||
// The view distance in chunks
|
||||
viewDistance?: number
|
||||
// Specifies which game edition to sign in as. Optional, but some servers verify this.
|
||||
authTitle?: title | string
|
||||
authTitle?: string
|
||||
// How long to wait in milliseconds while trying to connect to the server.
|
||||
connectTimeout?: number
|
||||
// whether to skip initial ping and immediately connect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue