@bedrock-rbx/ocale 0.1.0-beta.1 → 0.1.0-beta.2

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 (58) hide show
  1. package/dist/badges.d.mts +86 -3
  2. package/dist/badges.d.mts.map +1 -1
  3. package/dist/badges.mjs +113 -5
  4. package/dist/badges.mjs.map +1 -1
  5. package/dist/data.generated-BtkDGH8C.d.mts +485 -0
  6. package/dist/data.generated-BtkDGH8C.d.mts.map +1 -0
  7. package/dist/developer-products.d.mts +14 -5
  8. package/dist/developer-products.d.mts.map +1 -1
  9. package/dist/developer-products.mjs +5 -4
  10. package/dist/developer-products.mjs.map +1 -1
  11. package/dist/game-passes.d.mts +83 -2
  12. package/dist/game-passes.d.mts.map +1 -1
  13. package/dist/game-passes.mjs +111 -4
  14. package/dist/game-passes.mjs.map +1 -1
  15. package/dist/index.d.mts +3 -81
  16. package/dist/index.d.mts.map +1 -1
  17. package/dist/index.mjs +2 -2
  18. package/dist/is-date-time-string-Cuf1TaSC.mjs +19 -0
  19. package/dist/is-date-time-string-Cuf1TaSC.mjs.map +1 -0
  20. package/dist/locales.d.mts +2 -0
  21. package/dist/locales.mjs +512 -0
  22. package/dist/locales.mjs.map +1 -0
  23. package/dist/luau-execution.d.mts +62 -0
  24. package/dist/luau-execution.d.mts.map +1 -0
  25. package/dist/luau-execution.mjs +52 -0
  26. package/dist/luau-execution.mjs.map +1 -0
  27. package/dist/places.d.mts +47 -8
  28. package/dist/places.d.mts.map +1 -1
  29. package/dist/places.mjs +39 -13
  30. package/dist/places.mjs.map +1 -1
  31. package/dist/{price-information-CmpscMc4.mjs → price-information-s7DY0GV2.mjs} +2 -2
  32. package/dist/{price-information-CmpscMc4.mjs.map → price-information-s7DY0GV2.mjs.map} +1 -1
  33. package/dist/{rate-limit-BBU_4xnZ.mjs → rate-limit-CKfuhxT1.mjs} +11 -3
  34. package/dist/rate-limit-CKfuhxT1.mjs.map +1 -0
  35. package/dist/rate-limit-DzHBFwps.d.mts +92 -0
  36. package/dist/rate-limit-DzHBFwps.d.mts.map +1 -0
  37. package/dist/{resource-client-CaS_j3yg.mjs → resource-client-Wi4Mwqy5.mjs} +69 -14
  38. package/dist/resource-client-Wi4Mwqy5.mjs.map +1 -0
  39. package/dist/specs-Co6qYp_E.mjs +309 -0
  40. package/dist/specs-Co6qYp_E.mjs.map +1 -0
  41. package/dist/storage.d.mts +374 -0
  42. package/dist/storage.d.mts.map +1 -0
  43. package/dist/storage.mjs +371 -0
  44. package/dist/storage.mjs.map +1 -0
  45. package/dist/types-BZ0959rh.d.mts +149 -0
  46. package/dist/types-BZ0959rh.d.mts.map +1 -0
  47. package/dist/{types-YCTsM8Qd.d.mts → types-Cp8w8uwA.d.mts} +1 -1
  48. package/dist/{types-YCTsM8Qd.d.mts.map → types-Cp8w8uwA.d.mts.map} +1 -1
  49. package/dist/universes.d.mts +37 -12
  50. package/dist/universes.d.mts.map +1 -1
  51. package/dist/universes.mjs +5 -4
  52. package/dist/universes.mjs.map +1 -1
  53. package/dist/{validation-CTZzJhmd.mjs → validation-b7KAoEio.mjs} +2 -2
  54. package/dist/validation-b7KAoEio.mjs.map +1 -0
  55. package/package.json +7 -3
  56. package/dist/rate-limit-BBU_4xnZ.mjs.map +0 -1
  57. package/dist/resource-client-CaS_j3yg.mjs.map +0 -1
  58. package/dist/validation-CTZzJhmd.mjs.map +0 -1
