warframe-public-export-plus 0.6.5 → 0.6.7

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/index.d.ts CHANGED
@@ -50,7 +50,7 @@ export declare const ExportResources: Record<string, IResource>;
50
50
  export declare const ExportRewards: Record<string, TMissionDeck>;
51
51
  export declare const ExportSentinels: Record<string, ISentinel>;
52
52
  export declare const ExportSyndicates: Record<string, ISyndicate>;
53
- export declare const ExportSystems: ISystem[];
53
+ export declare const ExportSystems: readonly ISystem[];
54
54
  export declare const ExportTextIcons: Record<string, ITextIcon>;
55
55
  export declare const ExportTilesets: Record<string, ITileset>;
56
56
  export declare const ExportUpgrades: Record<string, IUpgrade>;
@@ -90,7 +90,7 @@ export interface IAchievement {
90
90
  hidden?: true;
91
91
  requiredCount?: number;
92
92
  progressIndicatorFreq?: number;
93
- children?: string[];
93
+ children?: readonly string[];
94
94
  }
95
95
 
96
96
  export interface IAnimal {
@@ -112,7 +112,7 @@ export interface IArcane {
112
112
  codexSecret: boolean;
113
113
  excludeFromCodex?: true;
114
114
  rarity: TRarity;
115
- levelStats?: {
115
+ levelStats?: readonly {
116
116
  tag: string;
117
117
  sub: Record<string,
118
118
  { tag: string; sub: Record<string, string> }
@@ -138,8 +138,8 @@ export interface IBoosterPack {
138
138
  name: string;
139
139
  description: string;
140
140
  icon?: string;
141
- components: IBoosterPackComponent[];
142
- rarityWeightsPerRoll: Record<TRarity, number>[];
141
+ components: readonly IBoosterPackComponent[];
142
+ rarityWeightsPerRoll: readonly Record<TRarity, number>[];
143
143
  canGiveDuplicates: boolean;
144
144
  platinumCost?: number;
145
145
  excludeFromMarket?: true;
@@ -164,7 +164,7 @@ export interface IBounty {
164
164
  name: string;
165
165
  description: string;
166
166
  icon: string;
167
- stages: string[][];
167
+ stages: readonly string[][];
168
168
  }
169
169
 
170
170
  export type TPlatform =
@@ -183,7 +183,7 @@ export interface IBundle {
183
183
  description?: string;
184
184
  icon?: string;
185
185
  excludeFromCodex?: true;
186
- components: {
186
+ components: readonly {
187
187
  typeName: string;
188
188
  purchaseQuantity: number;
189
189
  durabilityDays?: number; // for boosters
@@ -197,7 +197,7 @@ export interface IBundle {
197
197
  oneTimePurchasable?: true;
198
198
  bundledPlatinum?: number;
199
199
  platinumBundlePair?: string;
200
- excludedPlatforms?: TPlatform[];
200
+ excludedPlatforms?: readonly TPlatform[];
201
201
  }
202
202
 
203
203
  export interface IChallenge {
@@ -208,7 +208,7 @@ export interface IChallenge {
208
208
  icon?: string;
209
209
  requiredCount?: number;
210
210
  standing?: number;
211
- countedRewards?: ICountedStoreItem[];
211
+ countedRewards?: readonly ICountedStoreItem[];
212
212
  message?: IInboxMessage;
213
213
  }
214
214
 
@@ -267,14 +267,14 @@ export interface ICustom {
267
267
  productCategory: "WeaponSkins" | "CrewShipWeaponSkins";
268
268
  alwaysAvailable?: true;
269
269
  requirement?: string;
270
- additionalItems?: string[];
270
+ additionalItems?: readonly string[];
271
271
  tradable: boolean;
272
- subroutines?: string[];
273
- randomisedUpgrades?: {
272
+ subroutines?: readonly string[];
273
+ randomisedUpgrades?: readonly {
274
274
  tag: string;
275
- range: number[];
275
+ range: readonly number[];
276
276
  }[];
277
- excludedPlatforms?: TPlatform[];
277
+ excludedPlatforms?: readonly TPlatform[];
278
278
  platinumCost?: number;
279
279
  excludeFromMarket?: true;
280
280
  }
@@ -284,7 +284,7 @@ export interface IExportDojoRecipes {
284
284
  fabrications: Record<string, {
285
285
  resultType: string;
286
286
  price: number;
287
- ingredients: ICountedItem[];
287
+ ingredients: readonly ICountedItem[];
288
288
  }>;
289
289
  rooms: Record<string, IDojoRoom>;
290
290
  decos: Record<string, IDojoDeco>;
@@ -302,7 +302,7 @@ export interface IDojoRecipe {
302
302
  price: number;
303
303
  time: number;
304
304
  skipTimePrice: number;
305
- ingredients: ICountedItem[];
305
+ ingredients: readonly ICountedItem[];
306
306
  guildXpValue?: number;
307
307
  }
308
308
 
@@ -367,7 +367,7 @@ export interface IEnemyAgent {
367
367
  EXIMUS?: string;
368
368
  RARE?: string;
369
369
  };
370
- items?: {
370
+ items?: readonly {
371
371
  type: string;
372
372
  }[];
373
373
  }
@@ -391,8 +391,8 @@ export interface IEnemyAvatar {
391
391
  export interface IDamageController {
392
392
  armor: number;
393
393
  shield: number;
394
- unhandledProcTypes: TProcType[];
395
- hitProxies?: {
394
+ unhandledProcTypes: readonly TProcType[];
395
+ hitProxies?: readonly {
396
396
  bone: string;
397
397
  type: string;
398
398
  }[];
@@ -408,14 +408,14 @@ export interface IAiWeapon {
408
408
  name?: string;
409
409
  description?: string;
410
410
  icon?: string;
411
- behaviours?: IWeaponBehaviour[];
411
+ behaviours?: readonly IWeaponBehaviour[];
412
412
  }
413
413
 
414
- export type TDroptable = IRewardPool[];
414
+ export type TDroptable = readonly IRewardPool[];
415
415
  export interface IRewardPool {
416
416
  type: "mod" | "blueprint" | "resource" | "sigil" | "additionalItem" | "relic";
417
417
  chance: number;
418
- items: {
418
+ items: readonly {
419
419
  type: string;
420
420
  probability: number;
421
421
  }[];
@@ -451,8 +451,8 @@ export interface IFlavourItem {
451
451
  alwaysAvailable?: true;
452
452
  platinumCost?: number;
453
453
  excludeFromMarket?: true;
454
- hexColours?: IColour[];
455
- legacyColours?: IColour[];
454
+ hexColours?: readonly IColour[];
455
+ legacyColours?: readonly IColour[];
456
456
  titleTag?: string;
457
457
  }
458
458
 
@@ -471,7 +471,7 @@ export interface IFocusUpgrade {
471
471
  baseDrain: number;
472
472
  fusionLimit: number;
473
473
  excludeFromCodex: true;
474
- levelStats: Record<string, string>[];
474
+ levelStats: readonly Record<string, string>[];
475
475
  description: string;
476
476
  baseFocusPointCost: number;
477
477
  }
@@ -504,7 +504,7 @@ export interface IIntrinsic {
504
504
  name: string;
505
505
  description: string;
506
506
  icon: string;
507
- ranks: IIntrinsicRank[];
507
+ ranks: readonly IIntrinsicRank[];
508
508
  }
509
509
 
510
510
  export interface IIntrinsicRank {
@@ -516,8 +516,8 @@ export interface IInboxMessage {
516
516
  sender: string;
517
517
  title: string;
518
518
  body: string;
519
- attachments: string[];
520
- countedAttachments: ICountedItem[];
519
+ attachments: readonly string[];
520
+ countedAttachments: readonly ICountedItem[];
521
521
  icon?: string;
522
522
  transmission?: string;
523
523
  highPriority?: boolean;
@@ -527,9 +527,9 @@ export interface IInboxMessage {
527
527
 
528
528
  export interface IMissionReward {
529
529
  credits?: number;
530
- items?: string[];
531
- countedItems?: ICountedItem[];
532
- countedStoreItems?: ICountedStoreItem[];
530
+ items?: readonly string[];
531
+ countedItems?: readonly ICountedItem[];
532
+ countedStoreItems?: readonly ICountedStoreItem[];
533
533
  droptable?: string;
534
534
  }
535
535
 
@@ -553,13 +553,13 @@ export interface IKey {
553
553
  codexSecret: boolean;
554
554
  excludeFromCodex?: true;
555
555
  replayable?: boolean;
556
- chainStages?: {
556
+ chainStages?: readonly {
557
557
  key?: string;
558
- itemsToGiveWhenTriggered: string[];
558
+ itemsToGiveWhenTriggered: readonly string[];
559
559
  messageToSendWhenTriggered?: IInboxMessage;
560
560
  }[];
561
561
  missionReward?: IMissionReward;
562
- rewards?: TReward[];
562
+ rewards?: readonly TReward[];
563
563
  cacheRewardManifest?: string;
564
564
  mission?: {
565
565
  minEnemyLevel?: number;
@@ -631,7 +631,7 @@ export interface IModSet {
631
631
  description: string;
632
632
  icon: string;
633
633
  numUpgradesInSet: number;
634
- levelStats: Record<string, string>[];
634
+ levelStats: readonly Record<string, string>[];
635
635
  buffSet?: boolean;
636
636
  }
637
637
 
@@ -646,7 +646,7 @@ export interface IExportNightwave {
646
646
  tip?: string;
647
647
  tipIcon?: string;
648
648
  }>;
649
- rewards: {
649
+ rewards: readonly {
650
650
  uniqueName: string;
651
651
  name?: string;
652
652
  description?: string;
@@ -660,7 +660,7 @@ export interface IRailjackWeapon {
660
660
  parentName: string;
661
661
  icon: string;
662
662
  codexSecret: boolean;
663
- damagePerShot?: number[];
663
+ damagePerShot?: readonly number[];
664
664
  totalDamage?: number;
665
665
  description: string;
666
666
  criticalChance?: number;
@@ -678,10 +678,10 @@ export interface IRailjackWeapon {
678
678
  magazineSize?: number;
679
679
  reloadTime?: number;
680
680
  multishot?: number;
681
- compatibilityTags?: string[];
681
+ compatibilityTags?: readonly string[];
682
682
  variantType: "VT_NORMAL";
683
- behaviours: IWeaponBehaviour[];
684
- defaultUpgrades?: IDefaultUpgrade[];
683
+ behaviours: readonly IWeaponBehaviour[];
684
+ defaultUpgrades?: readonly IDefaultUpgrade[];
685
685
  creditsCost?: number;
686
686
  excludeFromMarket?: true;
687
687
  }
@@ -698,9 +698,9 @@ export interface IRecipe {
698
698
  alwaysAvailable?: true;
699
699
  hidden?: true;
700
700
  primeSellingPrice?: number;
701
- ingredients: ICountedItem[];
701
+ ingredients: readonly ICountedItem[];
702
702
  secretIngredientAction?: "SIA_UNBRAND" | "SIA_SPECTRE_LOADOUT_COPY" | "SIA_GILD_WEAPON" | "SIA_CREATE_KUBROW" | "SIA_DISTILL_PRINT" | "SIA_WARFRAME_ABILITY";
703
- secretIngredients?: {
703
+ secretIngredients?: readonly {
704
704
  ItemType: string;
705
705
  ItemCount: number;
706
706
  }[];
@@ -733,12 +733,12 @@ export interface IRegion {
733
733
  enemySpec?: string;
734
734
  extraEnemySpec?: string;
735
735
  vipAgent?: string;
736
- customAdvancedSpawners?: string[];
736
+ customAdvancedSpawners?: readonly string[];
737
737
  missionReward?: IMissionReward;
738
738
  miscItemFee?: ICountedItem;
739
- founders?: string[];
740
- challenges?: string[];
741
- rewardManifests: string[];
739
+ founders?: readonly string[];
740
+ challenges?: readonly string[];
741
+ rewardManifests: readonly string[];
742
742
  cacheRewardManifest?: string;
743
743
  darkSectorData?: {
744
744
  resourceBonus: number;
@@ -747,7 +747,7 @@ export interface IRegion {
747
747
  weaponXpBonusVal: number;
748
748
  };
749
749
  questReq?: string;
750
- nextNodes: string[];
750
+ nextNodes: readonly string[];
751
751
  hidden?: true;
752
752
  }
753
753
 
@@ -780,10 +780,10 @@ export interface IResource {
780
780
  deco?: string; // for ShipDecorations & FusionTreasures
781
781
  capacityCost?: number; // for ShipDecorations & FusionTreasures
782
782
  dojoCapacityCost?: number; // for ShipDecorations & FusionTreasures
783
- sockets?: string[]; // for FusionTreasures
783
+ sockets?: readonly string[]; // for FusionTreasures
784
784
  syndicateTag?: string; // for fish
785
785
  standingBonus?: number; // for fish
786
- dissectionParts?: ICountedItem[]; // for fish
786
+ dissectionParts?: readonly ICountedItem[]; // for fish
787
787
  platinumCost?: number;
788
788
  excludeFromMarket?: true;
789
789
  oneTimePurchasable?: true;
@@ -792,8 +792,8 @@ export interface IResource {
792
792
  helminthSnack?: IHelminthSnack;
793
793
  }
794
794
 
795
- export type TMissionDeck = TRewardTier[];
796
- export type TRewardTier = IReward[];
795
+ export type TMissionDeck = readonly TRewardTier[];
796
+ export type TRewardTier = readonly IReward[];
797
797
  export interface IReward {
798
798
  type: string;
799
799
  itemCount: number;
@@ -814,8 +814,8 @@ export interface ISentinel {
814
814
  description: string;
815
815
  productCategory: "SpecialItems" | "KubrowPets" | "Sentinels" | "MoaPets";
816
816
  defaultWeapon?: string;
817
- exalted?: string[];
818
- defaultUpgrades?: IDefaultUpgrade[];
817
+ exalted?: readonly string[];
818
+ defaultUpgrades?: readonly IDefaultUpgrade[];
819
819
  platinumCost?: number;
820
820
  excludeFromMarket?: true;
821
821
  }
@@ -854,9 +854,9 @@ export interface ISyndicate {
854
854
  initiationSacrifice?: ISyndicateSacrifice;
855
855
  initiationReward?: string;
856
856
  alignments?: Record<string, number>;
857
- dailyChallenges?: string[];
858
- weeklyChallenges?: string[];
859
- titles?: {
857
+ dailyChallenges?: readonly string[];
858
+ weeklyChallenges?: readonly string[];
859
+ titles?: readonly {
860
860
  level: number;
861
861
  name: string;
862
862
  icon?: string;
@@ -867,12 +867,12 @@ export interface ISyndicate {
867
867
  reward?: ICountedItem;
868
868
  storeItemReward?: string;
869
869
  }[];
870
- medallions?: {
870
+ medallions?: readonly {
871
871
  itemType: string;
872
872
  standing: number;
873
873
  }[];
874
874
  medallionsCappedByDailyLimit?: boolean;
875
- favours: {
875
+ favours: readonly {
876
876
  storeItem: string;
877
877
  standingCost: number;
878
878
  creditsCost: number;
@@ -882,7 +882,7 @@ export interface ISyndicate {
882
882
  }
883
883
 
884
884
  export interface ISyndicateSacrifice {
885
- items: ICountedItem[];
885
+ items: readonly ICountedItem[];
886
886
  credits: number;
887
887
  }
888
888
 
@@ -891,7 +891,7 @@ export interface ISystem {
891
891
  name: string;
892
892
  droneDamage: IRange;
893
893
  damageChance: number;
894
- resources: IPickUpTypeRarity[];
894
+ resources: readonly IPickUpTypeRarity[];
895
895
  }
896
896
 
897
897
  export interface IRange {
@@ -926,9 +926,9 @@ export interface ITileset {
926
926
 
927
927
  export interface ITilesetMission {
928
928
  procLevel: string;
929
- enemySpecs?: string[];
930
- extraEnemySpecs?: string[];
931
- advancedSpawners?: string[];
929
+ enemySpecs?: readonly string[];
930
+ extraEnemySpecs?: readonly string[];
931
+ advancedSpawners?: readonly string[];
932
932
  vipAgent?: string;
933
933
  }
934
934
 
@@ -942,37 +942,37 @@ export interface IUpgrade {
942
942
  fusionLimit: number;
943
943
  compat?: string;
944
944
  compatName?: string;
945
- compatibilityTags?: string[];
946
- incompatibilityTags?: string[];
945
+ compatibilityTags?: readonly string[];
946
+ incompatibilityTags?: readonly string[];
947
947
  type?: string;
948
948
  description?: string;
949
949
  isUtility?: true;
950
950
  modSet?: string;
951
- modSetValues?: number[];
951
+ modSetValues?: readonly number[];
952
952
  subtype?: string;
953
953
  excludeFromCodex?: true;
954
954
  isStarter?: true;
955
955
  isFrivolous?: true;
956
956
  tradable?: boolean;
957
- upgradeEntries?: {
957
+ upgradeEntries?: readonly {
958
958
  tag: string;
959
959
  prefixTag: string;
960
960
  suffixTag: string;
961
961
  canBeBuff: boolean;
962
962
  canBeCurse: boolean;
963
- upgradeValues: {
963
+ upgradeValues: readonly {
964
964
  value: number;
965
965
  locTag?: string;
966
966
  reverseValueSymbol?: boolean;
967
967
  }[];
968
968
  }[];
969
- availableChallenges?: { // for rivens
969
+ availableChallenges?: readonly { // for rivens
970
970
  fullName: string;
971
971
  description: string;
972
972
  singleDescription?: string;
973
- countRange: number[];
973
+ countRange: readonly number[];
974
974
  complicationChance: number;
975
- complications: {
975
+ complications: readonly {
976
976
  fullName: string;
977
977
  description: string;
978
978
  overrideTag?: string;
@@ -980,9 +980,9 @@ export interface IUpgrade {
980
980
  weight: number;
981
981
  }[];
982
982
  }[];
983
- compatibleItems?: string[]; // for rivens
984
- levelStats?: {
985
- stats: string[];
983
+ compatibleItems?: readonly string[]; // for rivens
984
+ levelStats?: readonly {
985
+ stats: readonly string[];
986
986
  }[];
987
987
  introducedAt?: number;
988
988
  }
@@ -991,13 +991,13 @@ export interface IVendor {
991
991
  isDynamic: boolean;
992
992
  isOneBinPerCycle?: boolean;
993
993
  requiredGoalTag?: string;
994
- items: IVendorOffer[];
995
- randomItemPricesPerBin?: {
994
+ items: readonly IVendorOffer[];
995
+ randomItemPricesPerBin?: readonly {
996
996
  type: string;
997
997
  count: IRange;
998
998
  }[][];
999
999
  numItems?: IRange;
1000
- numItemsPerBin?: number[];
1000
+ numItemsPerBin?: readonly number[];
1001
1001
  randomSeedType?: "VRST_FLAVOUR_TEXT" | "VRST_WEAPON";
1002
1002
  }
1003
1003
 
@@ -1015,7 +1015,7 @@ export interface IVendorOffer {
1015
1015
  step: number;
1016
1016
  };
1017
1017
  platinum?: number | IRange;
1018
- itemPrices?: ICountedItem[];
1018
+ itemPrices?: readonly ICountedItem[];
1019
1019
  numRandomItemPrices?: number;
1020
1020
  durationHours?: number | IRange;
1021
1021
  purchaseLimit?: number;
@@ -1051,13 +1051,13 @@ export interface IPowersuit {
1051
1051
  masteryReq: number;
1052
1052
  excludeFromCodex?: true;
1053
1053
  sprintSpeed: number;
1054
- abilities: ({ uniqueName: string } & IAbility)[];
1054
+ abilities: readonly ({ uniqueName: string } & IAbility)[];
1055
1055
  passiveDescription?: string;
1056
1056
  productCategory: "Suits" | "SpaceSuits" | "MechSuits" | "SpecialItems";
1057
- exalted?: string[];
1057
+ exalted?: readonly string[];
1058
1058
  longDescription?: string;
1059
1059
  variantType: "VT_NORMAL" | "VT_PRIME" | "VT_VARIANT";
1060
- additionalItems?: string[];
1060
+ additionalItems?: readonly string[];
1061
1061
  nemesisUpgradeTag?: "InnateElectricityDamage" | "InnateHeatDamage" | "InnateFreezeDamage" | "InnateToxinDamage" | "InnateMagDamage" | "InnateRadDamage" | "InnateImpactDamage";
1062
1062
  maxLevelCap?: number;
1063
1063
  platinumCost?: number;
@@ -1070,7 +1070,7 @@ export interface IWeapon {
1070
1070
  parentName: string;
1071
1071
  icon: string;
1072
1072
  codexSecret: boolean;
1073
- damagePerShot?: number[];
1073
+ damagePerShot?: readonly number[];
1074
1074
  totalDamage?: number;
1075
1075
  description: string;
1076
1076
  criticalChance?: number;
@@ -1088,8 +1088,8 @@ export interface IWeapon {
1088
1088
  magazineSize?: number;
1089
1089
  reloadTime?: number;
1090
1090
  multishot?: number;
1091
- compatibilityTags?: string[];
1092
- behaviours?: IWeaponBehaviour[];
1091
+ compatibilityTags?: readonly string[];
1092
+ behaviours?: readonly IWeaponBehaviour[];
1093
1093
  blockingAngle?: number;
1094
1094
  comboDuration?: number;
1095
1095
  followThrough?: number;
@@ -1115,8 +1115,8 @@ export interface IWeapon {
1115
1115
  partType?: string;
1116
1116
  gunType?: "GT_RIFLE" | "GT_SHOTGUN" | "GT_BEAM";
1117
1117
  donationStandingBonus?: number;
1118
- defaultUpgrades?: IDefaultUpgrade[];
1119
- additionalItems?: string[];
1118
+ defaultUpgrades?: readonly IDefaultUpgrade[];
1119
+ additionalItems?: readonly string[];
1120
1120
  bayonetOtherWeaponType?: string;
1121
1121
  tradable: boolean;
1122
1122
  introducedAt?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "warframe-public-export-plus",
3
- "version": "0.6.5",
3
+ "version": "0.6.7",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "exports": {
@@ -9,6 +9,7 @@ for (const line of indexTypes.split(/\r?\n/)) {
9
9
  types += "\n" + line.slice(21);
10
10
  }
11
11
  }
12
+ types = types.replaceAll("readonly ", "");
12
13
  types += "\n}";
13
14
 
14
15
  console.log("Generating schemas...");