@kuncat/avoidant 0.2.4 → 0.3.0
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/README.md +29 -18
- package/dist/components/AvoidantGame.svelte +743 -457
- package/dist/components/AvoidantGame.svelte.d.ts +2 -1
- package/dist/components/GameHistory.svelte +103 -0
- package/dist/components/GameHistory.svelte.d.ts +8 -0
- package/dist/components/MapIcon.svelte +40 -0
- package/dist/components/MapIcon.svelte.d.ts +7 -0
- package/dist/components/MatchResults.svelte +29 -0
- package/dist/components/MatchResults.svelte.d.ts +8 -0
- package/dist/components/MultiplayerGame.svelte +504 -0
- package/dist/components/MultiplayerGame.svelte.d.ts +11 -0
- package/dist/components/OptionHelp.svelte +96 -0
- package/dist/components/OptionHelp.svelte.d.ts +7 -0
- package/dist/components/ScoreSummary.svelte +43 -0
- package/dist/components/ScoreSummary.svelte.d.ts +8 -0
- package/dist/components/board.svelte +54 -5
- package/dist/components/board.svelte.d.ts +4 -2
- package/dist/components/fragment.glsl +34 -0
- package/dist/index.d.ts +1 -0
- package/dist/multiplayer/client.d.ts +21 -0
- package/dist/multiplayer/client.js +111 -0
- package/dist/multiplayer/duration.d.ts +1 -0
- package/dist/multiplayer/duration.js +6 -0
- package/dist/multiplayer/local-identity.d.ts +1 -0
- package/dist/multiplayer/local-identity.js +13 -0
- package/dist/multiplayer/maps.json +275 -0
- package/dist/multiplayer/reveal.d.ts +11 -0
- package/dist/multiplayer/reveal.js +16 -0
- package/dist/multiplayer/types.d.ts +80 -0
- package/dist/multiplayer/types.js +10 -0
- package/dist/paraglide/messages/_index.d.ts +103 -0
- package/dist/paraglide/messages/_index.js +104 -1
- package/dist/paraglide/messages/action_copied.d.ts +16 -0
- package/dist/paraglide/messages/action_copied.js +29 -0
- package/dist/paraglide/messages/action_copy_invitation.d.ts +16 -0
- package/dist/paraglide/messages/action_copy_invitation.js +29 -0
- package/dist/paraglide/messages/action_download_replay.d.ts +16 -0
- package/dist/paraglide/messages/action_download_replay.js +29 -0
- package/dist/paraglide/messages/action_game_history.d.ts +16 -0
- package/dist/paraglide/messages/action_game_history.js +29 -0
- package/dist/paraglide/messages/action_load_more.d.ts +16 -0
- package/dist/paraglide/messages/action_load_more.js +29 -0
- package/dist/paraglide/messages/action_login.d.ts +16 -0
- package/dist/paraglide/messages/action_login.js +29 -0
- package/dist/paraglide/messages/action_login_again.d.ts +16 -0
- package/dist/paraglide/messages/action_login_again.js +29 -0
- package/dist/paraglide/messages/action_logout.d.ts +16 -0
- package/dist/paraglide/messages/action_logout.js +29 -0
- package/dist/paraglide/messages/action_pass.d.ts +16 -0
- package/dist/paraglide/messages/action_pass.js +29 -0
- package/dist/paraglide/messages/action_reconnect.d.ts +16 -0
- package/dist/paraglide/messages/action_reconnect.js +29 -0
- package/dist/paraglide/messages/action_register.d.ts +16 -0
- package/dist/paraglide/messages/action_register.js +29 -0
- package/dist/paraglide/messages/action_save_name.d.ts +16 -0
- package/dist/paraglide/messages/action_save_name.js +29 -0
- package/dist/paraglide/messages/action_start_match.d.ts +16 -0
- package/dist/paraglide/messages/action_start_match.js +29 -0
- package/dist/paraglide/messages/error_connection_failed.d.ts +16 -0
- package/dist/paraglide/messages/error_connection_failed.js +29 -0
- package/dist/paraglide/messages/error_connection_interrupted.d.ts +16 -0
- package/dist/paraglide/messages/error_connection_interrupted.js +29 -0
- package/dist/paraglide/messages/error_history.d.ts +16 -0
- package/dist/paraglide/messages/error_history.js +29 -0
- package/dist/paraglide/messages/error_invitation_invalid.d.ts +16 -0
- package/dist/paraglide/messages/error_invitation_invalid.js +29 -0
- package/dist/paraglide/messages/error_login_to_join.d.ts +16 -0
- package/dist/paraglide/messages/error_login_to_join.js +29 -0
- package/dist/paraglide/messages/error_map_version.d.ts +16 -0
- package/dist/paraglide/messages/error_map_version.js +29 -0
- package/dist/paraglide/messages/error_match_join.d.ts +16 -0
- package/dist/paraglide/messages/error_match_join.js +29 -0
- package/dist/paraglide/messages/error_match_version.d.ts +16 -0
- package/dist/paraglide/messages/error_match_version.js +29 -0
- package/dist/paraglide/messages/error_name_not_saved.d.ts +16 -0
- package/dist/paraglide/messages/error_name_not_saved.js +29 -0
- package/dist/paraglide/messages/error_name_server_update.d.ts +16 -0
- package/dist/paraglide/messages/error_name_server_update.js +29 -0
- package/dist/paraglide/messages/error_player_name.d.ts +16 -0
- package/dist/paraglide/messages/error_player_name.js +29 -0
- package/dist/paraglide/messages/error_reconnect_to_play.d.ts +16 -0
- package/dist/paraglide/messages/error_reconnect_to_play.js +29 -0
- package/dist/paraglide/messages/error_replay.d.ts +16 -0
- package/dist/paraglide/messages/error_replay.js +29 -0
- package/dist/paraglide/messages/error_unsupported_map.d.ts +16 -0
- package/dist/paraglide/messages/error_unsupported_map.js +29 -0
- package/dist/paraglide/messages/field_bordering.d.ts +16 -0
- package/dist/paraglide/messages/field_bordering.js +29 -0
- package/dist/paraglide/messages/field_duration_unit.d.ts +16 -0
- package/dist/paraglide/messages/field_duration_unit.js +29 -0
- package/dist/paraglide/messages/field_finite_flood.d.ts +16 -0
- package/dist/paraglide/messages/field_finite_flood.js +29 -0
- package/dist/paraglide/messages/field_flood_cells.d.ts +16 -0
- package/dist/paraglide/messages/field_flood_cells.js +29 -0
- package/dist/paraglide/messages/field_flood_limit.d.ts +16 -0
- package/dist/paraglide/messages/field_flood_limit.js +29 -0
- package/dist/paraglide/messages/field_infinite_flood.d.ts +16 -0
- package/dist/paraglide/messages/field_infinite_flood.js +29 -0
- package/dist/paraglide/messages/field_invitation_link.d.ts +16 -0
- package/dist/paraglide/messages/field_invitation_link.js +29 -0
- package/dist/paraglide/messages/field_language.d.ts +16 -0
- package/dist/paraglide/messages/field_language.js +29 -0
- package/dist/paraglide/messages/field_map.d.ts +16 -0
- package/dist/paraglide/messages/field_map.js +29 -0
- package/dist/paraglide/messages/field_map_size.d.ts +1 -1
- package/dist/paraglide/messages/field_map_size.js +3 -3
- package/dist/paraglide/messages/field_match_duration.d.ts +16 -0
- package/dist/paraglide/messages/field_match_duration.js +29 -0
- package/dist/paraglide/messages/field_match_minutes.d.ts +16 -0
- package/dist/paraglide/messages/field_match_minutes.js +29 -0
- package/dist/paraglide/messages/field_play_mode.d.ts +16 -0
- package/dist/paraglide/messages/field_play_mode.js +29 -0
- package/dist/paraglide/messages/field_size.d.ts +1 -1
- package/dist/paraglide/messages/field_size.js +3 -3
- package/dist/paraglide/messages/field_turn_based.d.ts +16 -0
- package/dist/paraglide/messages/field_turn_based.js +29 -0
- package/dist/paraglide/messages/field_turn_duration.d.ts +16 -0
- package/dist/paraglide/messages/field_turn_duration.js +29 -0
- package/dist/paraglide/messages/field_turn_duration_unit.d.ts +16 -0
- package/dist/paraglide/messages/field_turn_duration_unit.js +29 -0
- package/dist/paraglide/messages/field_turn_timer.d.ts +16 -0
- package/dist/paraglide/messages/field_turn_timer.js +29 -0
- package/dist/paraglide/messages/help_bordering.d.ts +16 -0
- package/dist/paraglide/messages/help_bordering.js +29 -0
- package/dist/paraglide/messages/help_flood_limit.d.ts +16 -0
- package/dist/paraglide/messages/help_flood_limit.js +29 -0
- package/dist/paraglide/messages/help_map.d.ts +16 -0
- package/dist/paraglide/messages/help_map.js +29 -0
- package/dist/paraglide/messages/help_map_size.d.ts +16 -0
- package/dist/paraglide/messages/help_map_size.js +29 -0
- package/dist/paraglide/messages/help_match_duration.d.ts +16 -0
- package/dist/paraglide/messages/help_match_duration.js +29 -0
- package/dist/paraglide/messages/help_participation_time.d.ts +16 -0
- package/dist/paraglide/messages/help_participation_time.js +29 -0
- package/dist/paraglide/messages/help_play_mode.d.ts +16 -0
- package/dist/paraglide/messages/help_play_mode.js +29 -0
- package/dist/paraglide/messages/help_player_name.d.ts +16 -0
- package/dist/paraglide/messages/help_player_name.js +29 -0
- package/dist/paraglide/messages/help_seed.d.ts +16 -0
- package/dist/paraglide/messages/help_seed.js +29 -0
- package/dist/paraglide/messages/help_size.d.ts +16 -0
- package/dist/paraglide/messages/help_size.js +29 -0
- package/dist/paraglide/messages/help_spikiness.d.ts +16 -0
- package/dist/paraglide/messages/help_spikiness.js +29 -0
- package/dist/paraglide/messages/help_turn_based.d.ts +16 -0
- package/dist/paraglide/messages/help_turn_based.js +29 -0
- package/dist/paraglide/messages/help_turn_duration.d.ts +16 -0
- package/dist/paraglide/messages/help_turn_duration.js +29 -0
- package/dist/paraglide/messages/help_turn_time.d.ts +16 -0
- package/dist/paraglide/messages/help_turn_time.js +29 -0
- package/dist/paraglide/messages/help_turn_timer.d.ts +16 -0
- package/dist/paraglide/messages/help_turn_timer.js +29 -0
- package/dist/paraglide/messages/help_tutorial_mode.d.ts +16 -0
- package/dist/paraglide/messages/help_tutorial_mode.js +29 -0
- package/dist/paraglide/messages/help_void_fraction.d.ts +16 -0
- package/dist/paraglide/messages/help_void_fraction.js +29 -0
- package/dist/paraglide/messages/history_empty.d.ts +16 -0
- package/dist/paraglide/messages/history_empty.js +29 -0
- package/dist/paraglide/messages/label_claims.d.ts +18 -0
- package/dist/paraglide/messages/label_claims.js +29 -0
- package/dist/paraglide/messages/label_cumulative_time.d.ts +16 -0
- package/dist/paraglide/messages/label_cumulative_time.js +29 -0
- package/dist/paraglide/messages/label_custom_map_options.d.ts +16 -0
- package/dist/paraglide/messages/label_custom_map_options.js +29 -0
- package/dist/paraglide/messages/label_gameplay_options.d.ts +16 -0
- package/dist/paraglide/messages/label_gameplay_options.js +29 -0
- package/dist/paraglide/messages/label_map_options.d.ts +16 -0
- package/dist/paraglide/messages/label_map_options.js +29 -0
- package/dist/paraglide/messages/label_match_ends.d.ts +18 -0
- package/dist/paraglide/messages/label_match_ends.js +29 -0
- package/dist/paraglide/messages/label_match_id.d.ts +18 -0
- package/dist/paraglide/messages/label_match_id.js +29 -0
- package/dist/paraglide/messages/label_player_number.d.ts +18 -0
- package/dist/paraglide/messages/label_player_number.js +29 -0
- package/dist/paraglide/messages/label_points.d.ts +18 -0
- package/dist/paraglide/messages/label_points.js +29 -0
- package/dist/paraglide/messages/label_revealed_count.d.ts +18 -0
- package/dist/paraglide/messages/label_revealed_count.js +29 -0
- package/dist/paraglide/messages/label_team_score.d.ts +18 -0
- package/dist/paraglide/messages/label_team_score.js +29 -0
- package/dist/paraglide/messages/label_turn_remaining.d.ts +18 -0
- package/dist/paraglide/messages/label_turn_remaining.js +29 -0
- package/dist/paraglide/messages/label_you.d.ts +16 -0
- package/dist/paraglide/messages/label_you.js +29 -0
- package/dist/paraglide/messages/mode_collaborative.d.ts +16 -0
- package/dist/paraglide/messages/mode_collaborative.js +29 -0
- package/dist/paraglide/messages/mode_collaborative_hint.d.ts +16 -0
- package/dist/paraglide/messages/mode_collaborative_hint.js +29 -0
- package/dist/paraglide/messages/mode_solo.d.ts +16 -0
- package/dist/paraglide/messages/mode_solo.js +29 -0
- package/dist/paraglide/messages/mode_solo_hint.d.ts +16 -0
- package/dist/paraglide/messages/mode_solo_hint.js +29 -0
- package/dist/paraglide/messages/mode_territory.d.ts +16 -0
- package/dist/paraglide/messages/mode_territory.js +29 -0
- package/dist/paraglide/messages/mode_territory_hint.d.ts +16 -0
- package/dist/paraglide/messages/mode_territory_hint.js +29 -0
- package/dist/paraglide/messages/multiplayer_title.d.ts +16 -0
- package/dist/paraglide/messages/multiplayer_title.js +29 -0
- package/dist/paraglide/messages/option_help.d.ts +18 -0
- package/dist/paraglide/messages/option_help.js +29 -0
- package/dist/paraglide/messages/shape_label.d.ts +5 -5
- package/dist/paraglide/messages/shape_label.js +15 -15
- package/dist/paraglide/messages/status_connecting.d.ts +16 -0
- package/dist/paraglide/messages/status_connecting.js +29 -0
- package/dist/paraglide/messages/status_draw.d.ts +16 -0
- package/dist/paraglide/messages/status_draw.js +29 -0
- package/dist/paraglide/messages/status_match_complete.d.ts +16 -0
- package/dist/paraglide/messages/status_match_complete.js +29 -0
- package/dist/paraglide/messages/status_match_expired.d.ts +16 -0
- package/dist/paraglide/messages/status_match_expired.js +29 -0
- package/dist/paraglide/messages/status_name_saved.d.ts +16 -0
- package/dist/paraglide/messages/status_name_saved.js +29 -0
- package/dist/paraglide/messages/status_named_turn.d.ts +18 -0
- package/dist/paraglide/messages/status_named_turn.js +29 -0
- package/dist/paraglide/messages/status_named_winner.d.ts +18 -0
- package/dist/paraglide/messages/status_named_winner.js +29 -0
- package/dist/paraglide/messages/status_player_turn.d.ts +18 -0
- package/dist/paraglide/messages/status_player_turn.js +29 -0
- package/dist/paraglide/messages/status_realtime_claims.d.ts +16 -0
- package/dist/paraglide/messages/status_realtime_claims.js +29 -0
- package/dist/paraglide/messages/status_reconnecting.d.ts +16 -0
- package/dist/paraglide/messages/status_reconnecting.js +29 -0
- package/dist/paraglide/messages/status_session_complete.d.ts +16 -0
- package/dist/paraglide/messages/status_session_complete.js +29 -0
- package/dist/paraglide/messages/status_winner.d.ts +18 -0
- package/dist/paraglide/messages/status_winner.js +29 -0
- package/dist/paraglide/messages/text_account_multiplayer.d.ts +16 -0
- package/dist/paraglide/messages/text_account_multiplayer.js +29 -0
- package/dist/paraglide/messages/text_multiplayer_login.d.ts +16 -0
- package/dist/paraglide/messages/text_multiplayer_login.js +29 -0
- package/dist/paraglide/messages/text_waiting_lobby.d.ts +16 -0
- package/dist/paraglide/messages/text_waiting_lobby.js +29 -0
- package/dist/paraglide/messages/unit_hours.d.ts +16 -0
- package/dist/paraglide/messages/unit_hours.js +29 -0
- package/dist/paraglide/messages/unit_hours_selected.d.ts +19 -0
- package/dist/paraglide/messages/unit_hours_selected.js +35 -0
- package/dist/paraglide/messages/unit_minutes.d.ts +16 -0
- package/dist/paraglide/messages/unit_minutes.js +29 -0
- package/dist/paraglide/messages/unit_minutes_selected.d.ts +19 -0
- package/dist/paraglide/messages/unit_minutes_selected.js +35 -0
- package/dist/paraglide/messages/unit_seconds.d.ts +16 -0
- package/dist/paraglide/messages/unit_seconds.js +29 -0
- package/dist/paraglide/messages/unit_seconds_selected.d.ts +19 -0
- package/dist/paraglide/messages/unit_seconds_selected.js +35 -0
- package/dist/styles/global.css +12 -51
- package/dist/wasm/avoidant_wasm.d.ts +11 -11
- package/dist/wasm/avoidant_wasm.js +43 -43
- package/dist/wasm/avoidant_wasm_bg.wasm +0 -0
- package/dist/wasm/avoidant_wasm_bg.wasm.d.ts +11 -11
- package/package.json +6 -4
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import type { Readable } from "svelte/store";
|
|
2
|
+
import type { CellMetadataEntry, MapCell, Pulse } from "../wasm/avoidant_wasm";
|
|
3
|
+
export type BoardPulse = Pick<Pulse, "id" | "createdAtMs" | "durationMs" | "position" | "originCell" | "isRemote" | "maxRadius">;
|
|
4
|
+
export interface BoardState {
|
|
5
|
+
cells: Readable<MapCell[]>;
|
|
6
|
+
cellMetadata: Readable<CellMetadataEntry[]>;
|
|
7
|
+
uiState: {
|
|
8
|
+
pulses: Readable<BoardPulse[]>;
|
|
9
|
+
};
|
|
10
|
+
elevationMin: number;
|
|
11
|
+
elevationMax: number;
|
|
12
|
+
queueExplorePulse(index: number, x: number, y: number, z: number): void;
|
|
13
|
+
}
|
|
14
|
+
export interface CompetitiveConfig {
|
|
15
|
+
serverUrl: string;
|
|
16
|
+
account: {
|
|
17
|
+
login(register?: boolean): Promise<void>;
|
|
18
|
+
logout(): Promise<void>;
|
|
19
|
+
completeLogin(): Promise<void>;
|
|
20
|
+
token(): Promise<string>;
|
|
21
|
+
account(): Promise<{
|
|
22
|
+
id: string;
|
|
23
|
+
username?: string;
|
|
24
|
+
capabilities: string[];
|
|
25
|
+
} | null>;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export interface MatchSnapshot {
|
|
29
|
+
version: number;
|
|
30
|
+
revision: number;
|
|
31
|
+
started: boolean;
|
|
32
|
+
finished: boolean;
|
|
33
|
+
turn: number | null;
|
|
34
|
+
turnDeadline: number;
|
|
35
|
+
deadline: number;
|
|
36
|
+
startedAt: number | null;
|
|
37
|
+
finishedAt: number | null;
|
|
38
|
+
options: {
|
|
39
|
+
mode: "collaborative" | "territory";
|
|
40
|
+
bordering: boolean;
|
|
41
|
+
floodLimit: number | null;
|
|
42
|
+
turnBased: boolean;
|
|
43
|
+
matchMinutes?: number;
|
|
44
|
+
turnSeconds?: number | null;
|
|
45
|
+
};
|
|
46
|
+
players: {
|
|
47
|
+
id: string;
|
|
48
|
+
name?: string;
|
|
49
|
+
score: number;
|
|
50
|
+
claims: number;
|
|
51
|
+
voids: number;
|
|
52
|
+
sequence: number;
|
|
53
|
+
cumulativeMs: number;
|
|
54
|
+
}[];
|
|
55
|
+
cells: {
|
|
56
|
+
revealed: boolean;
|
|
57
|
+
isVoid?: boolean;
|
|
58
|
+
count?: number;
|
|
59
|
+
owner: number | null;
|
|
60
|
+
}[];
|
|
61
|
+
}
|
|
62
|
+
export declare const PLAYER_COLORS: string[];
|
|
63
|
+
export interface MultiplayerSetup {
|
|
64
|
+
mode: "collaborative" | "territory";
|
|
65
|
+
map: string;
|
|
66
|
+
bordering: boolean;
|
|
67
|
+
turnBased: boolean;
|
|
68
|
+
floodLimit: number | null;
|
|
69
|
+
matchMinutes?: number;
|
|
70
|
+
turnSeconds?: number | null;
|
|
71
|
+
}
|
|
72
|
+
export interface MatchHistory {
|
|
73
|
+
replayAvailable?: boolean;
|
|
74
|
+
id: string;
|
|
75
|
+
map: string;
|
|
76
|
+
options: MatchSnapshot["options"];
|
|
77
|
+
startedAt: number | null;
|
|
78
|
+
finishedAt: number;
|
|
79
|
+
players: MatchSnapshot["players"];
|
|
80
|
+
}
|
|
@@ -1,26 +1,65 @@
|
|
|
1
1
|
export * from "./action_back.js";
|
|
2
|
+
export * from "./action_copied.js";
|
|
2
3
|
export * from "./action_copy.js";
|
|
4
|
+
export * from "./action_copy_invitation.js";
|
|
5
|
+
export * from "./action_download_replay.js";
|
|
3
6
|
export * from "./action_exit.js";
|
|
7
|
+
export * from "./action_game_history.js";
|
|
4
8
|
export * from "./action_invite.js";
|
|
5
9
|
export * from "./action_join.js";
|
|
6
10
|
export * from "./action_join_game.js";
|
|
11
|
+
export * from "./action_load_more.js";
|
|
12
|
+
export * from "./action_login.js";
|
|
13
|
+
export * from "./action_login_again.js";
|
|
14
|
+
export * from "./action_logout.js";
|
|
7
15
|
export * from "./action_new_game.js";
|
|
16
|
+
export * from "./action_pass.js";
|
|
8
17
|
export * from "./action_random.js";
|
|
18
|
+
export * from "./action_reconnect.js";
|
|
19
|
+
export * from "./action_register.js";
|
|
20
|
+
export * from "./action_save_name.js";
|
|
9
21
|
export * from "./action_start.js";
|
|
22
|
+
export * from "./action_start_match.js";
|
|
10
23
|
export * from "./aria_close_invitation.js";
|
|
11
24
|
export * from "./aria_score_summary.js";
|
|
12
25
|
export * from "./cells_count.js";
|
|
13
26
|
export * from "./cells_per_face.js";
|
|
14
27
|
export * from "./default_player_name.js";
|
|
28
|
+
export * from "./error_connection_failed.js";
|
|
29
|
+
export * from "./error_connection_interrupted.js";
|
|
30
|
+
export * from "./error_history.js";
|
|
31
|
+
export * from "./error_invitation_invalid.js";
|
|
15
32
|
export * from "./error_join_connect_failed.js";
|
|
16
33
|
export * from "./error_join_failed.js";
|
|
17
34
|
export * from "./error_join_ticket_invalid.js";
|
|
18
35
|
export * from "./error_join_ticket_required.js";
|
|
36
|
+
export * from "./error_login_to_join.js";
|
|
37
|
+
export * from "./error_map_version.js";
|
|
38
|
+
export * from "./error_match_join.js";
|
|
39
|
+
export * from "./error_match_version.js";
|
|
40
|
+
export * from "./error_name_not_saved.js";
|
|
41
|
+
export * from "./error_name_server_update.js";
|
|
42
|
+
export * from "./error_player_name.js";
|
|
43
|
+
export * from "./error_reconnect_to_play.js";
|
|
44
|
+
export * from "./error_replay.js";
|
|
45
|
+
export * from "./error_unsupported_map.js";
|
|
19
46
|
export * from "./faces_count.js";
|
|
47
|
+
export * from "./field_bordering.js";
|
|
20
48
|
export * from "./field_cell_density.js";
|
|
49
|
+
export * from "./field_duration_unit.js";
|
|
50
|
+
export * from "./field_finite_flood.js";
|
|
51
|
+
export * from "./field_flood_cells.js";
|
|
52
|
+
export * from "./field_flood_limit.js";
|
|
53
|
+
export * from "./field_infinite_flood.js";
|
|
54
|
+
export * from "./field_invitation_link.js";
|
|
21
55
|
export * from "./field_invitation_url.js";
|
|
56
|
+
export * from "./field_language.js";
|
|
57
|
+
export * from "./field_map.js";
|
|
22
58
|
export * from "./field_map_shape.js";
|
|
23
59
|
export * from "./field_map_size.js";
|
|
60
|
+
export * from "./field_match_duration.js";
|
|
61
|
+
export * from "./field_match_minutes.js";
|
|
62
|
+
export * from "./field_play_mode.js";
|
|
24
63
|
export * from "./field_player_name.js";
|
|
25
64
|
export * from "./field_radius.js";
|
|
26
65
|
export * from "./field_radius_x.js";
|
|
@@ -33,29 +72,87 @@ export * from "./field_spikiness.js";
|
|
|
33
72
|
export * from "./field_subdivisions.js";
|
|
34
73
|
export * from "./field_surface_detail.js";
|
|
35
74
|
export * from "./field_ticket_or_invitation_url.js";
|
|
75
|
+
export * from "./field_turn_based.js";
|
|
76
|
+
export * from "./field_turn_duration.js";
|
|
77
|
+
export * from "./field_turn_duration_unit.js";
|
|
78
|
+
export * from "./field_turn_timer.js";
|
|
36
79
|
export * from "./field_tutorial_mode.js";
|
|
37
80
|
export * from "./field_void_fraction.js";
|
|
81
|
+
export * from "./help_bordering.js";
|
|
82
|
+
export * from "./help_flood_limit.js";
|
|
83
|
+
export * from "./help_map.js";
|
|
84
|
+
export * from "./help_map_size.js";
|
|
85
|
+
export * from "./help_match_duration.js";
|
|
86
|
+
export * from "./help_participation_time.js";
|
|
87
|
+
export * from "./help_play_mode.js";
|
|
88
|
+
export * from "./help_player_name.js";
|
|
89
|
+
export * from "./help_seed.js";
|
|
90
|
+
export * from "./help_size.js";
|
|
91
|
+
export * from "./help_spikiness.js";
|
|
92
|
+
export * from "./help_turn_based.js";
|
|
93
|
+
export * from "./help_turn_duration.js";
|
|
94
|
+
export * from "./help_turn_time.js";
|
|
95
|
+
export * from "./help_turn_timer.js";
|
|
96
|
+
export * from "./help_tutorial_mode.js";
|
|
97
|
+
export * from "./help_void_fraction.js";
|
|
98
|
+
export * from "./history_empty.js";
|
|
38
99
|
export * from "./label_advanced_settings.js";
|
|
100
|
+
export * from "./label_claims.js";
|
|
101
|
+
export * from "./label_cumulative_time.js";
|
|
102
|
+
export * from "./label_custom_map_options.js";
|
|
103
|
+
export * from "./label_gameplay_options.js";
|
|
104
|
+
export * from "./label_map_options.js";
|
|
105
|
+
export * from "./label_match_ends.js";
|
|
106
|
+
export * from "./label_match_id.js";
|
|
107
|
+
export * from "./label_player_number.js";
|
|
39
108
|
export * from "./label_players.js";
|
|
109
|
+
export * from "./label_points.js";
|
|
110
|
+
export * from "./label_revealed_count.js";
|
|
40
111
|
export * from "./label_safe_cells_explored.js";
|
|
41
112
|
export * from "./label_safe_cells_remaining.js";
|
|
42
113
|
export * from "./label_score.js";
|
|
43
114
|
export * from "./label_streak.js";
|
|
115
|
+
export * from "./label_team_score.js";
|
|
116
|
+
export * from "./label_turn_remaining.js";
|
|
44
117
|
export * from "./label_voids_discovered.js";
|
|
118
|
+
export * from "./label_you.js";
|
|
119
|
+
export * from "./mode_collaborative.js";
|
|
120
|
+
export * from "./mode_collaborative_hint.js";
|
|
121
|
+
export * from "./mode_solo.js";
|
|
122
|
+
export * from "./mode_solo_hint.js";
|
|
123
|
+
export * from "./mode_territory.js";
|
|
124
|
+
export * from "./mode_territory_hint.js";
|
|
125
|
+
export * from "./multiplayer_title.js";
|
|
126
|
+
export * from "./option_help.js";
|
|
45
127
|
export * from "./preset_custom.js";
|
|
46
128
|
export * from "./preset_large.js";
|
|
47
129
|
export * from "./preset_medium.js";
|
|
48
130
|
export * from "./preset_small.js";
|
|
49
131
|
export * from "./shape_label.js";
|
|
132
|
+
export * from "./status_connecting.js";
|
|
133
|
+
export * from "./status_draw.js";
|
|
50
134
|
export * from "./status_generating_map.js";
|
|
51
135
|
export * from "./status_initialization_failed.js";
|
|
52
136
|
export * from "./status_joining_game.js";
|
|
53
137
|
export * from "./status_loading.js";
|
|
138
|
+
export * from "./status_match_complete.js";
|
|
139
|
+
export * from "./status_match_expired.js";
|
|
140
|
+
export * from "./status_name_saved.js";
|
|
141
|
+
export * from "./status_named_turn.js";
|
|
142
|
+
export * from "./status_named_winner.js";
|
|
143
|
+
export * from "./status_player_turn.js";
|
|
54
144
|
export * from "./status_preparing.js";
|
|
145
|
+
export * from "./status_realtime_claims.js";
|
|
146
|
+
export * from "./status_reconnecting.js";
|
|
147
|
+
export * from "./status_session_complete.js";
|
|
148
|
+
export * from "./status_winner.js";
|
|
149
|
+
export * from "./text_account_multiplayer.js";
|
|
55
150
|
export * from "./text_avoided.js";
|
|
56
151
|
export * from "./text_density_summary.js";
|
|
57
152
|
export * from "./text_invite_after_opening.js";
|
|
153
|
+
export * from "./text_multiplayer_login.js";
|
|
58
154
|
export * from "./text_relay_servers_hint.js";
|
|
155
|
+
export * from "./text_waiting_lobby.js";
|
|
59
156
|
export * from "./tutorial_action_dismiss.js";
|
|
60
157
|
export * from "./tutorial_action_next.js";
|
|
61
158
|
export * from "./tutorial_after_safe_deducible.js";
|
|
@@ -64,4 +161,10 @@ export * from "./tutorial_after_void.js";
|
|
|
64
161
|
export * from "./tutorial_awaiting_first_click.js";
|
|
65
162
|
export * from "./tutorial_intro.js";
|
|
66
163
|
export * from "./tutorial_won.js";
|
|
164
|
+
export * from "./unit_hours.js";
|
|
165
|
+
export * from "./unit_hours_selected.js";
|
|
166
|
+
export * from "./unit_minutes.js";
|
|
167
|
+
export * from "./unit_minutes_selected.js";
|
|
168
|
+
export * from "./unit_seconds.js";
|
|
169
|
+
export * from "./unit_seconds_selected.js";
|
|
67
170
|
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
@@ -1,28 +1,67 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
3
3
|
export * from './action_back.js'
|
|
4
|
+
export * from './action_copied.js'
|
|
4
5
|
export * from './action_copy.js'
|
|
6
|
+
export * from './action_copy_invitation.js'
|
|
7
|
+
export * from './action_download_replay.js'
|
|
5
8
|
export * from './action_exit.js'
|
|
9
|
+
export * from './action_game_history.js'
|
|
6
10
|
export * from './action_invite.js'
|
|
7
11
|
export * from './action_join.js'
|
|
8
12
|
export * from './action_join_game.js'
|
|
13
|
+
export * from './action_load_more.js'
|
|
14
|
+
export * from './action_login.js'
|
|
15
|
+
export * from './action_login_again.js'
|
|
16
|
+
export * from './action_logout.js'
|
|
9
17
|
export * from './action_new_game.js'
|
|
18
|
+
export * from './action_pass.js'
|
|
10
19
|
export * from './action_random.js'
|
|
20
|
+
export * from './action_reconnect.js'
|
|
21
|
+
export * from './action_register.js'
|
|
22
|
+
export * from './action_save_name.js'
|
|
11
23
|
export * from './action_start.js'
|
|
24
|
+
export * from './action_start_match.js'
|
|
12
25
|
export * from './aria_close_invitation.js'
|
|
13
26
|
export * from './aria_score_summary.js'
|
|
14
27
|
export * from './cells_count.js'
|
|
15
28
|
export * from './cells_per_face.js'
|
|
16
29
|
export * from './default_player_name.js'
|
|
30
|
+
export * from './error_connection_failed.js'
|
|
31
|
+
export * from './error_connection_interrupted.js'
|
|
32
|
+
export * from './error_history.js'
|
|
33
|
+
export * from './error_invitation_invalid.js'
|
|
17
34
|
export * from './error_join_connect_failed.js'
|
|
18
35
|
export * from './error_join_failed.js'
|
|
19
36
|
export * from './error_join_ticket_invalid.js'
|
|
20
37
|
export * from './error_join_ticket_required.js'
|
|
38
|
+
export * from './error_login_to_join.js'
|
|
39
|
+
export * from './error_map_version.js'
|
|
40
|
+
export * from './error_match_join.js'
|
|
41
|
+
export * from './error_match_version.js'
|
|
42
|
+
export * from './error_name_not_saved.js'
|
|
43
|
+
export * from './error_name_server_update.js'
|
|
44
|
+
export * from './error_player_name.js'
|
|
45
|
+
export * from './error_reconnect_to_play.js'
|
|
46
|
+
export * from './error_replay.js'
|
|
47
|
+
export * from './error_unsupported_map.js'
|
|
21
48
|
export * from './faces_count.js'
|
|
49
|
+
export * from './field_bordering.js'
|
|
22
50
|
export * from './field_cell_density.js'
|
|
51
|
+
export * from './field_duration_unit.js'
|
|
52
|
+
export * from './field_finite_flood.js'
|
|
53
|
+
export * from './field_flood_cells.js'
|
|
54
|
+
export * from './field_flood_limit.js'
|
|
55
|
+
export * from './field_infinite_flood.js'
|
|
56
|
+
export * from './field_invitation_link.js'
|
|
23
57
|
export * from './field_invitation_url.js'
|
|
58
|
+
export * from './field_language.js'
|
|
59
|
+
export * from './field_map.js'
|
|
24
60
|
export * from './field_map_shape.js'
|
|
25
61
|
export * from './field_map_size.js'
|
|
62
|
+
export * from './field_match_duration.js'
|
|
63
|
+
export * from './field_match_minutes.js'
|
|
64
|
+
export * from './field_play_mode.js'
|
|
26
65
|
export * from './field_player_name.js'
|
|
27
66
|
export * from './field_radius.js'
|
|
28
67
|
export * from './field_radius_x.js'
|
|
@@ -35,29 +74,87 @@ export * from './field_spikiness.js'
|
|
|
35
74
|
export * from './field_subdivisions.js'
|
|
36
75
|
export * from './field_surface_detail.js'
|
|
37
76
|
export * from './field_ticket_or_invitation_url.js'
|
|
77
|
+
export * from './field_turn_based.js'
|
|
78
|
+
export * from './field_turn_duration.js'
|
|
79
|
+
export * from './field_turn_duration_unit.js'
|
|
80
|
+
export * from './field_turn_timer.js'
|
|
38
81
|
export * from './field_tutorial_mode.js'
|
|
39
82
|
export * from './field_void_fraction.js'
|
|
83
|
+
export * from './help_bordering.js'
|
|
84
|
+
export * from './help_flood_limit.js'
|
|
85
|
+
export * from './help_map.js'
|
|
86
|
+
export * from './help_map_size.js'
|
|
87
|
+
export * from './help_match_duration.js'
|
|
88
|
+
export * from './help_participation_time.js'
|
|
89
|
+
export * from './help_play_mode.js'
|
|
90
|
+
export * from './help_player_name.js'
|
|
91
|
+
export * from './help_seed.js'
|
|
92
|
+
export * from './help_size.js'
|
|
93
|
+
export * from './help_spikiness.js'
|
|
94
|
+
export * from './help_turn_based.js'
|
|
95
|
+
export * from './help_turn_duration.js'
|
|
96
|
+
export * from './help_turn_time.js'
|
|
97
|
+
export * from './help_turn_timer.js'
|
|
98
|
+
export * from './help_tutorial_mode.js'
|
|
99
|
+
export * from './help_void_fraction.js'
|
|
100
|
+
export * from './history_empty.js'
|
|
40
101
|
export * from './label_advanced_settings.js'
|
|
102
|
+
export * from './label_claims.js'
|
|
103
|
+
export * from './label_cumulative_time.js'
|
|
104
|
+
export * from './label_custom_map_options.js'
|
|
105
|
+
export * from './label_gameplay_options.js'
|
|
106
|
+
export * from './label_map_options.js'
|
|
107
|
+
export * from './label_match_ends.js'
|
|
108
|
+
export * from './label_match_id.js'
|
|
109
|
+
export * from './label_player_number.js'
|
|
41
110
|
export * from './label_players.js'
|
|
111
|
+
export * from './label_points.js'
|
|
112
|
+
export * from './label_revealed_count.js'
|
|
42
113
|
export * from './label_safe_cells_explored.js'
|
|
43
114
|
export * from './label_safe_cells_remaining.js'
|
|
44
115
|
export * from './label_score.js'
|
|
45
116
|
export * from './label_streak.js'
|
|
117
|
+
export * from './label_team_score.js'
|
|
118
|
+
export * from './label_turn_remaining.js'
|
|
46
119
|
export * from './label_voids_discovered.js'
|
|
120
|
+
export * from './label_you.js'
|
|
121
|
+
export * from './mode_collaborative.js'
|
|
122
|
+
export * from './mode_collaborative_hint.js'
|
|
123
|
+
export * from './mode_solo.js'
|
|
124
|
+
export * from './mode_solo_hint.js'
|
|
125
|
+
export * from './mode_territory.js'
|
|
126
|
+
export * from './mode_territory_hint.js'
|
|
127
|
+
export * from './multiplayer_title.js'
|
|
128
|
+
export * from './option_help.js'
|
|
47
129
|
export * from './preset_custom.js'
|
|
48
130
|
export * from './preset_large.js'
|
|
49
131
|
export * from './preset_medium.js'
|
|
50
132
|
export * from './preset_small.js'
|
|
51
133
|
export * from './shape_label.js'
|
|
134
|
+
export * from './status_connecting.js'
|
|
135
|
+
export * from './status_draw.js'
|
|
52
136
|
export * from './status_generating_map.js'
|
|
53
137
|
export * from './status_initialization_failed.js'
|
|
54
138
|
export * from './status_joining_game.js'
|
|
55
139
|
export * from './status_loading.js'
|
|
140
|
+
export * from './status_match_complete.js'
|
|
141
|
+
export * from './status_match_expired.js'
|
|
142
|
+
export * from './status_name_saved.js'
|
|
143
|
+
export * from './status_named_turn.js'
|
|
144
|
+
export * from './status_named_winner.js'
|
|
145
|
+
export * from './status_player_turn.js'
|
|
56
146
|
export * from './status_preparing.js'
|
|
147
|
+
export * from './status_realtime_claims.js'
|
|
148
|
+
export * from './status_reconnecting.js'
|
|
149
|
+
export * from './status_session_complete.js'
|
|
150
|
+
export * from './status_winner.js'
|
|
151
|
+
export * from './text_account_multiplayer.js'
|
|
57
152
|
export * from './text_avoided.js'
|
|
58
153
|
export * from './text_density_summary.js'
|
|
59
154
|
export * from './text_invite_after_opening.js'
|
|
155
|
+
export * from './text_multiplayer_login.js'
|
|
60
156
|
export * from './text_relay_servers_hint.js'
|
|
157
|
+
export * from './text_waiting_lobby.js'
|
|
61
158
|
export * from './tutorial_action_dismiss.js'
|
|
62
159
|
export * from './tutorial_action_next.js'
|
|
63
160
|
export * from './tutorial_after_safe_deducible.js'
|
|
@@ -65,4 +162,10 @@ export * from './tutorial_after_safe_guess.js'
|
|
|
65
162
|
export * from './tutorial_after_void.js'
|
|
66
163
|
export * from './tutorial_awaiting_first_click.js'
|
|
67
164
|
export * from './tutorial_intro.js'
|
|
68
|
-
export * from './tutorial_won.js'
|
|
165
|
+
export * from './tutorial_won.js'
|
|
166
|
+
export * from './unit_hours.js'
|
|
167
|
+
export * from './unit_hours_selected.js'
|
|
168
|
+
export * from './unit_minutes.js'
|
|
169
|
+
export * from './unit_minutes_selected.js'
|
|
170
|
+
export * from './unit_seconds.js'
|
|
171
|
+
export * from './unit_seconds_selected.js'
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Copied" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Action_CopiedInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const action_copied: ((inputs?: Action_CopiedInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Action_CopiedInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Action_CopiedInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Action_CopiedInputs */
|
|
7
|
+
|
|
8
|
+
const en_action_copied = /** @type {(inputs: Action_CopiedInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Copied`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_action_copied = /** @type {(inputs: Action_CopiedInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`কপি করা হয়েছে`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Copied" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Action_CopiedInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const action_copied = /** @type {((inputs?: Action_CopiedInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Action_CopiedInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_action_copied(inputs)
|
|
28
|
+
return en_action_copied(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Copy invitation link" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Action_Copy_InvitationInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const action_copy_invitation: ((inputs?: Action_Copy_InvitationInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Action_Copy_InvitationInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Action_Copy_InvitationInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Action_Copy_InvitationInputs */
|
|
7
|
+
|
|
8
|
+
const en_action_copy_invitation = /** @type {(inputs: Action_Copy_InvitationInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Copy invitation link`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_action_copy_invitation = /** @type {(inputs: Action_Copy_InvitationInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`আমন্ত্রণ লিঙ্ক কপি করুন`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Copy invitation link" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Action_Copy_InvitationInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const action_copy_invitation = /** @type {((inputs?: Action_Copy_InvitationInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Action_Copy_InvitationInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_action_copy_invitation(inputs)
|
|
28
|
+
return en_action_copy_invitation(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Download replay" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Action_Download_ReplayInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const action_download_replay: ((inputs?: Action_Download_ReplayInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Action_Download_ReplayInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Action_Download_ReplayInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Action_Download_ReplayInputs */
|
|
7
|
+
|
|
8
|
+
const en_action_download_replay = /** @type {(inputs: Action_Download_ReplayInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Download replay`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_action_download_replay = /** @type {(inputs: Action_Download_ReplayInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`রিপ্লে ডাউনলোড করুন`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Download replay" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Action_Download_ReplayInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const action_download_replay = /** @type {((inputs?: Action_Download_ReplayInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Action_Download_ReplayInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_action_download_replay(inputs)
|
|
28
|
+
return en_action_download_replay(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Game history" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Action_Game_HistoryInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const action_game_history: ((inputs?: Action_Game_HistoryInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Action_Game_HistoryInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Action_Game_HistoryInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Action_Game_HistoryInputs */
|
|
7
|
+
|
|
8
|
+
const en_action_game_history = /** @type {(inputs: Action_Game_HistoryInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Game history`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_action_game_history = /** @type {(inputs: Action_Game_HistoryInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`খেলার ইতিহাস`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Game history" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Action_Game_HistoryInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const action_game_history = /** @type {((inputs?: Action_Game_HistoryInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Action_Game_HistoryInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_action_game_history(inputs)
|
|
28
|
+
return en_action_game_history(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Load more" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Action_Load_MoreInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const action_load_more: ((inputs?: Action_Load_MoreInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Action_Load_MoreInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Action_Load_MoreInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Action_Load_MoreInputs */
|
|
7
|
+
|
|
8
|
+
const en_action_load_more = /** @type {(inputs: Action_Load_MoreInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Load more`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_action_load_more = /** @type {(inputs: Action_Load_MoreInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`আরও দেখুন`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Load more" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Action_Load_MoreInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const action_load_more = /** @type {((inputs?: Action_Load_MoreInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Action_Load_MoreInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_action_load_more(inputs)
|
|
28
|
+
return en_action_load_more(inputs)
|
|
29
|
+
});
|