typed-factorio 0.20.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/Changelog.md +17 -8
- package/generated/classes.d.ts +422 -118
- package/generated/concepts.d.ts +178 -84
- package/generated/defines.d.ts +9 -0
- package/generated/events.d.ts +65 -1
- package/package.json +1 -1
package/Changelog.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# v1.1.0
|
2
|
+
|
3
|
+
- Updated to factorio version 1.1.59
|
4
|
+
|
5
|
+
# v1.0.0
|
6
|
+
|
7
|
+
- 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)!
|
8
|
+
- Updated to factorio version 1.1.57
|
9
|
+
|
1
10
|
# v0.20.0
|
2
11
|
|
3
12
|
- Updated to factorio version 1.1.56
|
@@ -39,8 +48,8 @@
|
|
39
48
|
# v0.15.0
|
40
49
|
|
41
50
|
- Table or array concepts are now declared in table form wherever it is an "read" position.
|
42
|
-
|
43
|
-
|
51
|
+
- This works with setter overloading for applicable properties: `player.color.x; player.color = [1, 1, 1]` is now valid!
|
52
|
+
- This also applies to concepts/complex types which contain table_or_array properties.
|
44
53
|
- 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
54
|
- 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
55
|
- `MapPosition` is now a table or array concept.
|
@@ -56,17 +65,17 @@
|
|
56
65
|
- 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
66
|
- `@noSelf` annotation is now only present when necessary.
|
58
67
|
- For classes with subclasses:
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
68
|
+
- The original class name (e.g. `LuaItemStack`) still contains attributes of all subclasses (same as before).
|
69
|
+
- There is now a `Base` type (e.g. `BaseItemStack`) which only includes attributes common to all subclasses.
|
70
|
+
- 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).
|
71
|
+
- The above two can be optionally used for stricter types.
|
63
72
|
|
64
73
|
# v0.13.2
|
65
74
|
|
66
75
|
- Fix: resize_to_sprite property should not be on subclass sprite-button
|
67
76
|
- Fix: ChooseElemButtonSpec filters should be named elem_filters
|
68
77
|
- Switch back to `/latest` api docs link
|
69
|
-
|
78
|
+
- New version of web api docs is now active
|
70
79
|
|
71
80
|
# v0.13.0
|
72
81
|
|
@@ -102,7 +111,7 @@
|
|
102
111
|
# v0.7.3
|
103
112
|
|
104
113
|
- Update to factorio version 1.1.42
|
105
|
-
|
114
|
+
- No api changes, but improvements to descriptions
|
106
115
|
|
107
116
|
# v0.7.2
|
108
117
|
|