eve-esi-types 3.1.6 → 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.
Files changed (227) hide show
  1. package/CHANGELOG.md +182 -0
  2. package/jsconfig.json +28 -0
  3. package/lib/rq-util.mjs +1 -1
  4. package/lib/tagged-request-api.mjs +5 -6
  5. package/package.json +14 -8
  6. package/v2/esi-tagged-types.d.ts +9 -5
  7. package/v2/{get_alliances_alliance_id_ok.d.ts → globals/alliance.d.ts} +44 -0
  8. package/v2/globals/assets.d.ts +443 -0
  9. package/v2/globals/calendar.d.ts +130 -0
  10. package/v2/globals/character.d.ts +1084 -0
  11. package/v2/{get_characters_character_id_clones_ok.d.ts → globals/clones.d.ts} +15 -0
  12. package/v2/globals/contacts.d.ts +212 -0
  13. package/v2/globals/contracts.d.ts +546 -0
  14. package/v2/globals/corporation.d.ts +2329 -0
  15. package/v2/globals/dogma.d.ts +262 -0
  16. package/v2/globals/factionwarfare.d.ts +668 -0
  17. package/v2/{get_characters_character_id_fittings_ok.d.ts → globals/fittings.d.ts} +23 -0
  18. package/v2/globals/fleets.d.ts +201 -0
  19. package/v2/{get_incursions_ok.d.ts → globals/incursions.d.ts} +5 -0
  20. package/v2/globals/industry.d.ts +445 -0
  21. package/v2/globals/insurance.d.ts +47 -0
  22. package/v2/{get_killmails_killmail_id_killmail_hash_ok.d.ts → globals/killmails.d.ts} +55 -0
  23. package/v2/globals/location.d.ts +74 -0
  24. package/v2/{get_loyalty_stores_corporation_id_offers_ok.d.ts → globals/loyalty.d.ts} +30 -0
  25. package/v2/globals/mail.d.ts +237 -0
  26. package/v2/globals/market.d.ts +615 -0
  27. package/v2/globals/planetaryinteraction.d.ts +344 -0
  28. package/v2/globals/routes.d.ts +14 -0
  29. package/v2/{get_characters_character_id_search_ok.d.ts → globals/search.d.ts} +5 -0
  30. package/v2/globals/skills.d.ts +144 -0
  31. package/v2/globals/sovereignty.d.ts +168 -0
  32. package/v2/{get_status_ok.d.ts → globals/status.d.ts} +5 -0
  33. package/v2/globals/universe.d.ts +1297 -0
  34. package/v2/globals/wallet.d.ts +601 -0
  35. package/v2/{get_wars_war_id_ok.d.ts → globals/wars.d.ts} +40 -0
  36. package/v2/index.d.ts +38 -163
  37. package/v2/response-map.d.ts +22 -45
  38. package/v2/types-index.d.ts +31 -182
  39. package/v2/types-util.d.ts +335 -0
  40. package/v2/util.d.ts +4 -2
  41. package/web/index.html +1 -1
  42. package/docs/esi-tagged-types.md +0 -120
  43. package/docs/v2/identify-parameters.md +0 -74
  44. package/docs/v2/if-parameterized-path.md +0 -70
  45. package/docs/v2/infer-esi-response-result.md +0 -44
  46. package/docs/v2/require-these.md +0 -57
  47. package/docs/v3/esi-enhanced-function-signature.md +0 -67
  48. package/docs/v3/esi-types-util3.md +0 -319
  49. package/docs/v3/has-require-params.md +0 -50
  50. package/docs/v3/infer-endpoint-origin.md +0 -57
  51. package/docs/v3/infer-path-params.md +0 -41
  52. package/docs/v3/pick-require-params.md +0 -56
  53. package/docs/v3/replace-path-params.md +0 -60
  54. package/docs/v3/resolved-endpoint.md +0 -44
  55. package/tsconfig.json +0 -28
  56. package/v2/get_alliances_alliance_id_contacts_labels_ok.d.ts +0 -24
  57. package/v2/get_alliances_alliance_id_contacts_ok.d.ts +0 -35
  58. package/v2/get_alliances_alliance_id_corporations_ok.d.ts +0 -9
  59. package/v2/get_alliances_alliance_id_icons_ok.d.ts +0 -18
  60. package/v2/get_alliances_ok.d.ts +0 -9
  61. package/v2/get_characters_character_id_agents_research_ok.d.ts +0 -33
  62. package/v2/get_characters_character_id_assets_ok.d.ts +0 -134
  63. package/v2/get_characters_character_id_attributes_ok.d.ts +0 -42
  64. package/v2/get_characters_character_id_blueprints_ok.d.ts +0 -122
  65. package/v2/get_characters_character_id_calendar_event_id_attendees_ok.d.ts +0 -30
  66. package/v2/get_characters_character_id_calendar_event_id_ok.d.ts +0 -56
  67. package/v2/get_characters_character_id_calendar_ok.d.ts +0 -37
  68. package/v2/get_characters_character_id_contacts_labels_ok.d.ts +0 -24
  69. package/v2/get_characters_character_id_contacts_ok.d.ts +0 -43
  70. package/v2/get_characters_character_id_contracts_contract_id_bids_ok.d.ts +0 -32
  71. package/v2/get_characters_character_id_contracts_contract_id_items_ok.d.ts +0 -38
  72. package/v2/get_characters_character_id_contracts_ok.d.ts +0 -117
  73. package/v2/get_characters_character_id_corporationhistory_ok.d.ts +0 -32
  74. package/v2/get_characters_character_id_fatigue_ok.d.ts +0 -22
  75. package/v2/get_characters_character_id_fleet_ok.d.ts +0 -31
  76. package/v2/get_characters_character_id_fw_stats_ok.d.ts +0 -64
  77. package/v2/get_characters_character_id_implants_ok.d.ts +0 -9
  78. package/v2/get_characters_character_id_industry_jobs_ok.d.ts +0 -105
  79. package/v2/get_characters_character_id_killmails_recent_ok.d.ts +0 -24
  80. package/v2/get_characters_character_id_location_ok.d.ts +0 -22
  81. package/v2/get_characters_character_id_loyalty_points_ok.d.ts +0 -24
  82. package/v2/get_characters_character_id_mail_labels_ok.d.ts +0 -62
  83. package/v2/get_characters_character_id_mail_lists_ok.d.ts +0 -24
  84. package/v2/get_characters_character_id_mail_mail_id_ok.d.ts +0 -59
  85. package/v2/get_characters_character_id_mail_ok.d.ts +0 -65
  86. package/v2/get_characters_character_id_medals_ok.d.ts +0 -135
  87. package/v2/get_characters_character_id_mining_ok.d.ts +0 -29
  88. package/v2/get_characters_character_id_notifications_contacts_ok.d.ts +0 -36
  89. package/v2/get_characters_character_id_notifications_ok.d.ts +0 -291
  90. package/v2/get_characters_character_id_ok.d.ts +0 -55
  91. package/v2/get_characters_character_id_online_ok.d.ts +0 -26
  92. package/v2/get_characters_character_id_opportunities_ok.d.ts +0 -24
  93. package/v2/get_characters_character_id_orders_history_ok.d.ts +0 -87
  94. package/v2/get_characters_character_id_orders_ok.d.ts +0 -82
  95. package/v2/get_characters_character_id_planets_ok.d.ts +0 -124
  96. package/v2/get_characters_character_id_planets_planet_id_ok.d.ts +0 -283
  97. package/v2/get_characters_character_id_portrait_ok.d.ts +0 -26
  98. package/v2/get_characters_character_id_roles_ok.d.ts +0 -270
  99. package/v2/get_characters_character_id_ship_ok.d.ts +0 -19
  100. package/v2/get_characters_character_id_skillqueue_ok.d.ts +0 -48
  101. package/v2/get_characters_character_id_skills_ok.d.ts +0 -47
  102. package/v2/get_characters_character_id_standings_ok.d.ts +0 -29
  103. package/v2/get_characters_character_id_titles_ok.d.ts +0 -184
  104. package/v2/get_characters_character_id_wallet_journal_ok.d.ts +0 -228
  105. package/v2/get_characters_character_id_wallet_ok.d.ts +0 -7
  106. package/v2/get_characters_character_id_wallet_transactions_ok.d.ts +0 -53
  107. package/v2/get_contracts_public_bids_contract_id_ok.d.ts +0 -28
  108. package/v2/get_contracts_public_items_contract_id_ok.d.ts +0 -49
  109. package/v2/get_contracts_public_region_id_ok.d.ts +0 -81
  110. package/v2/get_corporation_corporation_id_mining_extractions_ok.d.ts +0 -39
  111. package/v2/get_corporation_corporation_id_mining_observers_observer_id_ok.d.ts +0 -36
  112. package/v2/get_corporation_corporation_id_mining_observers_ok.d.ts +0 -30
  113. package/v2/get_corporations_corporation_id_alliancehistory_ok.d.ts +0 -32
  114. package/v2/get_corporations_corporation_id_assets_ok.d.ts +0 -170
  115. package/v2/get_corporations_corporation_id_blueprints_ok.d.ts +0 -163
  116. package/v2/get_corporations_corporation_id_contacts_labels_ok.d.ts +0 -24
  117. package/v2/get_corporations_corporation_id_contacts_ok.d.ts +0 -39
  118. package/v2/get_corporations_corporation_id_containers_logs_ok.d.ts +0 -188
  119. package/v2/get_corporations_corporation_id_contracts_contract_id_bids_ok.d.ts +0 -33
  120. package/v2/get_corporations_corporation_id_contracts_contract_id_items_ok.d.ts +0 -38
  121. package/v2/get_corporations_corporation_id_contracts_ok.d.ts +0 -117
  122. package/v2/get_corporations_corporation_id_customs_offices_ok.d.ts +0 -78
  123. package/v2/get_corporations_corporation_id_divisions_ok.d.ts +0 -128
  124. package/v2/get_corporations_corporation_id_facilities_ok.d.ts +0 -25
  125. package/v2/get_corporations_corporation_id_fw_stats_ok.d.ts +0 -60
  126. package/v2/get_corporations_corporation_id_icons_ok.d.ts +0 -22
  127. package/v2/get_corporations_corporation_id_industry_jobs_ok.d.ts +0 -105
  128. package/v2/get_corporations_corporation_id_killmails_recent_ok.d.ts +0 -24
  129. package/v2/get_corporations_corporation_id_medals_issued_ok.d.ts +0 -41
  130. package/v2/get_corporations_corporation_id_medals_ok.d.ts +0 -36
  131. package/v2/get_corporations_corporation_id_members_limit_ok.d.ts +0 -7
  132. package/v2/get_corporations_corporation_id_members_ok.d.ts +0 -9
  133. package/v2/get_corporations_corporation_id_members_titles_ok.d.ts +0 -194
  134. package/v2/get_corporations_corporation_id_membertracking_ok.d.ts +0 -41
  135. package/v2/get_corporations_corporation_id_ok.d.ts +0 -66
  136. package/v2/get_corporations_corporation_id_orders_history_ok.d.ts +0 -91
  137. package/v2/get_corporations_corporation_id_orders_ok.d.ts +0 -86
  138. package/v2/get_corporations_corporation_id_roles_history_ok.d.ts +0 -171
  139. package/v2/get_corporations_corporation_id_roles_ok.d.ts +0 -543
  140. package/v2/get_corporations_corporation_id_shareholders_ok.d.ts +0 -29
  141. package/v2/get_corporations_corporation_id_standings_ok.d.ts +0 -29
  142. package/v2/get_corporations_corporation_id_starbases_ok.d.ts +0 -51
  143. package/v2/get_corporations_corporation_id_starbases_starbase_id_ok.d.ts +0 -110
  144. package/v2/get_corporations_corporation_id_structures_ok.d.ts +0 -176
  145. package/v2/get_corporations_corporation_id_titles_ok.d.ts +0 -548
  146. package/v2/get_corporations_corporation_id_wallets_division_journal_ok.d.ts +0 -229
  147. package/v2/get_corporations_corporation_id_wallets_division_transactions_ok.d.ts +0 -50
  148. package/v2/get_corporations_corporation_id_wallets_ok.d.ts +0 -62
  149. package/v2/get_corporations_npccorps_ok.d.ts +0 -9
  150. package/v2/get_dogma_attributes_attribute_id_ok.d.ts +0 -50
  151. package/v2/get_dogma_attributes_ok.d.ts +0 -9
  152. package/v2/get_dogma_dynamic_items_type_id_item_id_ok.d.ts +0 -58
  153. package/v2/get_dogma_effects_effect_id_ok.d.ts +0 -127
  154. package/v2/get_dogma_effects_ok.d.ts +0 -9
  155. package/v2/get_fleets_fleet_id_members_ok.d.ts +0 -54
  156. package/v2/get_fleets_fleet_id_ok.d.ts +0 -26
  157. package/v2/get_fleets_fleet_id_wings_ok.d.ts +0 -45
  158. package/v2/get_fw_leaderboards_characters_ok.d.ts +0 -110
  159. package/v2/get_fw_leaderboards_corporations_ok.d.ts +0 -109
  160. package/v2/get_fw_leaderboards_ok.d.ts +0 -182
  161. package/v2/get_fw_stats_ok.d.ts +0 -66
  162. package/v2/get_fw_systems_ok.d.ts +0 -41
  163. package/v2/get_fw_wars_ok.d.ts +0 -24
  164. package/v2/get_industry_facilities_ok.d.ts +0 -37
  165. package/v2/get_industry_systems_ok.d.ts +0 -119
  166. package/v2/get_insurance_prices_ok.d.ts +0 -62
  167. package/v2/get_markets_groups_market_group_id_ok.d.ts +0 -27
  168. package/v2/get_markets_groups_ok.d.ts +0 -9
  169. package/v2/get_markets_prices_ok.d.ts +0 -25
  170. package/v2/get_markets_region_id_history_ok.d.ts +0 -40
  171. package/v2/get_markets_region_id_orders_ok.d.ts +0 -74
  172. package/v2/get_markets_region_id_types_ok.d.ts +0 -9
  173. package/v2/get_markets_structures_structure_id_ok.d.ts +0 -70
  174. package/v2/get_opportunities_groups_group_id_ok.d.ts +0 -38
  175. package/v2/get_opportunities_groups_ok.d.ts +0 -9
  176. package/v2/get_opportunities_tasks_ok.d.ts +0 -9
  177. package/v2/get_opportunities_tasks_task_id_ok.d.ts +0 -26
  178. package/v2/get_route_origin_destination_ok.d.ts +0 -9
  179. package/v2/get_sovereignty_campaigns_ok.d.ts +0 -83
  180. package/v2/get_sovereignty_map_ok.d.ts +0 -32
  181. package/v2/get_sovereignty_structures_ok.d.ts +0 -46
  182. package/v2/get_universe_ancestries_ok.d.ts +0 -40
  183. package/v2/get_universe_asteroid_belts_asteroid_belt_id_ok.d.ts +0 -37
  184. package/v2/get_universe_bloodlines_ok.d.ts +0 -57
  185. package/v2/get_universe_categories_category_id_ok.d.ts +0 -28
  186. package/v2/get_universe_categories_ok.d.ts +0 -9
  187. package/v2/get_universe_constellations_constellation_id_ok.d.ts +0 -47
  188. package/v2/get_universe_constellations_ok.d.ts +0 -9
  189. package/v2/get_universe_factions_ok.d.ts +0 -56
  190. package/v2/get_universe_graphics_graphic_id_ok.d.ts +0 -42
  191. package/v2/get_universe_graphics_ok.d.ts +0 -9
  192. package/v2/get_universe_groups_group_id_ok.d.ts +0 -27
  193. package/v2/get_universe_groups_ok.d.ts +0 -9
  194. package/v2/get_universe_moons_moon_id_ok.d.ts +0 -41
  195. package/v2/get_universe_planets_planet_id_ok.d.ts +0 -42
  196. package/v2/get_universe_races_ok.d.ts +0 -52
  197. package/v2/get_universe_regions_ok.d.ts +0 -9
  198. package/v2/get_universe_regions_region_id_ok.d.ts +0 -28
  199. package/v2/get_universe_schematics_schematic_id_ok.d.ts +0 -18
  200. package/v2/get_universe_stargates_stargate_id_ok.d.ts +0 -57
  201. package/v2/get_universe_stars_star_id_ok.d.ts +0 -129
  202. package/v2/get_universe_stations_station_id_ok.d.ts +0 -104
  203. package/v2/get_universe_structures_ok.d.ts +0 -9
  204. package/v2/get_universe_structures_structure_id_ok.d.ts +0 -43
  205. package/v2/get_universe_system_jumps_ok.d.ts +0 -24
  206. package/v2/get_universe_system_kills_ok.d.ts +0 -32
  207. package/v2/get_universe_systems_ok.d.ts +0 -9
  208. package/v2/get_universe_systems_system_id_ok.d.ts +0 -94
  209. package/v2/get_universe_types_ok.d.ts +0 -9
  210. package/v2/get_universe_types_type_id_ok.d.ts +0 -105
  211. package/v2/get_wars_ok.d.ts +0 -9
  212. package/v2/get_wars_war_id_killmails_ok.d.ts +0 -24
  213. package/v2/post_characters_affiliation_ok.d.ts +0 -32
  214. package/v2/post_characters_character_id_assets_locations_ok.d.ts +0 -39
  215. package/v2/post_characters_character_id_assets_names_ok.d.ts +0 -24
  216. package/v2/post_characters_character_id_contacts_created.d.ts +0 -9
  217. package/v2/post_characters_character_id_cspa_created.d.ts +0 -7
  218. package/v2/post_characters_character_id_fittings_created.d.ts +0 -14
  219. package/v2/post_characters_character_id_mail_created.d.ts +0 -7
  220. package/v2/post_characters_character_id_mail_labels_created.d.ts +0 -7
  221. package/v2/post_corporations_corporation_id_assets_locations_ok.d.ts +0 -39
  222. package/v2/post_corporations_corporation_id_assets_names_ok.d.ts +0 -24
  223. package/v2/post_fleets_fleet_id_wings_created.d.ts +0 -14
  224. package/v2/post_fleets_fleet_id_wings_wing_id_squads_created.d.ts +0 -14
  225. package/v2/post_universe_ids_ok.d.ts +0 -86
  226. package/v2/post_universe_names_ok.d.ts +0 -38
  227. /package/v2/{extra-types.d.ts → globals/extra-types.d.ts} +0 -0
