s2cfgtojson 7.0.5 → 7.0.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.
Files changed (3) hide show
  1. package/Struct.mts +5 -1
  2. package/package.json +3 -2
  3. package/types.mts +1 -1
package/Struct.mts CHANGED
@@ -32,7 +32,11 @@ export type GetStructType<In> =
32
32
  In extends Array<any>
33
33
  ? Struct & { [key: `${number}`]: GetStructType<In[typeof key]> }
34
34
  : In extends Record<any, any>
35
- ? Struct & { [key in keyof In]: GetStructType<In[key]> }
35
+ ? Struct & {
36
+ [key in keyof In]: key extends "__internal__"
37
+ ? Refs
38
+ : GetStructType<In[key]>;
39
+ }
36
40
  : In extends string
37
41
  ? In
38
42
  : In extends number
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "s2cfgtojson",
3
- "version": "7.0.5",
3
+ "version": "7.0.7",
4
4
  "description": "Converts Stalker 2 Cfg file into POJOs",
5
5
  "keywords": [
6
6
  "stalker",
@@ -24,7 +24,8 @@
24
24
  "type": "module",
25
25
  "main": "Struct.mts",
26
26
  "scripts": {
27
- "test": "vitest"
27
+ "test": "vitest",
28
+ "release:patch": "npm version patch && npm i && npm publish"
28
29
  },
29
30
  "devDependencies": {
30
31
  "@types/node": "^24.5.2",
package/types.mts CHANGED
@@ -10026,7 +10026,7 @@ export type QuestNodePrototypeTargetLocations = GetStructType<
10026
10026
 
10027
10027
  export type QuestNodePrototypeTechnical = GetStructType<{
10028
10028
  BrokenGameDataFilter: EBrokenGameDataFilter;
10029
- Launchers: string;
10029
+ Launchers: QuestNodePrototypeLaunchers;
10030
10030
  LaunchOnQuestStart: boolean;
10031
10031
  NodePrototypeVersion: number;
10032
10032
  NodeType: "EQuestNodeType::Technical" & EQuestNodeType;