@defold-typescript/library-types 0.22.0 → 0.24.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.
Files changed (145) hide show
  1. package/api-doc/boom.json +3870 -0
  2. package/api-doc/{bridge.bridge.json → bridge.json} +754 -844
  3. package/api-doc/bzAnim.json +338 -0
  4. package/api-doc/decore.json +23 -23
  5. package/api-doc/defcon.json +150 -0
  6. package/api-doc/{defmath.defmath.json → defmath.json} +6 -46
  7. package/api-doc/defsave.json +518 -0
  8. package/api-doc/deftest.json +741 -0
  9. package/api-doc/{dicebag.dicebag.json → dicebag.json} +19 -1
  10. package/api-doc/druid.json +249 -1846
  11. package/api-doc/event.json +1074 -0
  12. package/api-doc/gooey.json +2050 -0
  13. package/api-doc/immutable.json +65 -0
  14. package/api-doc/in.accelerometer.json +75 -1
  15. package/api-doc/in.button.json +17 -10
  16. package/api-doc/in.cursor.json +26 -0
  17. package/api-doc/in.gesture.json +401 -6
  18. package/api-doc/in.keyboard.json +2 -0
  19. package/api-doc/in.mapper.json +12 -8
  20. package/api-doc/in.onscreen.json +61 -5
  21. package/api-doc/in.state.json +61 -13
  22. package/api-doc/in.textbox.json +23 -12
  23. package/api-doc/in.triggers.json +336 -0
  24. package/api-doc/lang.json +528 -0
  25. package/api-doc/{event.event.json → log.json} +96 -101
  26. package/api-doc/metrics.fps.json +61 -2
  27. package/api-doc/metrics.mem.json +61 -2
  28. package/api-doc/monarch.monarch.json +249 -7
  29. package/api-doc/monarch.transitions.easings.json +19 -26
  30. package/api-doc/monarch.transitions.gui.json +782 -79
  31. package/api-doc/nakama.engine.defold.json +31 -18
  32. package/api-doc/{nakama.nakama.json → nakama.json} +4752 -2554
  33. package/api-doc/nakama.util.log.json +32 -4
  34. package/api-doc/narrator.json +647 -0
  35. package/api-doc/openapi/nakama.nakama.json +7680 -0
  36. package/api-doc/orthographic.camera.json +96 -98
  37. package/api-doc/orthographic.json +602 -0
  38. package/api-doc/panthera.json +1183 -0
  39. package/api-doc/{persist.persist.json → persist.json} +26 -1
  40. package/api-doc/{platypus.platypus.json → platypus.json} +68 -14
  41. package/api-doc/proto.json +995 -0
  42. package/api-doc/{rendy.rendy.json → rendy.json} +46 -99
  43. package/api-doc/richtext.color.json +77 -0
  44. package/api-doc/richtext.richtext.json +375 -5
  45. package/api-doc/saver.saver.json +714 -263
  46. package/api-doc/saver.storage.json +283 -52
  47. package/api-doc/squid.json +846 -0
  48. package/api-doc/{starly.starly.json → starly.json} +1 -1
  49. package/api-doc/tweener.json +277 -0
  50. package/api-doc/{yagames.yagames.json → yagames.json} +784 -189
  51. package/api-doc/{zzfx.api.json → zzfx.json} +9 -9
  52. package/authored-targets.json +403 -0
  53. package/generated/{boom.boom.d.ts → boom.d.ts} +14 -0
  54. package/generated/bridge.d.ts +468 -0
  55. package/generated/{bzAnim.bzLibrary.d.ts → bzAnim.d.ts} +6 -0
  56. package/generated/decore.d.ts +37 -37
  57. package/generated/defcon.d.ts +43 -0
  58. package/generated/{defmath.defmath.d.ts → defmath.d.ts} +3 -2
  59. package/generated/defsave.d.ts +144 -0
  60. package/generated/{dicebag.dicebag.d.ts → dicebag.d.ts} +25 -0
  61. package/generated/druid.d.ts +198 -502
  62. package/generated/event.d.ts +318 -0
  63. package/generated/{gooey.gooey.d.ts → gooey.d.ts} +61 -6
  64. package/generated/immutable.d.ts +13 -0
  65. package/generated/in.onscreen.d.ts +5 -0
  66. package/generated/in.textbox.d.ts +4 -0
  67. package/generated/lang.d.ts +101 -0
  68. package/generated/log.d.ts +36 -0
  69. package/generated/metrics.fps.d.ts +19 -1
  70. package/generated/metrics.mem.d.ts +19 -1
  71. package/generated/monarch.monarch.d.ts +44 -1
  72. package/generated/monarch.transitions.easings.d.ts +0 -1
  73. package/generated/monarch.transitions.gui.d.ts +96 -12
  74. package/generated/nakama.d.ts +1158 -0
  75. package/generated/nakama.engine.defold.d.ts +3 -1
  76. package/generated/nakama.util.log.d.ts +6 -0
  77. package/generated/narrator.d.ts +121 -0
  78. package/generated/openapi/nakama.nakama.d.ts +884 -0
  79. package/generated/orthographic.camera.d.ts +24 -38
  80. package/generated/orthographic.d.ts +155 -0
  81. package/generated/panthera.d.ts +170 -0
  82. package/generated/{persist.persist.d.ts → persist.d.ts} +3 -0
  83. package/generated/{platypus.platypus.d.ts → platypus.d.ts} +9 -0
  84. package/generated/proto.d.ts +146 -0
  85. package/generated/{rendy.rendy.d.ts → rendy.d.ts} +33 -80
  86. package/generated/richtext.color.d.ts +15 -0
  87. package/generated/saver.saver.d.ts +289 -42
  88. package/generated/saver.storage.d.ts +79 -14
  89. package/generated/squid.d.ts +127 -0
  90. package/generated/tweener.d.ts +42 -0
  91. package/generated/{yagames.yagames.d.ts → yagames.d.ts} +151 -29
  92. package/generated/{zzfx.api.d.ts → zzfx.d.ts} +7 -0
  93. package/library-classification.json +0 -227
  94. package/library-targets.json +1 -284
  95. package/luals-targets.json +168 -1
  96. package/openapi-targets.json +17 -0
  97. package/package.json +9 -88
  98. package/script-api-targets.json +15 -0
  99. package/scripts/__snapshots__/parse-luals.test.ts.snap +504 -85
  100. package/scripts/apply-luals-overrides.ts +95 -0
  101. package/scripts/authored-parity.ts +718 -0
  102. package/scripts/emit-library-dts.ts +177 -19
  103. package/scripts/extract-api-doc.ts +189 -38
  104. package/scripts/fidelity-floor.ts +178 -0
  105. package/scripts/import-upstream-docs.ts +125 -0
  106. package/scripts/lower-api-doc.ts +69 -19
  107. package/scripts/luals-fidelity.ts +22 -10
  108. package/scripts/map-luals-types.ts +86 -22
  109. package/scripts/parse-lua-surface.ts +187 -0
  110. package/scripts/parse-luals.ts +473 -22
  111. package/scripts/parse-markdown-api.ts +247 -0
  112. package/scripts/parse-openapi-api.ts +313 -0
  113. package/scripts/sync-authored-types.ts +249 -0
  114. package/scripts/sync-library-types.ts +99 -3
  115. package/scripts/sync-luals-types.ts +29 -2
  116. package/scripts/sync-markdown-types.ts +761 -0
  117. package/scripts/sync-openapi-types.ts +308 -0
  118. package/scripts/sync-script-api-types.ts +367 -0
  119. package/api-doc/boom.boom.json +0 -26
  120. package/api-doc/bzAnim.bzLibrary.json +0 -156
  121. package/api-doc/defcon.console.json +0 -109
  122. package/api-doc/defsave.defsave.json +0 -175
  123. package/api-doc/deftest.deftest.json +0 -71
  124. package/api-doc/gooey.gooey.json +0 -963
  125. package/api-doc/immutable.immutable.json +0 -63
  126. package/api-doc/lang.lang.json +0 -411
  127. package/api-doc/log.log.json +0 -50
  128. package/api-doc/narrator.narrator.json +0 -150
  129. package/api-doc/proto.proto.json +0 -355
  130. package/api-doc/squid.squid.json +0 -660
  131. package/api-doc/tweener.tweener.json +0 -419
  132. package/generated/bridge.bridge.d.ts +0 -533
  133. package/generated/defcon.console.d.ts +0 -24
  134. package/generated/defsave.defsave.d.ts +0 -31
  135. package/generated/event.event.d.ts +0 -54
  136. package/generated/immutable.immutable.d.ts +0 -13
  137. package/generated/lang.lang.d.ts +0 -33
  138. package/generated/log.log.d.ts +0 -40
  139. package/generated/nakama.nakama.d.ts +0 -594
  140. package/generated/narrator.narrator.d.ts +0 -66
  141. package/generated/proto.proto.d.ts +0 -36
  142. package/generated/squid.squid.d.ts +0 -106
  143. package/generated/tweener.tweener.d.ts +0 -151
  144. /package/generated/{deftest.deftest.d.ts → deftest.d.ts} +0 -0
  145. /package/generated/{starly.starly.d.ts → starly.d.ts} +0 -0
