eve-esi-types 3.2.2 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/v2/esi-tagged-types.d.ts +1 -1
- package/v2/experimental-esi-types.d.ts +27 -5
- package/v2/globals/corporation.d.ts +2 -114
- package/v2/index.d.ts +1 -1
- package/v2/response-map.d.ts +1 -1
- package/v2/types-index.d.ts +1 -2
- package/v2/types-util.d.ts +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [3.2.3] - 2025-04-22
|
|
6
|
+
|
|
7
|
+
### 🐛 Bug Fixes
|
|
8
|
+
|
|
9
|
+
- Remove duplicate union type reference
|
|
10
|
+
|
|
11
|
+
### ⚙️ Miscellaneous Tasks
|
|
12
|
+
|
|
13
|
+
- Update CHANGELOG.md
|
|
14
|
+
- Lint
|
|
15
|
+
- Bump version to v3.2.3
|
|
16
|
+
|
|
5
17
|
## [3.2.2] - 2025-04-21
|
|
6
18
|
|
|
7
19
|
### 🚜 Refactor
|
package/package.json
CHANGED
package/v2/esi-tagged-types.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* THIS DTS IS AUTO GENERATED, DO NOT EDIT
|
|
10
10
|
*
|
|
11
11
|
* @file eve-esi-types/v2/esi-tagged-types.d.ts
|
|
12
|
-
* @summary This file is auto-generated and defines version 3.2.
|
|
12
|
+
* @summary This file is auto-generated and defines version 3.2.3 of the EVE Online ESI response types.
|
|
13
13
|
*/
|
|
14
14
|
import type { TESIResponseOKMap } from "./index.d.ts";
|
|
15
15
|
export type * from "./index.d.ts";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* THIS DTS IS AUTO GENERATED, DO NOT EDIT
|
|
10
10
|
*
|
|
11
11
|
* @file eve-esi-types/v2/experimental-esi-types.d.ts
|
|
12
|
-
* @summary This file is auto-generated and defines version 3.2.
|
|
12
|
+
* @summary This file is auto-generated and defines version 3.2.3 of the EVE Online ESI response types.
|
|
13
13
|
*/
|
|
14
14
|
import type { _ESIResponseType, PickPathParameters, UnionToTuple, Split } from "./index.d.ts";
|
|
15
15
|
|
|
@@ -249,7 +249,7 @@ export type ESIEndpointUnions = {
|
|
|
249
249
|
* Filters ESI endpoints based on the response type.
|
|
250
250
|
*
|
|
251
251
|
* This utility type iterates over all ESI endpoint unions (`ESIEndpointUnions`) and checks
|
|
252
|
-
* if the inferred response type (`
|
|
252
|
+
* if the inferred response type (`InferESIResponseResultFromUnion<EPU>`) matches the specified type `T`.
|
|
253
253
|
* If it matches, the endpoint is included; otherwise, it is excluded.
|
|
254
254
|
*
|
|
255
255
|
* @template T - The response type to filter endpoints by.
|
|
@@ -280,8 +280,30 @@ export type FilterEndpointUnionsByResponse<T> = {
|
|
|
280
280
|
* ```
|
|
281
281
|
*/
|
|
282
282
|
export type ExtractValidNextEndpoints<
|
|
283
|
-
T = number[], EPUs = FilterEndpointUnionsByResponse<T
|
|
283
|
+
T = number[], EPUs = FilterEndpointUnionsByResponse<T>,
|
|
284
|
+
Debug = 0
|
|
284
285
|
> = {
|
|
285
|
-
[EPU in EPUs]: ResolveNextEndpointFromUnion<EPU>;
|
|
286
|
-
|
|
286
|
+
// [EPU in EPUs]: ResolveNextEndpointFromUnion<EPU>;
|
|
287
|
+
[EPU in EPUs]: Debug extends 1
|
|
288
|
+
? ResolveNextEndpointFromUnion<EPU> extends never
|
|
289
|
+
? never
|
|
290
|
+
: [EPU, ResolveNextEndpointFromUnion<EPU>] // array
|
|
291
|
+
// : { [X in EPU]: ResolveNextEndpointFromUnion<EPU> } // map
|
|
292
|
+
: ResolveNextEndpointFromUnion<EPU>;
|
|
287
293
|
}[EPUs];
|
|
294
|
+
|
|
295
|
+
export type ExtractValidNextEndpointsOrMap<
|
|
296
|
+
T = number[],
|
|
297
|
+
EPUs = FilterEndpointUnionsByResponse<T>,
|
|
298
|
+
Debug = 0
|
|
299
|
+
> = EPUs extends infer EPU
|
|
300
|
+
? EPU extends EPUs
|
|
301
|
+
? EPU extends ESIEndpointUnions
|
|
302
|
+
? ResolveNextEndpointFromUnion<EPU> extends never
|
|
303
|
+
? never
|
|
304
|
+
: Debug extends 1 ? { readonly [K in EPU]: UnionToTuple<ResolveNextEndpointFromUnion<EPU>> }
|
|
305
|
+
// : Debug extends 1 ? { readonly [K in EPU]: ResolveNextEndpointFromUnion<EPU> }
|
|
306
|
+
: ResolveNextEndpointFromUnion<EPU>
|
|
307
|
+
: never
|
|
308
|
+
: never
|
|
309
|
+
: never;
|
|
@@ -738,65 +738,6 @@ interface GetCorporationsCorporationIdMembertracking_200Ok {
|
|
|
738
738
|
* ESI endpoint: get:/corporations/{corporation_id}/roles/
|
|
739
739
|
*/
|
|
740
740
|
|
|
741
|
-
/**
|
|
742
|
-
* grantable_role string
|
|
743
|
-
*/
|
|
744
|
-
type __CorporationRole =
|
|
745
|
-
| "Account_Take_1"
|
|
746
|
-
| "Account_Take_2"
|
|
747
|
-
| "Account_Take_3"
|
|
748
|
-
| "Account_Take_4"
|
|
749
|
-
| "Account_Take_5"
|
|
750
|
-
| "Account_Take_6"
|
|
751
|
-
| "Account_Take_7"
|
|
752
|
-
| "Accountant"
|
|
753
|
-
| "Auditor"
|
|
754
|
-
| "Brand_Manager"
|
|
755
|
-
| "Communications_Officer"
|
|
756
|
-
| "Config_Equipment"
|
|
757
|
-
| "Config_Starbase_Equipment"
|
|
758
|
-
| "Container_Take_1"
|
|
759
|
-
| "Container_Take_2"
|
|
760
|
-
| "Container_Take_3"
|
|
761
|
-
| "Container_Take_4"
|
|
762
|
-
| "Container_Take_5"
|
|
763
|
-
| "Container_Take_6"
|
|
764
|
-
| "Container_Take_7"
|
|
765
|
-
| "Contract_Manager"
|
|
766
|
-
| "Deliveries_Container_Take"
|
|
767
|
-
| "Deliveries_Query"
|
|
768
|
-
| "Deliveries_Take"
|
|
769
|
-
| "Diplomat"
|
|
770
|
-
| "Director"
|
|
771
|
-
| "Factory_Manager"
|
|
772
|
-
| "Fitting_Manager"
|
|
773
|
-
| "Hangar_Query_1"
|
|
774
|
-
| "Hangar_Query_2"
|
|
775
|
-
| "Hangar_Query_3"
|
|
776
|
-
| "Hangar_Query_4"
|
|
777
|
-
| "Hangar_Query_5"
|
|
778
|
-
| "Hangar_Query_6"
|
|
779
|
-
| "Hangar_Query_7"
|
|
780
|
-
| "Hangar_Take_1"
|
|
781
|
-
| "Hangar_Take_2"
|
|
782
|
-
| "Hangar_Take_3"
|
|
783
|
-
| "Hangar_Take_4"
|
|
784
|
-
| "Hangar_Take_5"
|
|
785
|
-
| "Hangar_Take_6"
|
|
786
|
-
| "Hangar_Take_7"
|
|
787
|
-
| "Junior_Accountant"
|
|
788
|
-
| "Personnel_Manager"
|
|
789
|
-
| "Project_Manager"
|
|
790
|
-
| "Rent_Factory_Facility"
|
|
791
|
-
| "Rent_Office"
|
|
792
|
-
| "Rent_Research_Facility"
|
|
793
|
-
| "Security_Officer"
|
|
794
|
-
| "Skill_Plan_Manager"
|
|
795
|
-
| "Starbase_Defense_Operator"
|
|
796
|
-
| "Starbase_Fuel_Technician"
|
|
797
|
-
| "Station_Manager"
|
|
798
|
-
| "Trader";
|
|
799
|
-
|
|
800
741
|
/**
|
|
801
742
|
* grantable_role string
|
|
802
743
|
*/
|
|
@@ -925,62 +866,9 @@ interface GetCorporationsCorporationIdRoles_200Ok {
|
|
|
925
866
|
|
|
926
867
|
/**
|
|
927
868
|
* Corporation role string
|
|
869
|
+
* grantable_role string
|
|
928
870
|
*/
|
|
929
|
-
type __CorporationRole =
|
|
930
|
-
| "Account_Take_1"
|
|
931
|
-
| "Account_Take_2"
|
|
932
|
-
| "Account_Take_3"
|
|
933
|
-
| "Account_Take_4"
|
|
934
|
-
| "Account_Take_5"
|
|
935
|
-
| "Account_Take_6"
|
|
936
|
-
| "Account_Take_7"
|
|
937
|
-
| "Accountant"
|
|
938
|
-
| "Auditor"
|
|
939
|
-
| "Brand_Manager"
|
|
940
|
-
| "Communications_Officer"
|
|
941
|
-
| "Config_Equipment"
|
|
942
|
-
| "Config_Starbase_Equipment"
|
|
943
|
-
| "Container_Take_1"
|
|
944
|
-
| "Container_Take_2"
|
|
945
|
-
| "Container_Take_3"
|
|
946
|
-
| "Container_Take_4"
|
|
947
|
-
| "Container_Take_5"
|
|
948
|
-
| "Container_Take_6"
|
|
949
|
-
| "Container_Take_7"
|
|
950
|
-
| "Contract_Manager"
|
|
951
|
-
| "Deliveries_Container_Take"
|
|
952
|
-
| "Deliveries_Query"
|
|
953
|
-
| "Deliveries_Take"
|
|
954
|
-
| "Diplomat"
|
|
955
|
-
| "Director"
|
|
956
|
-
| "Factory_Manager"
|
|
957
|
-
| "Fitting_Manager"
|
|
958
|
-
| "Hangar_Query_1"
|
|
959
|
-
| "Hangar_Query_2"
|
|
960
|
-
| "Hangar_Query_3"
|
|
961
|
-
| "Hangar_Query_4"
|
|
962
|
-
| "Hangar_Query_5"
|
|
963
|
-
| "Hangar_Query_6"
|
|
964
|
-
| "Hangar_Query_7"
|
|
965
|
-
| "Hangar_Take_1"
|
|
966
|
-
| "Hangar_Take_2"
|
|
967
|
-
| "Hangar_Take_3"
|
|
968
|
-
| "Hangar_Take_4"
|
|
969
|
-
| "Hangar_Take_5"
|
|
970
|
-
| "Hangar_Take_6"
|
|
971
|
-
| "Hangar_Take_7"
|
|
972
|
-
| "Junior_Accountant"
|
|
973
|
-
| "Personnel_Manager"
|
|
974
|
-
| "Project_Manager"
|
|
975
|
-
| "Rent_Factory_Facility"
|
|
976
|
-
| "Rent_Office"
|
|
977
|
-
| "Rent_Research_Facility"
|
|
978
|
-
| "Security_Officer"
|
|
979
|
-
| "Skill_Plan_Manager"
|
|
980
|
-
| "Starbase_Defense_Operator"
|
|
981
|
-
| "Starbase_Fuel_Technician"
|
|
982
|
-
| "Station_Manager"
|
|
983
|
-
| "Trader";
|
|
871
|
+
type __CorporationRole = __CharacterRole;
|
|
984
872
|
|
|
985
873
|
/**
|
|
986
874
|
* new_role string
|
package/v2/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* THIS DTS IS AUTO GENERATED, DO NOT EDIT
|
|
10
10
|
*
|
|
11
11
|
* @file eve-esi-types/v2/index.d.ts
|
|
12
|
-
* @summary This file is auto-generated and defines version 3.2.
|
|
12
|
+
* @summary This file is auto-generated and defines version 3.2.3 of the EVE Online ESI response types.
|
|
13
13
|
*/
|
|
14
14
|
import type { TESIResponseOKMap } from "./response-map.d.ts";
|
|
15
15
|
import type { PickPathParameters, InferKeysLen } from "./util.d.ts";
|
package/v2/response-map.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* THIS DTS IS AUTO GENERATED, DO NOT EDIT
|
|
10
10
|
*
|
|
11
11
|
* @file eve-esi-types/v2/response-map.d.ts
|
|
12
|
-
* @summary This file is auto-generated and defines version 3.2.
|
|
12
|
+
* @summary This file is auto-generated and defines version 3.2.3 of the EVE Online ESI response types.
|
|
13
13
|
*/
|
|
14
14
|
import "./types-index.d.ts";
|
|
15
15
|
|
package/v2/types-index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
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.2.
|
|
12
|
+
* @summary This file is auto-generated and defines version 3.2.3 of the EVE Online ESI response types.
|
|
13
13
|
*/
|
|
14
14
|
import "./globals/alliance.d.ts";
|
|
15
15
|
import "./globals/assets.d.ts";
|
|
@@ -41,4 +41,3 @@ import "./globals/universe.d.ts";
|
|
|
41
41
|
import "./globals/wallet.d.ts";
|
|
42
42
|
import "./globals/wars.d.ts";
|
|
43
43
|
import "./globals/extra-types.d.ts";
|
|
44
|
-
|
package/v2/types-util.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* THIS DTS IS AUTO GENERATED, DO NOT EDIT
|
|
10
10
|
*
|
|
11
11
|
* @file eve-esi-types/v2/types-util.d.ts
|
|
12
|
-
* @summary This file is auto-generated and defines version 3.2.
|
|
12
|
+
* @summary This file is auto-generated and defines version 3.2.3 of the EVE Online ESI response types.
|
|
13
13
|
*/
|
|
14
14
|
import type { TESIResponseOKMap } from "./response-map.d.ts";
|
|
15
15
|
|
|
@@ -169,4 +169,3 @@ export type __IdentifyParameters<
|
|
|
169
169
|
Keys = Exclude<keyof Entry, "result" | "tag" | "cachedSeconds">
|
|
170
170
|
// @ts-expect-error
|
|
171
171
|
> = RequireThese<Opt, Keys> & Pick<Entry, Keys>;
|
|
172
|
-
|