@@ -9,187 +9,36 @@
9
9
  * THIS DTS IS AUTO GENERATED, DO NOT EDIT
10
10
  *
11
11
  * @file eve-esi-types/v2/types-index.d.ts
12
- * @summary This file is auto-generated and defines version 3.1.6 of the EVE Online ESI response types.
12
+ * @summary This file is auto-generated and defines version 3.2.0 of the EVE Online ESI response types.
13
13
  */
14
- import "./get_wars_ok.d.ts";
15
- import "./get_status_ok.d.ts";
16
- import "./get_fw_wars_ok.d.ts";
17
- import "./get_fw_stats_ok.d.ts";
18
- import "./get_alliances_ok.d.ts";
19
- import "./get_fw_systems_ok.d.ts";
20
- import "./get_incursions_ok.d.ts";
21
- import "./get_wars_war_id_ok.d.ts";
22
- import "./get_dogma_effects_ok.d.ts";
23
- import "./post_universe_ids_ok.d.ts";
24
- import "./get_markets_groups_ok.d.ts";
25
- import "./get_markets_prices_ok.d.ts";
26
- import "./get_universe_races_ok.d.ts";
27
- import "./get_universe_types_ok.d.ts";
28
- import "./get_fleets_fleet_id_ok.d.ts";
29
- import "./get_fw_leaderboards_ok.d.ts";
30
- import "./get_sovereignty_map_ok.d.ts";
31
- import "./get_universe_groups_ok.d.ts";
32
- import "./post_universe_names_ok.d.ts";
33
- import "./get_dogma_attributes_ok.d.ts";
34
- import "./get_industry_systems_ok.d.ts";
35
- import "./get_insurance_prices_ok.d.ts";
36
- import "./get_universe_regions_ok.d.ts";
37
- import "./get_universe_systems_ok.d.ts";
38
- import "./get_universe_factions_ok.d.ts";
39
- import "./get_universe_graphics_ok.d.ts";
40
- import "./get_industry_facilities_ok.d.ts";
41
- import "./get_opportunities_tasks_ok.d.ts";
42
- import "./get_universe_ancestries_ok.d.ts";
43
- import "./get_universe_bloodlines_ok.d.ts";
44
- import "./get_universe_categories_ok.d.ts";
45
- import "./get_universe_structures_ok.d.ts";
46
- import "./get_opportunities_groups_ok.d.ts";
47
- import "./get_alliances_alliance_id_ok.d.ts";
48
- import "./get_corporations_npccorps_ok.d.ts";
49
- import "./get_fleets_fleet_id_wings_ok.d.ts";
50
- import "./get_sovereignty_campaigns_ok.d.ts";
51
- import "./get_universe_system_jumps_ok.d.ts";
52
- import "./get_universe_system_kills_ok.d.ts";
53
- import "./get_wars_war_id_killmails_ok.d.ts";
54
- import "./get_sovereignty_structures_ok.d.ts";
55
- import "./get_universe_moons_moon_id_ok.d.ts";
56
- import "./get_universe_stars_star_id_ok.d.ts";
57
- import "./get_universe_types_type_id_ok.d.ts";
58
- import "./post_characters_affiliation_ok.d.ts";
59
- import "./get_characters_character_id_ok.d.ts";
60
- import "./get_dogma_effects_effect_id_ok.d.ts";
61
- import "./get_fleets_fleet_id_members_ok.d.ts";
62
- import "./get_markets_region_id_types_ok.d.ts";
63
- import "./get_universe_constellations_ok.d.ts";
64
- import "./get_markets_region_id_orders_ok.d.ts";
65
- import "./get_route_origin_destination_ok.d.ts";
66
- import "./get_universe_groups_group_id_ok.d.ts";
67
- import "./get_markets_region_id_history_ok.d.ts";
68
- import "./get_contracts_public_region_id_ok.d.ts";
69
- import "./get_fw_leaderboards_characters_ok.d.ts";
70
- import "./get_universe_planets_planet_id_ok.d.ts";
71
- import "./get_universe_regions_region_id_ok.d.ts";
72
- import "./get_universe_systems_system_id_ok.d.ts";
73
- import "./get_alliances_alliance_id_icons_ok.d.ts";
74
- import "./get_corporations_corporation_id_ok.d.ts";
75
- import "./post_fleets_fleet_id_wings_created.d.ts";
76
- import "./get_opportunities_tasks_task_id_ok.d.ts";
77
- import "./get_characters_character_id_mail_ok.d.ts";
78
- import "./get_characters_character_id_ship_ok.d.ts";
79
- import "./get_fw_leaderboards_corporations_ok.d.ts";
80
- import "./get_universe_graphics_graphic_id_ok.d.ts";
81
- import "./get_universe_stations_station_id_ok.d.ts";
82
- import "./get_characters_character_id_fleet_ok.d.ts";
83
- import "./get_characters_character_id_roles_ok.d.ts";
84
- import "./get_dogma_attributes_attribute_id_ok.d.ts";
85
- import "./get_opportunities_groups_group_id_ok.d.ts";
86
- import "./get_alliances_alliance_id_contacts_ok.d.ts";
87
- import "./get_characters_character_id_assets_ok.d.ts";
88
- import "./get_characters_character_id_clones_ok.d.ts";
89
- import "./get_characters_character_id_medals_ok.d.ts";
90
- import "./get_characters_character_id_mining_ok.d.ts";
91
- import "./get_characters_character_id_online_ok.d.ts";
92
- import "./get_characters_character_id_orders_ok.d.ts";
93
- import "./get_characters_character_id_search_ok.d.ts";
94
- import "./get_characters_character_id_skills_ok.d.ts";
95
- import "./get_characters_character_id_titles_ok.d.ts";
96
- import "./get_characters_character_id_wallet_ok.d.ts";
97
- import "./get_markets_groups_market_group_id_ok.d.ts";
98
- import "./get_universe_stargates_stargate_id_ok.d.ts";
99
- import "./get_characters_character_id_fatigue_ok.d.ts";
100
- import "./get_characters_character_id_planets_ok.d.ts";
101
- import "./get_markets_structures_structure_id_ok.d.ts";
102
- import "./get_universe_categories_category_id_ok.d.ts";
103
- import "./get_characters_character_id_calendar_ok.d.ts";
104
- import "./get_characters_character_id_contacts_ok.d.ts";
105
- import "./get_characters_character_id_fittings_ok.d.ts";
106
- import "./get_characters_character_id_fw_stats_ok.d.ts";
107
- import "./get_characters_character_id_implants_ok.d.ts";
108
- import "./get_characters_character_id_location_ok.d.ts";
109
- import "./get_characters_character_id_portrait_ok.d.ts";
110
- import "./get_universe_schematics_schematic_id_ok.d.ts";
111
- import "./get_universe_structures_structure_id_ok.d.ts";
112
- import "./get_characters_character_id_contracts_ok.d.ts";
113
- import "./get_characters_character_id_standings_ok.d.ts";
114
- import "./get_contracts_public_bids_contract_id_ok.d.ts";
115
- import "./get_corporations_corporation_id_icons_ok.d.ts";
116
- import "./get_corporations_corporation_id_roles_ok.d.ts";
117
- import "./get_alliances_alliance_id_corporations_ok.d.ts";
118
- import "./get_characters_character_id_attributes_ok.d.ts";
119
- import "./get_characters_character_id_blueprints_ok.d.ts";
120
- import "./post_characters_character_id_cspa_created.d.ts";
121
- import "./post_characters_character_id_mail_created.d.ts";
122
- import "./get_characters_character_id_mail_lists_ok.d.ts";
123
- import "./get_characters_character_id_skillqueue_ok.d.ts";
124
- import "./get_contracts_public_items_contract_id_ok.d.ts";
125
- import "./get_corporations_corporation_id_assets_ok.d.ts";
126
- import "./get_corporations_corporation_id_medals_ok.d.ts";
127
- import "./get_corporations_corporation_id_orders_ok.d.ts";
128
- import "./get_corporations_corporation_id_titles_ok.d.ts";
129
- import "./get_characters_character_id_mail_labels_ok.d.ts";
130
- import "./get_corporations_corporation_id_members_ok.d.ts";
131
- import "./get_corporations_corporation_id_wallets_ok.d.ts";
132
- import "./get_dogma_dynamic_items_type_id_item_id_ok.d.ts";
133
- import "./get_killmails_killmail_id_killmail_hash_ok.d.ts";
134
- import "./get_characters_character_id_mail_mail_id_ok.d.ts";
135
- import "./get_corporations_corporation_id_contacts_ok.d.ts";
136
- import "./get_corporations_corporation_id_fw_stats_ok.d.ts";
137
- import "./get_loyalty_stores_corporation_id_offers_ok.d.ts";
138
- import "./get_alliances_alliance_id_contacts_labels_ok.d.ts";
139
- import "./post_characters_character_id_assets_names_ok.d.ts";
140
- import "./get_characters_character_id_industry_jobs_ok.d.ts";
141
- import "./get_characters_character_id_notifications_ok.d.ts";
142
- import "./get_characters_character_id_opportunities_ok.d.ts";
143
- import "./get_corporations_corporation_id_contracts_ok.d.ts";
144
- import "./get_corporations_corporation_id_divisions_ok.d.ts";
145
- import "./get_corporations_corporation_id_standings_ok.d.ts";
146
- import "./get_corporations_corporation_id_starbases_ok.d.ts";
147
- import "./post_characters_character_id_contacts_created.d.ts";
148
- import "./post_characters_character_id_fittings_created.d.ts";
149
- import "./get_characters_character_id_loyalty_points_ok.d.ts";
150
- import "./get_characters_character_id_orders_history_ok.d.ts";
151
- import "./get_characters_character_id_wallet_journal_ok.d.ts";
152
- import "./get_corporations_corporation_id_blueprints_ok.d.ts";
153
- import "./get_corporations_corporation_id_facilities_ok.d.ts";
154
- import "./get_corporations_corporation_id_structures_ok.d.ts";
155
- import "./get_characters_character_id_agents_research_ok.d.ts";
156
- import "./get_characters_character_id_contacts_labels_ok.d.ts";
157
- import "./get_characters_character_id_killmails_recent_ok.d.ts";
158
- import "./get_corporations_corporation_id_shareholders_ok.d.ts";
159
- import "./get_universe_asteroid_belts_asteroid_belt_id_ok.d.ts";
160
- import "./get_universe_constellations_constellation_id_ok.d.ts";
161
- import "./post_characters_character_id_assets_locations_ok.d.ts";
162
- import "./get_characters_character_id_calendar_event_id_ok.d.ts";
163
- import "./post_characters_character_id_mail_labels_created.d.ts";
164
- import "./get_characters_character_id_planets_planet_id_ok.d.ts";
165
- import "./post_corporations_corporation_id_assets_names_ok.d.ts";
166
- import "./get_corporations_corporation_id_industry_jobs_ok.d.ts";
167
- import "./get_corporations_corporation_id_medals_issued_ok.d.ts";
168
- import "./get_corporations_corporation_id_members_limit_ok.d.ts";
169
- import "./get_corporations_corporation_id_roles_history_ok.d.ts";
170
- import "./get_characters_character_id_corporationhistory_ok.d.ts";
171
- import "./get_corporations_corporation_id_members_titles_ok.d.ts";
172
- import "./get_corporations_corporation_id_membertracking_ok.d.ts";
173
- import "./get_corporations_corporation_id_orders_history_ok.d.ts";
174
- import "./post_fleets_fleet_id_wings_wing_id_squads_created.d.ts";
175
- import "./get_characters_character_id_wallet_transactions_ok.d.ts";
176
- import "./get_corporation_corporation_id_mining_observers_ok.d.ts";
177
- import "./get_corporations_corporation_id_alliancehistory_ok.d.ts";
178
- import "./get_corporations_corporation_id_contacts_labels_ok.d.ts";
179
- import "./get_corporations_corporation_id_containers_logs_ok.d.ts";
180
- import "./get_corporations_corporation_id_customs_offices_ok.d.ts";
181
- import "./get_corporations_corporation_id_killmails_recent_ok.d.ts";
182
- import "./get_corporation_corporation_id_mining_extractions_ok.d.ts";
183
- import "./post_corporations_corporation_id_assets_locations_ok.d.ts";
184
- import "./get_characters_character_id_notifications_contacts_ok.d.ts";
185
- import "./get_corporations_corporation_id_starbases_starbase_id_ok.d.ts";
186
- import "./get_characters_character_id_contracts_contract_id_bids_ok.d.ts";
187
- import "./get_characters_character_id_calendar_event_id_attendees_ok.d.ts";
188
- import "./get_characters_character_id_contracts_contract_id_items_ok.d.ts";
189
- import "./get_corporations_corporation_id_wallets_division_journal_ok.d.ts";
190
- import "./get_corporations_corporation_id_contracts_contract_id_bids_ok.d.ts";
191
- import "./get_corporation_corporation_id_mining_observers_observer_id_ok.d.ts";
192
- import "./get_corporations_corporation_id_contracts_contract_id_items_ok.d.ts";
193
- import "./get_corporations_corporation_id_wallets_division_transactions_ok.d.ts";
194
- import "./extra-types.d.ts";
14
+ import "./globals/alliance.d.ts";
15
+ import "./globals/assets.d.ts";
16
+ import "./globals/calendar.d.ts";
17
+ import "./globals/character.d.ts";
18
+ import "./globals/clones.d.ts";
19
+ import "./globals/contacts.d.ts";
20
+ import "./globals/contracts.d.ts";
21
+ import "./globals/corporation.d.ts";
22
+ import "./globals/dogma.d.ts";
23
+ import "./globals/factionwarfare.d.ts";
24
+ import "./globals/fittings.d.ts";
25
+ import "./globals/fleets.d.ts";
26
+ import "./globals/incursions.d.ts";
27
+ import "./globals/industry.d.ts";
28
+ import "./globals/insurance.d.ts";
29
+ import "./globals/killmails.d.ts";
30
+ import "./globals/location.d.ts";
31
+ import "./globals/loyalty.d.ts";
32
+ import "./globals/mail.d.ts";
33
+ import "./globals/market.d.ts";
34
+ import "./globals/planetaryinteraction.d.ts";
35
+ import "./globals/routes.d.ts";
36
+ import "./globals/search.d.ts";
37
+ import "./globals/skills.d.ts";
38
+ import "./globals/sovereignty.d.ts";
39
+ import "./globals/status.d.ts";
40
+ import "./globals/universe.d.ts";
41
+ import "./globals/wallet.d.ts";
42
+ import "./globals/wars.d.ts";
43
+ import "./globals/extra-types.d.ts";
195
44
 
