@diffenderfer-games/hub-contract 2.0.0-next.0 → 2.0.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/LICENSE +21 -21
- package/README.md +26 -26
- package/dist/index.d.ts +95 -95
- package/package.json +53 -53
- package/src/api/analytics.ts +81 -81
- package/src/api/auth.ts +77 -77
- package/src/api/catalog.ts +171 -171
- package/src/api/daily.ts +122 -122
- package/src/api/economy/bundle.ts +69 -69
- package/src/api/index.ts +85 -85
- package/src/api/leaderboards.ts +151 -151
- package/src/api/messages.ts +142 -142
- package/src/api/mp/chat.ts +36 -36
- package/src/api/mp/races.ts +211 -211
- package/src/api/mp/rooms.ts +90 -90
- package/src/api/mp/snapshot.ts +17 -17
- package/src/api/mp.ts +110 -110
- package/src/api/notify.ts +111 -111
- package/src/api/progress/game-data.ts +189 -189
- package/src/api/progress.ts +59 -59
- package/src/api/race.ts +47 -47
- package/src/api/reports.ts +208 -208
- package/src/api/social/config.ts +47 -47
- package/src/api/social/endpoints.ts +179 -179
- package/src/api/social/people.ts +118 -118
- package/src/api/social/presence.ts +95 -95
- package/src/api/social.ts +9 -9
- package/src/api/version.ts +40 -40
- package/src/coerce.ts +50 -50
- package/src/common.ts +42 -42
- package/src/entities.ts +62 -62
- package/src/errors/codes/core.ts +10 -10
- package/src/errors/codes/multiplayer.ts +43 -43
- package/src/errors/codes/play.ts +5 -5
- package/src/errors/codes/social.ts +31 -31
- package/src/errors/index.ts +88 -88
- package/src/index.ts +16 -16
- package/src/limits.ts +100 -100
- package/src/logic/daily.ts +54 -54
- package/src/logic/index.ts +8 -8
- package/src/logic/presence.ts +62 -62
- package/src/logic/time.ts +81 -81
- package/src/manifest/changes.ts +55 -55
- package/src/manifest/controls.ts +42 -42
- package/src/manifest/fields.ts +89 -89
- package/src/manifest/game.ts +132 -132
- package/src/manifest/index.ts +12 -12
- package/src/manifest/inject.ts +31 -31
- package/src/manifest/leaderboards.ts +29 -29
- package/src/manifest/multiplayer.ts +71 -71
- package/src/manifest/race.ts +93 -93
- package/src/middleware.ts +47 -47
- package/src/realtime/define.ts +52 -52
- package/src/realtime/envelope.ts +67 -67
- package/src/realtime/events/multiplayer.ts +8 -8
- package/src/realtime/events/parties.ts +31 -31
- package/src/realtime/events/races.ts +27 -27
- package/src/realtime/events/rooms.ts +48 -48
- package/src/realtime/events/social.ts +81 -81
- package/src/realtime/index.ts +24 -24
- package/src/realtime/ops/empty.ts +8 -8
- package/src/realtime/ops/hello.ts +40 -40
- package/src/realtime/ops/multiplayer.ts +8 -8
- package/src/realtime/ops/parties.ts +13 -13
- package/src/realtime/ops/races.ts +99 -99
- package/src/realtime/ops/rooms.ts +1 -1
- package/src/realtime/ops/social.ts +58 -58
package/dist/index.d.ts
CHANGED
|
@@ -87,7 +87,6 @@ export type PlayerLite = z.infer<typeof PlayerLite>;
|
|
|
87
87
|
//#endregion
|
|
88
88
|
//#region src/errors/index.d.ts
|
|
89
89
|
declare const errorCode: z.ZodEnum<{
|
|
90
|
-
ended: "ended";
|
|
91
90
|
bad_request: "bad_request";
|
|
92
91
|
signed_out: "signed_out";
|
|
93
92
|
suspended: "suspended";
|
|
@@ -133,6 +132,7 @@ declare const errorCode: z.ZodEnum<{
|
|
|
133
132
|
in_progress: "in_progress";
|
|
134
133
|
room_full: "room_full";
|
|
135
134
|
not_ready: "not_ready";
|
|
135
|
+
ended: "ended";
|
|
136
136
|
bad_patch: "bad_patch";
|
|
137
137
|
race_room: "race_room";
|
|
138
138
|
not_race: "not_race";
|
|
@@ -150,12 +150,11 @@ export declare const ErrorCode: ErrorCodeSchema;
|
|
|
150
150
|
/** A public error code. */
|
|
151
151
|
export type ErrorCode = z.infer<ErrorCodeSchema>;
|
|
152
152
|
declare const rejectReason: z.ZodEnum<{
|
|
153
|
+
link: "link";
|
|
153
154
|
suspended: "suspended";
|
|
154
155
|
rate_limited: "rate_limited";
|
|
155
156
|
not_friends: "not_friends";
|
|
156
157
|
dms_closed: "dms_closed";
|
|
157
|
-
link: "link";
|
|
158
|
-
empty: "empty";
|
|
159
158
|
personal_info: "personal_info";
|
|
160
159
|
contact: "contact";
|
|
161
160
|
language: "language";
|
|
@@ -168,6 +167,7 @@ declare const rejectReason: z.ZodEnum<{
|
|
|
168
167
|
spam: "spam";
|
|
169
168
|
shouting: "shouting";
|
|
170
169
|
too_long: "too_long";
|
|
170
|
+
empty: "empty";
|
|
171
171
|
chars: "chars";
|
|
172
172
|
reserved: "reserved";
|
|
173
173
|
muted: "muted";
|
|
@@ -188,7 +188,6 @@ export type RejectReason = z.infer<RejectReasonSchema>;
|
|
|
188
188
|
declare const errorBody: z.ZodObject<{
|
|
189
189
|
error: z.ZodString;
|
|
190
190
|
code: z.ZodOptional<z.ZodEnum<{
|
|
191
|
-
ended: "ended";
|
|
192
191
|
bad_request: "bad_request";
|
|
193
192
|
signed_out: "signed_out";
|
|
194
193
|
suspended: "suspended";
|
|
@@ -234,6 +233,7 @@ declare const errorBody: z.ZodObject<{
|
|
|
234
233
|
in_progress: "in_progress";
|
|
235
234
|
room_full: "room_full";
|
|
236
235
|
not_ready: "not_ready";
|
|
236
|
+
ended: "ended";
|
|
237
237
|
bad_patch: "bad_patch";
|
|
238
238
|
race_room: "race_room";
|
|
239
239
|
not_race: "not_race";
|
|
@@ -245,12 +245,11 @@ declare const errorBody: z.ZodObject<{
|
|
|
245
245
|
bad_param: "bad_param";
|
|
246
246
|
}>>;
|
|
247
247
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
248
|
+
link: "link";
|
|
248
249
|
suspended: "suspended";
|
|
249
250
|
rate_limited: "rate_limited";
|
|
250
251
|
not_friends: "not_friends";
|
|
251
252
|
dms_closed: "dms_closed";
|
|
252
|
-
link: "link";
|
|
253
|
-
empty: "empty";
|
|
254
253
|
personal_info: "personal_info";
|
|
255
254
|
contact: "contact";
|
|
256
255
|
language: "language";
|
|
@@ -263,6 +262,7 @@ declare const errorBody: z.ZodObject<{
|
|
|
263
262
|
spam: "spam";
|
|
264
263
|
shouting: "shouting";
|
|
265
264
|
too_long: "too_long";
|
|
265
|
+
empty: "empty";
|
|
266
266
|
chars: "chars";
|
|
267
267
|
reserved: "reserved";
|
|
268
268
|
muted: "muted";
|
|
@@ -1144,12 +1144,12 @@ export type Bundle = z.infer<typeof Bundle>;
|
|
|
1144
1144
|
//#region src/api/economy/trades.d.ts
|
|
1145
1145
|
/** Where an offer is in its life. Only `pending` offers can change. */
|
|
1146
1146
|
export declare const TradeStatus: z.ZodEnum<{
|
|
1147
|
+
pending: "pending";
|
|
1147
1148
|
accepted: "accepted";
|
|
1148
1149
|
declined: "declined";
|
|
1149
1150
|
cancelled: "cancelled";
|
|
1150
|
-
expired: "expired";
|
|
1151
|
-
pending: "pending";
|
|
1152
1151
|
countered: "countered";
|
|
1152
|
+
expired: "expired";
|
|
1153
1153
|
}>;
|
|
1154
1154
|
/** A trade status. */
|
|
1155
1155
|
export type TradeStatus = z.infer<typeof TradeStatus>;
|
|
@@ -1165,12 +1165,12 @@ export declare const TradeOffer: z.ZodObject<{
|
|
|
1165
1165
|
id: z.ZodNumber;
|
|
1166
1166
|
game: z.ZodString;
|
|
1167
1167
|
status: z.ZodEnum<{
|
|
1168
|
+
pending: "pending";
|
|
1168
1169
|
accepted: "accepted";
|
|
1169
1170
|
declined: "declined";
|
|
1170
1171
|
cancelled: "cancelled";
|
|
1171
|
-
expired: "expired";
|
|
1172
|
-
pending: "pending";
|
|
1173
1172
|
countered: "countered";
|
|
1173
|
+
expired: "expired";
|
|
1174
1174
|
}>;
|
|
1175
1175
|
direction: z.ZodEnum<{
|
|
1176
1176
|
incoming: "incoming";
|
|
@@ -1258,12 +1258,12 @@ export declare const economyEndpoints: {
|
|
|
1258
1258
|
id: import("zod").ZodNumber;
|
|
1259
1259
|
game: import("zod").ZodString;
|
|
1260
1260
|
status: import("zod").ZodEnum<{
|
|
1261
|
+
pending: "pending";
|
|
1261
1262
|
accepted: "accepted";
|
|
1262
1263
|
declined: "declined";
|
|
1263
1264
|
cancelled: "cancelled";
|
|
1264
|
-
expired: "expired";
|
|
1265
|
-
pending: "pending";
|
|
1266
1265
|
countered: "countered";
|
|
1266
|
+
expired: "expired";
|
|
1267
1267
|
}>;
|
|
1268
1268
|
direction: import("zod").ZodEnum<{
|
|
1269
1269
|
incoming: "incoming";
|
|
@@ -1331,12 +1331,12 @@ export declare const economyEndpoints: {
|
|
|
1331
1331
|
id: import("zod").ZodNumber;
|
|
1332
1332
|
game: import("zod").ZodString;
|
|
1333
1333
|
status: import("zod").ZodEnum<{
|
|
1334
|
+
pending: "pending";
|
|
1334
1335
|
accepted: "accepted";
|
|
1335
1336
|
declined: "declined";
|
|
1336
1337
|
cancelled: "cancelled";
|
|
1337
|
-
expired: "expired";
|
|
1338
|
-
pending: "pending";
|
|
1339
1338
|
countered: "countered";
|
|
1339
|
+
expired: "expired";
|
|
1340
1340
|
}>;
|
|
1341
1341
|
direction: import("zod").ZodEnum<{
|
|
1342
1342
|
incoming: "incoming";
|
|
@@ -1413,12 +1413,12 @@ export declare const economyEndpoints: {
|
|
|
1413
1413
|
id: import("zod").ZodNumber;
|
|
1414
1414
|
game: import("zod").ZodString;
|
|
1415
1415
|
status: import("zod").ZodEnum<{
|
|
1416
|
+
pending: "pending";
|
|
1416
1417
|
accepted: "accepted";
|
|
1417
1418
|
declined: "declined";
|
|
1418
1419
|
cancelled: "cancelled";
|
|
1419
|
-
expired: "expired";
|
|
1420
|
-
pending: "pending";
|
|
1421
1420
|
countered: "countered";
|
|
1421
|
+
expired: "expired";
|
|
1422
1422
|
}>;
|
|
1423
1423
|
direction: import("zod").ZodEnum<{
|
|
1424
1424
|
incoming: "incoming";
|
|
@@ -1517,12 +1517,12 @@ export declare const economyEndpoints: {
|
|
|
1517
1517
|
outgoing: "outgoing";
|
|
1518
1518
|
}>>>;
|
|
1519
1519
|
status: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodEnum<{
|
|
1520
|
+
pending: "pending";
|
|
1520
1521
|
accepted: "accepted";
|
|
1521
1522
|
declined: "declined";
|
|
1522
1523
|
cancelled: "cancelled";
|
|
1523
|
-
expired: "expired";
|
|
1524
|
-
pending: "pending";
|
|
1525
1524
|
countered: "countered";
|
|
1525
|
+
expired: "expired";
|
|
1526
1526
|
}>, import("zod").ZodString]>>;
|
|
1527
1527
|
}, import("zod/v4/core").$strip>;
|
|
1528
1528
|
readonly response: import("zod").ZodObject<{
|
|
@@ -1530,12 +1530,12 @@ export declare const economyEndpoints: {
|
|
|
1530
1530
|
id: import("zod").ZodNumber;
|
|
1531
1531
|
game: import("zod").ZodString;
|
|
1532
1532
|
status: import("zod").ZodEnum<{
|
|
1533
|
+
pending: "pending";
|
|
1533
1534
|
accepted: "accepted";
|
|
1534
1535
|
declined: "declined";
|
|
1535
1536
|
cancelled: "cancelled";
|
|
1536
|
-
expired: "expired";
|
|
1537
|
-
pending: "pending";
|
|
1538
1537
|
countered: "countered";
|
|
1538
|
+
expired: "expired";
|
|
1539
1539
|
}>;
|
|
1540
1540
|
direction: import("zod").ZodEnum<{
|
|
1541
1541
|
incoming: "incoming";
|
|
@@ -1599,12 +1599,12 @@ export declare const economyEndpoints: {
|
|
|
1599
1599
|
id: import("zod").ZodNumber;
|
|
1600
1600
|
game: import("zod").ZodString;
|
|
1601
1601
|
status: import("zod").ZodEnum<{
|
|
1602
|
+
pending: "pending";
|
|
1602
1603
|
accepted: "accepted";
|
|
1603
1604
|
declined: "declined";
|
|
1604
1605
|
cancelled: "cancelled";
|
|
1605
|
-
expired: "expired";
|
|
1606
|
-
pending: "pending";
|
|
1607
1606
|
countered: "countered";
|
|
1607
|
+
expired: "expired";
|
|
1608
1608
|
}>;
|
|
1609
1609
|
direction: import("zod").ZodEnum<{
|
|
1610
1610
|
incoming: "incoming";
|
|
@@ -1669,12 +1669,12 @@ export declare const economyEndpoints: {
|
|
|
1669
1669
|
id: import("zod").ZodNumber;
|
|
1670
1670
|
game: import("zod").ZodString;
|
|
1671
1671
|
status: import("zod").ZodEnum<{
|
|
1672
|
+
pending: "pending";
|
|
1672
1673
|
accepted: "accepted";
|
|
1673
1674
|
declined: "declined";
|
|
1674
1675
|
cancelled: "cancelled";
|
|
1675
|
-
expired: "expired";
|
|
1676
|
-
pending: "pending";
|
|
1677
1676
|
countered: "countered";
|
|
1677
|
+
expired: "expired";
|
|
1678
1678
|
}>;
|
|
1679
1679
|
direction: import("zod").ZodEnum<{
|
|
1680
1680
|
incoming: "incoming";
|
|
@@ -2445,8 +2445,8 @@ export type LaunchTicket = z.infer<typeof LaunchTicket>;
|
|
|
2445
2445
|
/** Why the hub is bringing a player into a game. */
|
|
2446
2446
|
export declare const LaunchKind: z.ZodEnum<{
|
|
2447
2447
|
guest: "guest";
|
|
2448
|
-
host: "host";
|
|
2449
2448
|
join: "join";
|
|
2449
|
+
host: "host";
|
|
2450
2450
|
watch: "watch";
|
|
2451
2451
|
}>;
|
|
2452
2452
|
/**
|
|
@@ -2456,8 +2456,8 @@ export declare const LaunchKind: z.ZodEnum<{
|
|
|
2456
2456
|
export declare const Launch: z.ZodObject<{
|
|
2457
2457
|
kind: z.ZodEnum<{
|
|
2458
2458
|
guest: "guest";
|
|
2459
|
-
host: "host";
|
|
2460
2459
|
join: "join";
|
|
2460
|
+
host: "host";
|
|
2461
2461
|
watch: "watch";
|
|
2462
2462
|
}>;
|
|
2463
2463
|
game: z.ZodString;
|
|
@@ -2526,18 +2526,18 @@ export type RaceStats = z.infer<typeof RaceStats>;
|
|
|
2526
2526
|
export declare const RaceProgress: z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>;
|
|
2527
2527
|
/** A race room's phase: waiting for racers → countdown → racing → done (→ countdown on a rematch). */
|
|
2528
2528
|
export declare const RacePhase: z.ZodEnum<{
|
|
2529
|
+
done: "done";
|
|
2529
2530
|
waiting: "waiting";
|
|
2530
2531
|
countdown: "countdown";
|
|
2531
2532
|
racing: "racing";
|
|
2532
|
-
done: "done";
|
|
2533
2533
|
}>;
|
|
2534
2534
|
/** A racer's state while the race runs. */
|
|
2535
2535
|
export declare const RacerState: z.ZodEnum<{
|
|
2536
|
-
racing: "racing";
|
|
2537
2536
|
finished: "finished";
|
|
2538
2537
|
lost: "lost";
|
|
2539
2538
|
forfeit: "forfeit";
|
|
2540
2539
|
disconnected: "disconnected";
|
|
2540
|
+
racing: "racing";
|
|
2541
2541
|
}>;
|
|
2542
2542
|
/** A value of {@link RacerState}. */
|
|
2543
2543
|
export type RacerState = z.infer<typeof RacerState>;
|
|
@@ -2570,11 +2570,11 @@ export declare const Racer: z.ZodObject<{
|
|
|
2570
2570
|
stats: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>, z.ZodBoolean, z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>]>>;
|
|
2571
2571
|
progress: z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>>;
|
|
2572
2572
|
state: z.ZodEnum<{
|
|
2573
|
-
racing: "racing";
|
|
2574
2573
|
finished: "finished";
|
|
2575
2574
|
lost: "lost";
|
|
2576
2575
|
forfeit: "forfeit";
|
|
2577
2576
|
disconnected: "disconnected";
|
|
2577
|
+
racing: "racing";
|
|
2578
2578
|
}>;
|
|
2579
2579
|
ms: z.ZodOptional<z.ZodNumber>;
|
|
2580
2580
|
}, z.core.$strip>;
|
|
@@ -2640,10 +2640,10 @@ export type RaceResult = z.infer<typeof RaceResult>;
|
|
|
2640
2640
|
/** The referee's view of a race room (RoomInfo.race). */
|
|
2641
2641
|
export declare const RaceState: z.ZodObject<{
|
|
2642
2642
|
phase: z.ZodEnum<{
|
|
2643
|
+
done: "done";
|
|
2643
2644
|
waiting: "waiting";
|
|
2644
2645
|
countdown: "countdown";
|
|
2645
2646
|
racing: "racing";
|
|
2646
|
-
done: "done";
|
|
2647
2647
|
}>;
|
|
2648
2648
|
round: z.ZodNumber;
|
|
2649
2649
|
params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString]>>;
|
|
@@ -2655,11 +2655,11 @@ export declare const RaceState: z.ZodObject<{
|
|
|
2655
2655
|
stats: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>, z.ZodBoolean, z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>]>>;
|
|
2656
2656
|
progress: z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>>;
|
|
2657
2657
|
state: z.ZodEnum<{
|
|
2658
|
-
racing: "racing";
|
|
2659
2658
|
finished: "finished";
|
|
2660
2659
|
lost: "lost";
|
|
2661
2660
|
forfeit: "forfeit";
|
|
2662
2661
|
disconnected: "disconnected";
|
|
2662
|
+
racing: "racing";
|
|
2663
2663
|
}>;
|
|
2664
2664
|
ms: z.ZodOptional<z.ZodNumber>;
|
|
2665
2665
|
}, z.core.$strip>>;
|
|
@@ -2799,9 +2799,9 @@ export type RaceRecord = z.infer<typeof RaceRecord>;
|
|
|
2799
2799
|
export declare const RoomCode: z.ZodString;
|
|
2800
2800
|
/** A room's lifecycle: new players join only in the lobby. */
|
|
2801
2801
|
export declare const RoomPhase: z.ZodEnum<{
|
|
2802
|
+
ended: "ended";
|
|
2802
2803
|
lobby: "lobby";
|
|
2803
2804
|
playing: "playing";
|
|
2804
|
-
ended: "ended";
|
|
2805
2805
|
}>;
|
|
2806
2806
|
/**
|
|
2807
2807
|
* Who hears a send. `host` (default): guests' unaddressed sends reach the
|
|
@@ -2830,9 +2830,9 @@ export declare const RoomInfo: z.ZodObject<{
|
|
|
2830
2830
|
hostId: z.ZodNumber;
|
|
2831
2831
|
public: z.ZodBoolean;
|
|
2832
2832
|
phase: z.ZodEnum<{
|
|
2833
|
+
ended: "ended";
|
|
2833
2834
|
lobby: "lobby";
|
|
2834
2835
|
playing: "playing";
|
|
2835
|
-
ended: "ended";
|
|
2836
2836
|
}>;
|
|
2837
2837
|
maxPlayers: z.ZodNumber;
|
|
2838
2838
|
model: z.ZodEnum<{
|
|
@@ -2855,10 +2855,10 @@ export declare const RoomInfo: z.ZodObject<{
|
|
|
2855
2855
|
}>;
|
|
2856
2856
|
race: z.ZodOptional<z.ZodObject<{
|
|
2857
2857
|
phase: z.ZodEnum<{
|
|
2858
|
+
done: "done";
|
|
2858
2859
|
waiting: "waiting";
|
|
2859
2860
|
countdown: "countdown";
|
|
2860
2861
|
racing: "racing";
|
|
2861
|
-
done: "done";
|
|
2862
2862
|
}>;
|
|
2863
2863
|
round: z.ZodNumber;
|
|
2864
2864
|
params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString]>>;
|
|
@@ -2870,11 +2870,11 @@ export declare const RoomInfo: z.ZodObject<{
|
|
|
2870
2870
|
stats: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>, z.ZodBoolean, z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>]>>;
|
|
2871
2871
|
progress: z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>>;
|
|
2872
2872
|
state: z.ZodEnum<{
|
|
2873
|
-
racing: "racing";
|
|
2874
2873
|
finished: "finished";
|
|
2875
2874
|
lost: "lost";
|
|
2876
2875
|
forfeit: "forfeit";
|
|
2877
2876
|
disconnected: "disconnected";
|
|
2877
|
+
racing: "racing";
|
|
2878
2878
|
}>;
|
|
2879
2879
|
ms: z.ZodOptional<z.ZodNumber>;
|
|
2880
2880
|
}, z.core.$strip>>;
|
|
@@ -2939,8 +2939,8 @@ export declare const RoomTarget: z.ZodObject<{
|
|
|
2939
2939
|
/** Why a room went away for this tab (`room.closed`). */
|
|
2940
2940
|
export declare const RoomClosedReason: z.ZodEnum<{
|
|
2941
2941
|
ended: "ended";
|
|
2942
|
-
removed: "removed";
|
|
2943
2942
|
empty: "empty";
|
|
2943
|
+
removed: "removed";
|
|
2944
2944
|
host_left: "host_left";
|
|
2945
2945
|
moved: "moved";
|
|
2946
2946
|
other_tab: "other_tab";
|
|
@@ -3000,9 +3000,9 @@ export declare const MultiplayerSnapshot: z.ZodObject<{
|
|
|
3000
3000
|
hostId: z.ZodNumber;
|
|
3001
3001
|
public: z.ZodBoolean;
|
|
3002
3002
|
phase: z.ZodEnum<{
|
|
3003
|
+
ended: "ended";
|
|
3003
3004
|
lobby: "lobby";
|
|
3004
3005
|
playing: "playing";
|
|
3005
|
-
ended: "ended";
|
|
3006
3006
|
}>;
|
|
3007
3007
|
maxPlayers: z.ZodNumber;
|
|
3008
3008
|
model: z.ZodEnum<{
|
|
@@ -3025,10 +3025,10 @@ export declare const MultiplayerSnapshot: z.ZodObject<{
|
|
|
3025
3025
|
}>;
|
|
3026
3026
|
race: z.ZodOptional<z.ZodObject<{
|
|
3027
3027
|
phase: z.ZodEnum<{
|
|
3028
|
+
done: "done";
|
|
3028
3029
|
waiting: "waiting";
|
|
3029
3030
|
countdown: "countdown";
|
|
3030
3031
|
racing: "racing";
|
|
3031
|
-
done: "done";
|
|
3032
3032
|
}>;
|
|
3033
3033
|
round: z.ZodNumber;
|
|
3034
3034
|
params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString]>>;
|
|
@@ -3040,11 +3040,11 @@ export declare const MultiplayerSnapshot: z.ZodObject<{
|
|
|
3040
3040
|
stats: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>, z.ZodBoolean, z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>]>>;
|
|
3041
3041
|
progress: z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>>;
|
|
3042
3042
|
state: z.ZodEnum<{
|
|
3043
|
-
racing: "racing";
|
|
3044
3043
|
finished: "finished";
|
|
3045
3044
|
lost: "lost";
|
|
3046
3045
|
forfeit: "forfeit";
|
|
3047
3046
|
disconnected: "disconnected";
|
|
3047
|
+
racing: "racing";
|
|
3048
3048
|
}>;
|
|
3049
3049
|
ms: z.ZodOptional<z.ZodNumber>;
|
|
3050
3050
|
}, z.core.$strip>>;
|
|
@@ -3134,8 +3134,8 @@ export declare const mpEndpoints: {
|
|
|
3134
3134
|
launch: z.ZodObject<{
|
|
3135
3135
|
kind: z.ZodEnum<{
|
|
3136
3136
|
guest: "guest";
|
|
3137
|
-
host: "host";
|
|
3138
3137
|
join: "join";
|
|
3138
|
+
host: "host";
|
|
3139
3139
|
watch: "watch";
|
|
3140
3140
|
}>;
|
|
3141
3141
|
game: z.ZodString;
|
|
@@ -4232,8 +4232,8 @@ export declare const raceEndpoints: {
|
|
|
4232
4232
|
export declare const ReportKind: z.ZodEnum<{
|
|
4233
4233
|
message: "message";
|
|
4234
4234
|
username: "username";
|
|
4235
|
-
presence: "presence";
|
|
4236
4235
|
user: "user";
|
|
4236
|
+
presence: "presence";
|
|
4237
4237
|
suggestion: "suggestion";
|
|
4238
4238
|
room_chat: "room_chat";
|
|
4239
4239
|
}>;
|
|
@@ -4259,8 +4259,8 @@ export declare const ReportInput: z.ZodObject<{
|
|
|
4259
4259
|
kind: z.ZodEnum<{
|
|
4260
4260
|
message: "message";
|
|
4261
4261
|
username: "username";
|
|
4262
|
-
presence: "presence";
|
|
4263
4262
|
user: "user";
|
|
4263
|
+
presence: "presence";
|
|
4264
4264
|
suggestion: "suggestion";
|
|
4265
4265
|
room_chat: "room_chat";
|
|
4266
4266
|
}>;
|
|
@@ -4345,11 +4345,11 @@ export declare const ReportSnapshot: z.ZodObject<{
|
|
|
4345
4345
|
export type ReportSnapshot = z.infer<typeof ReportSnapshot>;
|
|
4346
4346
|
/** A suggestion's review status. Only `approved`, `planned` and `done` are on the public board. */
|
|
4347
4347
|
export declare const SuggestionStatus: z.ZodEnum<{
|
|
4348
|
-
done: "done";
|
|
4349
|
-
removed: "removed";
|
|
4350
4348
|
pending: "pending";
|
|
4351
4349
|
approved: "approved";
|
|
4352
4350
|
planned: "planned";
|
|
4351
|
+
done: "done";
|
|
4352
|
+
removed: "removed";
|
|
4353
4353
|
withdrawn: "withdrawn";
|
|
4354
4354
|
}>;
|
|
4355
4355
|
/** A suggestion status. */
|
|
@@ -4362,11 +4362,11 @@ export declare const Suggestion: z.ZodObject<{
|
|
|
4362
4362
|
title: z.ZodString;
|
|
4363
4363
|
body: z.ZodString;
|
|
4364
4364
|
status: z.ZodEnum<{
|
|
4365
|
-
done: "done";
|
|
4366
|
-
removed: "removed";
|
|
4367
4365
|
pending: "pending";
|
|
4368
4366
|
approved: "approved";
|
|
4369
4367
|
planned: "planned";
|
|
4368
|
+
done: "done";
|
|
4369
|
+
removed: "removed";
|
|
4370
4370
|
withdrawn: "withdrawn";
|
|
4371
4371
|
}>;
|
|
4372
4372
|
votes: z.ZodNumber;
|
|
@@ -4398,11 +4398,11 @@ export declare const reportsEndpoints: {
|
|
|
4398
4398
|
title: z.ZodString;
|
|
4399
4399
|
body: z.ZodString;
|
|
4400
4400
|
status: z.ZodEnum<{
|
|
4401
|
-
done: "done";
|
|
4402
|
-
removed: "removed";
|
|
4403
4401
|
pending: "pending";
|
|
4404
4402
|
approved: "approved";
|
|
4405
4403
|
planned: "planned";
|
|
4404
|
+
done: "done";
|
|
4405
|
+
removed: "removed";
|
|
4406
4406
|
withdrawn: "withdrawn";
|
|
4407
4407
|
}>;
|
|
4408
4408
|
votes: z.ZodNumber;
|
|
@@ -4514,11 +4514,11 @@ export declare const reportsEndpoints: {
|
|
|
4514
4514
|
title: z.ZodString;
|
|
4515
4515
|
body: z.ZodString;
|
|
4516
4516
|
status: z.ZodEnum<{
|
|
4517
|
-
done: "done";
|
|
4518
|
-
removed: "removed";
|
|
4519
4517
|
pending: "pending";
|
|
4520
4518
|
approved: "approved";
|
|
4521
4519
|
planned: "planned";
|
|
4520
|
+
done: "done";
|
|
4521
|
+
removed: "removed";
|
|
4522
4522
|
withdrawn: "withdrawn";
|
|
4523
4523
|
}>;
|
|
4524
4524
|
votes: z.ZodNumber;
|
|
@@ -4533,11 +4533,11 @@ export declare const reportsEndpoints: {
|
|
|
4533
4533
|
title: z.ZodString;
|
|
4534
4534
|
body: z.ZodString;
|
|
4535
4535
|
status: z.ZodEnum<{
|
|
4536
|
-
done: "done";
|
|
4537
|
-
removed: "removed";
|
|
4538
4536
|
pending: "pending";
|
|
4539
4537
|
approved: "approved";
|
|
4540
4538
|
planned: "planned";
|
|
4539
|
+
done: "done";
|
|
4540
|
+
removed: "removed";
|
|
4541
4541
|
withdrawn: "withdrawn";
|
|
4542
4542
|
}>;
|
|
4543
4543
|
votes: z.ZodNumber;
|
|
@@ -4566,8 +4566,8 @@ export declare const reportsEndpoints: {
|
|
|
4566
4566
|
kind: z.ZodEnum<{
|
|
4567
4567
|
message: "message";
|
|
4568
4568
|
username: "username";
|
|
4569
|
-
presence: "presence";
|
|
4570
4569
|
user: "user";
|
|
4570
|
+
presence: "presence";
|
|
4571
4571
|
suggestion: "suggestion";
|
|
4572
4572
|
room_chat: "room_chat";
|
|
4573
4573
|
}>;
|
|
@@ -4859,20 +4859,20 @@ export type FriendsList = z.infer<typeof FriendsList>;
|
|
|
4859
4859
|
*/
|
|
4860
4860
|
export declare const FriendChange: z.ZodEnum<{
|
|
4861
4861
|
blocked: "blocked";
|
|
4862
|
-
request: "request";
|
|
4863
4862
|
accepted: "accepted";
|
|
4864
|
-
removed: "removed";
|
|
4865
4863
|
declined: "declined";
|
|
4866
4864
|
cancelled: "cancelled";
|
|
4865
|
+
removed: "removed";
|
|
4866
|
+
request: "request";
|
|
4867
4867
|
restored: "restored";
|
|
4868
4868
|
}>;
|
|
4869
4869
|
/** A friends-list change. */
|
|
4870
4870
|
export type FriendChange = z.infer<typeof FriendChange>;
|
|
4871
4871
|
/** My relation to another player, as their card shows it. */
|
|
4872
4872
|
export declare const Relation: z.ZodEnum<{
|
|
4873
|
+
blocked: "blocked";
|
|
4873
4874
|
incoming: "incoming";
|
|
4874
4875
|
outgoing: "outgoing";
|
|
4875
|
-
blocked: "blocked";
|
|
4876
4876
|
self: "self";
|
|
4877
4877
|
friend: "friend";
|
|
4878
4878
|
none: "none";
|
|
@@ -4889,9 +4889,9 @@ export declare const PlayerCard: z.ZodObject<{
|
|
|
4889
4889
|
avatar: z.ZodString;
|
|
4890
4890
|
guest: z.ZodBoolean;
|
|
4891
4891
|
relation: z.ZodEnum<{
|
|
4892
|
+
blocked: "blocked";
|
|
4892
4893
|
incoming: "incoming";
|
|
4893
4894
|
outgoing: "outgoing";
|
|
4894
|
-
blocked: "blocked";
|
|
4895
4895
|
self: "self";
|
|
4896
4896
|
friend: "friend";
|
|
4897
4897
|
none: "none";
|
|
@@ -5350,9 +5350,9 @@ export declare const socialEndpoints: {
|
|
|
5350
5350
|
avatar: z.ZodString;
|
|
5351
5351
|
guest: z.ZodBoolean;
|
|
5352
5352
|
relation: z.ZodEnum<{
|
|
5353
|
+
blocked: "blocked";
|
|
5353
5354
|
incoming: "incoming";
|
|
5354
5355
|
outgoing: "outgoing";
|
|
5355
|
-
blocked: "blocked";
|
|
5356
5356
|
self: "self";
|
|
5357
5357
|
friend: "friend";
|
|
5358
5358
|
none: "none";
|
|
@@ -5407,9 +5407,9 @@ export declare const socialEndpoints: {
|
|
|
5407
5407
|
avatar: z.ZodString;
|
|
5408
5408
|
guest: z.ZodBoolean;
|
|
5409
5409
|
relation: z.ZodEnum<{
|
|
5410
|
+
blocked: "blocked";
|
|
5410
5411
|
incoming: "incoming";
|
|
5411
5412
|
outgoing: "outgoing";
|
|
5412
|
-
blocked: "blocked";
|
|
5413
5413
|
self: "self";
|
|
5414
5414
|
friend: "friend";
|
|
5415
5415
|
none: "none";
|
|
@@ -5709,9 +5709,9 @@ declare const multiplayerEvents: {
|
|
|
5709
5709
|
hostId: import("zod").ZodNumber;
|
|
5710
5710
|
public: import("zod").ZodBoolean;
|
|
5711
5711
|
phase: import("zod").ZodEnum<{
|
|
5712
|
+
ended: "ended";
|
|
5712
5713
|
lobby: "lobby";
|
|
5713
5714
|
playing: "playing";
|
|
5714
|
-
ended: "ended";
|
|
5715
5715
|
}>;
|
|
5716
5716
|
maxPlayers: import("zod").ZodNumber;
|
|
5717
5717
|
model: import("zod").ZodEnum<{
|
|
@@ -5734,10 +5734,10 @@ declare const multiplayerEvents: {
|
|
|
5734
5734
|
}>;
|
|
5735
5735
|
race: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5736
5736
|
phase: import("zod").ZodEnum<{
|
|
5737
|
+
done: "done";
|
|
5737
5738
|
waiting: "waiting";
|
|
5738
5739
|
countdown: "countdown";
|
|
5739
5740
|
racing: "racing";
|
|
5740
|
-
done: "done";
|
|
5741
5741
|
}>;
|
|
5742
5742
|
round: import("zod").ZodNumber;
|
|
5743
5743
|
params: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodString]>>;
|
|
@@ -5749,11 +5749,11 @@ declare const multiplayerEvents: {
|
|
|
5749
5749
|
stats: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodNumber, import("zod").ZodTransform<number, number>>, import("zod").ZodBoolean, import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>]>>;
|
|
5750
5750
|
progress: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodNumber, import("zod").ZodTransform<number, number>>>;
|
|
5751
5751
|
state: import("zod").ZodEnum<{
|
|
5752
|
-
racing: "racing";
|
|
5753
5752
|
finished: "finished";
|
|
5754
5753
|
lost: "lost";
|
|
5755
5754
|
forfeit: "forfeit";
|
|
5756
5755
|
disconnected: "disconnected";
|
|
5756
|
+
racing: "racing";
|
|
5757
5757
|
}>;
|
|
5758
5758
|
ms: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5759
5759
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -5823,8 +5823,8 @@ declare const multiplayerEvents: {
|
|
|
5823
5823
|
'room.closed': EventDef<import("zod").ZodObject<{
|
|
5824
5824
|
reason: import("zod").ZodEnum<{
|
|
5825
5825
|
ended: "ended";
|
|
5826
|
-
removed: "removed";
|
|
5827
5826
|
empty: "empty";
|
|
5827
|
+
removed: "removed";
|
|
5828
5828
|
host_left: "host_left";
|
|
5829
5829
|
moved: "moved";
|
|
5830
5830
|
other_tab: "other_tab";
|
|
@@ -5928,11 +5928,11 @@ declare const socialEvents: {
|
|
|
5928
5928
|
friends: EventDef<z.ZodObject<{
|
|
5929
5929
|
change: z.ZodEnum<{
|
|
5930
5930
|
blocked: "blocked";
|
|
5931
|
-
request: "request";
|
|
5932
5931
|
accepted: "accepted";
|
|
5933
|
-
removed: "removed";
|
|
5934
5932
|
declined: "declined";
|
|
5935
5933
|
cancelled: "cancelled";
|
|
5934
|
+
removed: "removed";
|
|
5935
|
+
request: "request";
|
|
5936
5936
|
restored: "restored";
|
|
5937
5937
|
}>;
|
|
5938
5938
|
user: z.ZodObject<{
|
|
@@ -5992,8 +5992,8 @@ declare const socialEvents: {
|
|
|
5992
5992
|
friend_request: "friend_request";
|
|
5993
5993
|
friend_online: "friend_online";
|
|
5994
5994
|
lobby_open: "lobby_open";
|
|
5995
|
-
invite: "invite";
|
|
5996
5995
|
suggestion: "suggestion";
|
|
5996
|
+
invite: "invite";
|
|
5997
5997
|
renamed: "renamed";
|
|
5998
5998
|
}>;
|
|
5999
5999
|
title: z.ZodString;
|
|
@@ -6060,9 +6060,9 @@ declare const helloOps: {
|
|
|
6060
6060
|
hostId: z.ZodNumber;
|
|
6061
6061
|
public: z.ZodBoolean;
|
|
6062
6062
|
phase: z.ZodEnum<{
|
|
6063
|
+
ended: "ended";
|
|
6063
6064
|
lobby: "lobby";
|
|
6064
6065
|
playing: "playing";
|
|
6065
|
-
ended: "ended";
|
|
6066
6066
|
}>;
|
|
6067
6067
|
maxPlayers: z.ZodNumber;
|
|
6068
6068
|
model: z.ZodEnum<{
|
|
@@ -6085,10 +6085,10 @@ declare const helloOps: {
|
|
|
6085
6085
|
}>;
|
|
6086
6086
|
race: z.ZodOptional<z.ZodObject<{
|
|
6087
6087
|
phase: z.ZodEnum<{
|
|
6088
|
+
done: "done";
|
|
6088
6089
|
waiting: "waiting";
|
|
6089
6090
|
countdown: "countdown";
|
|
6090
6091
|
racing: "racing";
|
|
6091
|
-
done: "done";
|
|
6092
6092
|
}>;
|
|
6093
6093
|
round: z.ZodNumber;
|
|
6094
6094
|
params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString]>>;
|
|
@@ -6100,11 +6100,11 @@ declare const helloOps: {
|
|
|
6100
6100
|
stats: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>, z.ZodBoolean, z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>]>>;
|
|
6101
6101
|
progress: z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>>;
|
|
6102
6102
|
state: z.ZodEnum<{
|
|
6103
|
-
racing: "racing";
|
|
6104
6103
|
finished: "finished";
|
|
6105
6104
|
lost: "lost";
|
|
6106
6105
|
forfeit: "forfeit";
|
|
6107
6106
|
disconnected: "disconnected";
|
|
6107
|
+
racing: "racing";
|
|
6108
6108
|
}>;
|
|
6109
6109
|
ms: z.ZodOptional<z.ZodNumber>;
|
|
6110
6110
|
}, z.core.$strip>>;
|
|
@@ -6263,9 +6263,9 @@ declare const multiplayerOps: {
|
|
|
6263
6263
|
hostId: import("zod").ZodNumber;
|
|
6264
6264
|
public: import("zod").ZodBoolean;
|
|
6265
6265
|
phase: import("zod").ZodEnum<{
|
|
6266
|
+
ended: "ended";
|
|
6266
6267
|
lobby: "lobby";
|
|
6267
6268
|
playing: "playing";
|
|
6268
|
-
ended: "ended";
|
|
6269
6269
|
}>;
|
|
6270
6270
|
maxPlayers: import("zod").ZodNumber;
|
|
6271
6271
|
model: import("zod").ZodEnum<{
|
|
@@ -6288,10 +6288,10 @@ declare const multiplayerOps: {
|
|
|
6288
6288
|
}>;
|
|
6289
6289
|
race: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6290
6290
|
phase: import("zod").ZodEnum<{
|
|
6291
|
+
done: "done";
|
|
6291
6292
|
waiting: "waiting";
|
|
6292
6293
|
countdown: "countdown";
|
|
6293
6294
|
racing: "racing";
|
|
6294
|
-
done: "done";
|
|
6295
6295
|
}>;
|
|
6296
6296
|
round: import("zod").ZodNumber;
|
|
6297
6297
|
params: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodString]>>;
|
|
@@ -6303,11 +6303,11 @@ declare const multiplayerOps: {
|
|
|
6303
6303
|
stats: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodNumber, import("zod").ZodTransform<number, number>>, import("zod").ZodBoolean, import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>]>>;
|
|
6304
6304
|
progress: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodNumber, import("zod").ZodTransform<number, number>>>;
|
|
6305
6305
|
state: import("zod").ZodEnum<{
|
|
6306
|
-
racing: "racing";
|
|
6307
6306
|
finished: "finished";
|
|
6308
6307
|
lost: "lost";
|
|
6309
6308
|
forfeit: "forfeit";
|
|
6310
6309
|
disconnected: "disconnected";
|
|
6310
|
+
racing: "racing";
|
|
6311
6311
|
}>;
|
|
6312
6312
|
ms: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6313
6313
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -6366,9 +6366,9 @@ declare const multiplayerOps: {
|
|
|
6366
6366
|
hostId: import("zod").ZodNumber;
|
|
6367
6367
|
public: import("zod").ZodBoolean;
|
|
6368
6368
|
phase: import("zod").ZodEnum<{
|
|
6369
|
+
ended: "ended";
|
|
6369
6370
|
lobby: "lobby";
|
|
6370
6371
|
playing: "playing";
|
|
6371
|
-
ended: "ended";
|
|
6372
6372
|
}>;
|
|
6373
6373
|
maxPlayers: import("zod").ZodNumber;
|
|
6374
6374
|
model: import("zod").ZodEnum<{
|
|
@@ -6391,10 +6391,10 @@ declare const multiplayerOps: {
|
|
|
6391
6391
|
}>;
|
|
6392
6392
|
race: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6393
6393
|
phase: import("zod").ZodEnum<{
|
|
6394
|
+
done: "done";
|
|
6394
6395
|
waiting: "waiting";
|
|
6395
6396
|
countdown: "countdown";
|
|
6396
6397
|
racing: "racing";
|
|
6397
|
-
done: "done";
|
|
6398
6398
|
}>;
|
|
6399
6399
|
round: import("zod").ZodNumber;
|
|
6400
6400
|
params: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodString]>>;
|
|
@@ -6406,11 +6406,11 @@ declare const multiplayerOps: {
|
|
|
6406
6406
|
stats: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodNumber, import("zod").ZodTransform<number, number>>, import("zod").ZodBoolean, import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>]>>;
|
|
6407
6407
|
progress: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodNumber, import("zod").ZodTransform<number, number>>>;
|
|
6408
6408
|
state: import("zod").ZodEnum<{
|
|
6409
|
-
racing: "racing";
|
|
6410
6409
|
finished: "finished";
|
|
6411
6410
|
lost: "lost";
|
|
6412
6411
|
forfeit: "forfeit";
|
|
6413
6412
|
disconnected: "disconnected";
|
|
6413
|
+
racing: "racing";
|
|
6414
6414
|
}>;
|
|
6415
6415
|
ms: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6416
6416
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -6467,9 +6467,9 @@ declare const multiplayerOps: {
|
|
|
6467
6467
|
hostId: import("zod").ZodNumber;
|
|
6468
6468
|
public: import("zod").ZodBoolean;
|
|
6469
6469
|
phase: import("zod").ZodEnum<{
|
|
6470
|
+
ended: "ended";
|
|
6470
6471
|
lobby: "lobby";
|
|
6471
6472
|
playing: "playing";
|
|
6472
|
-
ended: "ended";
|
|
6473
6473
|
}>;
|
|
6474
6474
|
maxPlayers: import("zod").ZodNumber;
|
|
6475
6475
|
model: import("zod").ZodEnum<{
|
|
@@ -6492,10 +6492,10 @@ declare const multiplayerOps: {
|
|
|
6492
6492
|
}>;
|
|
6493
6493
|
race: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6494
6494
|
phase: import("zod").ZodEnum<{
|
|
6495
|
+
done: "done";
|
|
6495
6496
|
waiting: "waiting";
|
|
6496
6497
|
countdown: "countdown";
|
|
6497
6498
|
racing: "racing";
|
|
6498
|
-
done: "done";
|
|
6499
6499
|
}>;
|
|
6500
6500
|
round: import("zod").ZodNumber;
|
|
6501
6501
|
params: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodString]>>;
|
|
@@ -6507,11 +6507,11 @@ declare const multiplayerOps: {
|
|
|
6507
6507
|
stats: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodNumber, import("zod").ZodTransform<number, number>>, import("zod").ZodBoolean, import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>]>>;
|
|
6508
6508
|
progress: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodNumber, import("zod").ZodTransform<number, number>>>;
|
|
6509
6509
|
state: import("zod").ZodEnum<{
|
|
6510
|
-
racing: "racing";
|
|
6511
6510
|
finished: "finished";
|
|
6512
6511
|
lost: "lost";
|
|
6513
6512
|
forfeit: "forfeit";
|
|
6514
6513
|
disconnected: "disconnected";
|
|
6514
|
+
racing: "racing";
|
|
6515
6515
|
}>;
|
|
6516
6516
|
ms: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6517
6517
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -6630,9 +6630,9 @@ declare const multiplayerOps: {
|
|
|
6630
6630
|
hostId: import("zod").ZodNumber;
|
|
6631
6631
|
public: import("zod").ZodBoolean;
|
|
6632
6632
|
phase: import("zod").ZodEnum<{
|
|
6633
|
+
ended: "ended";
|
|
6633
6634
|
lobby: "lobby";
|
|
6634
6635
|
playing: "playing";
|
|
6635
|
-
ended: "ended";
|
|
6636
6636
|
}>;
|
|
6637
6637
|
maxPlayers: import("zod").ZodNumber;
|
|
6638
6638
|
model: import("zod").ZodEnum<{
|
|
@@ -6655,10 +6655,10 @@ declare const multiplayerOps: {
|
|
|
6655
6655
|
}>;
|
|
6656
6656
|
race: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6657
6657
|
phase: import("zod").ZodEnum<{
|
|
6658
|
+
done: "done";
|
|
6658
6659
|
waiting: "waiting";
|
|
6659
6660
|
countdown: "countdown";
|
|
6660
6661
|
racing: "racing";
|
|
6661
|
-
done: "done";
|
|
6662
6662
|
}>;
|
|
6663
6663
|
round: import("zod").ZodNumber;
|
|
6664
6664
|
params: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodString]>>;
|
|
@@ -6670,11 +6670,11 @@ declare const multiplayerOps: {
|
|
|
6670
6670
|
stats: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodNumber, import("zod").ZodTransform<number, number>>, import("zod").ZodBoolean, import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>]>>;
|
|
6671
6671
|
progress: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodNumber, import("zod").ZodTransform<number, number>>>;
|
|
6672
6672
|
state: import("zod").ZodEnum<{
|
|
6673
|
-
racing: "racing";
|
|
6674
6673
|
finished: "finished";
|
|
6675
6674
|
lost: "lost";
|
|
6676
6675
|
forfeit: "forfeit";
|
|
6677
6676
|
disconnected: "disconnected";
|
|
6677
|
+
racing: "racing";
|
|
6678
6678
|
}>;
|
|
6679
6679
|
ms: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6680
6680
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -6734,9 +6734,9 @@ declare const multiplayerOps: {
|
|
|
6734
6734
|
hostId: import("zod").ZodNumber;
|
|
6735
6735
|
public: import("zod").ZodBoolean;
|
|
6736
6736
|
phase: import("zod").ZodEnum<{
|
|
6737
|
+
ended: "ended";
|
|
6737
6738
|
lobby: "lobby";
|
|
6738
6739
|
playing: "playing";
|
|
6739
|
-
ended: "ended";
|
|
6740
6740
|
}>;
|
|
6741
6741
|
maxPlayers: import("zod").ZodNumber;
|
|
6742
6742
|
model: import("zod").ZodEnum<{
|
|
@@ -6759,10 +6759,10 @@ declare const multiplayerOps: {
|
|
|
6759
6759
|
}>;
|
|
6760
6760
|
race: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6761
6761
|
phase: import("zod").ZodEnum<{
|
|
6762
|
+
done: "done";
|
|
6762
6763
|
waiting: "waiting";
|
|
6763
6764
|
countdown: "countdown";
|
|
6764
6765
|
racing: "racing";
|
|
6765
|
-
done: "done";
|
|
6766
6766
|
}>;
|
|
6767
6767
|
round: import("zod").ZodNumber;
|
|
6768
6768
|
params: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodString]>>;
|
|
@@ -6774,11 +6774,11 @@ declare const multiplayerOps: {
|
|
|
6774
6774
|
stats: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodNumber, import("zod").ZodTransform<number, number>>, import("zod").ZodBoolean, import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>]>>;
|
|
6775
6775
|
progress: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodNumber, import("zod").ZodTransform<number, number>>>;
|
|
6776
6776
|
state: import("zod").ZodEnum<{
|
|
6777
|
-
racing: "racing";
|
|
6778
6777
|
finished: "finished";
|
|
6779
6778
|
lost: "lost";
|
|
6780
6779
|
forfeit: "forfeit";
|
|
6781
6780
|
disconnected: "disconnected";
|
|
6781
|
+
racing: "racing";
|
|
6782
6782
|
}>;
|
|
6783
6783
|
ms: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6784
6784
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -6877,9 +6877,9 @@ declare const multiplayerOps: {
|
|
|
6877
6877
|
hostId: import("zod").ZodNumber;
|
|
6878
6878
|
public: import("zod").ZodBoolean;
|
|
6879
6879
|
phase: import("zod").ZodEnum<{
|
|
6880
|
+
ended: "ended";
|
|
6880
6881
|
lobby: "lobby";
|
|
6881
6882
|
playing: "playing";
|
|
6882
|
-
ended: "ended";
|
|
6883
6883
|
}>;
|
|
6884
6884
|
maxPlayers: import("zod").ZodNumber;
|
|
6885
6885
|
model: import("zod").ZodEnum<{
|
|
@@ -6902,10 +6902,10 @@ declare const multiplayerOps: {
|
|
|
6902
6902
|
}>;
|
|
6903
6903
|
race: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6904
6904
|
phase: import("zod").ZodEnum<{
|
|
6905
|
+
done: "done";
|
|
6905
6906
|
waiting: "waiting";
|
|
6906
6907
|
countdown: "countdown";
|
|
6907
6908
|
racing: "racing";
|
|
6908
|
-
done: "done";
|
|
6909
6909
|
}>;
|
|
6910
6910
|
round: import("zod").ZodNumber;
|
|
6911
6911
|
params: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodString]>>;
|
|
@@ -6917,11 +6917,11 @@ declare const multiplayerOps: {
|
|
|
6917
6917
|
stats: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodNumber, import("zod").ZodTransform<number, number>>, import("zod").ZodBoolean, import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>]>>;
|
|
6918
6918
|
progress: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodNumber, import("zod").ZodTransform<number, number>>>;
|
|
6919
6919
|
state: import("zod").ZodEnum<{
|
|
6920
|
-
racing: "racing";
|
|
6921
6920
|
finished: "finished";
|
|
6922
6921
|
lost: "lost";
|
|
6923
6922
|
forfeit: "forfeit";
|
|
6924
6923
|
disconnected: "disconnected";
|
|
6924
|
+
racing: "racing";
|
|
6925
6925
|
}>;
|
|
6926
6926
|
ms: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6927
6927
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -7226,8 +7226,8 @@ export declare const StaticGame: z.ZodObject<{
|
|
|
7226
7226
|
}>>;
|
|
7227
7227
|
showZeros: z.ZodOptional<z.ZodBoolean>;
|
|
7228
7228
|
source: z.ZodDefault<z.ZodEnum<{
|
|
7229
|
-
client: "client";
|
|
7230
7229
|
server: "server";
|
|
7230
|
+
client: "client";
|
|
7231
7231
|
}>>;
|
|
7232
7232
|
}, z.core.$strict>>>;
|
|
7233
7233
|
controls: z.ZodOptional<z.ZodObject<{
|
|
@@ -7358,8 +7358,8 @@ export declare const ProcessGame: z.ZodObject<{
|
|
|
7358
7358
|
}>>;
|
|
7359
7359
|
showZeros: z.ZodOptional<z.ZodBoolean>;
|
|
7360
7360
|
source: z.ZodDefault<z.ZodEnum<{
|
|
7361
|
-
client: "client";
|
|
7362
7361
|
server: "server";
|
|
7362
|
+
client: "client";
|
|
7363
7363
|
}>>;
|
|
7364
7364
|
}, z.core.$strict>>>;
|
|
7365
7365
|
controls: z.ZodOptional<z.ZodObject<{
|
|
@@ -7491,8 +7491,8 @@ export declare const GameManifest: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7491
7491
|
}>>;
|
|
7492
7492
|
showZeros: z.ZodOptional<z.ZodBoolean>;
|
|
7493
7493
|
source: z.ZodDefault<z.ZodEnum<{
|
|
7494
|
-
client: "client";
|
|
7495
7494
|
server: "server";
|
|
7495
|
+
client: "client";
|
|
7496
7496
|
}>>;
|
|
7497
7497
|
}, z.core.$strict>>>;
|
|
7498
7498
|
controls: z.ZodOptional<z.ZodObject<{
|
|
@@ -7621,8 +7621,8 @@ export declare const GameManifest: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7621
7621
|
}>>;
|
|
7622
7622
|
showZeros: z.ZodOptional<z.ZodBoolean>;
|
|
7623
7623
|
source: z.ZodDefault<z.ZodEnum<{
|
|
7624
|
-
client: "client";
|
|
7625
7624
|
server: "server";
|
|
7625
|
+
client: "client";
|
|
7626
7626
|
}>>;
|
|
7627
7627
|
}, z.core.$strict>>>;
|
|
7628
7628
|
controls: z.ZodOptional<z.ZodObject<{
|
|
@@ -7764,8 +7764,8 @@ export declare const GamePackageJson: z.ZodObject<{
|
|
|
7764
7764
|
}>>;
|
|
7765
7765
|
showZeros: z.ZodOptional<z.ZodBoolean>;
|
|
7766
7766
|
source: z.ZodDefault<z.ZodEnum<{
|
|
7767
|
-
client: "client";
|
|
7768
7767
|
server: "server";
|
|
7768
|
+
client: "client";
|
|
7769
7769
|
}>>;
|
|
7770
7770
|
}, z.core.$strict>>>;
|
|
7771
7771
|
controls: z.ZodOptional<z.ZodObject<{
|
|
@@ -7894,8 +7894,8 @@ export declare const GamePackageJson: z.ZodObject<{
|
|
|
7894
7894
|
}>>;
|
|
7895
7895
|
showZeros: z.ZodOptional<z.ZodBoolean>;
|
|
7896
7896
|
source: z.ZodDefault<z.ZodEnum<{
|
|
7897
|
-
client: "client";
|
|
7898
7897
|
server: "server";
|
|
7898
|
+
client: "client";
|
|
7899
7899
|
}>>;
|
|
7900
7900
|
}, z.core.$strict>>>;
|
|
7901
7901
|
controls: z.ZodOptional<z.ZodObject<{
|
|
@@ -8054,8 +8054,8 @@ export declare const LeaderboardDecl: z.ZodObject<{
|
|
|
8054
8054
|
}>>;
|
|
8055
8055
|
showZeros: z.ZodOptional<z.ZodBoolean>;
|
|
8056
8056
|
source: z.ZodDefault<z.ZodEnum<{
|
|
8057
|
-
client: "client";
|
|
8058
8057
|
server: "server";
|
|
8058
|
+
client: "client";
|
|
8059
8059
|
}>>;
|
|
8060
8060
|
}, z.core.$strict>;
|
|
8061
8061
|
/** `game.leaderboards`: unique keys. */
|
|
@@ -8068,8 +8068,8 @@ export declare const GameLeaderboardDecls: z.ZodArray<z.ZodObject<{
|
|
|
8068
8068
|
}>>;
|
|
8069
8069
|
showZeros: z.ZodOptional<z.ZodBoolean>;
|
|
8070
8070
|
source: z.ZodDefault<z.ZodEnum<{
|
|
8071
|
-
client: "client";
|
|
8072
8071
|
server: "server";
|
|
8072
|
+
client: "client";
|
|
8073
8073
|
}>>;
|
|
8074
8074
|
}, z.core.$strict>>;
|
|
8075
8075
|
//#endregion
|