typed-factorio 1.0.0-RC → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/Changelog.md +21 -8
- package/generated/classes.d.ts +293 -138
- package/generated/concepts.d.ts +182 -84
- package/generated/defines.d.ts +9 -0
- package/generated/events.d.ts +64 -0
- package/package.json +1 -1
package/Changelog.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
# v1.2.0
|
2
|
+
|
3
|
+
- Updated to factorio version 1.1.60
|
4
|
+
|
5
|
+
# v1.1.0
|
6
|
+
|
7
|
+
- Updated to factorio version 1.1.59
|
8
|
+
|
9
|
+
# v1.0.0
|
10
|
+
|
11
|
+
- This project now has all the features that was originally planned, and can now guarantee reasonable backwards compatibility for future releases. As such, it now deserves the v1.0.0. Goodbye to [Zer0Ver](http://0ver.org)!
|
12
|
+
- Updated to factorio version 1.1.57
|
13
|
+
|
1
14
|
# v0.20.0
|
2
15
|
|
3
16
|
- Updated to factorio version 1.1.56
|
@@ -39,8 +52,8 @@
|
|
39
52
|
# v0.15.0
|
40
53
|
|
41
54
|
- Table or array concepts are now declared in table form wherever it is an "read" position.
|
42
|
-
|
43
|
-
|
55
|
+
- This works with setter overloading for applicable properties: `player.color.x; player.color = [1, 1, 1]` is now valid!
|
56
|
+
- This also applies to concepts/complex types which contain table_or_array properties.
|
44
57
|
- Some concepts now also have a special form where it is known to be in a "read" position, where all table_or_array concepts are declared in table form. These concepts are suffixed with "Read", e.g. `ScriptAreaRead`.
|
45
58
|
- Arrays which are known to be in a "write" only form (e.g. method parameters) now are marked readonly. This means you can now pass readonly arrays to these methods.
|
46
59
|
- `MapPosition` is now a table or array concept.
|
@@ -56,17 +69,17 @@
|
|
56
69
|
- LuaStyle size, margin/padding setters now have more specific array types. These array types are `SizeArray` and `StyleValuesArray` for size and margin/padding, respectively.
|
57
70
|
- `@noSelf` annotation is now only present when necessary.
|
58
71
|
- For classes with subclasses:
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
72
|
+
- The original class name (e.g. `LuaItemStack`) still contains attributes of all subclasses (same as before).
|
73
|
+
- There is now a `Base` type (e.g. `BaseItemStack`) which only includes attributes common to all subclasses.
|
74
|
+
- There is a separate type definition for each subclass, e.g. `BlueprintItem`. Note that one instance may still belong to multiple subclasses (the subclasses are not mutually exclusive).
|
75
|
+
- The above two can be optionally used for stricter types.
|
63
76
|
|
64
77
|
# v0.13.2
|
65
78
|
|
66
79
|
- Fix: resize_to_sprite property should not be on subclass sprite-button
|
67
80
|
- Fix: ChooseElemButtonSpec filters should be named elem_filters
|
68
81
|
- Switch back to `/latest` api docs link
|
69
|
-
|
82
|
+
- New version of web api docs is now active
|
70
83
|
|
71
84
|
# v0.13.0
|
72
85
|
|
@@ -102,7 +115,7 @@
|
|
102
115
|
# v0.7.3
|
103
116
|
|
104
117
|
- Update to factorio version 1.1.42
|
105
|
-
|
118
|
+
- No api changes, but improvements to descriptions
|
106
119
|
|
107
120
|
# v0.7.2
|
108
121
|
|