@@ -0,0 +1,602 @@
1
+ {
2
+ "info": {
3
+ "namespace": "orthographic",
4
+ "brief": "",
5
+ "description": ""
6
+ },
7
+ "elements": [
8
+ {
9
+ "type": "FUNCTION",
10
+ "name": "orthographic.get_view",
11
+ "description": "Get the current view of the camera.",
12
+ "parameters": [
13
+ {
14
+ "name": "camera_id",
15
+ "doc": "nil for the first camera",
16
+ "types": [
17
+ "hash",
18
+ "url",
19
+ "nil"
20
+ ]
21
+ }
22
+ ],
23
+ "returnvalues": [
24
+ {
25
+ "name": "view",
26
+ "doc": "The current view",
27
+ "types": [
28
+ "matrix"
29
+ ]
30
+ }
31
+ ]
32
+ },
33
+ {
34
+ "type": "FUNCTION",
35
+ "name": "orthographic.get_viewport",
36
+ "description": "Get the current viewport of the camera.",
37
+ "parameters": [
38
+ {
39
+ "name": "camera_id",
40
+ "doc": "nil for the first camera",
41
+ "types": [
42
+ "hash",
43
+ "url",
44
+ "nil"
45
+ ]
46
+ }
47
+ ],
48
+ "returnvalues": [
49
+ {
50
+ "name": "x",
51
+ "doc": "The viewport left position",
52
+ "types": [
53
+ "number"
54
+ ]
55
+ },
56
+ {
57
+ "name": "y",
58
+ "doc": "The viewport bottom position",
59
+ "types": [
60
+ "number"
61
+ ]
62
+ },
63
+ {
64
+ "name": "w",
65
+ "doc": "The viewport width",
66
+ "types": [
67
+ "number"
68
+ ]
69
+ },
70
+ {
71
+ "name": "h",
72
+ "doc": "The viewport height",
73
+ "types": [
74
+ "number"
75
+ ]
76
+ }
77
+ ]
78
+ },
79
+ {
80
+ "type": "FUNCTION",
81
+ "name": "orthographic.get_projection",
82
+ "description": "Get the current projection of the camera.",
83
+ "parameters": [
84
+ {
85
+ "name": "camera_id",
86
+ "doc": "nil for the first camera",
87
+ "types": [
88
+ "hash",
89
+ "url",
90
+ "nil"
91
+ ]
92
+ }
93
+ ],
94
+ "returnvalues": [
95
+ {
96
+ "name": "projection",
97
+ "doc": "The current projection",
98
+ "types": [
99
+ "matrix"
100
+ ]
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "type": "FUNCTION",
106
+ "name": "orthographic.shake",
107
+ "description": "Shake the camera.",
108
+ "parameters": [
109
+ {
110
+ "name": "camera_id",
111
+ "doc": "",
112
+ "types": [
113
+ "hash",
114
+ "url"
115
+ ]
116
+ },
117
+ {
118
+ "name": "intensity",
119
+ "doc": "Intensity of the shake, in percent of screen. Defaults to 0.05",
120
+ "types": [
121
+ "number"
122
+ ],
123
+ "is_optional": "True"
124
+ },
125
+ {
126
+ "name": "duration",
127
+ "doc": "Duration of the shake, in seconds. Defaults to 0.5",
128
+ "types": [
129
+ "number"
130
+ ],
131
+ "is_optional": "True"
132
+ },
133
+ {
134
+ "name": "direction",
135
+ "doc": "Direction of the shake. Possible values: `both`, `horizontal`, `vertical`. Defaults to `both`.",
136
+ "types": [
137
+ "hash"
138
+ ],
139
+ "is_optional": "True"
140
+ },
141
+ {
142
+ "name": "cb",
143
+ "doc": "Function to call when the shake has finished. Optional.",
144
+ "types": [
145
+ "function"
146
+ ],
147
+ "is_optional": "True"
148
+ }
149
+ ],
150
+ "returnvalues": []
151
+ },
152
+ {
153
+ "type": "FUNCTION",
154
+ "name": "orthographic.stop_shaking",
155
+ "description": "Stop shaking the camera.",
156
+ "parameters": [
157
+ {
158
+ "name": "camera_id",
159
+ "doc": "",
160
+ "types": [
161
+ "hash",
162
+ "url"
163
+ ]
164
+ }
165
+ ],
166
+ "returnvalues": []
167
+ },
168
+ {
169
+ "type": "FUNCTION",
170
+ "name": "orthographic.recoil",
171
+ "description": "Apply a recoil effect to the camera. The recoil will decay using linear interpolation.",
172
+ "parameters": [
173
+ {
174
+ "name": "camera_id",
175
+ "doc": "",
176
+ "types": [
177
+ "hash",
178
+ "url"
179
+ ]
180
+ },
181
+ {
182
+ "name": "offset",
183
+ "doc": "Offset to apply to the camera. Defaults to 0.05",
184
+ "types": [
185
+ "vector3"
186
+ ]
187
+ },
188
+ {
189
+ "name": "duration",
190
+ "doc": "Duration of the recoil, in seconds. Defaults to 0.5",
191
+ "types": [
192
+ "number"
193
+ ],
194
+ "is_optional": "True"
195
+ }
196
+ ],
197
+ "returnvalues": []
198
+ },
199
+ {
200
+ "type": "FUNCTION",
201
+ "name": "orthographic.get_offset",
202
+ "description": "Get the current offset of the camera (caused by shake or recoil)",
203
+ "parameters": [
204
+ {
205
+ "name": "camera_id",
206
+ "doc": "nil for the first camera",
207
+ "types": [
208
+ "hash",
209
+ "url",
210
+ "nil"
211
+ ]
212
+ }
213
+ ],
214
+ "returnvalues": [
215
+ {
216
+ "name": "offset",
217
+ "doc": "The current offset of the camera",
218
+ "types": [
219
+ "vector3"
220
+ ]
221
+ }
222
+ ]
223
+ },
224
+ {
225
+ "type": "FUNCTION",
226
+ "name": "orthographic.get_zoom",
227
+ "description": "Get the current zoom level of the camera.",
228
+ "parameters": [
229
+ {
230
+ "name": "camera_id",
231
+ "doc": "nil for the first camera",
232
+ "types": [
233
+ "hash",
234
+ "url",
235
+ "nil"
236
+ ]
237
+ }
238
+ ],
239
+ "returnvalues": [
240
+ {
241
+ "name": "zoom",
242
+ "doc": "The current zoom of the camera",
243
+ "types": [
244
+ "number"
245
+ ]
246
+ }
247
+ ]
248
+ },
249
+ {
250
+ "type": "FUNCTION",
251
+ "name": "orthographic.set_zoom",
252
+ "description": "Change the zoom level of the camera.",
253
+ "parameters": [
254
+ {
255
+ "name": "camera_id",
256
+ "doc": "nil for the first camera",
257
+ "types": [
258
+ "hash",
259
+ "url",
260
+ "nil"
261
+ ]
262
+ },
263
+ {
264
+ "name": "zoom",
265
+ "doc": "The new zoom level of the camera",
266
+ "types": [
267
+ "number"
268
+ ]
269
+ }
270
+ ],
271
+ "returnvalues": []
272
+ },
273
+ {
274
+ "type": "FUNCTION",
275
+ "name": "orthographic.get_automatic_zoom",
276
+ "description": "Get if the camera is configured to use automatic zoom level.",
277
+ "parameters": [],
278
+ "returnvalues": [
279
+ {
280
+ "name": "auto_zoom",
281
+ "doc": "True if automatic zoom is enabled",
282
+ "types": [
283
+ "boolean"
284
+ ]
285
+ }
286
+ ]
287
+ },
288
+ {
289
+ "type": "FUNCTION",
290
+ "name": "orthographic.set_automatic_zoom",
291
+ "description": "Set if the camera should use automatic zoom level.",
292
+ "parameters": [
293
+ {
294
+ "name": "enabled",
295
+ "doc": "True if automatic zoom should be enabled",
296
+ "types": [
297
+ "boolean"
298
+ ]
299
+ }
300
+ ],
301
+ "returnvalues": []
302
+ },
303
+ {
304
+ "type": "FUNCTION",
305
+ "name": "orthographic.follow",
306
+ "description": "Follow one or more game objects. When following multiple objects the camera will follow the center point between the objects.",
307
+ "parameters": [
308
+ {
309
+ "name": "camera_id",
310
+ "doc": "nil for the first camera",
311
+ "types": [
312
+ "hash",
313
+ "url",
314
+ "nil"
315
+ ]
316
+ },
317
+ {
318
+ "name": "targets",
319
+ "doc": "Game object(s) to follow",
320
+ "types": [
321
+ "hash",
322
+ "url",
323
+ "table"
324
+ ]
325
+ },
326
+ {
327
+ "name": "options",
328
+ "doc": "Options (see below)",
329
+ "types": [
330
+ "table"
331
+ ],
332
+ "is_optional": "True"
333
+ }
334
+ ],
335
+ "returnvalues": []
336
+ },
337
+ {
338
+ "type": "FUNCTION",
339
+ "name": "orthographic.follow_offset",
340
+ "description": "Change the camera follow offset.",
341
+ "parameters": [
342
+ {
343
+ "name": "camera_id",
344
+ "doc": "nil for the first camera",
345
+ "types": [
346
+ "hash",
347
+ "url",
348
+ "nil"
349
+ ]
350
+ },
351
+ {
352
+ "name": "offset",
353
+ "doc": "Camera offset from target position.",
354
+ "types": [
355
+ "vector3"
356
+ ]
357
+ }
358
+ ],
359
+ "returnvalues": []
360
+ },
361
+ {
362
+ "type": "FUNCTION",
363
+ "name": "orthographic.unfollow",
364
+ "description": "Stop following a game object.",
365
+ "parameters": [
366
+ {
367
+ "name": "camera_id",
368
+ "doc": "nil for the first camera",
369
+ "types": [
370
+ "hash",
371
+ "url",
372
+ "nil"
373
+ ]
374
+ }
375
+ ],
376
+ "returnvalues": []
377
+ },
378
+ {
379
+ "type": "FUNCTION",
380
+ "name": "orthographic.deadzone",
381
+ "description": "If following a game object this will add a deadzone around the camera position where the camera position will not update. If the target moves to the edge of the deadzone the camera will start to follow until the target returns within the bounds of the deadzone.",
382
+ "parameters": [
383
+ {
384
+ "name": "camera_id",
385
+ "doc": "nil for the first camera",
386
+ "types": [
387
+ "hash",
388
+ "url",
389
+ "nil"
390
+ ]
391
+ },
392
+ {
393
+ "name": "left",
394
+ "doc": "Number of pixels to the left of the camera",
395
+ "types": [
396
+ "number"
397
+ ]
398
+ },
399
+ {
400
+ "name": "top",
401
+ "doc": "Number of pixels above the camera",
402
+ "types": [
403
+ "number"
404
+ ]
405
+ },
406
+ {
407
+ "name": "right",
408
+ "doc": "Number of pixels to the right of the camera",
409
+ "types": [
410
+ "number"
411
+ ]
412
+ },
413
+ {
414
+ "name": "bottom",
415
+ "doc": "Number of pixels below the camera",
416
+ "types": [
417
+ "number"
418
+ ]
419
+ }
420
+ ],
421
+ "returnvalues": []
422
+ },
423
+ {
424
+ "type": "FUNCTION",
425
+ "name": "orthographic.bounds",
426
+ "description": "Limits the camera position to within the specified rectangle.",
427
+ "parameters": [
428
+ {
429
+ "name": "camera_id",
430
+ "doc": "nil for the first camera",
431
+ "types": [
432
+ "hash",
433
+ "url",
434
+ "nil"
435
+ ]
436
+ },
437
+ {
438
+ "name": "left",
439
+ "doc": "Left edge of the camera bounds",
440
+ "types": [
441
+ "number"
442
+ ]
443
+ },
444
+ {
445
+ "name": "top",
446
+ "doc": "Top edge of camera bounds",
447
+ "types": [
448
+ "number"
449
+ ]
450
+ },
451
+ {
452
+ "name": "right",
453
+ "doc": "Right edge of camera bounds",
454
+ "types": [
455
+ "number"
456
+ ]
457
+ },
458
+ {
459
+ "name": "bottom",
460
+ "doc": "Bottom edge of camera bounds",
461
+ "types": [
462
+ "number"
463
+ ]
464
+ }
465
+ ],
466
+ "returnvalues": []
467
+ },
468
+ {
469
+ "type": "FUNCTION",
470
+ "name": "orthographic.screen_to_world",
471
+ "description": "Translate screen coordinates to world coordinates, based on the view and projection of the camera.",
472
+ "parameters": [
473
+ {
474
+ "name": "camera_id",
475
+ "doc": "nil for the first camera",
476
+ "types": [
477
+ "hash",
478
+ "url",
479
+ "nil"
480
+ ]
481
+ },
482
+ {
483
+ "name": "screen",
484
+ "doc": "Screen coordinates to convert",
485
+ "types": [
486
+ "vector3"
487
+ ]
488
+ }
489
+ ],
490
+ "returnvalues": [
491
+ {
492
+ "name": "world_coords",
493
+ "doc": "World coordinates",
494
+ "types": [
495
+ "vector3"
496
+ ]
497
+ }
498
+ ]
499
+ },
500
+ {
501
+ "type": "FUNCTION",
502
+ "name": "orthographic.screen_to_world_bounds",
503
+ "description": "Translate screen boundaries (corners) to world coordinates, based on the view and projection of the camera.",
504
+ "parameters": [
505
+ {
506
+ "name": "camera_id",
507
+ "doc": "nil for the first camera",
508
+ "types": [
509
+ "hash",
510
+ "url",
511
+ "nil"
512
+ ]
513
+ }
514
+ ],
515
+ "returnvalues": [
516
+ {
517
+ "name": "bounds",
518
+ "doc": "Screen bounds (x = left, y = top, z = right, w = bottom)",
519
+ "types": [
520
+ "vector4"
521
+ ]
522
+ }
523
+ ]
524
+ },
525
+ {
526
+ "type": "FUNCTION",
527
+ "name": "orthographic.world_to_screen",
528
+ "description": "Translate world coordinates to screen coordinates, based on the view and projection of the camera. This is useful when manually culling game objects and you need to determine if a world coordinate will be visible or not. It can also be used to position gui nodes on top of game objects.",
529
+ "parameters": [
530
+ {
531
+ "name": "camera_id",
532
+ "doc": "nil for the first camera",
533
+ "types": [
534
+ "hash",
535
+ "url",
536
+ "nil"
537
+ ]
538
+ },
539
+ {
540
+ "name": "world",
541
+ "doc": "World coordinates to convert",
542
+ "types": [
543
+ "vector3"
544
+ ]
545
+ }
546
+ ],
547
+ "returnvalues": [
548
+ {
549
+ "name": "screen_coords",
550
+ "doc": "Screen coordinates",
551
+ "types": [
552
+ "vector3"
553
+ ]
554
+ }
555
+ ]
556
+ },
557
+ {
558
+ "type": "FUNCTION",
559
+ "name": "orthographic.get_window_size",
560
+ "description": "Get the current window size. The default values will be the ones specified in game.project.",
561
+ "parameters": [],
562
+ "returnvalues": [
563
+ {
564
+ "name": "width",
565
+ "doc": "Current window width.",
566
+ "types": [
567
+ "number"
568
+ ]
569
+ },
570
+ {
571
+ "name": "height",
572
+ "doc": "Current window height.",
573
+ "types": [
574
+ "number"
575
+ ]
576
+ }
577
+ ]
578
+ },
579
+ {
580
+ "type": "FUNCTION",
581
+ "name": "orthographic.get_display_size",
582
+ "description": "Get the display size, as specified in game.project.",
583
+ "parameters": [],
584
+ "returnvalues": [
585
+ {
586
+ "name": "width",
587
+ "doc": "Display width.",
588
+ "types": [
589
+ "number"
590
+ ]
591
+ },
592
+ {
593
+ "name": "height",
594
+ "doc": "Display height.",
595
+ "types": [
596
+ "number"
597
+ ]
598
+ }
599
+ ]
600
+ }
601
+ ]
602
+ }