warframe-worldstate-data 3.1.23 → 3.2.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.
@@ -1,347 +0,0 @@
1
- import { t as exports_default } from "./exports-M2P8p7tW.mjs";
2
-
3
- //#region tools/translation.ts
4
- /**
5
- * Rough Titlecase!
6
- * @param {string} str string to be titlecased
7
- * @returns {string} titlecased string
8
- */
9
- const toTitleCase = (str) => {
10
- return str.replace(/\w\S*/g, (txt) => txt.charAt(0).toUpperCase() + txt.substring(1).toLowerCase());
11
- };
12
- /**
13
- * Utility function to split the resource name and return somewhat human-readable string
14
- * @param {string} str localization resource key
15
- * @returns {string} human-readable string
16
- */
17
- const splitResourceName = (str) => str.split(/([A-Z]?[^A-Z]*)/g).filter(Boolean).join(" ");
18
- const lastResourceName = (str) => str ? str.split?.("/").reverse()[0] : str;
19
- const i18n = (locale = "en") => exports_default[locale] || exports_default;
20
- const keyInData = (key, dataOverride) => key in i18n(dataOverride) ? i18n(dataOverride)[key] : key;
21
- /**
22
- *
23
- * @param {string} color - The internal color name
24
- * @param {string} dataOverride locale for use with translation
25
- * @returns {Object | undefined}
26
- */
27
- const archonShard = (color, dataOverride = "en") => {
28
- return keyInData("archonShards", dataOverride)[color];
29
- };
30
- /**
31
- *
32
- * @param {string} color - The internal color name
33
- * @param {string} dataOverride locale for use with translation
34
- * @returns {string}
35
- */
36
- const archonShardColor = (color, dataOverride = "en") => archonShard(color, dataOverride)?.value ?? color;
37
- /**
38
- *
39
- * @param {string} color - The internal color name
40
- * @param {string} upgradeType - The upgrade type
41
- * @param {string} dataOverride locale for use with translation
42
- * @returns {string}
43
- */
44
- const archonShardUpgradeType = (color, upgradeType, dataOverride = "en") => archonShard(color, dataOverride)?.upgradeTypes[upgradeType]?.value ?? lastResourceName(upgradeType);
45
- /**
46
- *
47
- * @param {string} key - The data key
48
- * @param {string} dataOverride locale for use with translation
49
- * @returns {string} faction name
50
- */
51
- const faction = (key, dataOverride = "en") => keyInData("factions", dataOverride)[key]?.value ?? key;
52
- const solNode = (key, thing, dataOverride = "en") => keyInData("solNodes", dataOverride)?.[key]?.[thing] ?? lastResourceName(key) ?? key;
53
- /**
54
- *
55
- * @param {string} key - The data key
56
- * @param {string} dataOverride locale for use with translation
57
- * @returns {string} node name
58
- */
59
- const node = (key, dataOverride = "en") => solNode(key, "value", dataOverride);
60
- /**
61
- *
62
- * @param {string} key - The data key
63
- * @param {string} dataOverride locale for use with translation
64
- * @returns {string} mission type of the node
65
- */
66
- const nodeMissionType = (key, dataOverride = "en") => solNode(key, "type", dataOverride);
67
- /**
68
- *
69
- * @param {string} key - The data key
70
- * @param {string} dataOverride locale for use with translation
71
- * @returns {string} faction that controls the node
72
- */
73
- const nodeEnemy = (key, dataOverride = "en") => {
74
- return key in i18n(dataOverride).solNodes ? i18n(dataOverride).solNodes[key].enemy : lastResourceName(key) ?? key;
75
- };
76
- /**
77
- *
78
- * @param {string} key - The data key
79
- * @param {string} dataOverride locale for use with translation
80
- * @returns {string} localization for language string
81
- */
82
- const languageString = (key, dataOverride = "en") => {
83
- const lowerKey = String(key).toLowerCase();
84
- return i18n(dataOverride).languages[lowerKey]?.value ?? i18n(dataOverride).languages[key]?.value ?? (key ? toTitleCase(splitResourceName(lastResourceName(String(key)) ?? "")) : key);
85
- };
86
- /**
87
- *
88
- * @param {string} key - The data key
89
- * @param {string} dataOverride locale for use with translation
90
- * @returns {string} localization for language description
91
- */
92
- const languageDesc = (key, dataOverride = "en") => {
93
- const lowerKey = String(key).toLowerCase();
94
- return i18n(dataOverride).languages[lowerKey]?.desc ?? i18n(dataOverride).languages[key]?.desc ?? (key ? `[PH] ${toTitleCase(splitResourceName(lastResourceName(String(key)) ?? ""))} Desc` : key);
95
- };
96
- /**
97
- *
98
- * @param {string} key - The data key
99
- * @param {string} dataOverride locale for use with translation
100
- * @returns {string} translation for mission type
101
- */
102
- const missionType = (key, dataOverride = "en") => {
103
- const keyBased = key && typeof key === "string" && toTitleCase((key ?? "").replace(/^MT_/, ""));
104
- return key in i18n(dataOverride).missionTypes ? i18n(dataOverride).missionTypes[key].value : keyBased;
105
- };
106
- const conclave = (key, thing, dataOverride = "en") => keyInData("conclave", dataOverride)?.[thing]?.[key];
107
- /**
108
- *
109
- * @param {string} key - The data key
110
- * @param {string} dataOverride locale for use with translation
111
- * @returns {string} conclave mode
112
- */
113
- const conclaveMode = (key, dataOverride = "en") => conclave(key, "modes", dataOverride)?.value ?? key;
114
- /**
115
- *
116
- * @param {string} key - The data key
117
- * @param {string} dataOverride locale for use with translation
118
- * @returns {{ value: string; description: string }} conclave category
119
- */
120
- const conclaveCategory = (key, dataOverride = "en") => conclave(key, "categories", dataOverride)?.value ?? key;
121
- const fissure = (key, dataOverride = "en") => keyInData("fissureModifiers", dataOverride)?.[key] ?? key;
122
- /**
123
- *
124
- * @param {string} key - The data key
125
- * @param {string} dataOverride locale for use with translation
126
- * @returns {string} fissure modifier data
127
- */
128
- const fissureModifier = (key, dataOverride = "en") => fissure(key, dataOverride)?.value ?? key;
129
- /**
130
- *
131
- * @param {string} key - The data key
132
- * @param {string} dataOverride locale for use with translation
133
- * @returns {number | string} fissure tier
134
- */
135
- const fissureTier = (key, dataOverride = "en") => fissure(key, dataOverride).num ?? key;
136
- /**
137
- *
138
- * @param {string} key - The data key
139
- * @param {string} dataOverride locale for use with translation
140
- * @returns {string} syndicate name
141
- */
142
- const syndicate = (key, dataOverride = "en") => i18n(dataOverride).syndicates[key]?.name ?? key;
143
- /**
144
- *
145
- * @param {string} key - The data key
146
- * @param {string} dataOverride locale for use with translation
147
- * @returns {string} upgrade type
148
- */
149
- const upgrade = (key, dataOverride = "en") => i18n(dataOverride).upgradeTypes[key]?.value ?? key;
150
- const oppo = (key, dataOverride = "en") => i18n(dataOverride).operationTypes[key];
151
- /**
152
- *
153
- * @param {string} key - The data key
154
- * @param {string} dataOverride locale for use with translation
155
- * @returns {string} mathematical operation value
156
- */
157
- const operation = (key, dataOverride = "en") => oppo(key, dataOverride)?.value ?? key;
158
- /**
159
- *
160
- * @param {string} key - The data key
161
- * @param {string} dataOverride locale for use with translation
162
- * @returns {string} symbol of mathematical operation
163
- */
164
- const operationSymbol = (key, dataOverride = "en") => oppo(key, dataOverride)?.symbol ?? key;
165
- const sortie = (key, dataOverride = "en") => i18n(dataOverride).sortie.bosses[key];
166
- /**
167
- * @param {string} key - The data key
168
- * @param {string} dataOverride locale for use with translation
169
- * @returns {string} sortie boss name
170
- */
171
- const sortieBoss = (key, dataOverride = "en") => sortie(key, dataOverride)?.name ?? key;
172
- /**
173
- * @param {string} key - The data key
174
- * @param {string} dataOverride locale for use with translation
175
- * @returns {string} faction for a sortie based on the boss
176
- */
177
- const sortieFaction = (key, dataOverride = "en") => sortie(key, dataOverride)?.faction ?? key;
178
- /**
179
- *
180
- * @param {string} key - The data key
181
- * @param {string} dataOverride locale for use with translation
182
- * @returns {string} sortie modifier data
183
- */
184
- const sortieModifier = (key, dataOverride = "en") => i18n(dataOverride).sortie.modifierTypes?.[key] ?? key;
185
- /**
186
- * @param {string} key - The data key
187
- * @param {string} dataOverride locale for use with translation
188
- * @returns {string} sortie modifier description
189
- */
190
- const sortieModDesc = (key, dataOverride = "en") => i18n(dataOverride).sortie.modifierDescriptions?.[key] ?? key;
191
- /**
192
- * Retrieve the localized region for a given key
193
- * @param {string | number} key - The region key
194
- * @param {string} dataOverride - The locale to use for translations
195
- * @returns {string} localized region name
196
- */
197
- const region = (key, dataOverride = "en") => (key && i18n(dataOverride).persistentEnemy?.regions[key]) ?? key;
198
- /**
199
- * Retrieve conclave challenge name for the given key and locale
200
- * @param {string} key key to retrieve
201
- * @param {string} dataOverride locale key override
202
- * @returns {{
203
- * title: string,
204
- * description: string,
205
- * standing: number,
206
- * }} - The conclave challenge name for the given key
207
- */
208
- const conclaveChallenge = (key, dataOverride = "en") => {
209
- const splitKey = lastResourceName(String(key));
210
- if (splitKey !== void 0 && i18n(dataOverride).conclave?.challenges?.[splitKey]) return i18n(dataOverride).conclave.challenges[splitKey];
211
- return {
212
- title: toTitleCase(splitResourceName(splitKey)),
213
- description: toTitleCase(splitResourceName(splitKey)),
214
- standing: 0
215
- };
216
- };
217
- /**
218
- * Get the steel path data for given key
219
- * @param {string} dataOverride - The locale to use for translations
220
- * @returns {string} - The steel path data for the given key
221
- */
222
- const steelPath = (dataOverride = "en") => (i18n(dataOverride) || exports_default).steelPath;
223
- const valMapping = (key, map) => {
224
- let val = "None";
225
- Object.keys(map).forEach((k) => {
226
- if (key.includes(k)) val = map[k];
227
- });
228
- return val;
229
- };
230
- const focusMap = {
231
- "Focus/Attack": "Madurai",
232
- "Focus/Defense": "Vazarin",
233
- "Focus/Tactic": "Naramon",
234
- "Focus/Power": "Zenurik",
235
- "Focus/Ward": "Unairu"
236
- };
237
- /**
238
- * Translate the given focus school
239
- * @param {string} focus The focus school to translate
240
- * @returns {string} The translated focus school
241
- */
242
- const translateFocus = (focus = "") => valMapping(focus, focusMap);
243
- const polarityMap = {
244
- AP_ATTACK: "Madurai",
245
- AP_DEFENSE: "Vazarin",
246
- AP_TACTIC: "Naramon",
247
- AP_POWER: "Zenurik",
248
- AP_WARD: "Unairu",
249
- AP_UMBRA: "Umbra",
250
- AP_ANY: "Aura"
251
- };
252
- /**
253
- * Translate the given polarity
254
- * @param {string?} pol The polarity to translate
255
- * @returns {string} The translated polarity
256
- */
257
- const translatePolarity = (pol = "") => valMapping(pol, polarityMap);
258
- const eventTypeMap = {
259
- CET_CHALLENGE: "To Do",
260
- CET_UPGRADE: "Override",
261
- CET_REWARD: "Big Prize!",
262
- CET_PLOT: "Birthday"
263
- };
264
- /**
265
- * Translate the given event key
266
- * @param {string} key Unique event type
267
- * @returns {string}
268
- */
269
- const translateCalendarEvent = (key) => valMapping(key, eventTypeMap);
270
- /**
271
- * Translate the given season name to a non-unique string
272
- * @param {string} season Unique season name
273
- * @returns {string}
274
- */
275
- const translateSeason = (season) => toTitleCase(season.replace("CST_", ""));
276
- const archimedeaTypes = {
277
- CT_LAB: "Deep Archimedea",
278
- CT_HEX: "Temporal Archimedea"
279
- };
280
- const translateArchimedeaType = (type) => valMapping(type, archimedeaTypes);
281
- /**
282
- * An object containing functions to convert in-game names to their localizations
283
- * @typedef {Record<string, function>} Translator
284
- * @property {function} faction - Converts faction names
285
- * @property {function} node - Converts star map node names
286
- * @property {function} nodeMissionType - Returns the mission type of given node
287
- * @property {function} nodeEnemy - Returns the faction that controls a given node
288
- * @property {function} languageString - Converts generic language strings
289
- * @property {function} languageDesc - Converts generic language strings
290
- * and retrieves the description
291
- * @property {function} missionType - Converts mission types
292
- * @property {function} conclaveMode - Converts conclave modes
293
- * @property {function} conclaveCategory - Converts conclave challenge categories
294
- * @property {function} fissureModifier - Converts fissure mission modifiers
295
- * @property {function} syndicate - Converts syndicate names
296
- * @property {function} upgrade - Converts upgrade types
297
- * @property {function} operation - Converts operation types
298
- * @property {function} sortieBoss - Converts sortie boss names
299
- * @property {function} sortieModifier - Converts sortie modifier types
300
- * @property {function} sortieModDesc - Converts sortie modifier type descriptions
301
- * @property {function} region - Converts persistent enemy region indicies
302
- * @property {function} conclaveChallenge - Convert conclave identifiers into standing data
303
- * @property {function} steelPath - Retrieve Steel Path rotation data for locale
304
- * @property {function} toTitleCase - Format provided string as titlecase
305
- * @property {function} translateFocus - Translate focus schools
306
- * @property {function} translatePolarity - Translate polarities
307
- * @property {function} archonShard - Converts archon shard names
308
- * @property {function} archonShardColor - Converts archon shard names to in-game color values
309
- * @property {function} archonShardUpgradeType - Convert archon shard upgrade type
310
- * @property {function} translateCalendarEvent - Translate the given event key
311
- * @property {function} translateSeason - Translate the given season name to a non-unique string
312
- */
313
- var translation_default = {
314
- faction,
315
- node,
316
- nodeMissionType,
317
- nodeEnemy,
318
- languageString,
319
- languageDesc,
320
- missionType,
321
- conclaveMode,
322
- conclaveCategory,
323
- fissureModifier,
324
- fissureTier,
325
- syndicate,
326
- upgrade,
327
- operation,
328
- operationSymbol,
329
- sortieBoss,
330
- sortieModifier,
331
- sortieModDesc,
332
- sortieFaction,
333
- region,
334
- conclaveChallenge,
335
- steelPath,
336
- toTitleCase,
337
- translateFocus,
338
- translatePolarity,
339
- archonShard,
340
- archonShardColor,
341
- archonShardUpgradeType,
342
- translateCalendarEvent,
343
- translateSeason
344
- };
345
-
346
- //#endregion
347
- export { translateFocus as A, sortieModifier as C, toTitleCase as D, syndicate as E, translateSeason as M, translation_default as N, translateArchimedeaType as O, upgrade as P, sortieModDesc as S, steelPath as T, operation as _, conclaveChallenge as a, sortieBoss as b, fissureModifier as c, languageString as d, lastResourceName as f, nodeMissionType as g, nodeEnemy as h, conclaveCategory as i, translatePolarity as j, translateCalendarEvent as k, fissureTier as l, node as m, archonShardColor as n, conclaveMode as o, missionType as p, archonShardUpgradeType as r, faction as s, archonShard as t, languageDesc as u, operationSymbol as v, splitResourceName as w, sortieFaction as x, region as y };
@@ -1,293 +0,0 @@
1
- import { n as ArchonShard, s as SteelPath } from "./types-BambsMUW.mjs";
2
- import { t as Locale } from "./exports-BaguOygr.mjs";
3
-
4
- //#region tools/translation.d.ts
5
-
6
- /**
7
- * Rough Titlecase!
8
- * @param {string} str string to be titlecased
9
- * @returns {string} titlecased string
10
- */
11
- declare const toTitleCase: (str: string) => string;
12
- /**
13
- * Utility function to split the resource name and return somewhat human-readable string
14
- * @param {string} str localization resource key
15
- * @returns {string} human-readable string
16
- */
17
- declare const splitResourceName: (str: string) => string;
18
- declare const lastResourceName: (str: string | undefined) => string | undefined;
19
- /**
20
- *
21
- * @param {string} color - The internal color name
22
- * @param {string} dataOverride locale for use with translation
23
- * @returns {Object | undefined}
24
- */
25
- declare const archonShard: (color: string, dataOverride?: Locale) => ArchonShard;
26
- /**
27
- *
28
- * @param {string} color - The internal color name
29
- * @param {string} dataOverride locale for use with translation
30
- * @returns {string}
31
- */
32
- declare const archonShardColor: (color: string, dataOverride?: Locale) => string;
33
- /**
34
- *
35
- * @param {string} color - The internal color name
36
- * @param {string} upgradeType - The upgrade type
37
- * @param {string} dataOverride locale for use with translation
38
- * @returns {string}
39
- */
40
- declare const archonShardUpgradeType: (color: string, upgradeType: string, dataOverride?: Locale) => string;
41
- /**
42
- *
43
- * @param {string} key - The data key
44
- * @param {string} dataOverride locale for use with translation
45
- * @returns {string} faction name
46
- */
47
- declare const faction: (key: string, dataOverride?: Locale) => string;
48
- /**
49
- *
50
- * @param {string} key - The data key
51
- * @param {string} dataOverride locale for use with translation
52
- * @returns {string} node name
53
- */
54
- declare const node: (key: string, dataOverride?: Locale) => string;
55
- /**
56
- *
57
- * @param {string} key - The data key
58
- * @param {string} dataOverride locale for use with translation
59
- * @returns {string} mission type of the node
60
- */
61
- declare const nodeMissionType: (key: string, dataOverride?: Locale) => string;
62
- /**
63
- *
64
- * @param {string} key - The data key
65
- * @param {string} dataOverride locale for use with translation
66
- * @returns {string} faction that controls the node
67
- */
68
- declare const nodeEnemy: (key: string, dataOverride?: Locale) => string;
69
- /**
70
- *
71
- * @param {string} key - The data key
72
- * @param {string} dataOverride locale for use with translation
73
- * @returns {string} localization for language string
74
- */
75
- declare const languageString: (key: string, dataOverride?: Locale) => string;
76
- /**
77
- *
78
- * @param {string} key - The data key
79
- * @param {string} dataOverride locale for use with translation
80
- * @returns {string} localization for language description
81
- */
82
- declare const languageDesc: (key: string, dataOverride?: Locale) => string;
83
- /**
84
- *
85
- * @param {string} key - The data key
86
- * @param {string} dataOverride locale for use with translation
87
- * @returns {string} translation for mission type
88
- */
89
- declare const missionType: (key: string, dataOverride?: Locale) => string;
90
- /**
91
- *
92
- * @param {string} key - The data key
93
- * @param {string} dataOverride locale for use with translation
94
- * @returns {string} conclave mode
95
- */
96
- declare const conclaveMode: (key: string, dataOverride?: Locale) => string;
97
- /**
98
- *
99
- * @param {string} key - The data key
100
- * @param {string} dataOverride locale for use with translation
101
- * @returns {{ value: string; description: string }} conclave category
102
- */
103
- declare const conclaveCategory: (key: string, dataOverride?: Locale) => string;
104
- /**
105
- *
106
- * @param {string} key - The data key
107
- * @param {string} dataOverride locale for use with translation
108
- * @returns {string} fissure modifier data
109
- */
110
- declare const fissureModifier: (key: string, dataOverride?: Locale) => string;
111
- /**
112
- *
113
- * @param {string} key - The data key
114
- * @param {string} dataOverride locale for use with translation
115
- * @returns {number | string} fissure tier
116
- */
117
- declare const fissureTier: (key: string, dataOverride?: Locale) => number | string;
118
- /**
119
- *
120
- * @param {string} key - The data key
121
- * @param {string} dataOverride locale for use with translation
122
- * @returns {string} syndicate name
123
- */
124
- declare const syndicate: (key: string, dataOverride?: Locale) => string;
125
- /**
126
- *
127
- * @param {string} key - The data key
128
- * @param {string} dataOverride locale for use with translation
129
- * @returns {string} upgrade type
130
- */
131
- declare const upgrade: (key: string, dataOverride?: Locale) => string;
132
- /**
133
- *
134
- * @param {string} key - The data key
135
- * @param {string} dataOverride locale for use with translation
136
- * @returns {string} mathematical operation value
137
- */
138
- declare const operation: (key: string, dataOverride?: Locale) => string;
139
- /**
140
- *
141
- * @param {string} key - The data key
142
- * @param {string} dataOverride locale for use with translation
143
- * @returns {string} symbol of mathematical operation
144
- */
145
- declare const operationSymbol: (key: string, dataOverride?: Locale) => string;
146
- /**
147
- * @param {string} key - The data key
148
- * @param {string} dataOverride locale for use with translation
149
- * @returns {string} sortie boss name
150
- */
151
- declare const sortieBoss: (key: string, dataOverride?: Locale) => string;
152
- /**
153
- * @param {string} key - The data key
154
- * @param {string} dataOverride locale for use with translation
155
- * @returns {string} faction for a sortie based on the boss
156
- */
157
- declare const sortieFaction: (key: string, dataOverride?: Locale) => string;
158
- /**
159
- *
160
- * @param {string} key - The data key
161
- * @param {string} dataOverride locale for use with translation
162
- * @returns {string} sortie modifier data
163
- */
164
- declare const sortieModifier: (key: string, dataOverride?: Locale) => string;
165
- /**
166
- * @param {string} key - The data key
167
- * @param {string} dataOverride locale for use with translation
168
- * @returns {string} sortie modifier description
169
- */
170
- declare const sortieModDesc: (key: string, dataOverride?: Locale) => string;
171
- /**
172
- * Retrieve the localized region for a given key
173
- * @param {string | number} key - The region key
174
- * @param {string} dataOverride - The locale to use for translations
175
- * @returns {string} localized region name
176
- */
177
- declare const region: (key: number, dataOverride?: Locale) => string | number;
178
- /**
179
- * Retrieve conclave challenge name for the given key and locale
180
- * @param {string} key key to retrieve
181
- * @param {string} dataOverride locale key override
182
- * @returns {{
183
- * title: string,
184
- * description: string,
185
- * standing: number,
186
- * }} - The conclave challenge name for the given key
187
- */
188
- declare const conclaveChallenge: (key: string, dataOverride?: Locale) => {
189
- title: string;
190
- description: string;
191
- standing: number;
192
- };
193
- /**
194
- * Get the steel path data for given key
195
- * @param {string} dataOverride - The locale to use for translations
196
- * @returns {string} - The steel path data for the given key
197
- */
198
- declare const steelPath: (dataOverride?: Locale) => SteelPath;
199
- /**
200
- * Translate the given focus school
201
- * @param {string} focus The focus school to translate
202
- * @returns {string} The translated focus school
203
- */
204
- declare const translateFocus: (focus?: string) => string;
205
- /**
206
- * Translate the given polarity
207
- * @param {string?} pol The polarity to translate
208
- * @returns {string} The translated polarity
209
- */
210
- declare const translatePolarity: (pol?: string) => string;
211
- /**
212
- * Translate the given event key
213
- * @param {string} key Unique event type
214
- * @returns {string}
215
- */
216
- declare const translateCalendarEvent: (key: string) => string;
217
- /**
218
- * Translate the given season name to a non-unique string
219
- * @param {string} season Unique season name
220
- * @returns {string}
221
- */
222
- declare const translateSeason: (season: string) => string;
223
- declare const translateArchimedeaType: (type: string) => string;
224
- /**
225
- * An object containing functions to convert in-game names to their localizations
226
- * @typedef {Record<string, function>} Translator
227
- * @property {function} faction - Converts faction names
228
- * @property {function} node - Converts star map node names
229
- * @property {function} nodeMissionType - Returns the mission type of given node
230
- * @property {function} nodeEnemy - Returns the faction that controls a given node
231
- * @property {function} languageString - Converts generic language strings
232
- * @property {function} languageDesc - Converts generic language strings
233
- * and retrieves the description
234
- * @property {function} missionType - Converts mission types
235
- * @property {function} conclaveMode - Converts conclave modes
236
- * @property {function} conclaveCategory - Converts conclave challenge categories
237
- * @property {function} fissureModifier - Converts fissure mission modifiers
238
- * @property {function} syndicate - Converts syndicate names
239
- * @property {function} upgrade - Converts upgrade types
240
- * @property {function} operation - Converts operation types
241
- * @property {function} sortieBoss - Converts sortie boss names
242
- * @property {function} sortieModifier - Converts sortie modifier types
243
- * @property {function} sortieModDesc - Converts sortie modifier type descriptions
244
- * @property {function} region - Converts persistent enemy region indicies
245
- * @property {function} conclaveChallenge - Convert conclave identifiers into standing data
246
- * @property {function} steelPath - Retrieve Steel Path rotation data for locale
247
- * @property {function} toTitleCase - Format provided string as titlecase
248
- * @property {function} translateFocus - Translate focus schools
249
- * @property {function} translatePolarity - Translate polarities
250
- * @property {function} archonShard - Converts archon shard names
251
- * @property {function} archonShardColor - Converts archon shard names to in-game color values
252
- * @property {function} archonShardUpgradeType - Convert archon shard upgrade type
253
- * @property {function} translateCalendarEvent - Translate the given event key
254
- * @property {function} translateSeason - Translate the given season name to a non-unique string
255
- */
256
- declare const _default: {
257
- faction: (key: string, dataOverride?: Locale) => string;
258
- node: (key: string, dataOverride?: Locale) => string;
259
- nodeMissionType: (key: string, dataOverride?: Locale) => string;
260
- nodeEnemy: (key: string, dataOverride?: Locale) => string;
261
- languageString: (key: string, dataOverride?: Locale) => string;
262
- languageDesc: (key: string, dataOverride?: Locale) => string;
263
- missionType: (key: string, dataOverride?: Locale) => string;
264
- conclaveMode: (key: string, dataOverride?: Locale) => string;
265
- conclaveCategory: (key: string, dataOverride?: Locale) => string;
266
- fissureModifier: (key: string, dataOverride?: Locale) => string;
267
- fissureTier: (key: string, dataOverride?: Locale) => number | string;
268
- syndicate: (key: string, dataOverride?: Locale) => string;
269
- upgrade: (key: string, dataOverride?: Locale) => string;
270
- operation: (key: string, dataOverride?: Locale) => string;
271
- operationSymbol: (key: string, dataOverride?: Locale) => string;
272
- sortieBoss: (key: string, dataOverride?: Locale) => string;
273
- sortieModifier: (key: string, dataOverride?: Locale) => string;
274
- sortieModDesc: (key: string, dataOverride?: Locale) => string;
275
- sortieFaction: (key: string, dataOverride?: Locale) => string;
276
- region: (key: number, dataOverride?: Locale) => string | number;
277
- conclaveChallenge: (key: string, dataOverride?: Locale) => {
278
- title: string;
279
- description: string;
280
- standing: number;
281
- };
282
- steelPath: (dataOverride?: Locale) => SteelPath;
283
- toTitleCase: (str: string) => string;
284
- translateFocus: (focus?: string) => string;
285
- translatePolarity: (pol?: string) => string;
286
- archonShard: (color: string, dataOverride?: Locale) => ArchonShard;
287
- archonShardColor: (color: string, dataOverride?: Locale) => string;
288
- archonShardUpgradeType: (color: string, upgradeType: string, dataOverride?: Locale) => string;
289
- translateCalendarEvent: (key: string) => string;
290
- translateSeason: (season: string) => string;
291
- };
292
- //#endregion
293
- export { translateCalendarEvent as A, sortieModDesc as C, syndicate as D, steelPath as E, translatePolarity as M, translateSeason as N, toTitleCase as O, upgrade as P, sortieFaction as S, splitResourceName as T, nodeMissionType as _, conclaveCategory as a, region as b, faction as c, languageDesc as d, languageString as f, nodeEnemy as g, node as h, archonShardUpgradeType as i, translateFocus as j, translateArchimedeaType as k, fissureModifier as l, missionType as m, archonShard as n, conclaveChallenge as o, lastResourceName as p, archonShardColor as r, conclaveMode as s, _default as t, fissureTier as u, operation as v, sortieModifier as w, sortieBoss as x, operationSymbol as y };