package/dist/index.d.mts CHANGED
@@ -1,47 +1,6 @@
1
- import { a as OpenCloudHooks, c as Page, d as OpenCloudError, i as OpenCloudClientOptions, l as Result, n as HttpRequest, o as RequestConfig, r as HttpResponse, s as RequestOptions, t as HttpClient, u as SleepFunc } from "./types-YCTsM8Qd.mjs";
1
+ import { a as OpenCloudHooks, c as Page, d as OpenCloudError, i as OpenCloudClientOptions, l as Result, n as HttpRequest, o as RequestConfig, r as HttpResponse, s as RequestOptions, t as HttpClient, u as SleepFunc } from "./types-Cp8w8uwA.mjs";
2
+ import { i as ApiErrorOptions, n as RateLimitErrorOptions, r as ApiError, t as RateLimitError } from "./rate-limit-DzHBFwps.mjs";
2
3
 
3
- //#region src/errors/api-error.d.ts
4
- /**
5
- * Options for constructing an {@link ApiError}.
6
- */
7
- interface ApiErrorOptions extends ErrorOptions {
8
- /** Optional machine-readable error code from the API. */
9
- code?: string | undefined;
10
- /** HTTP status code from the API response. */
11
- statusCode: number;
12
- }
13
- /**
14
- * Thrown when the Roblox Open Cloud API returns a non-2xx response
15
- * that is not a rate limit (429).
16
- *
17
- * @example
18
- *
19
- * ```ts
20
- * import { ApiError } from "@bedrock-rbx/ocale";
21
- *
22
- * const error = new ApiError("Game pass not found", {
23
- * code: "NotFound",
24
- * statusCode: 404,
25
- * });
26
- *
27
- * expect(error).toBeInstanceOf(ApiError);
28
- * expect(error.statusCode).toBe(404);
29
- * expect(error.code).toBe("NotFound");
30
- * ```
31
- */
32
- declare class ApiError extends OpenCloudError {
33
- readonly code: string | undefined;
34
- override readonly name: string;
35
- readonly statusCode: number;
36
- /**
37
- * Creates a new ApiError.
38
- *
39
- * @param message - Human-readable error description.
40
- * @param options - Error options including status code and optional error code.
41
- */
42
- constructor(message: string, options: ApiErrorOptions);
43
- }
44
- //#endregion
45
4
  //#region src/errors/network-error.d.ts
46
5
  /**
47
6
  * Thrown when a network-level failure prevents the request from reaching
@@ -106,50 +65,13 @@ declare class PermissionError extends ApiError {
106
65
  constructor(message: string, options: PermissionErrorOptions);
107
66
  }
108
67
  //#endregion
109
- //#region src/errors/rate-limit.d.ts
110
- /**
111
- * Options for constructing a {@link RateLimitError}.
112
- */
113
- interface RateLimitErrorOptions extends ErrorOptions {
114
- /** Seconds to wait before retrying the request. */
115
- retryAfterSeconds: number;
116
- }
117
- /**
118
- * Thrown when the Roblox Open Cloud API returns a 429 Too Many Requests response.
119
- * Contains the server-suggested retry delay.
120
- *
121
- * @example
122
- *
123
- * ```ts
124
- * import { RateLimitError } from "@bedrock-rbx/ocale";
125
- *
126
- * const error = new RateLimitError("Too many requests", {
127
- * retryAfterSeconds: 30,
128
- * });
129
- *
130
- * expect(error).toBeInstanceOf(RateLimitError);
131
- * expect(error.retryAfterSeconds).toBe(30);
132
- * ```
133
- */
134
- declare class RateLimitError extends OpenCloudError {
135
- override readonly name = "RateLimitError";
136
- readonly retryAfterSeconds: number;
137
- /**
138
- * Creates a new RateLimitError.
139
- *
140
- * @param message - Human-readable error description.
141
- * @param options - Error options including the retry delay.
142
- */
143
- constructor(message: string, options: RateLimitErrorOptions);
144
- }
145
- //#endregion
146
68
  //#region src/errors/validation.d.ts
147
69
  /**
148
70
  * Closed discriminator for a {@link ValidationError}. Consumers can
149
71
  * exhaustively `switch` over this union so TypeScript will refuse to compile
150
72
  * if a new variant is added without a handler.
151
73
  */