@@ -0,0 +1,335 @@
1
+ /*!
2
+ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3
+ // Copyright (C) 2025 jeffy-g <hirotom1107@gmail.com>
4
+ // Released under the MIT license
5
+ // https://opensource.org/licenses/mit-license.php
6
+ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
7
+ */
8
+ /**
9
+ * THIS DTS IS AUTO GENERATED, DO NOT EDIT
10
+ *
11
+ * @file eve-esi-types/v2/types-util.d.ts
12
+ * @summary This file is auto-generated and defines version 3.2.0 of the EVE Online ESI response types.
13
+ */
14
+ import type { TESIResponseOKMap } from "./response-map.d.ts";
15
+ import "./index.d.ts"
16
+
17
+ // export type TMappingToNumber = { [key in string | number | symbol]: number };
18
+ /**
19
+ * @experimental
20
+ *
21
+ * InferNextEndpoint is an experimental utility type designed to verify and infer the "next" applicable
22
+ * ESI endpoint based on an initial endpoint's result type. In essence, it inspects the URL pattern and
23
+ * the inferred response type (Resut) associated with a given endpoint (EP) and then determines whether that
24
+ * endpoint can be further chained to another ESI endpoint.
25
+ *
26
+ * **The type parameters are as follows**:
27
+ *
28
+ * @param M - The HTTP method type (e.g. "get", "post", etc.), which must extend TESIEntryMethod.
29
+ * @param EP - The current ESI endpoint under inspection; it extends ESIEndpointOf<M>.
30
+ * @param Resut - Defaults to InferESIResponseResult<M, EP>; it is the inferred response result of the endpoint.
31
+ * This type is tested against acceptable response formats (either a number array or an object
32
+ * mapping keys to numbers).
33
+ * @param Endpoints - Defaults to ESIEndpointOf<M>; represents the union of all endpoints for method M to be
34
+ * considered as potential next endpoints.
35
+ *
36
+ * The type works by iterating over each endpoint (EPOrigin) in the union Endpoints. For each EPOrigin:
37
+ * - It checks whether the original endpoint EP is assignable to Endpoints.
38
+ * - It then tests if EPOrigin extends the template literal type `${EP}{${string}}/${string}`—that is, if EPOrigin
39
+ * is a URL based on EP that includes a parameterized section (denoted by `{...}`) followed by some additional
40
+ * path segments.
41
+ * - Next, it ensures that the inferred response result type (Resut) conforms to one of the acceptable formats:
42
+ * either a number array or an object whose values are numbers. The object form uses `{ [x: infer T]: number }`
43
+ * for type inference (this version works as intended).
44
+ * - If all conditions are met, EPOrigin is retained in the union; otherwise, it is replaced with never.
45
+ *
46
+ * Finally, the mapped type is indexed over Endpoints to yield a union of all endpoint URLs that satisfy the above
47
+ * conditions. This allows chaining or conditional logic in ESI client implementations based on response shape.
48
+ *
49
+ * @example
50
+ * // Given:
51
+ * // - M = "get"
52
+ * // - EP = "/characters/{character_id}/"
53
+ * // - And InferESIResponseResult<"get", "/characters/{character_id}/"> is inferred as number[] or a
54
+ * // valid mapping (e.g., { [x: string]: number })
55
+ * // Then, InferNextEndpoint<"get", "/characters/{character_id}/"> computes to the union of endpoints like:
56
+ * // "/characters/{character_id}/assets" // if it matches the template and response type constraint.
57
+ *
58
+ * @remarks
59
+ * This type is highly experimental and leverages advanced TypeScript features—including conditional types,
60
+ * template literal types, and type inference—to perform non-trivial endpoint validation.
61
+ */
62
+ //* ctt ignore path parameter
63
+ export type InferNextEndpoint<
64
+ M extends TESIEntryMethod,
65
+ EP extends Exclude<ESIEndpointOf<M>, symbol> = Exclude<ESIEndpointOf<M>, symbol>,
66
+ BaseResut extends InferESIResponseResult<M, EP> = InferESIResponseResult<M, EP>,
67
+ Endpoints extends ESIEndpointOf<M> = ESIEndpointOf<M>,
68
+ > = {
69
+ [NextEP in Endpoints]: NextEP extends `${EP}${string}{${string}}/${string}`
70
+ // ? BaseResut extends number[] | TMappingToNumber // does not works...("skipLibCheck=false")
71
+ // DEVNOTE: As it turns out, the behavior of this utility type is broken unless you use the "skipLibCheck=true".
72
+ ? BaseResut extends number[] | { [x: infer T]: number }
73
+ //* ctt
74
+ ? NextEP : never
75
+ /*/
76
+ ? __ShiftType extends 0
77
+ ? [EP, NextEP, BaseResut] : NextEP
78
+ : never
79
+ //*/
80
+ : never;
81
+ }[Endpoints];
82
+
83
+ /**
84
+ * `InferNextEndpoint2` is a utility type that infers the next endpoint based on the current endpoint and method.
85
+ *
86
+ * DONE: 2025/4/11 15:45:01
87
+ * ``` jsonc
88
+ * // From the EP, infer the next parameterized endpoint to request.
89
+ * // If the result of the EP is `number[] | { [x: infer T]: number }`, infer the next parameterized endpoint to request.
90
+ * ```
91
+ *
92
+ * @template M - The HTTP method to use for the request.
93
+ * @template EP - The endpoint from which the next parameterized endpoint to request is inferred.
94
+ * @template BaseResut - The base response result type.
95
+ * @template Endpoints - The possible endpoints for the given method.
96
+ *
97
+ * @example
98
+ * ```ts
99
+ * type NextEndpoint = InferNextEndpoint2<"post", "/fleets/{fleet_id}/wings/">;
100
+ * // Result: "/fleets/{fleet_id}/wings/{wing_id}/squads/"
101
+ * ```
102
+ * @remarks
103
+ * This type is useful for chaining requests or determining the next endpoint to call based on the current endpoint.
104
+ */
105
+ export type InferNextEndpoint2<
106
+ M extends TESIEntryMethod,
107
+ EP extends ESIEndpointOf<M> = ESIEndpointOf<M>,
108
+ BaseResut extends InferESIResponseResultEX<`${M}:${EP}`> = InferESIResponseResultEX<`${M}:${EP}`>,
109
+ Endpoints extends ESIEndpointOf<M> = ESIEndpointOf<M>,
110
+ > = {
111
+ [NextEP in Endpoints]: NextEP extends `${EP}{${string}}/${string}`
112
+ // ? BaseResut extends number[] | TMappingToNumber // does not works...("skipLibCheck=false")
113
+ // DEVNOTE: As it turns out, the behavior of this utility type is broken unless you use the "skipLibCheck=true".
114
+ ? BaseResut extends number[] | { [x: infer T]: number }
115
+ ? NextEP : never
116
+ : never;
117
+ }[Endpoints];
118
+
119
+ /**
120
+ * `InferNextEndpointLoos` is a utility type that infers the next endpoint based on the current endpoint and method.
121
+ *
122
+ * DONE: 2025/4/11 15:45:01
123
+ * ``` jsonc
124
+ * // Infer the next parameterized endpoint to request from the EP
125
+ * // Does not validate the EP result, just infers the next endpoint to request
126
+ * ```
127
+ *
128
+ * @template M - The HTTP method to use for the request.
129
+ * @template EP - The endpoint from which the next parameterized endpoint to request is inferred.
130
+ * @template Endpoints - The possible endpoints for the given method.
131
+ *
132
+ * @example
133
+ * ```ts
134
+ * type NextEndpoint = InferNextEndpointLoos<"get", "/markets/groups/">;
135
+ * // Result: "/markets/groups/{market_group_id}/"
136
+ * ```
137
+ * @remarks
138
+ * This type is useful for chaining requests or determining the next endpoint to call based on the current endpoint.
139
+ * It does not validate the response type of the endpoint, only the URL pattern.
140
+ */
141
+ export type InferNextEndpointLoos<
142
+ M extends TESIEntryMethod,
143
+ //* ctt
144
+ // DEVNOTE: As it turns out, the behavior of this utility type is broken unless you use the "skipLibCheck=true".
145
+ EP extends ESIEndpointOf<M> = ESIEndpointOf<M>,
146
+ Endpoints extends ESIEndpointOf<M> = ESIEndpointOf<M>,
147
+ /*/
148
+ // This fix is required for skipLibCheck=false
149
+ EP extends Exclude<ESIEndpointOf<M>, symbol> = Exclude<ESIEndpointOf<M>, symbol>,
150
+ Endpoints extends Exclude<ESIEndpointOf<M>, symbol> = Exclude<ESIEndpointOf<M>, symbol>,
151
+ //*/
152
+ > = {
153
+ [NextEP in Endpoints]: NextEP extends `${EP}{${string}}${string}` ? NextEP : never
154
+ }[Endpoints];
155
+
156
+ /**
157
+ * @see For the meaning of this type of comment trick, see {@link InferNextEndpointLoos} line comment.
158
+ */
159
+ type ESIEndpointUnions = {
160
+ [M in TESIEntryMethod]: `${M}:${
161
+ //* ctt
162
+ ESIEndpointOf<M>
163
+ /*/
164
+ Exclude<ESIEndpointOf<M>, symbol>
165
+ //*/
166
+ }`;
167
+ }[TESIEntryMethod];
168
+ export type InferESIResponseResultEX<
169
+ EP extends unknown
170
+ // EP extends ESIEndpointUnions
171
+ > = EP extends `${infer M}:${infer EPRest}`
172
+ ? M extends TESIEntryMethod
173
+ ? EPRest extends ESIEndpointOf<M>
174
+ ? _ESIResponseType<M, EPRest> extends { result: infer U }
175
+ ? U : never
176
+ : never
177
+ : never
178
+ : never;
179
+
180
+ /**
181
+ * Represents a function that can make ESI requests with various HTTP methods.
182
+ *
183
+ * @template ActualOpt - The actual type of the options.
184
+ *
185
+ * @example
186
+ * ```ts
187
+ * // @ ts-expect-error
188
+ * export const request: IESIRequestFunction2<ESIRequestOptions> = (method, endpoint, opt) => {
189
+ * // Implementation for "get" | "post" | "put" | "delete" request
190
+ * };
191
+ * // You can easily implement "get" | "post" | "put" | "delete" requests
192
+ * // with code like the following:
193
+ * (["get", "post", "put", "delete"] as (keyof typeof request)[]).forEach((method) => {
194
+ * request[method] = function (this: typeof request, endpoint, opt) {
195
+ * return this(method, endpoint, opt);
196
+ * } as TESIRequestFunctionEachMethod2<typeof method>;
197
+ * });
198
+ * ```
199
+ */
200
+ export interface IESIRequestFunction2<ActualOpt extends Record<string, unknown>>
201
+ extends TESIRequestFunctionSignature2<ActualOpt>, TESIRequestFunctionMethods2<ActualOpt> {
202
+ }
203
+
204
+ /**
205
+ * Represents the methods available for making ESI requests.
206
+ *
207
+ * + This interface is used when you already have implementation code such as
208
+ * TESIRequestFunctionSignature2 and you want to implement additional shorthand methods.
209
+ *
210
+ * @template ActualOpt - The actual type of the options.
211
+ *
212
+ * @example
213
+ * ```ts
214
+ * export const request: TESIRequestFunctionSignature2<ESIRequestOptions> = (method, endpoint, opt) => {
215
+ * // Implementation for "get" | "post" | "put" | "delete" request
216
+ * };
217
+ * // You can easily implement "get" | "post" | "put" | "delete" requests
218
+ * // with code like the following:
219
+ * const esiMethods = {} as TESIRequestFunctionMethods2<ESIRequestOptions>;
220
+ * (["get", "post", "put", "delete"] as (keyof TESIRequestFunctionMethods2)[]).forEach((method) => {
221
+ * esiMethods[method] = function (endpoint, opt) {
222
+ * return request(method, endpoint, opt);
223
+ * } as TESIRequestFunctionEachMethod2<typeof method>;
224
+ * });
225
+ * ```
226
+ */
227
+ export type TESIRequestFunctionMethods2<ActualOpt extends Record<string, unknown>> = {
228
+ [method in TESIEntryMethod]: TESIRequestFunctionEachMethod2<method, ActualOpt>;
229
+ }
230
+
231
+ /**
232
+ * List of "x-cached-seconds"
233
+ *
234
+ * ```ts
235
+ * // const cacheSecGet: 3600 | 300 | 604800 | 120 | 5 | 600 | 86400 | 60 | 30 | 1200 | 1800 | 30758400
236
+ * const cacheSecGet: TESICachedSeconds<"get">;
237
+ * // const cache5sec: 5
238
+ * const cache5s: TESICachedSeconds<"put">;
239
+ * // const cache3600s: 3600
240
+ * const cache3600s: TESICachedSeconds<"post">;
241
+ * // "/characters/affiliation/"
242
+ * const cache3600sEndpoint: TESICachedSeconds<"post", 1>;
243
+ * ```
244
+ */
245
+ export declare type TESICachedSeconds<
246
+ Method extends TESIEntryMethod, AsEndpoint = 0
247
+ > = {
248
+ [M in TESIEntryMethod]: {
249
+ [EP in ESIEndpointOf<M>]: TESIResponseOKMap[M][EP] extends { cachedSeconds: number }
250
+ ? AsEndpoint extends 0
251
+ ? TESIResponseOKMap[M][EP]["cachedSeconds"]: EP
252
+ : never
253
+ }[ESIEndpointOf<M>];
254
+ }[Method];
255
+
256
+ /**
257
+ * Indicates that no path parameters are allowed.
258
+ *
259
+ * This type serves as a compile-time signal for endpoints that do not support dynamic URL segments.
260
+ * By using this type, it is clear that no path parameters should be provided.
261
+ */
262
+ export declare type TPathParamsNever = { /* pathParams?: never */ };
263
+
264
+ // local types
265
+ /**
266
+ * Infers the response type of an ESI request based on the HTTP method and endpoint.
267
+ *
268
+ * This type extracts the response type from the `TESIResponseOKMap` based on the provided
269
+ * HTTP method and endpoint.
270
+ *
271
+ * @template M - The HTTP method to use for the request.
272
+ * @template EPx - The endpoint path.
273
+ *
274
+ * @example
275
+ * ```ts
276
+ * type ResponseType = _ESIResponseType<"get", "/characters/{character_id}/">;
277
+ * // Result: The inferred response type for the given method and endpoint.
278
+ * ```
279
+ * @internal
280
+ * @see {@link ESIEndpointOf}
281
+ */
282
+ export type _ESIResponseType<
283
+ M extends TESIEntryMethod,
284
+ EPx extends ESIEndpointOf<M> | string,
285
+ > = TESIResponseOKMap[M][Extract<EPx, ESIEndpointOf<M>>];
286
+ // type XOK = _ESIResponseType<"get", "/status/"> extends global._ESIResponseType<"get", "/status/"> ? 1 : 0;
287
+ /**
288
+ * Determines if the endpoint requires path parameters.
289
+ *
290
+ * @template EP - The string representing the endpoint path.
291
+ * @returns {TPathParamsNever | { pathParams: IfParameterizedPath<EP> }}
292
+ * Returns an object with `pathParams` if the endpoint requires parameters, otherwise returns `TPathParamsNever`.
293
+ * @example
294
+ * ```ts
295
+ * type Example = IfNeedPathParams<"/characters/{character_id}/fittings/{fitting_id}/">;
296
+ * // Result: { pathParams: [number, number] }
297
+ * ```
298
+ * @internal
299
+ * @see {@link IfParameterizedPath}
300
+ * @see {@link ReplacePathParams}
301
+ */
302
+ export type _IfNeedPathParams<
303
+ EP extends unknown,
304
+ // will be `never` when cached
305
+ // Parameterized extends IfParameterizedPath<EP> = IfParameterizedPath<EP>
306
+ > = IfParameterizedPath<EP> extends never
307
+ ? TPathParamsNever :
308
+ EP extends ReplacePathParams<EP>
309
+ ? TPathParamsNever : { pathParams: IfParameterizedPath<EP> };
310
+
311
+ /**
312
+ * Infer the result type of an ESI response based on the method and endpoint.
313
+ *
314
+ * @template M - The HTTP method (e.g., "get", "post").
315
+ * @template EP - The endpoint path.
316
+ * @deprecated 2025/3/17
317
+ */
318
+ export type __InferESIResponseResult<
319
+ M extends TESIEntryMethod,
320
+ EP extends ESIEndpointOf<M>
321
+ > = TESIResponseOKMap[M][EP] extends { result: infer U } ? U : never;
322
+ /**
323
+ * Identifies the required parameters for a given entry type.
324
+ *
325
+ * @template Entry - The entry type to identify parameters for.
326
+ * @template Opt - The type of the parameters.
327
+ * @type {Opt & Pick<Entry, Exclude<keyof Entry, "result">>}
328
+ * @deprecated 2025/3/17
329
+ */
330
+ export type __IdentifyParameters<
331
+ Entry, Opt,
332
+ Keys = Exclude<keyof Entry, "result" | "tag" | "cachedSeconds">
333
+ // @ts-expect-error
334
+ > = RequireThese<Opt, Keys> & Pick<Entry, Keys>;
335
+
package/v2/util.d.ts CHANGED
@@ -27,7 +27,7 @@ export type PickPathParameters<Path extends string> =
27
27
  * @template U The union type to convert.
