@defold-typescript/types 0.19.4 → 0.20.1
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/api-availability.json +2755 -0
- package/api-migrations.json +31 -0
- package/api-signatures.json +2324 -0
- package/api-targets.json +493 -45
- package/generated/b2d.d.ts +6 -0
- package/generated/b2d_body.d.ts +329 -1
- package/generated/b2d_chain.d.ts +106 -0
- package/generated/b2d_fixture.d.ts +155 -0
- package/generated/b2d_joint.d.ts +823 -0
- package/generated/b2d_shape.d.ts +215 -0
- package/generated/b2d_world.d.ts +314 -0
- package/generated/buffer.d.ts +1 -1
- package/generated/builtin-messages.d.ts +18 -0
- package/generated/camera.d.ts +62 -5
- package/generated/compute.d.ts +306 -0
- package/generated/crash.d.ts +2 -2
- package/generated/go.d.ts +31 -6
- package/generated/graphics.d.ts +95 -0
- package/generated/gui.d.ts +4 -6
- package/generated/image.d.ts +3 -3
- package/generated/json.d.ts +2 -2
- package/generated/kinds/gui-script.d.ts +7 -0
- package/generated/kinds/render-script.d.ts +7 -0
- package/generated/kinds/script.d.ts +7 -0
- package/generated/label.d.ts +1 -1
- package/generated/liveupdate.d.ts +22 -4
- package/generated/material.d.ts +444 -0
- package/generated/model.d.ts +46 -5
- package/generated/physics.d.ts +2 -4
- package/generated/profiler.d.ts +2 -3
- package/generated/render.d.ts +25 -9
- package/generated/resource.d.ts +2 -2
- package/generated/socket.d.ts +35 -35
- package/generated/sprite.d.ts +15 -1
- package/generated/sys.d.ts +1 -1
- package/generated/tilemap.d.ts +14 -0
- package/generated/timer.d.ts +1 -1
- package/generated/versions/defold-1.12.4/b2d.d.ts +27 -0
- package/generated/versions/defold-1.12.4/b2d_body.d.ts +348 -0
- package/generated/versions/defold-1.12.4/buffer.d.ts +176 -0
- package/generated/versions/defold-1.12.4/camera.d.ts +245 -0
- package/generated/versions/defold-1.12.4/collectionfactory.d.ts +146 -0
- package/generated/versions/defold-1.12.4/collectionproxy.d.ts +71 -0
- package/generated/versions/defold-1.12.4/crash.d.ts +143 -0
- package/generated/versions/defold-1.12.4/factory.d.ts +123 -0
- package/generated/versions/defold-1.12.4/font.d.ts +81 -0
- package/generated/versions/defold-1.12.4/go.d.ts +1029 -0
- package/generated/versions/defold-1.12.4/graphics.d.ts +226 -0
- package/generated/versions/defold-1.12.4/gui.d.ts +2372 -0
- package/generated/versions/defold-1.12.4/html5.d.ts +53 -0
- package/generated/versions/defold-1.12.4/http.d.ts +84 -0
- package/generated/versions/defold-1.12.4/iac.d.ts +18 -0
- package/generated/versions/defold-1.12.4/iap.d.ts +60 -0
- package/generated/versions/defold-1.12.4/image.d.ts +139 -0
- package/generated/versions/defold-1.12.4/index.d.ts +41 -0
- package/generated/versions/defold-1.12.4/json.d.ts +76 -0
- package/generated/versions/defold-1.12.4/label.d.ts +94 -0
- package/generated/versions/defold-1.12.4/liveupdate.d.ts +122 -0
- package/generated/versions/defold-1.12.4/model.d.ts +205 -0
- package/generated/versions/defold-1.12.4/msg.d.ts +10 -0
- package/generated/versions/defold-1.12.4/particlefx.d.ts +166 -0
- package/generated/versions/defold-1.12.4/physics.d.ts +547 -0
- package/generated/versions/defold-1.12.4/profiler.d.ts +234 -0
- package/generated/versions/defold-1.12.4/push.d.ts +66 -0
- package/generated/versions/defold-1.12.4/render.d.ts +1149 -0
- package/generated/versions/defold-1.12.4/resource.d.ts +1518 -0
- package/generated/versions/defold-1.12.4/socket.d.ts +795 -0
- package/generated/versions/defold-1.12.4/sound.d.ts +291 -0
- package/generated/versions/defold-1.12.4/sprite.d.ts +143 -0
- package/generated/versions/defold-1.12.4/sys.d.ts +695 -0
- package/generated/versions/defold-1.12.4/tilemap.d.ts +181 -0
- package/generated/versions/defold-1.12.4/timer.d.ts +114 -0
- package/generated/versions/defold-1.12.4/types.d.ts +61 -0
- package/generated/versions/defold-1.12.4/vmath.d.ts +806 -0
- package/generated/versions/defold-1.12.4/webview.d.ts +68 -0
- package/generated/versions/defold-1.12.4/window.d.ts +198 -0
- package/generated/versions/defold-1.12.4/zlib.d.ts +40 -0
- package/index.d.ts +22 -0
- package/package.json +8 -1
- package/scripts/fidelity-audit.ts +69 -12
- package/scripts/fidelity-baseline.json +56 -0
- package/scripts/generate-api-availability.ts +139 -0
- package/scripts/generate-api-signatures.ts +66 -0
- package/scripts/import-defold-release.ts +480 -0
- package/scripts/materialize-version.ts +45 -20
- package/scripts/regen.ts +53 -6
- package/scripts/sync-api-docs.ts +89 -41
- package/src/api-availability.ts +0 -0
- package/src/core-types.ts +9 -0
- package/src/emit-dts.ts +685 -17
- package/src/emit-messages.ts +72 -2
- package/src/index.ts +26 -1
- package/src/lifecycle.ts +43 -2
package/api-targets.json
CHANGED
|
@@ -1,21 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"targets": [
|
|
3
3
|
{
|
|
4
|
-
"id": "defold-1.
|
|
4
|
+
"id": "defold-1.13.0",
|
|
5
5
|
"default": true,
|
|
6
|
-
"fixturesDir": "fixtures",
|
|
6
|
+
"fixturesDir": "fixtures/defold-1.13.0",
|
|
7
7
|
"generatedDir": "generated",
|
|
8
8
|
"coreTypesImport": "../src/core-types",
|
|
9
9
|
"source": null,
|
|
10
10
|
"modules": [
|
|
11
|
-
{
|
|
11
|
+
{
|
|
12
|
+
"namespace": "b2d",
|
|
13
|
+
"fixture": "b2d_doc.json",
|
|
14
|
+
"outFile": "b2d.d.ts"
|
|
15
|
+
},
|
|
12
16
|
{
|
|
13
17
|
"namespace": "b2d.body",
|
|
14
18
|
"fixture": "b2d_body_doc.json",
|
|
15
19
|
"outFile": "b2d_body.d.ts"
|
|
16
20
|
},
|
|
17
|
-
{
|
|
18
|
-
|
|
21
|
+
{
|
|
22
|
+
"namespace": "b2d.chain",
|
|
23
|
+
"fixture": "b2d_chain_doc.json",
|
|
24
|
+
"outFile": "b2d_chain.d.ts"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"namespace": "b2d.fixture",
|
|
28
|
+
"fixture": "b2d_fixture_doc.json",
|
|
29
|
+
"outFile": "b2d_fixture.d.ts"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"namespace": "b2d.joint",
|
|
33
|
+
"fixture": "b2d_joint_doc.json",
|
|
34
|
+
"outFile": "b2d_joint.d.ts"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"namespace": "b2d.shape",
|
|
38
|
+
"fixture": "b2d_shape_doc.json",
|
|
39
|
+
"outFile": "b2d_shape.d.ts"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"namespace": "b2d.world",
|
|
43
|
+
"fixture": "b2d_world_doc.json",
|
|
44
|
+
"outFile": "b2d_world.d.ts"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"namespace": "buffer",
|
|
48
|
+
"fixture": "buffer_doc.json",
|
|
49
|
+
"outFile": "buffer.d.ts"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"namespace": "camera",
|
|
53
|
+
"fixture": "camera_doc.json",
|
|
54
|
+
"outFile": "camera.d.ts"
|
|
55
|
+
},
|
|
19
56
|
{
|
|
20
57
|
"namespace": "collectionfactory",
|
|
21
58
|
"fixture": "collectionfactory_doc.json",
|
|
@@ -26,30 +63,92 @@
|
|
|
26
63
|
"fixture": "collectionproxy_doc.json",
|
|
27
64
|
"outFile": "collectionproxy.d.ts"
|
|
28
65
|
},
|
|
29
|
-
{
|
|
30
|
-
|
|
31
|
-
|
|
66
|
+
{
|
|
67
|
+
"namespace": "compute",
|
|
68
|
+
"fixture": "compute_doc.json",
|
|
69
|
+
"outFile": "compute.d.ts"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"namespace": "crash",
|
|
73
|
+
"fixture": "crash_doc.json",
|
|
74
|
+
"outFile": "crash.d.ts"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"namespace": "factory",
|
|
78
|
+
"fixture": "factory_doc.json",
|
|
79
|
+
"outFile": "factory.d.ts"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"namespace": "font",
|
|
83
|
+
"fixture": "font_doc.json",
|
|
84
|
+
"outFile": "font.d.ts"
|
|
85
|
+
},
|
|
32
86
|
{
|
|
33
87
|
"namespace": "go",
|
|
34
88
|
"fixture": "go_doc.json",
|
|
35
89
|
"outFile": "go.d.ts",
|
|
36
90
|
"skipFunctions": ["get", "set", "property"]
|
|
37
91
|
},
|
|
38
|
-
{
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
{
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
92
|
+
{
|
|
93
|
+
"namespace": "graphics",
|
|
94
|
+
"fixture": "graphics_doc.json",
|
|
95
|
+
"outFile": "graphics.d.ts"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"namespace": "gui",
|
|
99
|
+
"fixture": "gui_doc.json",
|
|
100
|
+
"outFile": "gui.d.ts"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"namespace": "html5",
|
|
104
|
+
"fixture": "html5_doc.json",
|
|
105
|
+
"outFile": "html5.d.ts"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"namespace": "http",
|
|
109
|
+
"fixture": "http_doc.json",
|
|
110
|
+
"outFile": "http.d.ts"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"namespace": "iac",
|
|
114
|
+
"fixture": "iac_doc.json",
|
|
115
|
+
"outFile": "iac.d.ts"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"namespace": "iap",
|
|
119
|
+
"fixture": "iap_doc.json",
|
|
120
|
+
"outFile": "iap.d.ts"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"namespace": "image",
|
|
124
|
+
"fixture": "image_doc.json",
|
|
125
|
+
"outFile": "image.d.ts"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"namespace": "json",
|
|
129
|
+
"fixture": "json_doc.json",
|
|
130
|
+
"outFile": "json.d.ts"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"namespace": "label",
|
|
134
|
+
"fixture": "label_doc.json",
|
|
135
|
+
"outFile": "label.d.ts"
|
|
136
|
+
},
|
|
47
137
|
{
|
|
48
138
|
"namespace": "liveupdate",
|
|
49
139
|
"fixture": "liveupdate_doc.json",
|
|
50
140
|
"outFile": "liveupdate.d.ts"
|
|
51
141
|
},
|
|
52
|
-
{
|
|
142
|
+
{
|
|
143
|
+
"namespace": "material",
|
|
144
|
+
"fixture": "material_doc.json",
|
|
145
|
+
"outFile": "material.d.ts"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"namespace": "model",
|
|
149
|
+
"fixture": "model_doc.json",
|
|
150
|
+
"outFile": "model.d.ts"
|
|
151
|
+
},
|
|
53
152
|
{
|
|
54
153
|
"namespace": "msg",
|
|
55
154
|
"fixture": "msg_doc.json",
|
|
@@ -61,39 +160,379 @@
|
|
|
61
160
|
"fixture": "particlefx_doc.json",
|
|
62
161
|
"outFile": "particlefx.d.ts"
|
|
63
162
|
},
|
|
64
|
-
{
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
{
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
{
|
|
75
|
-
|
|
163
|
+
{
|
|
164
|
+
"namespace": "physics",
|
|
165
|
+
"fixture": "physics_doc.json",
|
|
166
|
+
"outFile": "physics.d.ts"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"namespace": "profiler",
|
|
170
|
+
"fixture": "profiler_doc.json",
|
|
171
|
+
"outFile": "profiler.d.ts"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"namespace": "push",
|
|
175
|
+
"fixture": "push_doc.json",
|
|
176
|
+
"outFile": "push.d.ts"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"namespace": "render",
|
|
180
|
+
"fixture": "render_doc.json",
|
|
181
|
+
"outFile": "render.d.ts"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"namespace": "resource",
|
|
185
|
+
"fixture": "resource_doc.json",
|
|
186
|
+
"outFile": "resource.d.ts"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"namespace": "socket",
|
|
190
|
+
"fixture": "socket_doc.json",
|
|
191
|
+
"outFile": "socket.d.ts"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"namespace": "sound",
|
|
195
|
+
"fixture": "sound_doc.json",
|
|
196
|
+
"outFile": "sound.d.ts"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"namespace": "sprite",
|
|
200
|
+
"fixture": "sprite_doc.json",
|
|
201
|
+
"outFile": "sprite.d.ts"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"namespace": "sys",
|
|
205
|
+
"fixture": "sys_doc.json",
|
|
206
|
+
"outFile": "sys.d.ts"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"namespace": "tilemap",
|
|
210
|
+
"fixture": "tilemap_doc.json",
|
|
211
|
+
"outFile": "tilemap.d.ts"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"namespace": "timer",
|
|
215
|
+
"fixture": "timer_doc.json",
|
|
216
|
+
"outFile": "timer.d.ts"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"namespace": "types",
|
|
220
|
+
"fixture": "types_doc.json",
|
|
221
|
+
"outFile": "types.d.ts"
|
|
222
|
+
},
|
|
76
223
|
{
|
|
77
224
|
"namespace": "vmath",
|
|
78
225
|
"fixture": "vmath_doc.json",
|
|
79
226
|
"outFile": "vmath.d.ts",
|
|
80
227
|
"skipFunctions": ["clamp", "lerp", "slerp", "mul_per_elem", "normalize"]
|
|
81
228
|
},
|
|
82
|
-
{
|
|
83
|
-
|
|
84
|
-
|
|
229
|
+
{
|
|
230
|
+
"namespace": "webview",
|
|
231
|
+
"fixture": "webview_doc.json",
|
|
232
|
+
"outFile": "webview.d.ts"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"namespace": "window",
|
|
236
|
+
"fixture": "window_doc.json",
|
|
237
|
+
"outFile": "window.d.ts"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"namespace": "zlib",
|
|
241
|
+
"fixture": "zlib_doc.json",
|
|
242
|
+
"outFile": "zlib.d.ts"
|
|
243
|
+
}
|
|
85
244
|
],
|
|
86
245
|
"luaStdlib": [
|
|
87
|
-
{
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
{
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
{
|
|
96
|
-
|
|
246
|
+
{
|
|
247
|
+
"namespace": "base",
|
|
248
|
+
"fixture": "base_doc.json"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"namespace": "bit",
|
|
252
|
+
"fixture": "bit_doc.json"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"namespace": "math",
|
|
256
|
+
"fixture": "math_doc.json"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"namespace": "os",
|
|
260
|
+
"fixture": "os_doc.json"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"namespace": "string",
|
|
264
|
+
"fixture": "string_doc.json"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"namespace": "table",
|
|
268
|
+
"fixture": "table_doc.json"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"namespace": "coroutine",
|
|
272
|
+
"fixture": "coroutine_doc.json"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"namespace": "debug",
|
|
276
|
+
"fixture": "debug_doc.json"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"namespace": "io",
|
|
280
|
+
"fixture": "io_doc.json"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"namespace": "package",
|
|
284
|
+
"fixture": "package_doc.json"
|
|
285
|
+
}
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"id": "defold-1.12.4",
|
|
290
|
+
"default": false,
|
|
291
|
+
"fixturesDir": "fixtures/defold-1.12.4",
|
|
292
|
+
"generatedDir": "generated/versions/defold-1.12.4",
|
|
293
|
+
"coreTypesImport": "../../../src/core-types",
|
|
294
|
+
"source": null,
|
|
295
|
+
"modules": [
|
|
296
|
+
{
|
|
297
|
+
"namespace": "b2d",
|
|
298
|
+
"fixture": "b2d_doc.json",
|
|
299
|
+
"outFile": "b2d.d.ts"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"namespace": "b2d.body",
|
|
303
|
+
"fixture": "b2d_body_doc.json",
|
|
304
|
+
"outFile": "b2d_body.d.ts"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"namespace": "buffer",
|
|
308
|
+
"fixture": "buffer_doc.json",
|
|
309
|
+
"outFile": "buffer.d.ts"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"namespace": "camera",
|
|
313
|
+
"fixture": "camera_doc.json",
|
|
314
|
+
"outFile": "camera.d.ts"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"namespace": "collectionfactory",
|
|
318
|
+
"fixture": "collectionfactory_doc.json",
|
|
319
|
+
"outFile": "collectionfactory.d.ts"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"namespace": "collectionproxy",
|
|
323
|
+
"fixture": "collectionproxy_doc.json",
|
|
324
|
+
"outFile": "collectionproxy.d.ts"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"namespace": "crash",
|
|
328
|
+
"fixture": "crash_doc.json",
|
|
329
|
+
"outFile": "crash.d.ts"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"namespace": "factory",
|
|
333
|
+
"fixture": "factory_doc.json",
|
|
334
|
+
"outFile": "factory.d.ts"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"namespace": "font",
|
|
338
|
+
"fixture": "font_doc.json",
|
|
339
|
+
"outFile": "font.d.ts"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"namespace": "go",
|
|
343
|
+
"fixture": "go_doc.json",
|
|
344
|
+
"outFile": "go.d.ts",
|
|
345
|
+
"skipFunctions": ["get", "set", "property"]
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"namespace": "graphics",
|
|
349
|
+
"fixture": "graphics_doc.json",
|
|
350
|
+
"outFile": "graphics.d.ts"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"namespace": "gui",
|
|
354
|
+
"fixture": "gui_doc.json",
|
|
355
|
+
"outFile": "gui.d.ts"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"namespace": "html5",
|
|
359
|
+
"fixture": "html5_doc.json",
|
|
360
|
+
"outFile": "html5.d.ts"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"namespace": "http",
|
|
364
|
+
"fixture": "http_doc.json",
|
|
365
|
+
"outFile": "http.d.ts"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"namespace": "iac",
|
|
369
|
+
"fixture": "iac_doc.json",
|
|
370
|
+
"outFile": "iac.d.ts"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"namespace": "iap",
|
|
374
|
+
"fixture": "iap_doc.json",
|
|
375
|
+
"outFile": "iap.d.ts"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"namespace": "image",
|
|
379
|
+
"fixture": "image_doc.json",
|
|
380
|
+
"outFile": "image.d.ts"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"namespace": "json",
|
|
384
|
+
"fixture": "json_doc.json",
|
|
385
|
+
"outFile": "json.d.ts"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"namespace": "label",
|
|
389
|
+
"fixture": "label_doc.json",
|
|
390
|
+
"outFile": "label.d.ts"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"namespace": "liveupdate",
|
|
394
|
+
"fixture": "liveupdate_doc.json",
|
|
395
|
+
"outFile": "liveupdate.d.ts"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"namespace": "model",
|
|
399
|
+
"fixture": "model_doc.json",
|
|
400
|
+
"outFile": "model.d.ts"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"namespace": "msg",
|
|
404
|
+
"fixture": "msg_doc.json",
|
|
405
|
+
"outFile": "msg.d.ts",
|
|
406
|
+
"skipFunctions": ["post", "url"]
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"namespace": "particlefx",
|
|
410
|
+
"fixture": "particlefx_doc.json",
|
|
411
|
+
"outFile": "particlefx.d.ts"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"namespace": "physics",
|
|
415
|
+
"fixture": "physics_doc.json",
|
|
416
|
+
"outFile": "physics.d.ts"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"namespace": "profiler",
|
|
420
|
+
"fixture": "profiler_doc.json",
|
|
421
|
+
"outFile": "profiler.d.ts"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"namespace": "push",
|
|
425
|
+
"fixture": "push_doc.json",
|
|
426
|
+
"outFile": "push.d.ts"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"namespace": "render",
|
|
430
|
+
"fixture": "render_doc.json",
|
|
431
|
+
"outFile": "render.d.ts"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"namespace": "resource",
|
|
435
|
+
"fixture": "resource_doc.json",
|
|
436
|
+
"outFile": "resource.d.ts"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"namespace": "socket",
|
|
440
|
+
"fixture": "socket_doc.json",
|
|
441
|
+
"outFile": "socket.d.ts"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"namespace": "sound",
|
|
445
|
+
"fixture": "sound_doc.json",
|
|
446
|
+
"outFile": "sound.d.ts"
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"namespace": "sprite",
|
|
450
|
+
"fixture": "sprite_doc.json",
|
|
451
|
+
"outFile": "sprite.d.ts"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"namespace": "sys",
|
|
455
|
+
"fixture": "sys_doc.json",
|
|
456
|
+
"outFile": "sys.d.ts"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"namespace": "tilemap",
|
|
460
|
+
"fixture": "tilemap_doc.json",
|
|
461
|
+
"outFile": "tilemap.d.ts"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"namespace": "timer",
|
|
465
|
+
"fixture": "timer_doc.json",
|
|
466
|
+
"outFile": "timer.d.ts"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"namespace": "types",
|
|
470
|
+
"fixture": "types_doc.json",
|
|
471
|
+
"outFile": "types.d.ts"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"namespace": "vmath",
|
|
475
|
+
"fixture": "vmath_doc.json",
|
|
476
|
+
"outFile": "vmath.d.ts",
|
|
477
|
+
"skipFunctions": ["clamp", "lerp", "slerp", "mul_per_elem", "normalize"]
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"namespace": "webview",
|
|
481
|
+
"fixture": "webview_doc.json",
|
|
482
|
+
"outFile": "webview.d.ts"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"namespace": "window",
|
|
486
|
+
"fixture": "window_doc.json",
|
|
487
|
+
"outFile": "window.d.ts"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"namespace": "zlib",
|
|
491
|
+
"fixture": "zlib_doc.json",
|
|
492
|
+
"outFile": "zlib.d.ts"
|
|
493
|
+
}
|
|
494
|
+
],
|
|
495
|
+
"luaStdlib": [
|
|
496
|
+
{
|
|
497
|
+
"namespace": "base",
|
|
498
|
+
"fixture": "base_doc.json"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"namespace": "bit",
|
|
502
|
+
"fixture": "bit_doc.json"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"namespace": "math",
|
|
506
|
+
"fixture": "math_doc.json"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"namespace": "os",
|
|
510
|
+
"fixture": "os_doc.json"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"namespace": "string",
|
|
514
|
+
"fixture": "string_doc.json"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"namespace": "table",
|
|
518
|
+
"fixture": "table_doc.json"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"namespace": "coroutine",
|
|
522
|
+
"fixture": "coroutine_doc.json"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"namespace": "debug",
|
|
526
|
+
"fixture": "debug_doc.json"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"namespace": "io",
|
|
530
|
+
"fixture": "io_doc.json"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"namespace": "package",
|
|
534
|
+
"fixture": "package_doc.json"
|
|
535
|
+
}
|
|
97
536
|
]
|
|
98
537
|
},
|
|
99
538
|
{
|
|
@@ -102,8 +541,17 @@
|
|
|
102
541
|
"fixturesDir": "fixtures/defold-1.9.8",
|
|
103
542
|
"generatedDir": "generated/versions/defold-1.9.8",
|
|
104
543
|
"coreTypesImport": "../../../src/core-types",
|
|
105
|
-
"source": {
|
|
106
|
-
|
|
544
|
+
"source": {
|
|
545
|
+
"kind": "ref-doc",
|
|
546
|
+
"version": "1.9.8"
|
|
547
|
+
},
|
|
548
|
+
"modules": [
|
|
549
|
+
{
|
|
550
|
+
"namespace": "label",
|
|
551
|
+
"fixture": "label_doc.json",
|
|
552
|
+
"outFile": "label.d.ts"
|
|
553
|
+
}
|
|
554
|
+
]
|
|
107
555
|
}
|
|
108
556
|
]
|
|
109
557
|
}
|
package/generated/b2d.d.ts
CHANGED
|
@@ -15,6 +15,12 @@ declare global {
|
|
|
15
15
|
* @returns the body if successful. Otherwise `nil`.
|
|
16
16
|
*/
|
|
17
17
|
function get_body(url: string | Hash | Url): Opaque<"b2Body">;
|
|
18
|
+
/**
|
|
19
|
+
* Get the Box2D version information for the active backend.
|
|
20
|
+
*
|
|
21
|
+
* @returns version info with fields `version`, `major`, `middle`, and `minor`
|
|
22
|
+
*/
|
|
23
|
+
function get_version(): { version: number; major: number; middle: number; minor: number };
|
|
18
24
|
/**
|
|
19
25
|
* Get the Box2D world from the current collection
|
|
20
26
|
*
|