@kuncat/avoidant 0.1.0 → 0.1.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.
Files changed (94) hide show
  1. package/dist/paraglide/messages/_index.d.ts +42 -0
  2. package/dist/paraglide/messages/_index.js +43 -0
  3. package/dist/paraglide/messages/action_back.d.ts +16 -0
  4. package/dist/paraglide/messages/action_back.js +29 -0
  5. package/dist/paraglide/messages/action_copy.d.ts +16 -0
  6. package/dist/paraglide/messages/action_copy.js +29 -0
  7. package/dist/paraglide/messages/action_exit.d.ts +16 -0
  8. package/dist/paraglide/messages/action_exit.js +29 -0
  9. package/dist/paraglide/messages/action_invite.d.ts +16 -0
  10. package/dist/paraglide/messages/action_invite.js +29 -0
  11. package/dist/paraglide/messages/action_join.d.ts +16 -0
  12. package/dist/paraglide/messages/action_join.js +29 -0
  13. package/dist/paraglide/messages/action_join_game.d.ts +16 -0
  14. package/dist/paraglide/messages/action_join_game.js +29 -0
  15. package/dist/paraglide/messages/action_new_game.d.ts +16 -0
  16. package/dist/paraglide/messages/action_new_game.js +29 -0
  17. package/dist/paraglide/messages/action_start.d.ts +16 -0
  18. package/dist/paraglide/messages/action_start.js +29 -0
  19. package/dist/paraglide/messages/aria_close_invitation.d.ts +16 -0
  20. package/dist/paraglide/messages/aria_close_invitation.js +29 -0
  21. package/dist/paraglide/messages/aria_score_summary.d.ts +16 -0
  22. package/dist/paraglide/messages/aria_score_summary.js +29 -0
  23. package/dist/paraglide/messages/cells_count.d.ts +19 -0
  24. package/dist/paraglide/messages/cells_count.js +33 -0
  25. package/dist/paraglide/messages/default_player_name.d.ts +16 -0
  26. package/dist/paraglide/messages/default_player_name.js +29 -0
  27. package/dist/paraglide/messages/error_join_connect_failed.d.ts +16 -0
  28. package/dist/paraglide/messages/error_join_connect_failed.js +29 -0
  29. package/dist/paraglide/messages/error_join_failed.d.ts +16 -0
  30. package/dist/paraglide/messages/error_join_failed.js +29 -0
  31. package/dist/paraglide/messages/error_join_ticket_invalid.d.ts +16 -0
  32. package/dist/paraglide/messages/error_join_ticket_invalid.js +29 -0
  33. package/dist/paraglide/messages/error_join_ticket_required.d.ts +16 -0
  34. package/dist/paraglide/messages/error_join_ticket_required.js +29 -0
  35. package/dist/paraglide/messages/field_invitation_url.d.ts +16 -0
  36. package/dist/paraglide/messages/field_invitation_url.js +29 -0
  37. package/dist/paraglide/messages/field_map_size.d.ts +16 -0
  38. package/dist/paraglide/messages/field_map_size.js +29 -0
  39. package/dist/paraglide/messages/field_player_name.d.ts +16 -0
  40. package/dist/paraglide/messages/field_player_name.js +29 -0
  41. package/dist/paraglide/messages/field_relay_servers.d.ts +16 -0
  42. package/dist/paraglide/messages/field_relay_servers.js +29 -0
  43. package/dist/paraglide/messages/field_seed.d.ts +16 -0
  44. package/dist/paraglide/messages/field_seed.js +29 -0
  45. package/dist/paraglide/messages/field_size.d.ts +16 -0
  46. package/dist/paraglide/messages/field_size.js +29 -0
  47. package/dist/paraglide/messages/field_ticket_or_invitation_url.d.ts +16 -0
  48. package/dist/paraglide/messages/field_ticket_or_invitation_url.js +29 -0
  49. package/dist/paraglide/messages/label_advanced_settings.d.ts +16 -0
  50. package/dist/paraglide/messages/label_advanced_settings.js +29 -0
  51. package/dist/paraglide/messages/label_players.d.ts +19 -0
  52. package/dist/paraglide/messages/label_players.js +35 -0
  53. package/dist/paraglide/messages/label_safe_cells_explored.d.ts +19 -0
  54. package/dist/paraglide/messages/label_safe_cells_explored.js +35 -0
  55. package/dist/paraglide/messages/label_safe_cells_remaining.d.ts +19 -0
  56. package/dist/paraglide/messages/label_safe_cells_remaining.js +35 -0
  57. package/dist/paraglide/messages/label_score.d.ts +16 -0
  58. package/dist/paraglide/messages/label_score.js +29 -0
  59. package/dist/paraglide/messages/label_streak.d.ts +16 -0
  60. package/dist/paraglide/messages/label_streak.js +29 -0
  61. package/dist/paraglide/messages/label_voids_discovered.d.ts +16 -0
  62. package/dist/paraglide/messages/label_voids_discovered.js +29 -0
  63. package/dist/paraglide/messages/preset_custom.d.ts +16 -0
  64. package/dist/paraglide/messages/preset_custom.js +29 -0
  65. package/dist/paraglide/messages/preset_large.d.ts +16 -0
  66. package/dist/paraglide/messages/preset_large.js +29 -0
  67. package/dist/paraglide/messages/preset_medium.d.ts +16 -0
  68. package/dist/paraglide/messages/preset_medium.js +29 -0
  69. package/dist/paraglide/messages/preset_small.d.ts +16 -0
  70. package/dist/paraglide/messages/preset_small.js +29 -0
  71. package/dist/paraglide/messages/status_generating_map.d.ts +16 -0
  72. package/dist/paraglide/messages/status_generating_map.js +29 -0
  73. package/dist/paraglide/messages/status_initialization_failed.d.ts +16 -0
  74. package/dist/paraglide/messages/status_initialization_failed.js +29 -0
  75. package/dist/paraglide/messages/status_joining_game.d.ts +16 -0
  76. package/dist/paraglide/messages/status_joining_game.js +29 -0
  77. package/dist/paraglide/messages/status_loading.d.ts +16 -0
  78. package/dist/paraglide/messages/status_loading.js +29 -0
  79. package/dist/paraglide/messages/status_preparing.d.ts +16 -0
  80. package/dist/paraglide/messages/status_preparing.js +29 -0
  81. package/dist/paraglide/messages/text_avoided.d.ts +16 -0
  82. package/dist/paraglide/messages/text_avoided.js +29 -0
  83. package/dist/paraglide/messages/text_relay_servers_hint.d.ts +16 -0
  84. package/dist/paraglide/messages/text_relay_servers_hint.js +29 -0
  85. package/dist/paraglide/messages.d.ts +2 -0
  86. package/dist/paraglide/messages.js +4 -0
  87. package/dist/paraglide/registry.d.ts +21 -0
  88. package/dist/paraglide/registry.js +31 -0
  89. package/dist/paraglide/runtime.d.ts +758 -0
  90. package/dist/paraglide/runtime.js +1825 -0
  91. package/dist/paraglide/server.d.ts +96 -0
  92. package/dist/paraglide/server.js +277 -0
  93. package/dist/wasm/package.json +1 -3
  94. package/package.json +4 -2
