@lgriffin/esi.ts 5.1.0 → 6.0.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.
- package/CHANGELOG.md +60 -0
- package/README.md +271 -9
- package/dist/EsiClient.d.ts +7 -0
- package/dist/EsiClient.d.ts.map +1 -1
- package/dist/EsiClient.js +19 -0
- package/dist/clients/AssetsClient.d.ts +3 -0
- package/dist/clients/AssetsClient.d.ts.map +1 -1
- package/dist/clients/AssetsClient.js +6 -0
- package/dist/clients/BaseEsiClient.d.ts +3 -1
- package/dist/clients/BaseEsiClient.d.ts.map +1 -1
- package/dist/clients/BaseEsiClient.js +7 -0
- package/dist/clients/ContractsClient.d.ts +4 -0
- package/dist/clients/ContractsClient.d.ts.map +1 -1
- package/dist/clients/ContractsClient.js +9 -0
- package/dist/clients/KillmailsClient.d.ts +3 -0
- package/dist/clients/KillmailsClient.d.ts.map +1 -1
- package/dist/clients/KillmailsClient.js +6 -0
- package/dist/clients/MarketClient.d.ts +7 -0
- package/dist/clients/MarketClient.d.ts.map +1 -1
- package/dist/clients/MarketClient.js +18 -0
- package/dist/clients/WalletClient.d.ts +4 -0
- package/dist/clients/WalletClient.d.ts.map +1 -1
- package/dist/clients/WalletClient.js +9 -0
- package/dist/core/ApiClient.d.ts +10 -0
- package/dist/core/ApiClient.d.ts.map +1 -1
- package/dist/core/ApiClient.js +21 -0
- package/dist/core/ApiRequestHandler.d.ts +4 -1
- package/dist/core/ApiRequestHandler.d.ts.map +1 -1
- package/dist/core/ApiRequestHandler.js +116 -41
- package/dist/core/BatchRequestHandler.d.ts +12 -0
- package/dist/core/BatchRequestHandler.d.ts.map +1 -0
- package/dist/core/BatchRequestHandler.js +66 -0
- package/dist/core/constants.d.ts +2 -2
- package/dist/core/constants.js +1 -1
- package/dist/core/endpoints/EndpointDefinition.d.ts +3 -0
- package/dist/core/endpoints/EndpointDefinition.d.ts.map +1 -1
- package/dist/core/endpoints/accessListEndpoints.d.ts +16 -0
- package/dist/core/endpoints/accessListEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/accessListEndpoints.js +2 -0
- package/dist/core/endpoints/allianceEndpoints.d.ts +14 -0
- package/dist/core/endpoints/allianceEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/allianceEndpoints.js +3 -0
- package/dist/core/endpoints/assetEndpoints.d.ts +27 -0
- package/dist/core/endpoints/assetEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/assetEndpoints.js +5 -0
- package/dist/core/endpoints/buildEndpointPath.d.ts +7 -0
- package/dist/core/endpoints/buildEndpointPath.d.ts.map +1 -0
- package/dist/core/endpoints/buildEndpointPath.js +44 -0
- package/dist/core/endpoints/calendarEndpoints.d.ts +40 -0
- package/dist/core/endpoints/calendarEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/calendarEndpoints.js +5 -0
- package/dist/core/endpoints/characterEndpoints.d.ts +105 -0
- package/dist/core/endpoints/characterEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/characterEndpoints.js +13 -0
- package/dist/core/endpoints/cloneEndpoints.d.ts +21 -0
- package/dist/core/endpoints/cloneEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/cloneEndpoints.js +2 -0
- package/dist/core/endpoints/contactEndpoints.d.ts +49 -0
- package/dist/core/endpoints/contactEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/contactEndpoints.js +8 -0
- package/dist/core/endpoints/contractEndpoints.d.ts +184 -0
- package/dist/core/endpoints/contractEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/contractEndpoints.js +11 -0
- package/dist/core/endpoints/corporationEndpoints.d.ts +192 -0
- package/dist/core/endpoints/corporationEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/corporationEndpoints.js +18 -0
- package/dist/core/endpoints/createClient.d.ts.map +1 -1
- package/dist/core/endpoints/createClient.js +29 -43
- package/dist/core/endpoints/dogmaEndpoints.d.ts +38 -0
- package/dist/core/endpoints/dogmaEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/dogmaEndpoints.js +4 -0
- package/dist/core/endpoints/esi-cache-ttls.generated.d.ts +2 -0
- package/dist/core/endpoints/esi-cache-ttls.generated.d.ts.map +1 -0
- package/dist/core/endpoints/esi-cache-ttls.generated.js +126 -0
- package/dist/core/endpoints/esi-rate-limit-groups.generated.d.ts +7 -0
- package/dist/core/endpoints/esi-rate-limit-groups.generated.d.ts.map +1 -0
- package/dist/core/endpoints/esi-rate-limit-groups.generated.js +153 -0
- package/dist/core/endpoints/esi-scopes.generated.d.ts +3 -0
- package/dist/core/endpoints/esi-scopes.generated.d.ts.map +1 -0
- package/dist/core/endpoints/esi-scopes.generated.js +127 -0
- package/dist/core/endpoints/factionEndpoints.d.ts +154 -0
- package/dist/core/endpoints/factionEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/factionEndpoints.js +10 -0
- package/dist/core/endpoints/fittingEndpoints.d.ts +12 -0
- package/dist/core/endpoints/fittingEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/fittingEndpoints.js +3 -0
- package/dist/core/endpoints/fleetEndpoints.d.ts +45 -0
- package/dist/core/endpoints/fleetEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/fleetEndpoints.js +6 -0
- package/dist/core/endpoints/freelanceJobsEndpoints.d.ts +122 -0
- package/dist/core/endpoints/freelanceJobsEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/freelanceJobsEndpoints.js +8 -0
- package/dist/core/endpoints/incursionEndpoints.d.ts +15 -0
- package/dist/core/endpoints/incursionEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/incursionEndpoints.js +3 -0
- package/dist/core/endpoints/industryEndpoints.d.ts +103 -0
- package/dist/core/endpoints/industryEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/industryEndpoints.js +10 -0
- package/dist/core/endpoints/insuranceEndpoints.d.ts +9 -0
- package/dist/core/endpoints/insuranceEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/insuranceEndpoints.js +3 -0
- package/dist/core/endpoints/killmailEndpoints.d.ts +41 -0
- package/dist/core/endpoints/killmailEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/killmailEndpoints.js +5 -0
- package/dist/core/endpoints/locationEndpoints.d.ts +16 -0
- package/dist/core/endpoints/locationEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/locationEndpoints.js +4 -0
- package/dist/core/endpoints/loyaltyEndpoints.d.ts +17 -0
- package/dist/core/endpoints/loyaltyEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/loyaltyEndpoints.js +4 -0
- package/dist/core/endpoints/mailEndpoints.d.ts +35 -0
- package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/mailEndpoints.js +4 -0
- package/dist/core/endpoints/marketEndpoints.d.ts +123 -0
- package/dist/core/endpoints/marketEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/marketEndpoints.js +9 -0
- package/dist/core/endpoints/mercenaryEndpoints.d.ts +24 -0
- package/dist/core/endpoints/mercenaryEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/mercenaryEndpoints.js +4 -0
- package/dist/core/endpoints/piEndpoints.d.ts +76 -0
- package/dist/core/endpoints/piEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/piEndpoints.js +5 -0
- package/dist/core/endpoints/skillEndpoints.d.ts +21 -0
- package/dist/core/endpoints/skillEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/skillEndpoints.js +5 -0
- package/dist/core/endpoints/skyhookEndpoints.d.ts +27 -0
- package/dist/core/endpoints/skyhookEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/skyhookEndpoints.js +5 -0
- package/dist/core/endpoints/sovereigntyEndpoints.d.ts +37 -0
- package/dist/core/endpoints/sovereigntyEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/sovereigntyEndpoints.js +4 -0
- package/dist/core/endpoints/statusEndpoints.d.ts +6 -0
- package/dist/core/endpoints/statusEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/statusEndpoints.js +2 -0
- package/dist/core/endpoints/universeEndpoints.d.ts +272 -0
- package/dist/core/endpoints/universeEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/universeEndpoints.js +25 -0
- package/dist/core/endpoints/walletEndpoints.d.ts +51 -0
- package/dist/core/endpoints/walletEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/walletEndpoints.js +6 -0
- package/dist/core/endpoints/warEndpoints.d.ts +30 -0
- package/dist/core/endpoints/warEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/warEndpoints.js +5 -0
- package/dist/core/pagination/AsyncPaginationIterator.js +2 -2
- package/dist/core/pagination/PaginationHandler.d.ts +1 -1
- package/dist/core/pagination/PaginationHandler.d.ts.map +1 -1
- package/dist/core/pagination/PaginationHandler.js +2 -2
- package/dist/core/rateLimiter/IRateLimiter.d.ts +13 -3
- package/dist/core/rateLimiter/IRateLimiter.d.ts.map +1 -1
- package/dist/core/rateLimiter/RateLimiter.d.ts +24 -51
- package/dist/core/rateLimiter/RateLimiter.d.ts.map +1 -1
- package/dist/core/rateLimiter/RateLimiter.js +208 -98
- package/dist/core/util/error.d.ts +10 -1
- package/dist/core/util/error.d.ts.map +1 -1
- package/dist/core/util/error.js +24 -2
- package/dist/core/util/retry.d.ts +8 -0
- package/dist/core/util/retry.d.ts.map +1 -0
- package/dist/core/util/retry.js +9 -0
- package/dist/core/util/stringUtil.d.ts +2 -0
- package/dist/core/util/stringUtil.d.ts.map +1 -0
- package/dist/core/util/stringUtil.js +6 -0
- package/dist/index.d.ts +8 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +37 -2
- package/dist/schemas/access-lists.d.ts +30 -0
- package/dist/schemas/access-lists.d.ts.map +1 -0
- package/dist/schemas/access-lists.js +14 -0
- package/dist/schemas/alliance.d.ts +30 -0
- package/dist/schemas/alliance.d.ts.map +1 -0
- package/dist/schemas/alliance.js +28 -0
- package/dist/schemas/assets.d.ts +28 -0
- package/dist/schemas/assets.d.ts.map +1 -0
- package/dist/schemas/assets.js +26 -0
- package/dist/schemas/calendar.d.ts +41 -0
- package/dist/schemas/calendar.d.ts.map +1 -0
- package/dist/schemas/calendar.js +43 -0
- package/dist/schemas/character.d.ts +122 -0
- package/dist/schemas/character.d.ts.map +1 -0
- package/dist/schemas/character.js +114 -0
- package/dist/schemas/clones.d.ts +23 -0
- package/dist/schemas/clones.d.ts.map +1 -0
- package/dist/schemas/clones.js +21 -0
- package/dist/schemas/common.d.ts +59 -0
- package/dist/schemas/common.d.ts.map +1 -0
- package/dist/schemas/common.js +34 -0
- package/dist/schemas/contacts.d.ts +18 -0
- package/dist/schemas/contacts.d.ts.map +1 -0
- package/dist/schemas/contacts.js +15 -0
- package/dist/schemas/contracts.d.ts +63 -0
- package/dist/schemas/contracts.d.ts.map +1 -0
- package/dist/schemas/contracts.js +58 -0
- package/dist/schemas/corporation.d.ts +193 -0
- package/dist/schemas/corporation.d.ts.map +1 -0
- package/dist/schemas/corporation.js +178 -0
- package/dist/schemas/dogma.d.ts +40 -0
- package/dist/schemas/dogma.d.ts.map +1 -0
- package/dist/schemas/dogma.js +42 -0
- package/dist/schemas/faction-warfare.d.ts +95 -0
- package/dist/schemas/faction-warfare.d.ts.map +1 -0
- package/dist/schemas/faction-warfare.js +92 -0
- package/dist/schemas/fittings.d.ts +13 -0
- package/dist/schemas/fittings.d.ts.map +1 -0
- package/dist/schemas/fittings.js +15 -0
- package/dist/schemas/fleet.d.ts +46 -0
- package/dist/schemas/fleet.d.ts.map +1 -0
- package/dist/schemas/fleet.js +48 -0
- package/dist/schemas/freelance-jobs.d.ts +141 -0
- package/dist/schemas/freelance-jobs.d.ts.map +1 -0
- package/dist/schemas/freelance-jobs.js +99 -0
- package/dist/schemas/incursions.d.ts +16 -0
- package/dist/schemas/incursions.d.ts.map +1 -0
- package/dist/schemas/incursions.js +14 -0
- package/dist/schemas/index.d.ts +33 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +48 -0
- package/dist/schemas/industry.d.ts +73 -0
- package/dist/schemas/industry.d.ts.map +1 -0
- package/dist/schemas/industry.js +75 -0
- package/dist/schemas/insurance.d.ts +10 -0
- package/dist/schemas/insurance.d.ts.map +1 -0
- package/dist/schemas/insurance.js +12 -0
- package/dist/schemas/killmails.d.ts +38 -0
- package/dist/schemas/killmails.d.ts.map +1 -0
- package/dist/schemas/killmails.js +42 -0
- package/dist/schemas/location.d.ts +18 -0
- package/dist/schemas/location.d.ts.map +1 -0
- package/dist/schemas/location.js +20 -0
- package/dist/schemas/loyalty.d.ts +18 -0
- package/dist/schemas/loyalty.d.ts.map +1 -0
- package/dist/schemas/loyalty.js +20 -0
- package/dist/schemas/mail.d.ts +25 -0
- package/dist/schemas/mail.d.ts.map +1 -0
- package/dist/schemas/mail.js +29 -0
- package/dist/schemas/market.d.ts +29 -0
- package/dist/schemas/market.d.ts.map +1 -0
- package/dist/schemas/market.js +26 -0
- package/dist/schemas/mercenary.d.ts +25 -0
- package/dist/schemas/mercenary.d.ts.map +1 -0
- package/dist/schemas/mercenary.js +22 -0
- package/dist/schemas/pi.d.ts +77 -0
- package/dist/schemas/pi.d.ts.map +1 -0
- package/dist/schemas/pi.js +85 -0
- package/dist/schemas/skills.d.ts +18 -0
- package/dist/schemas/skills.d.ts.map +1 -0
- package/dist/schemas/skills.js +20 -0
- package/dist/schemas/skyhooks.d.ts +28 -0
- package/dist/schemas/skyhooks.d.ts.map +1 -0
- package/dist/schemas/skyhooks.js +30 -0
- package/dist/schemas/sovereignty.d.ts +45 -0
- package/dist/schemas/sovereignty.d.ts.map +1 -0
- package/dist/schemas/sovereignty.js +43 -0
- package/dist/schemas/status.d.ts +8 -0
- package/dist/schemas/status.d.ts.map +1 -0
- package/dist/schemas/status.js +10 -0
- package/dist/schemas/universe.d.ts +286 -0
- package/dist/schemas/universe.d.ts.map +1 -0
- package/dist/schemas/universe.js +245 -0
- package/dist/schemas/wallet.d.ts +27 -0
- package/dist/schemas/wallet.d.ts.map +1 -0
- package/dist/schemas/wallet.js +29 -0
- package/dist/schemas/wars.d.ts +27 -0
- package/dist/schemas/wars.d.ts.map +1 -0
- package/dist/schemas/wars.js +31 -0
- package/dist/testing/TestDataFactory.d.ts +44 -3
- package/dist/testing/TestDataFactory.d.ts.map +1 -1
- package/dist/types/access-lists.d.ts +4 -10
- package/dist/types/access-lists.d.ts.map +1 -1
- package/dist/types/alliance.d.ts +6 -24
- package/dist/types/alliance.d.ts.map +1 -1
- package/dist/types/api-responses.d.ts +1 -0
- package/dist/types/api-responses.d.ts.map +1 -1
- package/dist/types/api-responses.js +24 -0
- package/dist/types/assets.d.ts +5 -22
- package/dist/types/assets.d.ts.map +1 -1
- package/dist/types/calendar.d.ts +5 -23
- package/dist/types/calendar.d.ts.map +1 -1
- package/dist/types/character.d.ts +15 -104
- package/dist/types/character.d.ts.map +1 -1
- package/dist/types/clones.d.ts +3 -15
- package/dist/types/clones.d.ts.map +1 -1
- package/dist/types/common.d.ts +4 -12
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/contacts.d.ts +4 -11
- package/dist/types/contacts.d.ts.map +1 -1
- package/dist/types/contracts.d.ts +5 -39
- package/dist/types/contracts.d.ts.map +1 -1
- package/dist/types/corporation.d.ts +18 -166
- package/dist/types/corporation.d.ts.map +1 -1
- package/dist/types/dogma.d.ts +5 -38
- package/dist/types/dogma.d.ts.map +1 -1
- package/dist/types/faction-warfare.d.ts +8 -88
- package/dist/types/faction-warfare.d.ts.map +1 -1
- package/dist/types/fittings.d.ts +3 -11
- package/dist/types/fittings.d.ts.map +1 -1
- package/dist/types/fleet.d.ts +6 -34
- package/dist/types/fleet.d.ts.map +1 -1
- package/dist/types/freelance-jobs.d.ts +10 -91
- package/dist/types/freelance-jobs.d.ts.map +1 -1
- package/dist/types/generated/esi-spec.generated.d.ts +1763 -0
- package/dist/types/generated/esi-spec.generated.d.ts.map +1 -0
- package/dist/types/generated/esi-spec.generated.js +6 -0
- package/dist/types/incursions.d.ts +3 -10
- package/dist/types/incursions.d.ts.map +1 -1
- package/dist/types/industry.d.ts +9 -64
- package/dist/types/industry.d.ts.map +1 -1
- package/dist/types/insurance.d.ts +3 -8
- package/dist/types/insurance.d.ts.map +1 -1
- package/dist/types/killmails.d.ts +4 -36
- package/dist/types/killmails.d.ts.map +1 -1
- package/dist/types/location.d.ts +5 -16
- package/dist/types/location.d.ts.map +1 -1
- package/dist/types/loyalty.d.ts +4 -16
- package/dist/types/loyalty.d.ts.map +1 -1
- package/dist/types/mail.d.ts +4 -18
- package/dist/types/mail.d.ts.map +1 -1
- package/dist/types/market.d.ts +4 -22
- package/dist/types/market.d.ts.map +1 -1
- package/dist/types/mercenary.d.ts +4 -18
- package/dist/types/mercenary.d.ts.map +1 -1
- package/dist/types/pi.d.ts +5 -66
- package/dist/types/pi.d.ts.map +1 -1
- package/dist/types/skills.d.ts +4 -16
- package/dist/types/skills.d.ts.map +1 -1
- package/dist/types/skyhooks.d.ts +5 -26
- package/dist/types/skyhooks.d.ts.map +1 -1
- package/dist/types/sovereignty.d.ts +5 -32
- package/dist/types/sovereignty.d.ts.map +1 -1
- package/dist/types/status.d.ts +3 -6
- package/dist/types/status.d.ts.map +1 -1
- package/dist/types/universe.d.ts +26 -274
- package/dist/types/universe.d.ts.map +1 -1
- package/dist/types/wallet.d.ts +4 -25
- package/dist/types/wallet.d.ts.map +1 -1
- package/dist/types/wars.d.ts +3 -25
- package/dist/types/wars.d.ts.map +1 -1
- package/package.json +51 -46
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lgriffin/esi.ts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "This is a TypeScript Implementation for the EVE Online API offered through ESI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -55,6 +55,8 @@
|
|
|
55
55
|
"example:rate-limiting": "ts-node examples/rate-limiting.ts",
|
|
56
56
|
"example:cursor-pagination": "ts-node examples/cursor-pagination.ts",
|
|
57
57
|
"example:token-refresh": "ts-node examples/token-refresh.ts",
|
|
58
|
+
"example:retry-timeout-metadata": "ts-node examples/retry-timeout-metadata.ts",
|
|
59
|
+
"example:streaming": "ts-node examples/streaming-pagination.ts",
|
|
58
60
|
"token:create": "ts-node scripts/create-token.ts",
|
|
59
61
|
"lint": "eslint src --ext .ts",
|
|
60
62
|
"lint:fix": "eslint src --ext .ts --fix",
|
|
@@ -62,50 +64,51 @@
|
|
|
62
64
|
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
63
65
|
"test": "jest --config jest.unit.config.cjs",
|
|
64
66
|
"test:watch": "jest --config jest.unit.config.cjs --watch",
|
|
65
|
-
"bdd": "jest --config jest.unit.config.cjs --
|
|
66
|
-
"bdd:alliance": "jest --config jest.unit.config.cjs --
|
|
67
|
-
"bdd:assets": "jest --config jest.unit.config.cjs --
|
|
68
|
-
"bdd:calendar": "jest --config jest.unit.config.cjs --
|
|
69
|
-
"bdd:character": "jest --config jest.unit.config.cjs --
|
|
70
|
-
"bdd:clones": "jest --config jest.unit.config.cjs --
|
|
71
|
-
"bdd:contacts": "jest --config jest.unit.config.cjs --
|
|
72
|
-
"bdd:contracts": "jest --config jest.unit.config.cjs --
|
|
73
|
-
"bdd:corporation": "jest --config jest.unit.config.cjs --
|
|
74
|
-
"bdd:dogma": "jest --config jest.unit.config.cjs --
|
|
75
|
-
"bdd:etag-caching": "jest --config jest.unit.config.cjs --
|
|
76
|
-
"bdd:factions": "jest --config jest.unit.config.cjs --
|
|
77
|
-
"bdd:fittings": "jest --config jest.unit.config.cjs --
|
|
78
|
-
"bdd:fleets": "jest --config jest.unit.config.cjs --
|
|
79
|
-
"bdd:freelance": "jest --config jest.unit.config.cjs --
|
|
80
|
-
"bdd:incursions": "jest --config jest.unit.config.cjs --
|
|
81
|
-
"bdd:industry": "jest --config jest.unit.config.cjs --
|
|
82
|
-
"bdd:insurance": "jest --config jest.unit.config.cjs --
|
|
83
|
-
"bdd:killmails": "jest --config jest.unit.config.cjs --
|
|
84
|
-
"bdd:location": "jest --config jest.unit.config.cjs --
|
|
85
|
-
"bdd:loyalty": "jest --config jest.unit.config.cjs --
|
|
86
|
-
"bdd:mail": "jest --config jest.unit.config.cjs --
|
|
87
|
-
"bdd:market": "jest --config jest.unit.config.cjs --
|
|
88
|
-
"bdd:meta": "jest --config jest.unit.config.cjs --
|
|
89
|
-
"bdd:pi": "jest --config jest.unit.config.cjs --
|
|
90
|
-
"bdd:route": "jest --config jest.unit.config.cjs --
|
|
91
|
-
"bdd:search": "jest --config jest.unit.config.cjs --
|
|
92
|
-
"bdd:skills": "jest --config jest.unit.config.cjs --
|
|
93
|
-
"bdd:skyhooks": "jest --config jest.unit.config.cjs --
|
|
94
|
-
"bdd:sovereignty": "jest --config jest.unit.config.cjs --
|
|
95
|
-
"bdd:mercenary": "jest --config jest.unit.config.cjs --
|
|
96
|
-
"bdd:access-lists": "jest --config jest.unit.config.cjs --
|
|
97
|
-
"bdd:status": "jest --config jest.unit.config.cjs --
|
|
98
|
-
"bdd:ui": "jest --config jest.unit.config.cjs --
|
|
99
|
-
"bdd:universe": "jest --config jest.unit.config.cjs --
|
|
100
|
-
"bdd:wallet": "jest --config jest.unit.config.cjs --
|
|
101
|
-
"bdd:wars": "jest --config jest.unit.config.cjs --
|
|
102
|
-
"bdd:integration": "jest --config jest.unit.config.cjs --
|
|
103
|
-
"bdd:performance": "jest --config jest.unit.config.cjs --
|
|
67
|
+
"bdd": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions",
|
|
68
|
+
"bdd:alliance": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/alliance",
|
|
69
|
+
"bdd:assets": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/assets",
|
|
70
|
+
"bdd:calendar": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/calendar",
|
|
71
|
+
"bdd:character": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/character",
|
|
72
|
+
"bdd:clones": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/clones",
|
|
73
|
+
"bdd:contacts": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/contacts",
|
|
74
|
+
"bdd:contracts": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/contracts",
|
|
75
|
+
"bdd:corporation": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/corporation",
|
|
76
|
+
"bdd:dogma": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/dogma",
|
|
77
|
+
"bdd:etag-caching": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/etag-caching",
|
|
78
|
+
"bdd:factions": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/factions",
|
|
79
|
+
"bdd:fittings": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/fittings",
|
|
80
|
+
"bdd:fleets": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/fleets",
|
|
81
|
+
"bdd:freelance": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/freelance",
|
|
82
|
+
"bdd:incursions": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/incursions",
|
|
83
|
+
"bdd:industry": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/industry",
|
|
84
|
+
"bdd:insurance": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/insurance",
|
|
85
|
+
"bdd:killmails": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/killmails",
|
|
86
|
+
"bdd:location": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/location",
|
|
87
|
+
"bdd:loyalty": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/loyalty",
|
|
88
|
+
"bdd:mail": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/mail",
|
|
89
|
+
"bdd:market": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/market",
|
|
90
|
+
"bdd:meta": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/meta",
|
|
91
|
+
"bdd:pi": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/pi",
|
|
92
|
+
"bdd:route": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/route",
|
|
93
|
+
"bdd:search": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/search",
|
|
94
|
+
"bdd:skills": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/skills",
|
|
95
|
+
"bdd:skyhooks": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/skyhooks",
|
|
96
|
+
"bdd:sovereignty": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/sovereignty",
|
|
97
|
+
"bdd:mercenary": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/mercenary",
|
|
98
|
+
"bdd:access-lists": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/access-lists",
|
|
99
|
+
"bdd:status": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/status",
|
|
100
|
+
"bdd:ui": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/ui",
|
|
101
|
+
"bdd:universe": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/universe",
|
|
102
|
+
"bdd:wallet": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/wallet",
|
|
103
|
+
"bdd:wars": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/core/wars",
|
|
104
|
+
"bdd:integration": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/integration",
|
|
105
|
+
"bdd:performance": "jest --config jest.unit.config.cjs --testPathPatterns=step-definitions/performance",
|
|
104
106
|
"coverage": "jest --config jest.unit.config.cjs --coverage",
|
|
105
107
|
"test:integration": "jest --config jest.integration.config.cjs",
|
|
106
|
-
"test:integration:live": "node -e \"process.env.ESI_LIVE_TESTS='true';require('child_process').execSync('npx jest --config jest.integration.config.cjs --
|
|
107
|
-
"test:integration:gated": "node --env-file=.env -e \"require('child_process').execSync('npx jest --config jest.integration.config.cjs --
|
|
108
|
+
"test:integration:live": "node -e \"process.env.ESI_LIVE_TESTS='true';require('child_process').execSync('npx jest --config jest.integration.config.cjs --testPathPatterns=live-esi',{stdio:'inherit',env:Object.assign({},process.env,{ESI_LIVE_TESTS:'true'})})\"",
|
|
109
|
+
"test:integration:gated": "node --env-file=.env -e \"require('child_process').execSync('npx jest --config jest.integration.config.cjs --testPathPatterns=gated-auth',{stdio:'inherit',env:Object.assign({},process.env,{ESI_GATED_TESTS:'true'})})\"",
|
|
108
110
|
"test:all": "npm run test && npm run bdd && npm run test:integration",
|
|
111
|
+
"generate:types": "ts-node scripts/generate-esi-types.ts",
|
|
109
112
|
"knip": "knip",
|
|
110
113
|
"validate:esi": "ts-node scripts/validate-esi-endpoints.ts",
|
|
111
114
|
"validate": "npm run lint && npm run format:check && npm run build && npm run coverage && knip --no-exit-code",
|
|
@@ -153,8 +156,8 @@
|
|
|
153
156
|
},
|
|
154
157
|
"devDependencies": {
|
|
155
158
|
"@commitlint/cli": "^21.0.2",
|
|
156
|
-
"@commitlint/config-conventional": "^
|
|
157
|
-
"@types/jest": "^
|
|
159
|
+
"@commitlint/config-conventional": "^21.1.0",
|
|
160
|
+
"@types/jest": "^30.0.0",
|
|
158
161
|
"@types/node": "^26.0.0",
|
|
159
162
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
160
163
|
"@typescript-eslint/parser": "^8.0.0",
|
|
@@ -164,7 +167,8 @@
|
|
|
164
167
|
"eslint-plugin-security": "^4.0.0",
|
|
165
168
|
"eslint-plugin-sonarjs": "^4.0.3",
|
|
166
169
|
"husky": "^9.1.7",
|
|
167
|
-
"jest": "^
|
|
170
|
+
"jest": "^30.4.2",
|
|
171
|
+
"jest-cucumber": "^4.5.0",
|
|
168
172
|
"jest-fetch-mock": "^3.0.3",
|
|
169
173
|
"jest-junit": "^17.0.0",
|
|
170
174
|
"knip": "^6.6.1",
|
|
@@ -176,6 +180,7 @@
|
|
|
176
180
|
"typescript": "^6.0.3"
|
|
177
181
|
},
|
|
178
182
|
"dependencies": {
|
|
179
|
-
"winston": "^3.13.0"
|
|
183
|
+
"winston": "^3.13.0",
|
|
184
|
+
"zod": "^4.4.3"
|
|
180
185
|
}
|
|
181
186
|
}
|