152
- type ValidationErrorCode = "empty_body" | "empty_image_ids" | "empty_update" | "format_mismatch" | "invalid_image_id";
74
+ type ValidationErrorCode = "empty_body" | "empty_image_ids" | "empty_update" | "format_mismatch" | "incomplete_ref" | "invalid_image_id";
153
75
  /**
154
76
  * Options for constructing a {@link ValidationError}.
155
77
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/errors/api-error.ts","../src/errors/network-error.ts","../src/errors/permission-error.ts","../src/errors/rate-limit.ts","../src/errors/validation.ts"],"mappings":";;;;;AAKA;UAAiB,eAAA,SAAwB,YAAA;;EAExC,IAAA;;EAEA,UAAA;AAAA;;;AAsBD;;;;;;;;;;;;;;;;;cAAa,QAAA,SAAiB,cAAA;EAAA,SACb,IAAA;EAAA,kBACS,IAAA;EAAA,SACT,UAAA;EC3BS;;;;ACF1B;;EFqCC,WAAA,CAAY,OAAA,UAAiB,OAAA,EAAS,eAAA;AAAA;;;;;AArCvC;;cCCa,YAAA,SAAqB,cAAA;EAAA,kBACR,IAAA;AAAA;;;;;ADF1B;UEAiB,sBAAA,SAA+B,eAAA;;;;;;EAM/C,YAAA;EFFA;AAsBD;;;;EEdC,cAAA,EAAgB,aAAA;AAAA;;;;;;;;;;;;ADXjB;;;;;;;;ACDA;;;;cAsCa,eAAA,SAAwB,QAAA;EAAA,kBACX,IAAA;EAAA,SACT,YAAA;EAAA,SACA,cAAA,EAAgB,aAAA;;;AAHjC;;;;;EAYC,WAAA,CAAY,OAAA,UAAiB,OAAA,EAAS,sBAAA;AAAA;;;;;AFlDvC;UGAiB,qBAAA,SAA8B,YAAA;;EAE9C,iBAAA;AAAA;;;;;AHwBD;;;;;;;;;;;;;cGJa,cAAA,SAAuB,cAAA;EAAA,kBACV,IAAA;EAAA,SACT,iBAAA;;AFvBjB;;;;;EE+BC,WAAA,CAAY,OAAA,UAAiB,OAAA,EAAS,qBAAA;AAAA;;;;;AHhCvC;;;KIEY,mBAAA;;;;UAUK,sBAAA,SAA+B,YAAA;EJR/C;EIUA,IAAA,EAAM,mBAAA;AAAA;;;;;;;;;;;;;;;;AHbP;;;cGkCa,eAAA,SAAwB,cAAA;EAAA,SACpB,IAAA,EAAM,mBAAA;EAAA,kBACG,IAAA;;;AFrC1B;;;;EE6CC,WAAA,CAAY,OAAA,UAAiB,OAAA,EAAS,sBAAA;AAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/errors/network-error.ts","../src/errors/permission-error.ts","../src/errors/validation.ts"],"mappings":";;;;;;;AAMA;cAAa,YAAA,SAAqB,cAAA;EAAA,kBACR,IAAA;AAAA;;;;;;UCFT,sBAAA,SAA+B,eAAA;EDCnC;;;;;ECKZ,YAAA;;AAND;;;;EAYC,cAAA,EAAgB,aAAA;AAAA;;;;;AA0BjB;;;;;;;;;;;;;;;;;;;cAAa,eAAA,SAAwB,QAAA;EAAA,kBACX,IAAA;EAAA,SACT,YAAA;EAAA,SACA,cAAA,EAAgB,aAAA;ECvCrB;;;;AAWZ;;;EDqCC,WAAA,CAAY,OAAA,UAAiB,OAAA,EAAS,sBAAA;AAAA;;;;;;ADjDvC;;KECY,mBAAA;;;;UAWK,sBAAA,SAA+B,YAAA;;EAE/C,IAAA,EAAM,mBAAA;AAAA;;;;;;;;;ADuBP;;;;;;;;;;cCFa,eAAA,SAAwB,cAAA;EAAA,SACpB,IAAA,EAAM,mBAAA;EAAA,kBACG,IAAA;;;;;;;EAQzB,WAAA,CAAY,OAAA,UAAiB,OAAA,EAAS,sBAAA;AAAA"}
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { a as OpenCloudError, i as ApiError, n as PermissionError, r as NetworkError, t as RateLimitError } from "./rate-limit-BBU_4xnZ.mjs";
2
- import { t as ValidationError } from "./validation-CTZzJhmd.mjs";
1
+ import { a as OpenCloudError, i as ApiError, n as PermissionError, r as NetworkError, t as RateLimitError } from "./rate-limit-CKfuhxT1.mjs";
2
+ import { t as ValidationError } from "./validation-b7KAoEio.mjs";
3
3
  export { ApiError, NetworkError, OpenCloudError, PermissionError, RateLimitError, ValidationError };
@@ -0,0 +1,19 @@
1
+ //#region src/internal/utils/is-date-time-string.ts
2
+ /**
3
+ * Narrows `value` to a string that parses to a real {@link Date} via the
4
+ * `Date(string)` constructor. Used by resource parsers to gate
5
+ * `format: date-time` wire fields before handing them to `new Date(...)`,
6
+ * which silently produces an `Invalid Date` for invalid input.
7
+ *
8
+ * @param value - The unknown wire value to validate.
9
+ * @returns `true` when `value` is a string and `new Date(value).getTime()`
10
+ * is not `NaN`.
11
+ */
12
+ function isDateTimeString(value) {
13
+ if (typeof value !== "string") return false;
14
+ return !Number.isNaN(new Date(value).getTime());
15
+ }
16
+ //#endregion
17
+ export { isDateTimeString as t };
18
+
19
+ //# sourceMappingURL=is-date-time-string-Cuf1TaSC.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-date-time-string-Cuf1TaSC.mjs","names":[],"sources":["../src/internal/utils/is-date-time-string.ts"],"sourcesContent":["/**\n * Narrows `value` to a string that parses to a real {@link Date} via the\n * `Date(string)` constructor. Used by resource parsers to gate\n * `format: date-time` wire fields before handing them to `new Date(...)`,\n * which silently produces an `Invalid Date` for invalid input.\n *\n * @param value - The unknown wire value to validate.\n * @returns `true` when `value` is a string and `new Date(value).getTime()`\n * is not `NaN`.\n */\nexport function isDateTimeString(value: unknown): value is string {\n\tif (typeof value !== \"string\") {\n\t\treturn false;\n\t}\n\n\treturn !Number.isNaN(new Date(value).getTime());\n}\n"],"mappings":";;;;;;;;;;;AAUA,SAAgB,iBAAiB,OAAiC;AACjE,KAAI,OAAO,UAAU,SACpB,QAAO;AAGR,QAAO,CAAC,OAAO,MAAM,IAAI,KAAK,MAAM,CAAC,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { i as RobloxLocale, n as RobloxCreatorLocale, r as RobloxLanguageCode, t as ROBLOX_CREATOR_LOCALES } from "./data.generated-BtkDGH8C.mjs";
2
+ export { ROBLOX_CREATOR_LOCALES, type RobloxCreatorLocale, type RobloxLanguageCode, type RobloxLocale };
@@ -0,0 +1,512 @@
1
+ //#region src/locales/data.generated.ts
2
+ /**
3
+ * Vendored snapshot of
4
+ * `https://locale.roblox.com/v1/locales/supported-locales-for-creators`.
5
+ * Refreshed by `pnpm --filter @bedrock-rbx/ocale refresh-locales`.
6
+ */
7
+ const ROBLOX_CREATOR_LOCALES = [
8
+ {
9
+ locale: "ar_001",
10
+ languageCode: "ar",
11
+ name: "Arabic",
12
+ nativeName: "العربية",
13
+ isRightToLeft: true,
14
+ isEnabledForFullExperience: true,
15
+ isEnabledForInGameUgc: true,
16
+ isEnabledForSignupAndLogin: true
17
+ },
18
+ {
19
+ locale: "bg_bg",
20
+ languageCode: "bg",
21
+ name: "Bulgarian",
22
+ nativeName: "Български",
23
+ isRightToLeft: false,
24
+ isEnabledForFullExperience: false,
25
+ isEnabledForInGameUgc: true,
26
+ isEnabledForSignupAndLogin: false
27
+ },
28
+ {
29
+ locale: "bn_bd",
30
+ languageCode: "bn",
31
+ name: "Bengali",
32
+ nativeName: "বাংলা",
33
+ isRightToLeft: false,
34
+ isEnabledForFullExperience: false,
35
+ isEnabledForInGameUgc: true,
36
+ isEnabledForSignupAndLogin: false
37
+ },
38
+ {
39
+ locale: "bs_ba",
40
+ languageCode: "bs",
41
+ name: "Bosnian",
42
+ nativeName: "Босански",
43
+ isRightToLeft: false,
44
+ isEnabledForFullExperience: false,
45
+ isEnabledForInGameUgc: true,
46
+ isEnabledForSignupAndLogin: false
47
+ },
48
+ {
49
+ locale: "cs_cz",
50
+ languageCode: "cs",
51
+ name: "Czech",
52
+ nativeName: "Čeština",
53
+ isRightToLeft: false,
54
+ isEnabledForFullExperience: false,
55
+ isEnabledForInGameUgc: true,
56
+ isEnabledForSignupAndLogin: false
57
+ },
58
+ {
59
+ locale: "da_dk",
60
+ languageCode: "da",
61
+ name: "Danish",
62
+ nativeName: "Dansk",
63
+ isRightToLeft: false,
64
+ isEnabledForFullExperience: false,
65
+ isEnabledForInGameUgc: true,
66
+ isEnabledForSignupAndLogin: false
67
+ },
68
+ {
69
+ locale: "de_de",
70
+ languageCode: "de",
71
+ name: "German",
72
+ nativeName: "Deutsch",
73
+ isRightToLeft: false,
74
+ isEnabledForFullExperience: true,
75
+ isEnabledForInGameUgc: true,
76
+ isEnabledForSignupAndLogin: true
77
+ },
78
+ {
79
+ locale: "el_gr",
80
+ languageCode: "el",
81
+ name: "Greek",
82
+ nativeName: "Ελληνικά",
83
+ isRightToLeft: false,
84
+ isEnabledForFullExperience: false,
85
+ isEnabledForInGameUgc: true,
86
+ isEnabledForSignupAndLogin: false
87
+ },
88
+ {
89
+ locale: "en_gb",
90
+ languageCode: "en",
91
+ name: "English (United Kingdom)",
92
+ nativeName: "English (United Kingdom)",
93
+ isRightToLeft: false,
94
+ isEnabledForFullExperience: false,
95
+ isEnabledForInGameUgc: true,
96
+ isEnabledForSignupAndLogin: false
97
+ },
98
+ {
99
+ locale: "en_us",
100
+ languageCode: "en",
101
+ name: "English (United States)",
102
+ nativeName: "English (United States)",
103
+ isRightToLeft: false,
104
+ isEnabledForFullExperience: true,
105
+ isEnabledForInGameUgc: true,
106
+ isEnabledForSignupAndLogin: true
107
+ },
108
+ {
109
+ locale: "es_es",
110
+ languageCode: "es",
111
+ name: "Spanish (Spain)",
112
+ nativeName: "Español (España)",
113
+ isRightToLeft: false,
114
+ isEnabledForFullExperience: true,
115
+ isEnabledForInGameUgc: true,
116
+ isEnabledForSignupAndLogin: true
117
+ },
118
+ {
119
+ locale: "es_mx",
120
+ languageCode: "es",
121
+ name: "Spanish (Mexico)",
122
+ nativeName: "Español (México)",
123
+ isRightToLeft: false,
124
+ isEnabledForFullExperience: false,
125
+ isEnabledForInGameUgc: true,
126
+ isEnabledForSignupAndLogin: false
127
+ },
128
+ {
129
+ locale: "et_ee",
130
+ languageCode: "et",
131
+ name: "Estonian",
132
+ nativeName: "Eesti",
133
+ isRightToLeft: false,
134
+ isEnabledForFullExperience: false,
135
+ isEnabledForInGameUgc: true,
136
+ isEnabledForSignupAndLogin: false
137
+ },
138
+ {
139
+ locale: "fi_fi",
140
+ languageCode: "fi",
141
+ name: "Finnish",
142
+ nativeName: "Suomi",
143
+ isRightToLeft: false,
144
+ isEnabledForFullExperience: false,
145
+ isEnabledForInGameUgc: true,
146
+ isEnabledForSignupAndLogin: false
147
+ },
148
+ {
149
+ locale: "fil_ph",
150
+ languageCode: "fil",
151
+ name: "Filipino",
152
+ nativeName: "Filipino",
153
+ isRightToLeft: false,
154
+ isEnabledForFullExperience: false,
155
+ isEnabledForInGameUgc: true,
156
+ isEnabledForSignupAndLogin: false
157
+ },
158
+ {
159
+ locale: "fr_ca",
160
+ languageCode: "fr",
161
+ name: "French (Canada)",
162
+ nativeName: "Français (Canada)",
163
+ isRightToLeft: false,
164
+ isEnabledForFullExperience: false,
165
+ isEnabledForInGameUgc: true,
166
+ isEnabledForSignupAndLogin: false
167
+ },
168
+ {
169
+ locale: "fr_fr",
170
+ languageCode: "fr",
171
+ name: "French (France)",
172
+ nativeName: "Français (France)",
173
+ isRightToLeft: false,
174
+ isEnabledForFullExperience: true,
175
+ isEnabledForInGameUgc: true,
176
+ isEnabledForSignupAndLogin: true
177
+ },
178
+ {
179
+ locale: "hi_in",
180
+ languageCode: "hi",
181
+ name: "Hindi",
182
+ nativeName: "हिन्दी",
183
+ isRightToLeft: false,
184
+ isEnabledForFullExperience: false,
185
+ isEnabledForInGameUgc: true,
186
+ isEnabledForSignupAndLogin: false
187
+ },
188
+ {
189
+ locale: "hr_hr",
190
+ languageCode: "hr",
191
+ name: "Croatian",
192
+ nativeName: "Hrvatski",
193
+ isRightToLeft: false,
194
+ isEnabledForFullExperience: false,
195
+ isEnabledForInGameUgc: true,
196
+ isEnabledForSignupAndLogin: false
197
+ },
198
+ {
199
+ locale: "hu_hu",
200
+ languageCode: "hu",
201
+ name: "Hungarian",
202
+ nativeName: "Magyar",
203
+ isRightToLeft: false,
204
+ isEnabledForFullExperience: false,
205
+ isEnabledForInGameUgc: true,
206
+ isEnabledForSignupAndLogin: false
207
+ },
208
+ {
209
+ locale: "id_id",
210
+ languageCode: "id",
211
+ name: "Indonesian",
212
+ nativeName: "Bahasa Indonesia",
213
+ isRightToLeft: false,
214
+ isEnabledForFullExperience: true,
215
+ isEnabledForInGameUgc: true,
216
+ isEnabledForSignupAndLogin: true
217
+ },
218
+ {
219
+ locale: "it_it",
220
+ languageCode: "it",
221
+ name: "Italian",
222
+ nativeName: "Italiano",
223
+ isRightToLeft: false,
224
+ isEnabledForFullExperience: true,
225
+ isEnabledForInGameUgc: true,
226
+ isEnabledForSignupAndLogin: true
227
+ },
228
+ {
229
+ locale: "ja_jp",
230
+ languageCode: "ja",
231
+ name: "Japanese",
232
+ nativeName: "日本語",
233
+ isRightToLeft: false,
234
+ isEnabledForFullExperience: true,
235
+ isEnabledForInGameUgc: true,
236
+ isEnabledForSignupAndLogin: true
237
+ },
238
+ {
239
+ locale: "ka_ge",
240
+ languageCode: "ka",
241
+ name: "Georgian",
242
+ nativeName: "ქართული",
243
+ isRightToLeft: false,
244
+ isEnabledForFullExperience: false,
245
+ isEnabledForInGameUgc: true,
246
+ isEnabledForSignupAndLogin: false
247
+ },
248
+ {
249
+ locale: "kk_kz",
250
+ languageCode: "kk",
251
+ name: "Kazakh",
252
+ nativeName: "Қазақ Тілі",
253
+ isRightToLeft: false,
254
+ isEnabledForFullExperience: false,
255
+ isEnabledForInGameUgc: true,
256
+ isEnabledForSignupAndLogin: false
257
+ },
258
+ {
259
+ locale: "km_kh",
260
+ languageCode: "km",
261
+ name: "Khmer",
262
+ nativeName: "ភាសាខ្មែរ",
263
+ isRightToLeft: false,
264
+ isEnabledForFullExperience: false,
265
+ isEnabledForInGameUgc: true,
266
+ isEnabledForSignupAndLogin: false
267
+ },
268
+ {
269
+ locale: "ko_kr",
270
+ languageCode: "ko",
271
+ name: "Korean",
272
+ nativeName: "한국어",
273
+ isRightToLeft: false,
274
+ isEnabledForFullExperience: true,
275
+ isEnabledForInGameUgc: true,
276
+ isEnabledForSignupAndLogin: true
277
+ },
278
+ {
279
+ locale: "lt_lt",
280
+ languageCode: "lt",
281
+ name: "Lithuanian",
282
+ nativeName: "Lietuvių",
283
+ isRightToLeft: false,
284
+ isEnabledForFullExperience: false,
285
+ isEnabledForInGameUgc: true,
286
+ isEnabledForSignupAndLogin: false
287
+ },
288
+ {
289
+ locale: "lv_lv",
290
+ languageCode: "lv",
291
+ name: "Latvian",
292
+ nativeName: "Latviešu",
293
+ isRightToLeft: false,
294
+ isEnabledForFullExperience: false,
295
+ isEnabledForInGameUgc: true,
296
+ isEnabledForSignupAndLogin: false
297
+ },
298
+ {
299
+ locale: "ms_my",
300
+ languageCode: "ms",
301
+ name: "Malay",
302
+ nativeName: "Bahasa Melayu",
303
+ isRightToLeft: false,
304
+ isEnabledForFullExperience: false,
305
+ isEnabledForInGameUgc: true,
306
+ isEnabledForSignupAndLogin: false
307
+ },
308
+ {
309
+ locale: "my_mm",
310
+ languageCode: "my",
311
+ name: "Burmese",
312
+ nativeName: "ဗမာစာ",
313
+ isRightToLeft: false,
314
+ isEnabledForFullExperience: false,
315
+ isEnabledForInGameUgc: true,
316
+ isEnabledForSignupAndLogin: false
317
+ },
318
+ {
319
+ locale: "nb_no",
320
+ languageCode: "nb",
321
+ name: "Bokmal",
322
+ nativeName: "Bokmål",
323
+ isRightToLeft: false,
324
+ isEnabledForFullExperience: false,
325
+ isEnabledForInGameUgc: true,
326
+ isEnabledForSignupAndLogin: false
327
+ },
328
+ {
329
+ locale: "nl_nl",
330
+ languageCode: "nl",
331
+ name: "Dutch",
332
+ nativeName: "Nederlands",
333
+ isRightToLeft: false,
334
+ isEnabledForFullExperience: false,
335
+ isEnabledForInGameUgc: true,
336
+ isEnabledForSignupAndLogin: false
337
+ },
338
+ {
339
+ locale: "pl_pl",
340
+ languageCode: "pl",
341
+ name: "Polish",
342
+ nativeName: "Polski",
343
+ isRightToLeft: false,
344
+ isEnabledForFullExperience: true,
345
+ isEnabledForInGameUgc: true,
346
+ isEnabledForSignupAndLogin: true
347
+ },
348
+ {
349
+ locale: "pt_br",
350
+ languageCode: "pt",
351
+ name: "Portuguese (Brazil)",
352
+ nativeName: "Português (Brasil)",
353
+ isRightToLeft: false,
354
+ isEnabledForFullExperience: true,
355
+ isEnabledForInGameUgc: true,
356
+ isEnabledForSignupAndLogin: true
357
+ },
358
+ {
359
+ locale: "pt_pt",
360
+ languageCode: "pt",
361
+ name: "Portuguese (Portugal)",
362
+ nativeName: "Português (Portugal)",
363
+ isRightToLeft: false,
364
+ isEnabledForFullExperience: false,
365
+ isEnabledForInGameUgc: true,
366
+ isEnabledForSignupAndLogin: false
367
+ },
368
+ {
369
+ locale: "ro_ro",
370
+ languageCode: "ro",
371
+ name: "Romanian",
372
+ nativeName: "Română",
373
+ isRightToLeft: false,
374
+ isEnabledForFullExperience: false,
375
+ isEnabledForInGameUgc: true,
376
+ isEnabledForSignupAndLogin: false
377
+ },
378
+ {
379
+ locale: "ru_ru",
380
+ languageCode: "ru",
381
+ name: "Russian",
382
+ nativeName: "Русский",
383
+ isRightToLeft: false,
384
+ isEnabledForFullExperience: false,
385
+ isEnabledForInGameUgc: true,
386
+ isEnabledForSignupAndLogin: false
387
+ },
388
+ {
389
+ locale: "si_lk",
390
+ languageCode: "si",
391
+ name: "Sinhala",
392
+ nativeName: "සිංහල",
393
+ isRightToLeft: false,
394
+ isEnabledForFullExperience: false,
395
+ isEnabledForInGameUgc: true,
396
+ isEnabledForSignupAndLogin: false
397
+ },
398
+ {
399
+ locale: "sk_sk",
400
+ languageCode: "sk",
401
+ name: "Slovak",
402
+ nativeName: "Slovenčina",
403
+ isRightToLeft: false,
404
+ isEnabledForFullExperience: false,
405
+ isEnabledForInGameUgc: true,
406
+ isEnabledForSignupAndLogin: false
407
+ },
408
+ {
409
+ locale: "sl_sl",
410
+ languageCode: "sl",
411
+ name: "Slovenian",
412
+ nativeName: "Slovenski",
413
+ isRightToLeft: false,
414
+ isEnabledForFullExperience: false,
415
+ isEnabledForInGameUgc: true,
416
+ isEnabledForSignupAndLogin: false
417
+ },
418
+ {
419
+ locale: "sq_al",
420
+ languageCode: "sq",
421
+ name: "Albanian",
422
+ nativeName: "Shqipe",
423
+ isRightToLeft: false,
424
+ isEnabledForFullExperience: false,
425
+ isEnabledForInGameUgc: true,
426
+ isEnabledForSignupAndLogin: false
427
+ },
428
+ {
429
+ locale: "sr_rs",
430
+ languageCode: "sr",
431
+ name: "Serbian",
432
+ nativeName: "Cрпски",
433
+ isRightToLeft: false,
434
+ isEnabledForFullExperience: false,
435
+ isEnabledForInGameUgc: true,
436
+ isEnabledForSignupAndLogin: false
437
+ },
438
+ {
439
+ locale: "sv_se",
440
+ languageCode: "sv",
441
+ name: "Swedish",
442
+ nativeName: "Svenska",
443
+ isRightToLeft: false,
444
+ isEnabledForFullExperience: false,
445
+ isEnabledForInGameUgc: true,
446
+ isEnabledForSignupAndLogin: false
447
+ },
448
+ {
449
+ locale: "th_th",
450
+ languageCode: "th",
451
+ name: "Thai",
452
+ nativeName: "ภาษาไทย",
453
+ isRightToLeft: false,
454
+ isEnabledForFullExperience: true,
455
+ isEnabledForInGameUgc: true,
456
+ isEnabledForSignupAndLogin: true
457
+ },
458
+ {
459
+ locale: "tr_tr",
460
+ languageCode: "tr",
461
+ name: "Turkish",
462
+ nativeName: "Türkçe",
463
+ isRightToLeft: false,
464
+ isEnabledForFullExperience: true,
465
+ isEnabledForInGameUgc: true,
466
+ isEnabledForSignupAndLogin: true
467
+ },
468
+ {
469
+ locale: "uk_ua",
470
+ languageCode: "uk",
471
+ name: "Ukrainian",
472
+ nativeName: "Yкраїньска",
473
+ isRightToLeft: false,
474
+ isEnabledForFullExperience: false,
475
+ isEnabledForInGameUgc: true,
476
+ isEnabledForSignupAndLogin: false
477
+ },
478
+ {
479
+ locale: "vi_vn",
480
+ languageCode: "vi",
481
+ name: "Vietnamese",
482
+ nativeName: "Tiếng Việt",
483
+ isRightToLeft: false,
484
+ isEnabledForFullExperience: true,
485
+ isEnabledForInGameUgc: true,
486
+ isEnabledForSignupAndLogin: true
487
+ },
488
+ {
489
+ locale: "zh_cn",
490
+ languageCode: "zh-hans",
491
+ name: "Chinese (Simplified)",
492
+ nativeName: "中文(简体)",
493
+ isRightToLeft: false,
494
+ isEnabledForFullExperience: true,
495
+ isEnabledForInGameUgc: true,
496
+ isEnabledForSignupAndLogin: true
497
+ },
498
+ {
499
+ locale: "zh_tw",
500
+ languageCode: "zh-hant",
501
+ name: "Chinese (Traditional)",
502
+ nativeName: "中文(繁體)",
503
+ isRightToLeft: false,
504
+ isEnabledForFullExperience: true,
505
+ isEnabledForInGameUgc: true,
506
+ isEnabledForSignupAndLogin: true
507
+ }
508
+ ];
509
+ //#endregion
510
+ export { ROBLOX_CREATOR_LOCALES };
511
+
512
+ //# sourceMappingURL=locales.mjs.map