@@ -0,0 +1,42 @@
1
+ export * from "./action_back.js";
2
+ export * from "./action_copy.js";
3
+ export * from "./action_exit.js";
4
+ export * from "./action_invite.js";
5
+ export * from "./action_join.js";
6
+ export * from "./action_join_game.js";
7
+ export * from "./action_new_game.js";
8
+ export * from "./action_start.js";
9
+ export * from "./aria_close_invitation.js";
10
+ export * from "./aria_score_summary.js";
11
+ export * from "./cells_count.js";
12
+ export * from "./default_player_name.js";
13
+ export * from "./error_join_connect_failed.js";
14
+ export * from "./error_join_failed.js";
15
+ export * from "./error_join_ticket_invalid.js";
16
+ export * from "./error_join_ticket_required.js";
17
+ export * from "./field_invitation_url.js";
18
+ export * from "./field_map_size.js";
19
+ export * from "./field_player_name.js";
20
+ export * from "./field_relay_servers.js";
21
+ export * from "./field_seed.js";
22
+ export * from "./field_size.js";
23
+ export * from "./field_ticket_or_invitation_url.js";
24
+ export * from "./label_advanced_settings.js";
25
+ export * from "./label_players.js";
26
+ export * from "./label_safe_cells_explored.js";
27
+ export * from "./label_safe_cells_remaining.js";
28
+ export * from "./label_score.js";
29
+ export * from "./label_streak.js";
30
+ export * from "./label_voids_discovered.js";
31
+ export * from "./preset_custom.js";
32
+ export * from "./preset_large.js";
33
+ export * from "./preset_medium.js";
34
+ export * from "./preset_small.js";
35
+ export * from "./status_generating_map.js";
36
+ export * from "./status_initialization_failed.js";
37
+ export * from "./status_joining_game.js";
38
+ export * from "./status_loading.js";
39
+ export * from "./status_preparing.js";
40
+ export * from "./text_avoided.js";
41
+ export * from "./text_relay_servers_hint.js";
42
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -0,0 +1,43 @@
1
+ /* eslint-disable */
2
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
+ export * from './action_back.js'
4
+ export * from './action_copy.js'
5
+ export * from './action_exit.js'
6
+ export * from './action_invite.js'
7
+ export * from './action_join.js'
8
+ export * from './action_join_game.js'
9
+ export * from './action_new_game.js'
10
+ export * from './action_start.js'
11
+ export * from './aria_close_invitation.js'
12
+ export * from './aria_score_summary.js'
13
+ export * from './cells_count.js'
14
+ export * from './default_player_name.js'
15
+ export * from './error_join_connect_failed.js'
16
+ export * from './error_join_failed.js'
17
+ export * from './error_join_ticket_invalid.js'
18
+ export * from './error_join_ticket_required.js'
19
+ export * from './field_invitation_url.js'
20
+ export * from './field_map_size.js'
21
+ export * from './field_player_name.js'
22
+ export * from './field_relay_servers.js'
23
+ export * from './field_seed.js'
24
+ export * from './field_size.js'
25
+ export * from './field_ticket_or_invitation_url.js'
26
+ export * from './label_advanced_settings.js'
27
+ export * from './label_players.js'
28
+ export * from './label_safe_cells_explored.js'
29
+ export * from './label_safe_cells_remaining.js'
30
+ export * from './label_score.js'
31
+ export * from './label_streak.js'
32
+ export * from './label_voids_discovered.js'
33
+ export * from './preset_custom.js'
34
+ export * from './preset_large.js'
35
+ export * from './preset_medium.js'
36
+ export * from './preset_small.js'
37
+ export * from './status_generating_map.js'
38
+ export * from './status_initialization_failed.js'
39
+ export * from './status_joining_game.js'
40
+ export * from './status_loading.js'
41
+ export * from './status_preparing.js'
42
+ export * from './text_avoided.js'
43
+ export * from './text_relay_servers_hint.js'
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Back" |
5
+ *
6
+ * @param {Action_BackInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const action_back: ((inputs?: Action_BackInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Action_BackInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Action_BackInputs = {};
@@ -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_BackInputs */
7
+
8
+ const en_action_back = /** @type {(inputs: Action_BackInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Back`)
10
+ };
11
+
12
+ const bn_action_back = /** @type {(inputs: Action_BackInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`ফিরে যান`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Back" |
20
+ *
21
+ * @param {Action_BackInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const action_back = /** @type {((inputs?: Action_BackInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Action_BackInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "en") return en_action_back(inputs)
28
+ return bn_action_back(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Copy" |
5
+ *
6
+ * @param {Action_CopyInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const action_copy: ((inputs?: Action_CopyInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Action_CopyInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Action_CopyInputs = {};
@@ -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_CopyInputs */
7
+
8
+ const en_action_copy = /** @type {(inputs: Action_CopyInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Copy`)
10
+ };
11
+
12
+ const bn_action_copy = /** @type {(inputs: Action_CopyInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`কপি`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Copy" |
20
+ *
21
+ * @param {Action_CopyInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const action_copy = /** @type {((inputs?: Action_CopyInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Action_CopyInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "en") return en_action_copy(inputs)
28
+ return bn_action_copy(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Exit" |
5
+ *
6
+ * @param {Action_ExitInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const action_exit: ((inputs?: Action_ExitInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Action_ExitInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Action_ExitInputs = {};
@@ -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_ExitInputs */
7
+
8
+ const en_action_exit = /** @type {(inputs: Action_ExitInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Exit`)
10
+ };
11
+
12
+ const bn_action_exit = /** @type {(inputs: Action_ExitInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`বেরিয়ে যান`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Exit" |
20
+ *
21
+ * @param {Action_ExitInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const action_exit = /** @type {((inputs?: Action_ExitInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Action_ExitInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "en") return en_action_exit(inputs)
28
+ return bn_action_exit(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Invite" |
5
+ *
6
+ * @param {Action_InviteInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const action_invite: ((inputs?: Action_InviteInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Action_InviteInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Action_InviteInputs = {};
@@ -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_InviteInputs */
7
+
8
+ const en_action_invite = /** @type {(inputs: Action_InviteInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Invite`)
10
+ };
11
+
12
+ const bn_action_invite = /** @type {(inputs: Action_InviteInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`আমন্ত্রণ`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Invite" |
20
+ *
21
+ * @param {Action_InviteInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const action_invite = /** @type {((inputs?: Action_InviteInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Action_InviteInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "en") return en_action_invite(inputs)
28
+ return bn_action_invite(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Join" |
5
+ *
6
+ * @param {Action_JoinInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const action_join: ((inputs?: Action_JoinInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Action_JoinInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Action_JoinInputs = {};
@@ -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_JoinInputs */
7
+
8
+ const en_action_join = /** @type {(inputs: Action_JoinInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Join`)
10
+ };
11
+
12
+ const bn_action_join = /** @type {(inputs: Action_JoinInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`যোগ দিন`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Join" |
20
+ *
21
+ * @param {Action_JoinInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const action_join = /** @type {((inputs?: Action_JoinInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Action_JoinInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "en") return en_action_join(inputs)
28
+ return bn_action_join(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Join Game" |
5
+ *
6
+ * @param {Action_Join_GameInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const action_join_game: ((inputs?: Action_Join_GameInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Action_Join_GameInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Action_Join_GameInputs = {};
@@ -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_Join_GameInputs */
7
+
8
+ const en_action_join_game = /** @type {(inputs: Action_Join_GameInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Join Game`)
10
+ };
11
+
12
+ const bn_action_join_game = /** @type {(inputs: Action_Join_GameInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`গেমে যোগ দিন`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Join Game" |
20
+ *
21
+ * @param {Action_Join_GameInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const action_join_game = /** @type {((inputs?: Action_Join_GameInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Action_Join_GameInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "en") return en_action_join_game(inputs)
28
+ return bn_action_join_game(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "New Game" |
5
+ *
6
+ * @param {Action_New_GameInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const action_new_game: ((inputs?: Action_New_GameInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Action_New_GameInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Action_New_GameInputs = {};
@@ -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_New_GameInputs */
7
+
8
+ const en_action_new_game = /** @type {(inputs: Action_New_GameInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`New Game`)
10
+ };
11
+
12
+ const bn_action_new_game = /** @type {(inputs: Action_New_GameInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`নতুন গেম`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "New Game" |
20
+ *
21
+ * @param {Action_New_GameInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const action_new_game = /** @type {((inputs?: Action_New_GameInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Action_New_GameInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "en") return en_action_new_game(inputs)
28
+ return bn_action_new_game(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Start" |
5
+ *
6
+ * @param {Action_StartInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const action_start: ((inputs?: Action_StartInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Action_StartInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Action_StartInputs = {};
@@ -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_StartInputs */
7
+
8
+ const en_action_start = /** @type {(inputs: Action_StartInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Start`)
10
+ };
11
+
12
+ const bn_action_start = /** @type {(inputs: Action_StartInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`শুরু করুন`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Start" |
20
+ *
21
+ * @param {Action_StartInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const action_start = /** @type {((inputs?: Action_StartInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Action_StartInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "en") return en_action_start(inputs)
28
+ return bn_action_start(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Close invitation" |
5
+ *
6
+ * @param {Aria_Close_InvitationInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const aria_close_invitation: ((inputs?: Aria_Close_InvitationInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Aria_Close_InvitationInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Aria_Close_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 {{}} Aria_Close_InvitationInputs */
7
+
8
+ const en_aria_close_invitation = /** @type {(inputs: Aria_Close_InvitationInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Close invitation`)
10
+ };
11
+
12
+ const bn_aria_close_invitation = /** @type {(inputs: Aria_Close_InvitationInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`আমন্ত্রণ বন্ধ করুন`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Close invitation" |
20
+ *
21
+ * @param {Aria_Close_InvitationInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const aria_close_invitation = /** @type {((inputs?: Aria_Close_InvitationInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Aria_Close_InvitationInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "en") return en_aria_close_invitation(inputs)
28
+ return bn_aria_close_invitation(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Score summary" |
5
+ *
6
+ * @param {Aria_Score_SummaryInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const aria_score_summary: ((inputs?: Aria_Score_SummaryInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Aria_Score_SummaryInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Aria_Score_SummaryInputs = {};
@@ -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 {{}} Aria_Score_SummaryInputs */
7
+
8
+ const en_aria_score_summary = /** @type {(inputs: Aria_Score_SummaryInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Score summary`)
10
+ };
11
+
12
+ const bn_aria_score_summary = /** @type {(inputs: Aria_Score_SummaryInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`স্কোরের সারাংশ`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Score summary" |
20
+ *
21
+ * @param {Aria_Score_SummaryInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const aria_score_summary = /** @type {((inputs?: Aria_Score_SummaryInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Aria_Score_SummaryInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "en") return en_aria_score_summary(inputs)
28
+ return bn_aria_score_summary(inputs)
29
+ });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * | countPlural | output |
3
+ * | --- | --- |
4
+ * | "one" | "{count} cell" |
5
+ * | "other" | "{count} cells" |
6
+ *
7
+ * @param {Cells_CountInputs} inputs
8
+ * @param {{ locale?: "en" | "bn" }} options
9
+ * @returns {LocalizedString}
10
+ */
11
+ export const cells_count: ((inputs: Cells_CountInputs, options?: {
12
+ locale?: "en" | "bn";
13
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Cells_CountInputs, {
14
+ locale?: "en" | "bn";
15
+ }, {}>;
16
+ export type LocalizedString = import("../runtime.js").LocalizedString;
17
+ export type Cells_CountInputs = {
18
+ count: NonNullable<unknown>;
19
+ };
@@ -0,0 +1,33 @@
1
+ /* eslint-disable */
2
+ import * as registry from '../registry.js'
3
+ import { getLocale, experimentalStaticLocale } from '../runtime.js';
4
+
5
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
6
+
7
+ /** @typedef {{ count: NonNullable<unknown> }} Cells_CountInputs */
8
+
9
+ const en_cells_count = /** @type {(inputs: Cells_CountInputs) => LocalizedString} */ (i) => {const countPlural = registry.plural("en", i?.count, {});
10
+ if (countPlural === "one") return /** @type {LocalizedString} */ (`${i?.count} cell`);
11
+ if (countPlural === "other") return /** @type {LocalizedString} */ (`${i?.count} cells`);
12
+ return /** @type {LocalizedString} */ ("cells_count");
13
+ };
14
+
15
+ const bn_cells_count = /** @type {(inputs: Cells_CountInputs) => LocalizedString} */ (i) => {
16
+ const countPlural = registry.plural("bn", i?.count, {});return /** @type {LocalizedString} */ (`${i?.count} সেল`)
17
+ };
18
+
19
+ /**
20
+ * | countPlural | output |
21
+ * | --- | --- |
22
+ * | "one" | "{count} cell" |
23
+ * | "other" | "{count} cells" |
24
+ *
25
+ * @param {Cells_CountInputs} inputs
26
+ * @param {{ locale?: "en" | "bn" }} options
27
+ * @returns {LocalizedString}
28
+ */
29
+ export const cells_count = /** @type {((inputs: Cells_CountInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Cells_CountInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
30
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
31
+ if (locale === "en") return en_cells_count(inputs)
32
+ return bn_cells_count(inputs)
33
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Player" |
5
+ *
6
+ * @param {Default_Player_NameInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const default_player_name: ((inputs?: Default_Player_NameInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Default_Player_NameInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Default_Player_NameInputs = {};