@lgriffin/esi.ts 10.0.0 → 10.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.
- package/CHANGELOG.md +142 -0
- package/README.md +14 -5
- package/dist/EsiClient.d.mts +140 -0
- package/dist/EsiClientBuilder.d.mts +75 -0
- package/dist/auth/EsiTokenManager.d.mts +200 -0
- package/dist/auth/EveSsoClient.d.mts +88 -0
- package/dist/auth/errors.d.mts +42 -0
- package/dist/auth/index.d.mts +14 -0
- package/dist/auth/jwt.d.mts +43 -0
- package/dist/auth/pkce.d.mts +21 -0
- package/dist/auth/storage/FileTokenStorage.d.mts +44 -0
- package/dist/auth/storage/MemoryTokenStorage.d.mts +18 -0
- package/dist/auth/types.d.mts +42 -0
- package/dist/{chunk-7A72QFDF.mjs → chunk-D5L5HZVF.mjs} +3 -2
- package/dist/chunk-D5L5HZVF.mjs.map +1 -0
- package/dist/{chunk-HPSACXX3.js → chunk-XIB2OXEZ.js} +3 -2
- package/dist/chunk-XIB2OXEZ.js.map +1 -0
- package/dist/clients/AccessListsClient.d.mts +25 -0
- package/dist/clients/AllianceClient.d.mts +59 -0
- package/dist/clients/AssetsClient.d.mts +65 -0
- package/dist/clients/BaseEsiClient.d.mts +19 -0
- package/dist/clients/CalendarClient.d.mts +48 -0
- package/dist/clients/CharacterClient.d.mts +134 -0
- package/dist/clients/ClonesClient.d.mts +27 -0
- package/dist/clients/ContactsClient.d.mts +96 -0
- package/dist/clients/ContractsClient.d.mts +91 -0
- package/dist/clients/CorporationProjectsClient.d.mts +54 -0
- package/dist/clients/CorporationsClient.d.mts +219 -0
- package/dist/clients/CosmeticsClient.d.mts +11 -0
- package/dist/clients/DogmaClient.d.mts +42 -0
- package/dist/clients/FactionClient.d.mts +60 -0
- package/dist/clients/FittingsClient.d.mts +38 -0
- package/dist/clients/FleetClient.d.mts +134 -0
- package/dist/clients/FreelanceJobsClient.d.mts +61 -0
- package/dist/clients/IncursionsClient.d.mts +14 -0
- package/dist/clients/IndustryClient.d.mts +86 -0
- package/dist/clients/InsuranceClient.d.mts +14 -0
- package/dist/clients/KillmailsClient.d.mts +37 -0
- package/dist/clients/LocationClient.d.mts +32 -0
- package/dist/clients/LoyaltyClient.d.mts +28 -0
- package/dist/clients/MailClient.d.mts +104 -0
- package/dist/clients/MarketClient.d.mts +102 -0
- package/dist/clients/MercenaryClient.d.mts +42 -0
- package/dist/clients/MetaClient.d.mts +45 -0
- package/dist/clients/MilitaryCampaignsClient.d.mts +53 -0
- package/dist/clients/ParagonHubClient.d.mts +13 -0
- package/dist/clients/PiClient.d.mts +45 -0
- package/dist/clients/RouteClient.d.mts +25 -0
- package/dist/clients/SearchClient.d.mts +17 -0
- package/dist/clients/SkillsClient.d.mts +39 -0
- package/dist/clients/SkyhooksClient.d.mts +48 -0
- package/dist/clients/SovereigntyClient.d.mts +20 -0
- package/dist/clients/StatusClient.d.mts +14 -0
- package/dist/clients/UiClient.d.mts +44 -0
- package/dist/clients/UniverseClient.d.mts +212 -0
- package/dist/clients/WalletClient.d.mts +70 -0
- package/dist/clients/WarsClient.d.mts +33 -0
- package/dist/core/ApiClient.d.mts +73 -0
- package/dist/core/ApiClientBuilder.d.mts +24 -0
- package/dist/core/ApiRequestHandler.d.ts.map +1 -1
- package/dist/core/BatchRequestHandler.d.mts +12 -0
- package/dist/core/ClientRegistry.d.mts +45 -0
- package/dist/core/EsiDiagnostics.d.mts +35 -0
- package/dist/core/IDeduplicator.d.mts +22 -0
- package/dist/core/IDeduplicator.d.ts +16 -0
- package/dist/core/IDeduplicator.d.ts.map +1 -1
- package/dist/core/IRetryStrategy.d.mts +5 -0
- package/dist/core/RequestDeduplicator.d.mts +21 -0
- package/dist/core/RequestDeduplicator.d.ts +11 -0
- package/dist/core/RequestDeduplicator.d.ts.map +1 -1
- package/dist/core/RetryStrategy.d.mts +21 -0
- package/dist/core/cache/ETagCacheManager.d.mts +75 -0
- package/dist/core/cache/ICache.d.mts +27 -0
- package/dist/core/cache/cacheKey.d.ts +11 -0
- package/dist/core/cache/cacheKey.d.ts.map +1 -1
- package/dist/core/circuitBreaker/CircuitBreaker.d.mts +52 -0
- package/dist/core/circuitBreaker/CircuitBreaker.d.ts.map +1 -1
- package/dist/core/circuitBreaker/ICircuitBreaker.d.mts +23 -0
- package/dist/core/configureApiClient.d.mts +18 -0
- package/dist/core/constants.d.ts +2 -2
- package/dist/core/endpoints/EndpointDefinition.d.mts +63 -0
- package/dist/core/endpoints/accessListEndpoints.d.mts +34 -0
- package/dist/core/endpoints/allianceEndpoints.d.mts +43 -0
- package/dist/core/endpoints/assetEndpoints.d.mts +76 -0
- package/dist/core/endpoints/buildEndpointPath.d.mts +7 -0
- package/dist/core/endpoints/calendarEndpoints.d.mts +54 -0
- package/dist/core/endpoints/characterEndpoints.d.mts +185 -0
- package/dist/core/endpoints/cloneEndpoints.d.mts +32 -0
- package/dist/core/endpoints/contactEndpoints.d.mts +106 -0
- package/dist/core/endpoints/contractEndpoints.d.mts +168 -0
- package/dist/core/endpoints/corporationEndpoints.d.mts +324 -0
- package/dist/core/endpoints/corporationProjectEndpoints.d.mts +102 -0
- package/dist/core/endpoints/cosmeticsEndpoints.d.mts +52 -0
- package/dist/core/endpoints/createClient.d.mts +69 -0
- package/dist/core/endpoints/dogmaEndpoints.d.mts +89 -0
- package/dist/core/endpoints/esi-cache-ttls.generated.d.ts.map +1 -1
- package/dist/core/endpoints/esi-rate-limit-groups.generated.d.mts +7 -0
- package/dist/core/endpoints/esi-rate-limit-groups.generated.d.ts.map +1 -1
- package/dist/core/endpoints/esi-scopes.generated.d.mts +3 -0
- package/dist/core/endpoints/esi-scopes.generated.d.ts.map +1 -1
- package/dist/core/endpoints/factionEndpoints.d.mts +194 -0
- package/dist/core/endpoints/fittingEndpoints.d.mts +34 -0
- package/dist/core/endpoints/fleetEndpoints.d.mts +137 -0
- package/dist/core/endpoints/freelanceJobsEndpoints.d.mts +181 -0
- package/dist/core/endpoints/incursionEndpoints.d.mts +19 -0
- package/dist/core/endpoints/industryEndpoints.d.mts +138 -0
- package/dist/core/endpoints/insuranceEndpoints.d.mts +17 -0
- package/dist/core/endpoints/killmailEndpoints.d.mts +62 -0
- package/dist/core/endpoints/locationEndpoints.d.mts +37 -0
- package/dist/core/endpoints/loyaltyEndpoints.d.mts +32 -0
- package/dist/core/endpoints/mailEndpoints.d.mts +111 -0
- package/dist/core/endpoints/marketEndpoints.d.mts +191 -0
- package/dist/core/endpoints/mercenaryEndpoints.d.mts +79 -0
- package/dist/core/endpoints/metaEndpoints.d.mts +50 -0
- package/dist/core/endpoints/militaryCampaignEndpoints.d.mts +87 -0
- package/dist/core/endpoints/paragonHubEndpoints.d.mts +163 -0
- package/dist/core/endpoints/piEndpoints.d.mts +101 -0
- package/dist/core/endpoints/routeEndpoints.d.mts +14 -0
- package/dist/core/endpoints/searchEndpoints.d.mts +26 -0
- package/dist/core/endpoints/skillEndpoints.d.mts +52 -0
- package/dist/core/endpoints/skyhookEndpoints.d.mts +111 -0
- package/dist/core/endpoints/sovereigntyEndpoints.d.mts +59 -0
- package/dist/core/endpoints/statusEndpoints.d.mts +14 -0
- package/dist/core/endpoints/uiEndpoints.d.mts +43 -0
- package/dist/core/endpoints/universeEndpoints.d.mts +456 -0
- package/dist/core/endpoints/walletEndpoints.d.mts +98 -0
- package/dist/core/endpoints/warEndpoints.d.mts +51 -0
- package/dist/core/logger/DefaultLogger.d.mts +31 -0
- package/dist/core/logger/ILogger.d.mts +17 -0
- package/dist/core/logger/NoopLogger.d.mts +7 -0
- package/dist/core/logger/loggerUtil.d.mts +11 -0
- package/dist/core/middleware/Middleware.d.mts +30 -0
- package/dist/core/pagination/AsyncPaginationIterator.d.mts +12 -0
- package/dist/core/pagination/CursorPaginationHandler.d.mts +68 -0
- package/dist/core/rateLimiter/IRateLimiter.d.mts +27 -0
- package/dist/core/rateLimiter/RateLimiter.d.mts +62 -0
- package/dist/core/rateLimiter/RateLimiter.d.ts.map +1 -1
- package/dist/core/requestPipeline/cachePolicy.d.ts +11 -1
- package/dist/core/requestPipeline/cachePolicy.d.ts.map +1 -1
- package/dist/core/requestPipeline/fetchExecution.d.ts.map +1 -1
- package/dist/core/requestPipeline/index.d.ts +1 -1
- package/dist/core/requestPipeline/index.d.ts.map +1 -1
- package/dist/core/requestPipeline/paginationOrchestration.d.ts +1 -1
- package/dist/core/requestPipeline/paginationOrchestration.d.ts.map +1 -1
- package/dist/core/requestPipeline/statusHandling.d.ts +6 -0
- package/dist/core/requestPipeline/statusHandling.d.ts.map +1 -1
- package/dist/core/util/error.d.mts +37 -0
- package/dist/core/util/retry.d.mts +8 -0
- package/dist/core/util/retry.d.ts.map +1 -1
- package/dist/errors.d.mts +5 -0
- package/dist/errors.js +2 -2
- package/dist/errors.mjs +1 -1
- package/dist/index.d.mts +81 -0
- package/dist/index.js +373 -195
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +266 -88
- package/dist/index.mjs.map +1 -1
- package/dist/schemas/access-lists.d.mts +16 -0
- package/dist/schemas/alliance.d.mts +26 -0
- package/dist/schemas/assets.d.mts +24 -0
- package/dist/schemas/calendar.d.mts +27 -0
- package/dist/schemas/character.d.mts +109 -0
- package/dist/schemas/clones.d.mts +17 -0
- package/dist/schemas/common.d.mts +74 -0
- package/dist/schemas/contacts.d.mts +14 -0
- package/dist/schemas/contracts.d.mts +104 -0
- package/dist/schemas/corporation-projects.d.mts +104 -0
- package/dist/schemas/corporation.d.mts +193 -0
- package/dist/schemas/cosmetics.d.mts +58 -0
- package/dist/schemas/dogma.d.mts +57 -0
- package/dist/schemas/esiEnum.d.mts +3 -0
- package/dist/schemas/faction-warfare.d.mts +203 -0
- package/dist/schemas/fittings.d.mts +13 -0
- package/dist/schemas/fleet.d.mts +37 -0
- package/dist/schemas/freelance-jobs.d.mts +171 -0
- package/dist/schemas/incursions.d.mts +12 -0
- package/dist/schemas/index.d.mts +39 -0
- package/dist/schemas/industry.d.mts +99 -0
- package/dist/schemas/insurance.d.mts +10 -0
- package/dist/schemas/killmails.d.mts +38 -0
- package/dist/schemas/location.d.mts +18 -0
- package/dist/schemas/loyalty.d.mts +18 -0
- package/dist/schemas/mail.d.mts +53 -0
- package/dist/schemas/market.d.mts +123 -0
- package/dist/schemas/mercenary.d.mts +74 -0
- package/dist/schemas/meta.d.mts +36 -0
- package/dist/schemas/military-campaigns.d.mts +26 -0
- package/dist/schemas/paragon-hub.d.mts +96 -0
- package/dist/schemas/pi.d.mts +71 -0
- package/dist/schemas/skills.d.mts +28 -0
- package/dist/schemas/skyhooks.d.mts +129 -0
- package/dist/schemas/sovereignty.d.mts +56 -0
- package/dist/schemas/status.d.mts +8 -0
- package/dist/schemas/universe.d.mts +285 -0
- package/dist/schemas/wallet.d.mts +45 -0
- package/dist/schemas/wars.d.mts +27 -0
- package/dist/sde/IStaticDataProvider.d.mts +106 -0
- package/dist/sde/MemorySdeProvider.d.mts +167 -0
- package/dist/sde/SdeDataProvider.d.mts +119 -0
- package/dist/sde/SdeTestDataFactory.d.mts +33 -0
- package/dist/sde/errors.d.mts +23 -0
- package/dist/sde/index.d.mts +9 -0
- package/dist/sde/memory.d.mts +8 -0
- package/dist/sde/types.d.mts +1039 -0
- package/dist/sde/version.d.mts +7 -0
- package/dist/testing/TestDataFactory.d.mts +172 -0
- package/dist/testing/index.d.mts +2 -0
- package/dist/testing/index.js +2 -2
- package/dist/testing/index.mjs +1 -1
- package/dist/types/access-lists.d.mts +5 -0
- package/dist/types/alliance.d.mts +7 -0
- package/dist/types/api-responses.d.mts +40 -0
- package/dist/types/assets.d.mts +6 -0
- package/dist/types/branded.d.mts +23 -0
- package/dist/types/calendar.d.mts +6 -0
- package/dist/types/character.d.mts +17 -0
- package/dist/types/clones.d.mts +4 -0
- package/dist/types/common.d.mts +19 -0
- package/dist/types/contacts.d.mts +5 -0
- package/dist/types/contracts.d.mts +9 -0
- package/dist/types/corporation-projects.d.mts +10 -0
- package/dist/types/corporation.d.mts +19 -0
- package/dist/types/cosmetics.d.mts +8 -0
- package/dist/types/dogma.d.mts +6 -0
- package/dist/types/faction-warfare.d.mts +17 -0
- package/dist/types/fittings.d.mts +4 -0
- package/dist/types/fleet.d.mts +7 -0
- package/dist/types/freelance-jobs.d.mts +12 -0
- package/dist/types/generated/esi-spec.generated.d.mts +2136 -0
- package/dist/types/generated/esi-spec.generated.d.ts +164 -16
- package/dist/types/generated/esi-spec.generated.d.ts.map +1 -1
- package/dist/types/generated/spec-alignment.check.d.ts +2 -2
- package/dist/types/incursions.d.mts +4 -0
- package/dist/types/industry.d.mts +11 -0
- package/dist/types/insurance.d.mts +4 -0
- package/dist/types/killmails.d.mts +5 -0
- package/dist/types/location.d.mts +6 -0
- package/dist/types/loyalty.d.mts +5 -0
- package/dist/types/mail.d.mts +6 -0
- package/dist/types/market.d.mts +12 -0
- package/dist/types/mercenary.d.mts +7 -0
- package/dist/types/meta.d.mts +9 -0
- package/dist/types/military-campaigns.d.mts +6 -0
- package/dist/types/paragon-hub.d.mts +8 -0
- package/dist/types/pi.d.mts +6 -0
- package/dist/types/skills.d.mts +5 -0
- package/dist/types/skyhooks.d.mts +8 -0
- package/dist/types/sovereignty.d.mts +6 -0
- package/dist/types/status.d.mts +4 -0
- package/dist/types/universe.d.mts +27 -0
- package/dist/types/wallet.d.mts +6 -0
- package/dist/types/wars.d.mts +4 -0
- package/package.json +92 -24
- package/dist/chunk-7A72QFDF.mjs.map +0 -1
- package/dist/chunk-HPSACXX3.js.map +0 -1
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SolarSystemInfoSchema: z.ZodObject<{
|
|
3
|
+
system_id: z.ZodNumber;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
constellation_id: z.ZodNumber;
|
|
6
|
+
position: z.ZodObject<{
|
|
7
|
+
x: z.ZodNumber;
|
|
8
|
+
y: z.ZodNumber;
|
|
9
|
+
z: z.ZodNumber;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
security_class: z.ZodOptional<z.ZodString>;
|
|
12
|
+
security_status: z.ZodNumber;
|
|
13
|
+
star_id: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
stargates: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
15
|
+
stations: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16
|
+
planets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17
|
+
asteroid_belts: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
18
|
+
moons: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
19
|
+
planet_id: z.ZodNumber;
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
|
+
export declare const ConstellationInfoSchema: z.ZodObject<{
|
|
23
|
+
constellation_id: z.ZodNumber;
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
region_id: z.ZodNumber;
|
|
26
|
+
systems: z.ZodArray<z.ZodNumber>;
|
|
27
|
+
position: z.ZodObject<{
|
|
28
|
+
x: z.ZodNumber;
|
|
29
|
+
y: z.ZodNumber;
|
|
30
|
+
z: z.ZodNumber;
|
|
31
|
+
}, z.core.$loose>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
|
+
export declare const RegionInfoSchema: z.ZodObject<{
|
|
34
|
+
region_id: z.ZodNumber;
|
|
35
|
+
name: z.ZodString;
|
|
36
|
+
description: z.ZodOptional<z.ZodString>;
|
|
37
|
+
constellations: z.ZodArray<z.ZodNumber>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
|
+
export declare const AncestrySchema: z.ZodObject<{
|
|
40
|
+
id: z.ZodNumber;
|
|
41
|
+
name: z.ZodString;
|
|
42
|
+
bloodline_id: z.ZodNumber;
|
|
43
|
+
description: z.ZodString;
|
|
44
|
+
short_description: z.ZodOptional<z.ZodString>;
|
|
45
|
+
icon_id: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
}, z.core.$loose>;
|
|
47
|
+
export declare const BloodlineSchema: z.ZodObject<{
|
|
48
|
+
bloodline_id: z.ZodNumber;
|
|
49
|
+
name: z.ZodString;
|
|
50
|
+
description: z.ZodString;
|
|
51
|
+
race_id: z.ZodNumber;
|
|
52
|
+
corporation_id: z.ZodNumber;
|
|
53
|
+
ship_type_id: z.ZodNullable<z.ZodNumber>;
|
|
54
|
+
charisma: z.ZodNumber;
|
|
55
|
+
intelligence: z.ZodNumber;
|
|
56
|
+
memory: z.ZodNumber;
|
|
57
|
+
perception: z.ZodNumber;
|
|
58
|
+
willpower: z.ZodNumber;
|
|
59
|
+
}, z.core.$loose>;
|
|
60
|
+
export declare const FactionSchema: z.ZodObject<{
|
|
61
|
+
faction_id: z.ZodNumber;
|
|
62
|
+
name: z.ZodString;
|
|
63
|
+
description: z.ZodString;
|
|
64
|
+
size_factor: z.ZodNumber;
|
|
65
|
+
station_count: z.ZodNumber;
|
|
66
|
+
station_system_count: z.ZodNumber;
|
|
67
|
+
is_unique: z.ZodBoolean;
|
|
68
|
+
solar_system_id: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
70
|
+
militia_corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
}, z.core.$loose>;
|
|
72
|
+
export declare const RaceSchema: z.ZodObject<{
|
|
73
|
+
race_id: z.ZodNumber;
|
|
74
|
+
name: z.ZodString;
|
|
75
|
+
description: z.ZodString;
|
|
76
|
+
alliance_id: z.ZodNumber;
|
|
77
|
+
}, z.core.$loose>;
|
|
78
|
+
export declare const StationInfoSchema: z.ZodObject<{
|
|
79
|
+
station_id: z.ZodNumber;
|
|
80
|
+
name: z.ZodString;
|
|
81
|
+
owner: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
system_id: z.ZodNumber;
|
|
83
|
+
type_id: z.ZodNumber;
|
|
84
|
+
race_id: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
reprocessing_efficiency: z.ZodNumber;
|
|
86
|
+
reprocessing_stations_take: z.ZodNumber;
|
|
87
|
+
max_dockable_ship_volume: z.ZodNumber;
|
|
88
|
+
office_rental_cost: z.ZodNumber;
|
|
89
|
+
services: z.ZodArray<z.ZodString>;
|
|
90
|
+
position: z.ZodObject<{
|
|
91
|
+
x: z.ZodNumber;
|
|
92
|
+
y: z.ZodNumber;
|
|
93
|
+
z: z.ZodNumber;
|
|
94
|
+
}, z.core.$loose>;
|
|
95
|
+
}, z.core.$loose>;
|
|
96
|
+
export declare const TypeInfoSchema: z.ZodObject<{
|
|
97
|
+
type_id: z.ZodNumber;
|
|
98
|
+
name: z.ZodString;
|
|
99
|
+
description: z.ZodString;
|
|
100
|
+
published: z.ZodBoolean;
|
|
101
|
+
group_id: z.ZodNumber;
|
|
102
|
+
market_group_id: z.ZodOptional<z.ZodNumber>;
|
|
103
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
104
|
+
volume: z.ZodOptional<z.ZodNumber>;
|
|
105
|
+
packaged_volume: z.ZodOptional<z.ZodNumber>;
|
|
106
|
+
capacity: z.ZodOptional<z.ZodNumber>;
|
|
107
|
+
portion_size: z.ZodOptional<z.ZodNumber>;
|
|
108
|
+
mass: z.ZodOptional<z.ZodNumber>;
|
|
109
|
+
icon_id: z.ZodOptional<z.ZodNumber>;
|
|
110
|
+
graphic_id: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
dogma_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
112
|
+
attribute_id: z.ZodNumber;
|
|
113
|
+
value: z.ZodNumber;
|
|
114
|
+
}, z.core.$loose>>>;
|
|
115
|
+
dogma_effects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
116
|
+
effect_id: z.ZodNumber;
|
|
117
|
+
is_default: z.ZodBoolean;
|
|
118
|
+
}, z.core.$loose>>>;
|
|
119
|
+
}, z.core.$loose>;
|
|
120
|
+
export declare const AsteroidBeltInfoSchema: z.ZodObject<{
|
|
121
|
+
name: z.ZodString;
|
|
122
|
+
position: z.ZodObject<{
|
|
123
|
+
x: z.ZodNumber;
|
|
124
|
+
y: z.ZodNumber;
|
|
125
|
+
z: z.ZodNumber;
|
|
126
|
+
}, z.core.$loose>;
|
|
127
|
+
system_id: z.ZodNumber;
|
|
128
|
+
}, z.core.$loose>;
|
|
129
|
+
export declare const GraphicInfoSchema: z.ZodObject<{
|
|
130
|
+
graphic_id: z.ZodNumber;
|
|
131
|
+
collision_file: z.ZodOptional<z.ZodString>;
|
|
132
|
+
graphic_file: z.ZodOptional<z.ZodString>;
|
|
133
|
+
icon_folder: z.ZodOptional<z.ZodString>;
|
|
134
|
+
sof_dna: z.ZodOptional<z.ZodString>;
|
|
135
|
+
sof_fation_name: z.ZodOptional<z.ZodString>;
|
|
136
|
+
sof_hull_name: z.ZodOptional<z.ZodString>;
|
|
137
|
+
sof_race_name: z.ZodOptional<z.ZodString>;
|
|
138
|
+
}, z.core.$loose>;
|
|
139
|
+
export declare const ItemCategorySchema: z.ZodObject<{
|
|
140
|
+
category_id: z.ZodNumber;
|
|
141
|
+
name: z.ZodString;
|
|
142
|
+
groups: z.ZodArray<z.ZodNumber>;
|
|
143
|
+
published: z.ZodBoolean;
|
|
144
|
+
}, z.core.$loose>;
|
|
145
|
+
export declare const ItemGroupSchema: z.ZodObject<{
|
|
146
|
+
group_id: z.ZodNumber;
|
|
147
|
+
name: z.ZodString;
|
|
148
|
+
category_id: z.ZodNumber;
|
|
149
|
+
types: z.ZodArray<z.ZodNumber>;
|
|
150
|
+
published: z.ZodBoolean;
|
|
151
|
+
}, z.core.$loose>;
|
|
152
|
+
export declare const MoonInfoSchema: z.ZodObject<{
|
|
153
|
+
moon_id: z.ZodNumber;
|
|
154
|
+
name: z.ZodString;
|
|
155
|
+
system_id: z.ZodNumber;
|
|
156
|
+
position: z.ZodObject<{
|
|
157
|
+
x: z.ZodNumber;
|
|
158
|
+
y: z.ZodNumber;
|
|
159
|
+
z: z.ZodNumber;
|
|
160
|
+
}, z.core.$loose>;
|
|
161
|
+
}, z.core.$loose>;
|
|
162
|
+
export declare const PlanetInfoSchema: z.ZodObject<{
|
|
163
|
+
planet_id: z.ZodNumber;
|
|
164
|
+
name: z.ZodString;
|
|
165
|
+
system_id: z.ZodNumber;
|
|
166
|
+
type_id: z.ZodNumber;
|
|
167
|
+
position: z.ZodObject<{
|
|
168
|
+
x: z.ZodNumber;
|
|
169
|
+
y: z.ZodNumber;
|
|
170
|
+
z: z.ZodNumber;
|
|
171
|
+
}, z.core.$loose>;
|
|
172
|
+
}, z.core.$loose>;
|
|
173
|
+
export declare const StarInfoSchema: z.ZodObject<{
|
|
174
|
+
star_id: z.ZodOptional<z.ZodNumber>;
|
|
175
|
+
solar_system_id: z.ZodNumber;
|
|
176
|
+
name: z.ZodString;
|
|
177
|
+
type_id: z.ZodNumber;
|
|
178
|
+
age: z.ZodNumber;
|
|
179
|
+
luminosity: z.ZodNumber;
|
|
180
|
+
radius: z.ZodNumber;
|
|
181
|
+
spectral_class: z.ZodString;
|
|
182
|
+
temperature: z.ZodNumber;
|
|
183
|
+
}, z.core.$loose>;
|
|
184
|
+
export declare const StargateInfoSchema: z.ZodObject<{
|
|
185
|
+
stargate_id: z.ZodNumber;
|
|
186
|
+
name: z.ZodString;
|
|
187
|
+
system_id: z.ZodNumber;
|
|
188
|
+
type_id: z.ZodNumber;
|
|
189
|
+
position: z.ZodObject<{
|
|
190
|
+
x: z.ZodNumber;
|
|
191
|
+
y: z.ZodNumber;
|
|
192
|
+
z: z.ZodNumber;
|
|
193
|
+
}, z.core.$loose>;
|
|
194
|
+
destination: z.ZodObject<{
|
|
195
|
+
system_id: z.ZodNumber;
|
|
196
|
+
stargate_id: z.ZodNumber;
|
|
197
|
+
}, z.core.$loose>;
|
|
198
|
+
}, z.core.$loose>;
|
|
199
|
+
export declare const StructureInfoSchema: z.ZodObject<{
|
|
200
|
+
structure_id: z.ZodOptional<z.ZodNumber>;
|
|
201
|
+
name: z.ZodString;
|
|
202
|
+
owner_id: z.ZodNumber;
|
|
203
|
+
solar_system_id: z.ZodNumber;
|
|
204
|
+
type_id: z.ZodOptional<z.ZodNumber>;
|
|
205
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
206
|
+
x: z.ZodNumber;
|
|
207
|
+
y: z.ZodNumber;
|
|
208
|
+
z: z.ZodNumber;
|
|
209
|
+
}, z.core.$loose>>;
|
|
210
|
+
}, z.core.$loose>;
|
|
211
|
+
export declare const SystemJumpSchema: z.ZodObject<{
|
|
212
|
+
system_id: z.ZodNumber;
|
|
213
|
+
ship_jumps: z.ZodNumber;
|
|
214
|
+
}, z.core.$loose>;
|
|
215
|
+
export declare const SystemKillSchema: z.ZodObject<{
|
|
216
|
+
system_id: z.ZodNumber;
|
|
217
|
+
npc_kills: z.ZodNumber;
|
|
218
|
+
pod_kills: z.ZodNumber;
|
|
219
|
+
ship_kills: z.ZodNumber;
|
|
220
|
+
}, z.core.$loose>;
|
|
221
|
+
export declare const BulkIdResultSchema: z.ZodObject<{
|
|
222
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
223
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
224
|
+
name: z.ZodOptional<z.ZodString>;
|
|
225
|
+
}, z.core.$loose>>>;
|
|
226
|
+
alliances: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
227
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
228
|
+
name: z.ZodOptional<z.ZodString>;
|
|
229
|
+
}, z.core.$loose>>>;
|
|
230
|
+
characters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
231
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
232
|
+
name: z.ZodOptional<z.ZodString>;
|
|
233
|
+
}, z.core.$loose>>>;
|
|
234
|
+
constellations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
235
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
236
|
+
name: z.ZodOptional<z.ZodString>;
|
|
237
|
+
}, z.core.$loose>>>;
|
|
238
|
+
corporations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
239
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
240
|
+
name: z.ZodOptional<z.ZodString>;
|
|
241
|
+
}, z.core.$loose>>>;
|
|
242
|
+
factions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
243
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
244
|
+
name: z.ZodOptional<z.ZodString>;
|
|
245
|
+
}, z.core.$loose>>>;
|
|
246
|
+
inventory_types: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
247
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
248
|
+
name: z.ZodOptional<z.ZodString>;
|
|
249
|
+
}, z.core.$loose>>>;
|
|
250
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
251
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
252
|
+
name: z.ZodOptional<z.ZodString>;
|
|
253
|
+
}, z.core.$loose>>>;
|
|
254
|
+
systems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
255
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
256
|
+
name: z.ZodOptional<z.ZodString>;
|
|
257
|
+
}, z.core.$loose>>>;
|
|
258
|
+
stations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
259
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
260
|
+
name: z.ZodOptional<z.ZodString>;
|
|
261
|
+
}, z.core.$loose>>>;
|
|
262
|
+
}, z.core.$loose>;
|
|
263
|
+
export declare const NameAndCategorySchema: z.ZodObject<{
|
|
264
|
+
id: z.ZodNumber;
|
|
265
|
+
name: z.ZodString;
|
|
266
|
+
category: z.ZodType<(string & {}) | "faction" | "character" | "corporation" | "alliance" | "constellation" | "inventory_type" | "region" | "solar_system" | "station", unknown, z.core.$ZodTypeInternals<(string & {}) | "faction" | "character" | "corporation" | "alliance" | "constellation" | "inventory_type" | "region" | "solar_system" | "station", unknown>>;
|
|
267
|
+
}, z.core.$loose>;
|
|
268
|
+
export declare const SchematicInfoSchema: z.ZodObject<{
|
|
269
|
+
schematic_name: z.ZodString;
|
|
270
|
+
cycle_time: z.ZodNumber;
|
|
271
|
+
}, z.core.$loose>;
|
|
272
|
+
export declare const SearchResultSchema: z.ZodObject<{
|
|
273
|
+
agent: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
274
|
+
alliance: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
275
|
+
character: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
276
|
+
constellation: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
277
|
+
corporation: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
278
|
+
faction: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
279
|
+
inventory_type: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
280
|
+
region: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
281
|
+
solar_system: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
282
|
+
station: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
283
|
+
structure: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
284
|
+
}, z.core.$loose>;
|
|
285
|
+
//# sourceMappingURL=universe.d.ts.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const WalletTransactionSchema: z.ZodObject<{
|
|
3
|
+
transaction_id: z.ZodNumber;
|
|
4
|
+
date: z.ZodString;
|
|
5
|
+
type_id: z.ZodNumber;
|
|
6
|
+
location_id: z.ZodNumber;
|
|
7
|
+
unit_price: z.ZodNumber;
|
|
8
|
+
quantity: z.ZodNumber;
|
|
9
|
+
client_id: z.ZodNumber;
|
|
10
|
+
is_buy: z.ZodBoolean;
|
|
11
|
+
is_personal: z.ZodBoolean;
|
|
12
|
+
journal_ref_id: z.ZodNumber;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
/**
|
|
15
|
+
* A corporation division's trade, from
|
|
16
|
+
* `GET /corporations/{corporation_id}/wallets/{division}/transactions`. ESI
|
|
17
|
+
* sends no is_personal on this route.
|
|
18
|
+
*/
|
|
19
|
+
export declare const CorporationWalletTransactionSchema: z.ZodObject<{
|
|
20
|
+
date: z.ZodString;
|
|
21
|
+
type_id: z.ZodNumber;
|
|
22
|
+
location_id: z.ZodNumber;
|
|
23
|
+
quantity: z.ZodNumber;
|
|
24
|
+
transaction_id: z.ZodNumber;
|
|
25
|
+
unit_price: z.ZodNumber;
|
|
26
|
+
client_id: z.ZodNumber;
|
|
27
|
+
is_buy: z.ZodBoolean;
|
|
28
|
+
journal_ref_id: z.ZodNumber;
|
|
29
|
+
}, z.core.$loose>;
|
|
30
|
+
export declare const WalletJournalSchema: z.ZodObject<{
|
|
31
|
+
id: z.ZodNumber;
|
|
32
|
+
date: z.ZodString;
|
|
33
|
+
ref_type: z.ZodString;
|
|
34
|
+
first_party_id: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
second_party_id: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
37
|
+
balance: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
39
|
+
description: z.ZodString;
|
|
40
|
+
context_id: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
context_id_type: z.ZodOptional<z.ZodString>;
|
|
42
|
+
tax: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
tax_receiver_id: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
}, z.core.$loose>;
|
|
45
|
+
//# sourceMappingURL=wallet.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const WarSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodNumber;
|
|
4
|
+
declared: z.ZodString;
|
|
5
|
+
started: z.ZodOptional<z.ZodString>;
|
|
6
|
+
finished: z.ZodOptional<z.ZodString>;
|
|
7
|
+
retracted: z.ZodOptional<z.ZodString>;
|
|
8
|
+
mutual: z.ZodBoolean;
|
|
9
|
+
open_for_allies: z.ZodBoolean;
|
|
10
|
+
aggressor: z.ZodObject<{
|
|
11
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
alliance_id: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
isk_destroyed: z.ZodNumber;
|
|
14
|
+
ships_killed: z.ZodNumber;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
defender: z.ZodObject<{
|
|
17
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
alliance_id: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
isk_destroyed: z.ZodNumber;
|
|
20
|
+
ships_killed: z.ZodNumber;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
|
+
allies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
alliance_id: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
|
+
//# sourceMappingURL=wars.d.ts.map
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { EveType, EveGroup, EveCategory, Region, Constellation, SolarSystem, Stargate, Star, Planet, Moon, AsteroidBelt, Faction, Race, Bloodline, Ancestry, NpcCorporation, NpcStation, MarketGroup, MetaGroup, Icon, Graphic, DogmaAttribute, DogmaEffect, Blueprint, PlanetSchematic, AgentType, AgentInSpace, Certificate, CharacterAttribute, CloneGrade, CorporationActivity, DogmaAttributeCategory, DogmaUnit, IndustryActivity, Landmark, NotificationType, NpcCharacter, NpcCorporationDivision, School, SecondarySun, Skin, SkinLicense, StationOperation, StationService, TypeDogma, TypeMaterial, TypeBonus, Mission, Dungeon, EpicArc } from './types.mjs';
|
|
2
|
+
import type { SdeVersionInfo } from './version.mjs';
|
|
3
|
+
export interface IStaticDataProvider {
|
|
4
|
+
getType(typeId: number): EveType | null;
|
|
5
|
+
getTypesByGroup(groupId: number): EveType[];
|
|
6
|
+
getGroup(groupId: number): EveGroup | null;
|
|
7
|
+
getGroupsByCategory(categoryId: number): EveGroup[];
|
|
8
|
+
getCategory(categoryId: number): EveCategory | null;
|
|
9
|
+
getAllCategories(): EveCategory[];
|
|
10
|
+
getRegion(regionId: number): Region | null;
|
|
11
|
+
getAllRegions(): Region[];
|
|
12
|
+
getConstellation(constellationId: number): Constellation | null;
|
|
13
|
+
getConstellationsByRegion(regionId: number): Constellation[];
|
|
14
|
+
getSolarSystem(systemId: number): SolarSystem | null;
|
|
15
|
+
getSolarSystemsByConstellation(constellationId: number): SolarSystem[];
|
|
16
|
+
getStargate(stargateId: number): Stargate | null;
|
|
17
|
+
getStargatesBySystem(systemId: number): Stargate[];
|
|
18
|
+
searchTypesByName(query: string, limit?: number): EveType[];
|
|
19
|
+
searchSolarSystemsByName(query: string, limit?: number): SolarSystem[];
|
|
20
|
+
getStar(starId: number): Star | null;
|
|
21
|
+
getStarBySystem(systemId: number): Star | null;
|
|
22
|
+
getPlanet(planetId: number): Planet | null;
|
|
23
|
+
getPlanetsBySystem(systemId: number): Planet[];
|
|
24
|
+
getMoon(moonId: number): Moon | null;
|
|
25
|
+
getMoonsBySystem(systemId: number): Moon[];
|
|
26
|
+
getAsteroidBelt(asteroidBeltId: number): AsteroidBelt | null;
|
|
27
|
+
getAsteroidBeltsBySystem(systemId: number): AsteroidBelt[];
|
|
28
|
+
getFaction(factionId: number): Faction | null;
|
|
29
|
+
getAllFactions(): Faction[];
|
|
30
|
+
getRace(raceId: number): Race | null;
|
|
31
|
+
getAllRaces(): Race[];
|
|
32
|
+
getBloodline(bloodlineId: number): Bloodline | null;
|
|
33
|
+
getBloodlinesByRace(raceId: number): Bloodline[];
|
|
34
|
+
getAncestry(ancestryId: number): Ancestry | null;
|
|
35
|
+
getAncestriesByBloodline(bloodlineId: number): Ancestry[];
|
|
36
|
+
getNpcCorporation(corporationId: number): NpcCorporation | null;
|
|
37
|
+
getNpcCorporationsByFaction(factionId: number): NpcCorporation[];
|
|
38
|
+
getNpcStation(stationId: number): NpcStation | null;
|
|
39
|
+
getNpcStationsBySystem(systemId: number): NpcStation[];
|
|
40
|
+
getNpcStationsByOwner(ownerId: number): NpcStation[];
|
|
41
|
+
getMarketGroup(marketGroupId: number): MarketGroup | null;
|
|
42
|
+
getMarketGroupsByParent(parentGroupId: number): MarketGroup[];
|
|
43
|
+
getRootMarketGroups(): MarketGroup[];
|
|
44
|
+
getTypesByMarketGroup(marketGroupId: number): EveType[];
|
|
45
|
+
searchMarketGroupsByName(query: string, limit?: number): MarketGroup[];
|
|
46
|
+
getMetaGroup(metaGroupId: number): MetaGroup | null;
|
|
47
|
+
getAllMetaGroups(): MetaGroup[];
|
|
48
|
+
getIcon(iconId: number): Icon | null;
|
|
49
|
+
getGraphic(graphicId: number): Graphic | null;
|
|
50
|
+
getDogmaAttribute(attributeId: number): DogmaAttribute | null;
|
|
51
|
+
searchDogmaAttributesByName(query: string, limit?: number): DogmaAttribute[];
|
|
52
|
+
getDogmaEffect(effectId: number): DogmaEffect | null;
|
|
53
|
+
searchDogmaEffectsByName(query: string, limit?: number): DogmaEffect[];
|
|
54
|
+
getDogmaAttributeCategory(attributeCategoryId: number): DogmaAttributeCategory | null;
|
|
55
|
+
getAllDogmaAttributeCategories(): DogmaAttributeCategory[];
|
|
56
|
+
getDogmaUnit(unitId: number): DogmaUnit | null;
|
|
57
|
+
getAllDogmaUnits(): DogmaUnit[];
|
|
58
|
+
getBlueprint(blueprintTypeId: number): Blueprint | null;
|
|
59
|
+
getPlanetSchematic(planetSchematicId: number): PlanetSchematic | null;
|
|
60
|
+
getAllPlanetSchematics(): PlanetSchematic[];
|
|
61
|
+
getIndustryActivity(industryActivityId: number): IndustryActivity | null;
|
|
62
|
+
getAllIndustryActivities(): IndustryActivity[];
|
|
63
|
+
getAgentType(agentTypeId: number): AgentType | null;
|
|
64
|
+
getAllAgentTypes(): AgentType[];
|
|
65
|
+
getAgentInSpace(characterId: number): AgentInSpace | null;
|
|
66
|
+
getAgentsInSpaceBySystem(systemId: number): AgentInSpace[];
|
|
67
|
+
getCertificate(certificateId: number): Certificate | null;
|
|
68
|
+
getAllCertificates(): Certificate[];
|
|
69
|
+
getCharacterAttribute(attributeId: number): CharacterAttribute | null;
|
|
70
|
+
getAllCharacterAttributes(): CharacterAttribute[];
|
|
71
|
+
getNpcCharacter(characterId: number): NpcCharacter | null;
|
|
72
|
+
getNpcCharactersByCorporation(corporationId: number): NpcCharacter[];
|
|
73
|
+
searchNpcCharactersByName(query: string, limit?: number): NpcCharacter[];
|
|
74
|
+
getCloneGrade(cloneGradeId: number): CloneGrade | null;
|
|
75
|
+
getAllCloneGrades(): CloneGrade[];
|
|
76
|
+
getCorporationActivity(corporationActivityId: number): CorporationActivity | null;
|
|
77
|
+
getAllCorporationActivities(): CorporationActivity[];
|
|
78
|
+
getNpcCorporationDivision(npcCorporationDivisionId: number): NpcCorporationDivision | null;
|
|
79
|
+
getAllNpcCorporationDivisions(): NpcCorporationDivision[];
|
|
80
|
+
getLandmark(landmarkId: number): Landmark | null;
|
|
81
|
+
getAllLandmarks(): Landmark[];
|
|
82
|
+
getNotificationType(notificationTypeId: number): NotificationType | null;
|
|
83
|
+
getSchool(schoolId: number): School | null;
|
|
84
|
+
getAllSchools(): School[];
|
|
85
|
+
getSecondarySun(secondarySunId: number): SecondarySun | null;
|
|
86
|
+
getSecondarySunsBySystem(systemId: number): SecondarySun[];
|
|
87
|
+
getSkin(skinId: number): Skin | null;
|
|
88
|
+
getSkinLicense(licenseTypeId: number): SkinLicense | null;
|
|
89
|
+
getSkinLicensesBySkin(skinId: number): SkinLicense[];
|
|
90
|
+
getStationOperation(stationOperationId: number): StationOperation | null;
|
|
91
|
+
getAllStationOperations(): StationOperation[];
|
|
92
|
+
getStationService(stationServiceId: number): StationService | null;
|
|
93
|
+
getAllStationServices(): StationService[];
|
|
94
|
+
getTypeDogma(typeId: number): TypeDogma | null;
|
|
95
|
+
getTypeMaterial(typeId: number): TypeMaterial | null;
|
|
96
|
+
getTypeBonus(typeId: number): TypeBonus | null;
|
|
97
|
+
getMission(missionId: number): Mission | null;
|
|
98
|
+
getDungeon(dungeonId: number): Dungeon | null;
|
|
99
|
+
getEpicArc(epicArcId: number): EpicArc | null;
|
|
100
|
+
getAllEpicArcs(): EpicArc[];
|
|
101
|
+
getEntity<T = Record<string, unknown>>(tableName: string, id: number | string): T | null;
|
|
102
|
+
getAllEntities<T = Record<string, unknown>>(tableName: string): T[];
|
|
103
|
+
getVersion(): SdeVersionInfo;
|
|
104
|
+
close(): void;
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=IStaticDataProvider.d.ts.map
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import type { IStaticDataProvider } from './IStaticDataProvider.mjs';
|
|
2
|
+
import type { EveType, EveGroup, EveCategory, Region, Constellation, SolarSystem, Stargate, Star, Planet, Moon, AsteroidBelt, Faction, Race, Bloodline, Ancestry, NpcCorporation, NpcStation, MarketGroup, MetaGroup, Icon, Graphic, DogmaAttribute, DogmaEffect, Blueprint, PlanetSchematic, AgentType, AgentInSpace, Certificate, CharacterAttribute, CloneGrade, CorporationActivity, DogmaAttributeCategory, DogmaUnit, IndustryActivity, Landmark, NotificationType, NpcCharacter, NpcCorporationDivision, School, SecondarySun, Skin, SkinLicense, StationOperation, StationService, TypeDogma, TypeMaterial, TypeBonus, Mission, Dungeon, EpicArc } from './types.mjs';
|
|
3
|
+
import type { SdeVersionInfo } from './version.mjs';
|
|
4
|
+
export interface MemorySdeData {
|
|
5
|
+
types?: EveType[];
|
|
6
|
+
groups?: EveGroup[];
|
|
7
|
+
categories?: EveCategory[];
|
|
8
|
+
regions?: Region[];
|
|
9
|
+
constellations?: Constellation[];
|
|
10
|
+
solarSystems?: SolarSystem[];
|
|
11
|
+
stargates?: Stargate[];
|
|
12
|
+
stars?: Star[];
|
|
13
|
+
planets?: Planet[];
|
|
14
|
+
moons?: Moon[];
|
|
15
|
+
asteroidBelts?: AsteroidBelt[];
|
|
16
|
+
factions?: Faction[];
|
|
17
|
+
races?: Race[];
|
|
18
|
+
bloodlines?: Bloodline[];
|
|
19
|
+
ancestries?: Ancestry[];
|
|
20
|
+
npcCorporations?: NpcCorporation[];
|
|
21
|
+
npcStations?: NpcStation[];
|
|
22
|
+
marketGroups?: MarketGroup[];
|
|
23
|
+
metaGroups?: MetaGroup[];
|
|
24
|
+
icons?: Icon[];
|
|
25
|
+
graphics?: Graphic[];
|
|
26
|
+
dogmaAttributes?: DogmaAttribute[];
|
|
27
|
+
dogmaEffects?: DogmaEffect[];
|
|
28
|
+
blueprints?: Blueprint[];
|
|
29
|
+
planetSchematics?: PlanetSchematic[];
|
|
30
|
+
agentTypes?: AgentType[];
|
|
31
|
+
agentsInSpace?: AgentInSpace[];
|
|
32
|
+
certificates?: Certificate[];
|
|
33
|
+
characterAttributes?: CharacterAttribute[];
|
|
34
|
+
cloneGrades?: CloneGrade[];
|
|
35
|
+
corporationActivities?: CorporationActivity[];
|
|
36
|
+
dogmaAttributeCategories?: DogmaAttributeCategory[];
|
|
37
|
+
dogmaUnits?: DogmaUnit[];
|
|
38
|
+
industryActivities?: IndustryActivity[];
|
|
39
|
+
landmarks?: Landmark[];
|
|
40
|
+
notificationTypes?: NotificationType[];
|
|
41
|
+
npcCharacters?: NpcCharacter[];
|
|
42
|
+
npcCorporationDivisions?: NpcCorporationDivision[];
|
|
43
|
+
schools?: School[];
|
|
44
|
+
secondarySuns?: SecondarySun[];
|
|
45
|
+
skins?: Skin[];
|
|
46
|
+
skinLicenses?: SkinLicense[];
|
|
47
|
+
stationOperations?: StationOperation[];
|
|
48
|
+
stationServices?: StationService[];
|
|
49
|
+
typeDogma?: TypeDogma[];
|
|
50
|
+
typeMaterials?: TypeMaterial[];
|
|
51
|
+
typeBonuses?: TypeBonus[];
|
|
52
|
+
missions?: Mission[];
|
|
53
|
+
dungeons?: Dungeon[];
|
|
54
|
+
epicArcs?: EpicArc[];
|
|
55
|
+
version?: Partial<SdeVersionInfo>;
|
|
56
|
+
}
|
|
57
|
+
export declare class MemorySdeProvider implements IStaticDataProvider {
|
|
58
|
+
private data;
|
|
59
|
+
private versionInfo;
|
|
60
|
+
constructor(data?: MemorySdeData);
|
|
61
|
+
private getById;
|
|
62
|
+
private getAllFrom;
|
|
63
|
+
private filterBy;
|
|
64
|
+
private searchBy;
|
|
65
|
+
getType(typeId: number): EveType | null;
|
|
66
|
+
getTypesByGroup(groupId: number): EveType[];
|
|
67
|
+
getGroup(groupId: number): EveGroup | null;
|
|
68
|
+
getGroupsByCategory(categoryId: number): EveGroup[];
|
|
69
|
+
getCategory(categoryId: number): EveCategory | null;
|
|
70
|
+
getAllCategories(): EveCategory[];
|
|
71
|
+
getRegion(regionId: number): Region | null;
|
|
72
|
+
getAllRegions(): Region[];
|
|
73
|
+
getConstellation(constellationId: number): Constellation | null;
|
|
74
|
+
getConstellationsByRegion(regionId: number): Constellation[];
|
|
75
|
+
getSolarSystem(systemId: number): SolarSystem | null;
|
|
76
|
+
getSolarSystemsByConstellation(constellationId: number): SolarSystem[];
|
|
77
|
+
getStargate(stargateId: number): Stargate | null;
|
|
78
|
+
getStargatesBySystem(systemId: number): Stargate[];
|
|
79
|
+
searchTypesByName(query: string, limit?: number): EveType[];
|
|
80
|
+
searchSolarSystemsByName(query: string, limit?: number): SolarSystem[];
|
|
81
|
+
getStar(starId: number): Star | null;
|
|
82
|
+
getStarBySystem(systemId: number): Star | null;
|
|
83
|
+
getPlanet(planetId: number): Planet | null;
|
|
84
|
+
getPlanetsBySystem(systemId: number): Planet[];
|
|
85
|
+
getMoon(moonId: number): Moon | null;
|
|
86
|
+
getMoonsBySystem(systemId: number): Moon[];
|
|
87
|
+
getAsteroidBelt(asteroidBeltId: number): AsteroidBelt | null;
|
|
88
|
+
getAsteroidBeltsBySystem(systemId: number): AsteroidBelt[];
|
|
89
|
+
getFaction(factionId: number): Faction | null;
|
|
90
|
+
getAllFactions(): Faction[];
|
|
91
|
+
getRace(raceId: number): Race | null;
|
|
92
|
+
getAllRaces(): Race[];
|
|
93
|
+
getBloodline(bloodlineId: number): Bloodline | null;
|
|
94
|
+
getBloodlinesByRace(raceId: number): Bloodline[];
|
|
95
|
+
getAncestry(ancestryId: number): Ancestry | null;
|
|
96
|
+
getAncestriesByBloodline(bloodlineId: number): Ancestry[];
|
|
97
|
+
getNpcCorporation(corporationId: number): NpcCorporation | null;
|
|
98
|
+
getNpcCorporationsByFaction(factionId: number): NpcCorporation[];
|
|
99
|
+
getNpcStation(stationId: number): NpcStation | null;
|
|
100
|
+
getNpcStationsBySystem(systemId: number): NpcStation[];
|
|
101
|
+
getNpcStationsByOwner(ownerId: number): NpcStation[];
|
|
102
|
+
getMarketGroup(marketGroupId: number): MarketGroup | null;
|
|
103
|
+
getMarketGroupsByParent(parentGroupId: number): MarketGroup[];
|
|
104
|
+
getRootMarketGroups(): MarketGroup[];
|
|
105
|
+
getTypesByMarketGroup(marketGroupId: number): EveType[];
|
|
106
|
+
searchMarketGroupsByName(query: string, limit?: number): MarketGroup[];
|
|
107
|
+
getMetaGroup(metaGroupId: number): MetaGroup | null;
|
|
108
|
+
getAllMetaGroups(): MetaGroup[];
|
|
109
|
+
getIcon(iconId: number): Icon | null;
|
|
110
|
+
getGraphic(graphicId: number): Graphic | null;
|
|
111
|
+
getDogmaAttribute(attributeId: number): DogmaAttribute | null;
|
|
112
|
+
searchDogmaAttributesByName(query: string, limit?: number): DogmaAttribute[];
|
|
113
|
+
getDogmaEffect(effectId: number): DogmaEffect | null;
|
|
114
|
+
searchDogmaEffectsByName(query: string, limit?: number): DogmaEffect[];
|
|
115
|
+
getDogmaAttributeCategory(attributeCategoryId: number): DogmaAttributeCategory | null;
|
|
116
|
+
getAllDogmaAttributeCategories(): DogmaAttributeCategory[];
|
|
117
|
+
getDogmaUnit(unitId: number): DogmaUnit | null;
|
|
118
|
+
getAllDogmaUnits(): DogmaUnit[];
|
|
119
|
+
getBlueprint(blueprintTypeId: number): Blueprint | null;
|
|
120
|
+
getPlanetSchematic(planetSchematicId: number): PlanetSchematic | null;
|
|
121
|
+
getAllPlanetSchematics(): PlanetSchematic[];
|
|
122
|
+
getIndustryActivity(industryActivityId: number): IndustryActivity | null;
|
|
123
|
+
getAllIndustryActivities(): IndustryActivity[];
|
|
124
|
+
getAgentType(agentTypeId: number): AgentType | null;
|
|
125
|
+
getAllAgentTypes(): AgentType[];
|
|
126
|
+
getAgentInSpace(characterId: number): AgentInSpace | null;
|
|
127
|
+
getAgentsInSpaceBySystem(systemId: number): AgentInSpace[];
|
|
128
|
+
getCertificate(certificateId: number): Certificate | null;
|
|
129
|
+
getAllCertificates(): Certificate[];
|
|
130
|
+
getCharacterAttribute(attributeId: number): CharacterAttribute | null;
|
|
131
|
+
getAllCharacterAttributes(): CharacterAttribute[];
|
|
132
|
+
getNpcCharacter(characterId: number): NpcCharacter | null;
|
|
133
|
+
getNpcCharactersByCorporation(corporationId: number): NpcCharacter[];
|
|
134
|
+
searchNpcCharactersByName(query: string, limit?: number): NpcCharacter[];
|
|
135
|
+
getCloneGrade(cloneGradeId: number): CloneGrade | null;
|
|
136
|
+
getAllCloneGrades(): CloneGrade[];
|
|
137
|
+
getCorporationActivity(corporationActivityId: number): CorporationActivity | null;
|
|
138
|
+
getAllCorporationActivities(): CorporationActivity[];
|
|
139
|
+
getNpcCorporationDivision(npcCorporationDivisionId: number): NpcCorporationDivision | null;
|
|
140
|
+
getAllNpcCorporationDivisions(): NpcCorporationDivision[];
|
|
141
|
+
getLandmark(landmarkId: number): Landmark | null;
|
|
142
|
+
getAllLandmarks(): Landmark[];
|
|
143
|
+
getNotificationType(notificationTypeId: number): NotificationType | null;
|
|
144
|
+
getSchool(schoolId: number): School | null;
|
|
145
|
+
getAllSchools(): School[];
|
|
146
|
+
getSecondarySun(secondarySunId: number): SecondarySun | null;
|
|
147
|
+
getSecondarySunsBySystem(systemId: number): SecondarySun[];
|
|
148
|
+
getSkin(skinId: number): Skin | null;
|
|
149
|
+
getSkinLicense(licenseTypeId: number): SkinLicense | null;
|
|
150
|
+
getSkinLicensesBySkin(skinId: number): SkinLicense[];
|
|
151
|
+
getStationOperation(stationOperationId: number): StationOperation | null;
|
|
152
|
+
getAllStationOperations(): StationOperation[];
|
|
153
|
+
getStationService(stationServiceId: number): StationService | null;
|
|
154
|
+
getAllStationServices(): StationService[];
|
|
155
|
+
getTypeDogma(typeId: number): TypeDogma | null;
|
|
156
|
+
getTypeMaterial(typeId: number): TypeMaterial | null;
|
|
157
|
+
getTypeBonus(typeId: number): TypeBonus | null;
|
|
158
|
+
getMission(missionId: number): Mission | null;
|
|
159
|
+
getDungeon(dungeonId: number): Dungeon | null;
|
|
160
|
+
getEpicArc(epicArcId: number): EpicArc | null;
|
|
161
|
+
getAllEpicArcs(): EpicArc[];
|
|
162
|
+
getEntity<T = Record<string, unknown>>(tableName: string, id: number | string): T | null;
|
|
163
|
+
getAllEntities<T = Record<string, unknown>>(tableName: string): T[];
|
|
164
|
+
getVersion(): SdeVersionInfo;
|
|
165
|
+
close(): void;
|
|
166
|
+
}
|
|
167
|
+
//# sourceMappingURL=MemorySdeProvider.d.ts.map
|