28
28
  * @returns {I} The intersection type.
29
29
  */
30
- type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
30
+ export type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
31
31
 
32
32
  /**
33
33
  * Convert a union type to a tuple.
@@ -35,13 +35,15 @@ type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (
35
35
  * @template T The union type to convert.
36
36
  * @returns {Array} The tuple representation of the union type.
37
37
  */
38
- type UnionToTuple<T> = UnionToIntersection<
38
+ export type UnionToTuple<T> = UnionToIntersection<
39
39
  T extends any ? () => T : never
40
40
  > extends () => infer R ? [...UnionToTuple<Exclude<T, R>>, R] : [];
41
41
 
42
42
  /**
43
43
  * #### Build an array of elements from a flattened tuple of type "1" | "2" | "3" ...
44
44
  *
45
+ * NOTE: This utility cannot calculate lengths greater than 48 (?).
46
+ *
45
47
  * + Returns the final length of the array.
46
48
  *
47
49
  * @template T The union type to be converted to a tuple and measured.
package/web/index.html CHANGED
@@ -44,7 +44,7 @@
44
44
  if (key === "Enter") {
45
45
  const cmd = inputBuffer;
46
46
  inputBuffer = "";
47
- eval(`(${cmd})`);
47
+ eval(`${cmd}`);
48
48
  } else if (key.length === 1) {
49
49
  inputBuffer += key;
50
50
  }