@defold-typescript/library-types 0.23.0 → 0.25.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/NOTICE +2 -3
- package/api-doc/boom.json +3872 -0
- package/api-doc/bridge.json +10 -5
- package/api-doc/bzAnim.json +338 -0
- package/api-doc/checkpoint.json +127 -0
- package/api-doc/decore.json +1 -1
- package/api-doc/defcon.json +150 -0
- package/api-doc/{defmath.defmath.json → defmath.json} +6 -46
- package/api-doc/defsave.json +518 -0
- package/api-doc/deftest.json +745 -0
- package/api-doc/{dicebag.dicebag.json → dicebag.json} +19 -1
- package/api-doc/druid.json +90 -92
- package/api-doc/event.json +16 -16
- package/api-doc/gooey.json +2050 -0
- package/api-doc/in.accelerometer.json +75 -1
- package/api-doc/in.button.json +17 -10
- package/api-doc/in.cursor.json +26 -0
- package/api-doc/in.gesture.json +401 -6
- package/api-doc/in.keyboard.json +2 -0
- package/api-doc/in.mapper.json +12 -8
- package/api-doc/in.onscreen.json +61 -5
- package/api-doc/in.state.json +61 -13
- package/api-doc/in.textbox.json +23 -12
- package/api-doc/in.triggers.json +336 -0
- package/api-doc/lang.json +5 -5
- package/api-doc/log.json +1 -1
- package/api-doc/metrics.fps.json +61 -2
- package/api-doc/metrics.mem.json +61 -2
- package/api-doc/monarch.monarch.json +249 -7
- package/api-doc/monarch.transitions.easings.json +19 -26
- package/api-doc/monarch.transitions.gui.json +782 -79
- package/api-doc/nakama.engine.defold.json +31 -18
- package/api-doc/{nakama.nakama.json → nakama.json} +4752 -2554
- package/api-doc/nakama.session.json +315 -0
- package/api-doc/nakama.socket.json +3356 -0
- package/api-doc/nakama.util.log.json +32 -4
- package/api-doc/narrator.json +1 -1
- package/api-doc/openapi/nakama.nakama.json +7680 -0
- package/api-doc/orthographic.camera.json +96 -98
- package/api-doc/orthographic.json +602 -0
- package/api-doc/panthera.json +1183 -0
- package/api-doc/{persist.persist.json → persist.json} +26 -1
- package/api-doc/{platypus.platypus.json → platypus.json} +68 -14
- package/api-doc/{rendy.rendy.json → rendy.json} +46 -99
- package/api-doc/richtext.color.json +77 -0
- package/api-doc/richtext.richtext.json +375 -5
- package/api-doc/saver.saver.json +2 -1
- package/api-doc/saver.storage.json +2 -1
- package/api-doc/shutter.json +551 -0
- package/api-doc/{yagames.yagames.json → yagames.json} +784 -189
- package/api-doc/{zzfx.api.json → zzfx.json} +9 -9
- package/authored-targets.json +433 -0
- package/generated/{boom.boom.d.ts → boom.d.ts} +14 -0
- package/generated/bridge.d.ts +5 -5
- package/generated/{bzAnim.bzLibrary.d.ts → bzAnim.d.ts} +6 -0
- package/generated/checkpoint.d.ts +62 -0
- package/generated/decore.d.ts +1 -1
- package/generated/defcon.d.ts +43 -0
- package/generated/{defmath.defmath.d.ts → defmath.d.ts} +3 -2
- package/generated/defsave.d.ts +144 -0
- package/generated/{dicebag.dicebag.d.ts → dicebag.d.ts} +25 -0
- package/generated/druid.d.ts +81 -79
- package/generated/event.d.ts +15 -15
- package/generated/{gooey.gooey.d.ts → gooey.d.ts} +61 -6
- package/generated/in.onscreen.d.ts +5 -0
- package/generated/in.textbox.d.ts +4 -0
- package/generated/lang.d.ts +5 -5
- package/generated/log.d.ts +1 -1
- package/generated/metrics.fps.d.ts +19 -1
- package/generated/metrics.mem.d.ts +19 -1
- package/generated/monarch.monarch.d.ts +44 -1
- package/generated/monarch.transitions.easings.d.ts +0 -1
- package/generated/monarch.transitions.gui.d.ts +96 -12
- package/generated/nakama.d.ts +1158 -0
- package/generated/nakama.engine.defold.d.ts +3 -1
- package/generated/nakama.session.d.ts +95 -0
- package/generated/nakama.socket.d.ts +706 -0
- package/generated/nakama.util.log.d.ts +6 -0
- package/generated/narrator.d.ts +1 -1
- package/generated/openapi/nakama.nakama.d.ts +884 -0
- package/generated/orthographic.camera.d.ts +24 -38
- package/generated/orthographic.d.ts +155 -0
- package/generated/panthera.d.ts +170 -0
- package/generated/{persist.persist.d.ts → persist.d.ts} +3 -0
- package/generated/{platypus.platypus.d.ts → platypus.d.ts} +9 -0
- package/generated/proto.d.ts +4 -4
- package/generated/{rendy.rendy.d.ts → rendy.d.ts} +33 -80
- package/generated/richtext.color.d.ts +15 -0
- package/generated/saver.saver.d.ts +2 -0
- package/generated/saver.storage.d.ts +2 -0
- package/generated/shutter.d.ts +183 -0
- package/generated/{yagames.yagames.d.ts → yagames.d.ts} +151 -29
- package/generated/{zzfx.api.d.ts → zzfx.d.ts} +7 -0
- package/library-classification.json +0 -156
- package/library-targets.json +1 -218
- package/luals-targets.json +56 -3
- package/openapi-targets.json +17 -0
- package/package.json +7 -57
- package/scripts/__snapshots__/parse-luals.test.ts.snap +164 -10
- package/scripts/apply-luals-overrides.ts +39 -7
- package/scripts/authored-parity.ts +718 -0
- package/scripts/emit-library-dts.ts +94 -17
- package/scripts/extract-api-doc.ts +214 -42
- package/scripts/fidelity-floor.ts +178 -0
- package/scripts/import-upstream-docs.ts +125 -0
- package/scripts/lower-api-doc.ts +21 -3
- package/scripts/luals-fidelity.ts +16 -11
- package/scripts/map-luals-types.ts +52 -21
- package/scripts/parse-lua-surface.ts +187 -0
- package/scripts/parse-luals.ts +50 -4
- package/scripts/parse-markdown-api.ts +247 -0
- package/scripts/parse-openapi-api.ts +313 -0
- package/scripts/sync-authored-types.ts +249 -0
- package/scripts/sync-library-types.ts +99 -3
- package/scripts/sync-luals-types.ts +14 -1
- package/scripts/sync-markdown-types.ts +761 -0
- package/scripts/sync-openapi-types.ts +308 -0
- package/scripts/sync-script-api-types.ts +16 -17
- package/api-doc/boom.boom.json +0 -26
- package/api-doc/bzAnim.bzLibrary.json +0 -156
- package/api-doc/defcon.console.json +0 -109
- package/api-doc/defsave.defsave.json +0 -175
- package/api-doc/deftest.deftest.json +0 -71
- package/api-doc/gooey.gooey.json +0 -963
- package/api-doc/starly.starly.json +0 -488
- package/generated/defcon.console.d.ts +0 -24
- package/generated/defsave.defsave.d.ts +0 -31
- package/generated/nakama.nakama.d.ts +0 -594
- package/generated/starly.starly.d.ts +0 -148
- /package/generated/{deftest.deftest.d.ts → deftest.d.ts} +0 -0
package/library-targets.json
CHANGED
|
@@ -4,222 +4,5 @@
|
|
|
4
4
|
"commit": "2fe3aed3352a913d2859e6e85d34a8b23d821368",
|
|
5
5
|
"license": "MIT"
|
|
6
6
|
},
|
|
7
|
-
"targets": [
|
|
8
|
-
{
|
|
9
|
-
"module": "monarch.monarch",
|
|
10
|
-
"path": "packages/monarch/monarch.monarch.d.ts",
|
|
11
|
-
"fixture": "fixtures/ts-defold/monarch.monarch.d.ts",
|
|
12
|
-
"generated": "generated/monarch.monarch.d.ts"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"module": "monarch.transitions.easings",
|
|
16
|
-
"path": "packages/monarch/monarch.transitions.easings.d.ts",
|
|
17
|
-
"fixture": "fixtures/ts-defold/monarch.transitions.easings.d.ts",
|
|
18
|
-
"generated": "generated/monarch.transitions.easings.d.ts"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"module": "monarch.transitions.gui",
|
|
22
|
-
"path": "packages/monarch/monarch.transitions.gui.d.ts",
|
|
23
|
-
"fixture": "fixtures/ts-defold/monarch.transitions.gui.d.ts",
|
|
24
|
-
"generated": "generated/monarch.transitions.gui.d.ts"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"module": "orthographic.camera",
|
|
28
|
-
"path": "packages/defold-orthographic/orthographic.camera.d.ts",
|
|
29
|
-
"fixture": "fixtures/ts-defold/orthographic.camera.d.ts",
|
|
30
|
-
"generated": "generated/orthographic.camera.d.ts"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"module": "gooey.gooey",
|
|
34
|
-
"path": "packages/gooey/gooey.gooey.d.ts",
|
|
35
|
-
"fixture": "fixtures/ts-defold/gooey.gooey.d.ts",
|
|
36
|
-
"generated": "generated/gooey.gooey.d.ts"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"module": "in.accelerometer",
|
|
40
|
-
"path": "packages/defold-input/in.accelerometer.d.ts",
|
|
41
|
-
"fixture": "fixtures/ts-defold/in.accelerometer.d.ts",
|
|
42
|
-
"generated": "generated/in.accelerometer.d.ts"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"module": "in.button",
|
|
46
|
-
"path": "packages/defold-input/in.button.d.ts",
|
|
47
|
-
"fixture": "fixtures/ts-defold/in.button.d.ts",
|
|
48
|
-
"generated": "generated/in.button.d.ts"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"module": "in.cursor",
|
|
52
|
-
"path": "packages/defold-input/in.cursor.d.ts",
|
|
53
|
-
"fixture": "fixtures/ts-defold/in.cursor.d.ts",
|
|
54
|
-
"generated": "generated/in.cursor.d.ts"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"module": "in.gesture",
|
|
58
|
-
"path": "packages/defold-input/in.gesture.d.ts",
|
|
59
|
-
"fixture": "fixtures/ts-defold/in.gesture.d.ts",
|
|
60
|
-
"generated": "generated/in.gesture.d.ts"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"module": "in.keyboard",
|
|
64
|
-
"path": "packages/defold-input/in.keyboard.d.ts",
|
|
65
|
-
"fixture": "fixtures/ts-defold/in.keyboard.d.ts",
|
|
66
|
-
"generated": "generated/in.keyboard.d.ts"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"module": "in.mapper",
|
|
70
|
-
"path": "packages/defold-input/in.mapper.d.ts",
|
|
71
|
-
"fixture": "fixtures/ts-defold/in.mapper.d.ts",
|
|
72
|
-
"generated": "generated/in.mapper.d.ts"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"module": "in.onscreen",
|
|
76
|
-
"path": "packages/defold-input/in.onscreen.d.ts",
|
|
77
|
-
"fixture": "fixtures/ts-defold/in.onscreen.d.ts",
|
|
78
|
-
"generated": "generated/in.onscreen.d.ts"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"module": "in.state",
|
|
82
|
-
"path": "packages/defold-input/in.state.d.ts",
|
|
83
|
-
"fixture": "fixtures/ts-defold/in.state.d.ts",
|
|
84
|
-
"generated": "generated/in.state.d.ts"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"module": "in.textbox",
|
|
88
|
-
"path": "packages/defold-input/in.textbox.d.ts",
|
|
89
|
-
"fixture": "fixtures/ts-defold/in.textbox.d.ts",
|
|
90
|
-
"generated": "generated/in.textbox.d.ts"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"module": "in.triggers",
|
|
94
|
-
"path": "packages/defold-input/in.triggers.d.ts",
|
|
95
|
-
"fixture": "fixtures/ts-defold/in.triggers.d.ts",
|
|
96
|
-
"generated": "generated/in.triggers.d.ts"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"module": "platypus.platypus",
|
|
100
|
-
"path": "packages/platypus/platypus.platypus.d.ts",
|
|
101
|
-
"fixture": "fixtures/ts-defold/platypus.platypus.d.ts",
|
|
102
|
-
"generated": "generated/platypus.platypus.d.ts"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"module": "richtext.color",
|
|
106
|
-
"path": "packages/defold-richtext/richtext.color.d.ts",
|
|
107
|
-
"fixture": "fixtures/ts-defold/richtext.color.d.ts",
|
|
108
|
-
"generated": "generated/richtext.color.d.ts"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"module": "richtext.richtext",
|
|
112
|
-
"path": "packages/defold-richtext/richtext.richtext.d.ts",
|
|
113
|
-
"fixture": "fixtures/ts-defold/richtext.richtext.d.ts",
|
|
114
|
-
"generated": "generated/richtext.richtext.d.ts"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"module": "richtext.tags",
|
|
118
|
-
"path": "packages/defold-richtext/richtext.tags.d.ts",
|
|
119
|
-
"fixture": "fixtures/ts-defold/richtext.tags.d.ts",
|
|
120
|
-
"generated": "generated/richtext.tags.d.ts"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"module": "defcon.console",
|
|
124
|
-
"path": "packages/defcon/defcon.console.d.ts",
|
|
125
|
-
"fixture": "fixtures/ts-defold/defcon.console.d.ts",
|
|
126
|
-
"generated": "generated/defcon.console.d.ts"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"module": "defsave.defsave",
|
|
130
|
-
"path": "packages/defsave/defsave.defsave.d.ts",
|
|
131
|
-
"fixture": "fixtures/ts-defold/defsave.defsave.d.ts",
|
|
132
|
-
"generated": "generated/defsave.defsave.d.ts"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"module": "persist.persist",
|
|
136
|
-
"path": "packages/library-defold-persist/persist.persist.d.ts",
|
|
137
|
-
"fixture": "fixtures/ts-defold/persist.persist.d.ts",
|
|
138
|
-
"generated": "generated/persist.persist.d.ts"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"module": "defmath.defmath",
|
|
142
|
-
"path": "packages/defmath/defmath.defmath.d.ts",
|
|
143
|
-
"fixture": "fixtures/ts-defold/defmath.defmath.d.ts",
|
|
144
|
-
"generated": "generated/defmath.defmath.d.ts"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"module": "dicebag.dicebag",
|
|
148
|
-
"path": "packages/dicebag/dicebag.dicebag.d.ts",
|
|
149
|
-
"fixture": "fixtures/ts-defold/dicebag.dicebag.d.ts",
|
|
150
|
-
"generated": "generated/dicebag.dicebag.d.ts"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"module": "starly.starly",
|
|
154
|
-
"path": "packages/starly/starly.starly.d.ts",
|
|
155
|
-
"fixture": "fixtures/ts-defold/starly.starly.d.ts",
|
|
156
|
-
"generated": "generated/starly.starly.d.ts"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"module": "metrics.fps",
|
|
160
|
-
"path": "packages/defold-metrics/metrics.fps.d.ts",
|
|
161
|
-
"fixture": "fixtures/ts-defold/metrics.fps.d.ts",
|
|
162
|
-
"generated": "generated/metrics.fps.d.ts"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"module": "metrics.mem",
|
|
166
|
-
"path": "packages/defold-metrics/metrics.mem.d.ts",
|
|
167
|
-
"fixture": "fixtures/ts-defold/metrics.mem.d.ts",
|
|
168
|
-
"generated": "generated/metrics.mem.d.ts"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"module": "deftest.deftest",
|
|
172
|
-
"path": "packages/deftest/deftest.deftest.d.ts",
|
|
173
|
-
"fixture": "fixtures/ts-defold/deftest.deftest.d.ts",
|
|
174
|
-
"generated": "generated/deftest.deftest.d.ts"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"module": "nakama.engine.defold",
|
|
178
|
-
"path": "packages/nakama-defold/nakama.engine.defold.d.ts",
|
|
179
|
-
"fixture": "fixtures/ts-defold/nakama.engine.defold.d.ts",
|
|
180
|
-
"generated": "generated/nakama.engine.defold.d.ts"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"module": "nakama.nakama",
|
|
184
|
-
"path": "packages/nakama-defold/nakama.nakama.d.ts",
|
|
185
|
-
"fixture": "fixtures/ts-defold/nakama.nakama.d.ts",
|
|
186
|
-
"generated": "generated/nakama.nakama.d.ts"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"module": "nakama.util.log",
|
|
190
|
-
"path": "packages/nakama-defold/nakama.util.log.d.ts",
|
|
191
|
-
"fixture": "fixtures/ts-defold/nakama.util.log.d.ts",
|
|
192
|
-
"generated": "generated/nakama.util.log.d.ts"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"module": "yagames.yagames",
|
|
196
|
-
"path": "packages/defold-yagames/yagames.yagames.d.ts",
|
|
197
|
-
"fixture": "fixtures/ts-defold/yagames.yagames.d.ts",
|
|
198
|
-
"generated": "generated/yagames.yagames.d.ts"
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"module": "zzfx.api",
|
|
202
|
-
"path": "packages/defold-zzfx/zzfx.api.d.ts",
|
|
203
|
-
"fixture": "fixtures/ts-defold/zzfx.api.d.ts",
|
|
204
|
-
"generated": "generated/zzfx.api.d.ts"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"module": "boom.boom",
|
|
208
|
-
"path": "packages/boom/boom.boom.d.ts",
|
|
209
|
-
"fixture": "fixtures/ts-defold/boom.boom.d.ts",
|
|
210
|
-
"generated": "generated/boom.boom.d.ts"
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"module": "bzAnim.bzLibrary",
|
|
214
|
-
"path": "packages/bzAnim/bzAnim.bzAnim.d.ts",
|
|
215
|
-
"fixture": "fixtures/ts-defold/bzAnim.bzAnim.d.ts",
|
|
216
|
-
"generated": "generated/bzAnim.bzLibrary.d.ts"
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"module": "rendy.rendy",
|
|
220
|
-
"path": "packages/library-defold-rendy/rendy.rendy.d.ts",
|
|
221
|
-
"fixture": "fixtures/ts-defold/rendy.rendy.d.ts",
|
|
222
|
-
"generated": "generated/rendy.rendy.d.ts"
|
|
223
|
-
}
|
|
224
|
-
]
|
|
7
|
+
"targets": []
|
|
225
8
|
}
|
package/luals-targets.json
CHANGED
|
@@ -12,7 +12,45 @@
|
|
|
12
12
|
"vector3": "Vector3",
|
|
13
13
|
"vector4": "Vector4"
|
|
14
14
|
},
|
|
15
|
-
"ignore": ["**/test/**", "**/example/**", "**/example_*/**"]
|
|
15
|
+
"ignore": ["**/test/**", "**/example/**", "**/example_*/**"],
|
|
16
|
+
"externalTypes": { "event": { "module": "event.event", "name": "event" } },
|
|
17
|
+
"annotationOverrides": {
|
|
18
|
+
"interfaces": {
|
|
19
|
+
"event.on_size_changed": {
|
|
20
|
+
"fields": { "subscribe": { "drop": true } }
|
|
21
|
+
},
|
|
22
|
+
"druid.layout.rows_data": {
|
|
23
|
+
"fields": { "rows": { "type": "druid.layout.row_data[]" } }
|
|
24
|
+
},
|
|
25
|
+
"druid.button.style": {
|
|
26
|
+
"fields": {
|
|
27
|
+
"on_init": { "type": "fun(self: druid.button)|nil" },
|
|
28
|
+
"on_click": { "type": "fun(self: druid.button, node: node)|nil" },
|
|
29
|
+
"on_click_disabled": { "type": "fun(self: druid.button, node: node)|nil" },
|
|
30
|
+
"on_hover": {
|
|
31
|
+
"type": "fun(self: druid.button, node: node, hover_state: boolean)|nil"
|
|
32
|
+
},
|
|
33
|
+
"on_mouse_hover": {
|
|
34
|
+
"type": "fun(self: druid.button, node: node, hover_state: boolean)|nil"
|
|
35
|
+
},
|
|
36
|
+
"on_set_enabled": {
|
|
37
|
+
"type": "fun(self: druid.button, node: node, enabled_state: boolean|nil)|nil"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"druid.drag": {
|
|
42
|
+
"methods": {
|
|
43
|
+
"init": {
|
|
44
|
+
"params": {
|
|
45
|
+
"on_drag_callback": {
|
|
46
|
+
"type": "fun(self: any, dx: number, dy: number, x: number, y: number, touch: touch)"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
16
54
|
},
|
|
17
55
|
{
|
|
18
56
|
"repo": "https://github.com/Insality/decore",
|
|
@@ -65,7 +103,7 @@
|
|
|
65
103
|
"sourceGlobs": ["log/**/*.lua"],
|
|
66
104
|
"moduleId": "log.log",
|
|
67
105
|
"namespace": "log",
|
|
68
|
-
"typeRenames": {},
|
|
106
|
+
"typeRenames": { "debuginfo": "debug.FunctionInfo" },
|
|
69
107
|
"ignore": ["**/test/**", "**/example/**", "**/example_*/**"]
|
|
70
108
|
},
|
|
71
109
|
{
|
|
@@ -133,10 +171,25 @@
|
|
|
133
171
|
},
|
|
134
172
|
"interfaces": {
|
|
135
173
|
"Narrator.Story": {
|
|
136
|
-
"methods": {
|
|
174
|
+
"methods": {
|
|
175
|
+
"continue": { "return": "Narrator.Paragraph[]|Narrator.Paragraph" },
|
|
176
|
+
"observe": { "params": { "observer": { "type": "fun(value: any)" } } }
|
|
177
|
+
}
|
|
137
178
|
}
|
|
138
179
|
}
|
|
139
180
|
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"repo": "https://github.com/Insality/panthera",
|
|
184
|
+
"ref": "runtime.8",
|
|
185
|
+
"license": "MIT",
|
|
186
|
+
"sourceGlobs": ["panthera/**/*.lua"],
|
|
187
|
+
"moduleId": "panthera.panthera",
|
|
188
|
+
"namespace": "panthera",
|
|
189
|
+
"typeRenames": {
|
|
190
|
+
"vector": "Vector"
|
|
191
|
+
},
|
|
192
|
+
"ignore": ["**/test/**", "**/example/**", "**/example_*/**"]
|
|
140
193
|
}
|
|
141
194
|
]
|
|
142
195
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"targets": [
|
|
3
|
+
{
|
|
4
|
+
"repo": "https://github.com/heroiclabs/nakama",
|
|
5
|
+
"ref": "v3.21.1",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"swagger": "apigrpc/apigrpc.swagger.json",
|
|
8
|
+
"proto": "vendor/github.com/heroiclabs/nakama-common/rtapi/realtime.proto",
|
|
9
|
+
"moduleId": "nakama.nakama",
|
|
10
|
+
"namespace": "nakama",
|
|
11
|
+
"generated": "generated/openapi/nakama.nakama.d.ts",
|
|
12
|
+
"apiDoc": "api-doc/openapi/nakama.nakama.json",
|
|
13
|
+
"fidelity": "fidelity/openapi/nakama.nakama.json",
|
|
14
|
+
"decision": "no-go"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defold-typescript/library-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "Vendored TypeScript types for popular Defold Lua libraries, core-type-renamed against @defold-typescript/types.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -21,12 +21,6 @@
|
|
|
21
21
|
"./monarch.transitions.gui": {
|
|
22
22
|
"types": "./generated/monarch.transitions.gui.d.ts"
|
|
23
23
|
},
|
|
24
|
-
"./orthographic.camera": {
|
|
25
|
-
"types": "./generated/orthographic.camera.d.ts"
|
|
26
|
-
},
|
|
27
|
-
"./gooey.gooey": {
|
|
28
|
-
"types": "./generated/gooey.gooey.d.ts"
|
|
29
|
-
},
|
|
30
24
|
"./in.accelerometer": {
|
|
31
25
|
"types": "./generated/in.accelerometer.d.ts"
|
|
32
26
|
},
|
|
@@ -63,9 +57,6 @@
|
|
|
63
57
|
"./metrics.mem": {
|
|
64
58
|
"types": "./generated/metrics.mem.d.ts"
|
|
65
59
|
},
|
|
66
|
-
"./platypus.platypus": {
|
|
67
|
-
"types": "./generated/platypus.platypus.d.ts"
|
|
68
|
-
},
|
|
69
60
|
"./richtext.color": {
|
|
70
61
|
"types": "./generated/richtext.color.d.ts"
|
|
71
62
|
},
|
|
@@ -75,54 +66,9 @@
|
|
|
75
66
|
"./richtext.tags": {
|
|
76
67
|
"types": "./generated/richtext.tags.d.ts"
|
|
77
68
|
},
|
|
78
|
-
"./defcon.console": {
|
|
79
|
-
"types": "./generated/defcon.console.d.ts"
|
|
80
|
-
},
|
|
81
69
|
"./package.json": "./package.json",
|
|
82
|
-
"./defsave.defsave": {
|
|
83
|
-
"types": "./generated/defsave.defsave.d.ts"
|
|
84
|
-
},
|
|
85
|
-
"./persist.persist": {
|
|
86
|
-
"types": "./generated/persist.persist.d.ts"
|
|
87
|
-
},
|
|
88
|
-
"./defmath.defmath": {
|
|
89
|
-
"types": "./generated/defmath.defmath.d.ts"
|
|
90
|
-
},
|
|
91
|
-
"./deftest.deftest": {
|
|
92
|
-
"types": "./generated/deftest.deftest.d.ts"
|
|
93
|
-
},
|
|
94
|
-
"./dicebag.dicebag": {
|
|
95
|
-
"types": "./generated/dicebag.dicebag.d.ts"
|
|
96
|
-
},
|
|
97
|
-
"./starly.starly": {
|
|
98
|
-
"types": "./generated/starly.starly.d.ts"
|
|
99
|
-
},
|
|
100
|
-
"./nakama.engine.defold": {
|
|
101
|
-
"types": "./generated/nakama.engine.defold.d.ts"
|
|
102
|
-
},
|
|
103
|
-
"./nakama.nakama": {
|
|
104
|
-
"types": "./generated/nakama.nakama.d.ts"
|
|
105
|
-
},
|
|
106
|
-
"./nakama.util.log": {
|
|
107
|
-
"types": "./generated/nakama.util.log.d.ts"
|
|
108
|
-
},
|
|
109
|
-
"./yagames.yagames": {
|
|
110
|
-
"types": "./generated/yagames.yagames.d.ts"
|
|
111
|
-
},
|
|
112
70
|
"./bridge.bridge": {
|
|
113
71
|
"types": "./generated/bridge.d.ts"
|
|
114
|
-
},
|
|
115
|
-
"./zzfx.api": {
|
|
116
|
-
"types": "./generated/zzfx.api.d.ts"
|
|
117
|
-
},
|
|
118
|
-
"./boom.boom": {
|
|
119
|
-
"types": "./generated/boom.boom.d.ts"
|
|
120
|
-
},
|
|
121
|
-
"./bzAnim.bzLibrary": {
|
|
122
|
-
"types": "./generated/bzAnim.bzLibrary.d.ts"
|
|
123
|
-
},
|
|
124
|
-
"./rendy.rendy": {
|
|
125
|
-
"types": "./generated/rendy.rendy.d.ts"
|
|
126
72
|
}
|
|
127
73
|
},
|
|
128
74
|
"files": [
|
|
@@ -133,6 +79,8 @@
|
|
|
133
79
|
"library-classification.json",
|
|
134
80
|
"luals-targets.json",
|
|
135
81
|
"script-api-targets.json",
|
|
82
|
+
"authored-targets.json",
|
|
83
|
+
"openapi-targets.json",
|
|
136
84
|
"NOTICE",
|
|
137
85
|
"!scripts/**/*.test.ts"
|
|
138
86
|
],
|
|
@@ -144,10 +92,12 @@
|
|
|
144
92
|
"luals:fetch": "bun scripts/sync-luals-types.ts --fetch",
|
|
145
93
|
"luals:fidelity": "bun scripts/sync-luals-types.ts --fidelity",
|
|
146
94
|
"luals:emit": "bun scripts/sync-luals-types.ts --emit",
|
|
147
|
-
"luals:api-doc": "bun scripts/sync-luals-types.ts --api-doc"
|
|
95
|
+
"luals:api-doc": "bun scripts/sync-luals-types.ts --api-doc",
|
|
96
|
+
"fidelity:floor": "bun scripts/fidelity-floor.ts --raise",
|
|
97
|
+
"parity": "bun scripts/authored-parity.ts"
|
|
148
98
|
},
|
|
149
99
|
"dependencies": {
|
|
150
|
-
"@defold-typescript/types": "0.
|
|
100
|
+
"@defold-typescript/types": "0.25.0"
|
|
151
101
|
},
|
|
152
102
|
"devDependencies": {
|
|
153
103
|
"@typescript-to-lua/language-extensions": "1.19.0",
|