@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.
Files changed (130) hide show
  1. package/NOTICE +2 -3
  2. package/api-doc/boom.json +3872 -0
  3. package/api-doc/bridge.json +10 -5
  4. package/api-doc/bzAnim.json +338 -0
  5. package/api-doc/checkpoint.json +127 -0
  6. package/api-doc/decore.json +1 -1
  7. package/api-doc/defcon.json +150 -0
  8. package/api-doc/{defmath.defmath.json → defmath.json} +6 -46
  9. package/api-doc/defsave.json +518 -0
  10. package/api-doc/deftest.json +745 -0
  11. package/api-doc/{dicebag.dicebag.json → dicebag.json} +19 -1
  12. package/api-doc/druid.json +90 -92
  13. package/api-doc/event.json +16 -16
  14. package/api-doc/gooey.json +2050 -0
  15. package/api-doc/in.accelerometer.json +75 -1
  16. package/api-doc/in.button.json +17 -10
  17. package/api-doc/in.cursor.json +26 -0
  18. package/api-doc/in.gesture.json +401 -6
  19. package/api-doc/in.keyboard.json +2 -0
  20. package/api-doc/in.mapper.json +12 -8
  21. package/api-doc/in.onscreen.json +61 -5
  22. package/api-doc/in.state.json +61 -13
  23. package/api-doc/in.textbox.json +23 -12
  24. package/api-doc/in.triggers.json +336 -0
  25. package/api-doc/lang.json +5 -5
  26. package/api-doc/log.json +1 -1
  27. package/api-doc/metrics.fps.json +61 -2
  28. package/api-doc/metrics.mem.json +61 -2
  29. package/api-doc/monarch.monarch.json +249 -7
  30. package/api-doc/monarch.transitions.easings.json +19 -26
  31. package/api-doc/monarch.transitions.gui.json +782 -79
  32. package/api-doc/nakama.engine.defold.json +31 -18
  33. package/api-doc/{nakama.nakama.json → nakama.json} +4752 -2554
  34. package/api-doc/nakama.session.json +315 -0
  35. package/api-doc/nakama.socket.json +3356 -0
  36. package/api-doc/nakama.util.log.json +32 -4
  37. package/api-doc/narrator.json +1 -1
  38. package/api-doc/openapi/nakama.nakama.json +7680 -0
  39. package/api-doc/orthographic.camera.json +96 -98
  40. package/api-doc/orthographic.json +602 -0
  41. package/api-doc/panthera.json +1183 -0
  42. package/api-doc/{persist.persist.json → persist.json} +26 -1
  43. package/api-doc/{platypus.platypus.json → platypus.json} +68 -14
  44. package/api-doc/{rendy.rendy.json → rendy.json} +46 -99
  45. package/api-doc/richtext.color.json +77 -0
  46. package/api-doc/richtext.richtext.json +375 -5
  47. package/api-doc/saver.saver.json +2 -1
  48. package/api-doc/saver.storage.json +2 -1
  49. package/api-doc/shutter.json +551 -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 +433 -0
  53. package/generated/{boom.boom.d.ts → boom.d.ts} +14 -0
  54. package/generated/bridge.d.ts +5 -5
  55. package/generated/{bzAnim.bzLibrary.d.ts → bzAnim.d.ts} +6 -0
  56. package/generated/checkpoint.d.ts +62 -0
  57. package/generated/decore.d.ts +1 -1
  58. package/generated/defcon.d.ts +43 -0
  59. package/generated/{defmath.defmath.d.ts → defmath.d.ts} +3 -2
  60. package/generated/defsave.d.ts +144 -0
  61. package/generated/{dicebag.dicebag.d.ts → dicebag.d.ts} +25 -0
  62. package/generated/druid.d.ts +81 -79
  63. package/generated/event.d.ts +15 -15
  64. package/generated/{gooey.gooey.d.ts → gooey.d.ts} +61 -6
  65. package/generated/in.onscreen.d.ts +5 -0
  66. package/generated/in.textbox.d.ts +4 -0
  67. package/generated/lang.d.ts +5 -5
  68. package/generated/log.d.ts +1 -1
  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.session.d.ts +95 -0
  77. package/generated/nakama.socket.d.ts +706 -0
  78. package/generated/nakama.util.log.d.ts +6 -0
  79. package/generated/narrator.d.ts +1 -1
  80. package/generated/openapi/nakama.nakama.d.ts +884 -0
  81. package/generated/orthographic.camera.d.ts +24 -38
  82. package/generated/orthographic.d.ts +155 -0
  83. package/generated/panthera.d.ts +170 -0
  84. package/generated/{persist.persist.d.ts → persist.d.ts} +3 -0
  85. package/generated/{platypus.platypus.d.ts → platypus.d.ts} +9 -0
  86. package/generated/proto.d.ts +4 -4
  87. package/generated/{rendy.rendy.d.ts → rendy.d.ts} +33 -80
  88. package/generated/richtext.color.d.ts +15 -0
  89. package/generated/saver.saver.d.ts +2 -0
  90. package/generated/saver.storage.d.ts +2 -0
  91. package/generated/shutter.d.ts +183 -0
  92. package/generated/{yagames.yagames.d.ts → yagames.d.ts} +151 -29
  93. package/generated/{zzfx.api.d.ts → zzfx.d.ts} +7 -0
  94. package/library-classification.json +0 -156
  95. package/library-targets.json +1 -218
  96. package/luals-targets.json +56 -3
  97. package/openapi-targets.json +17 -0
  98. package/package.json +7 -57
  99. package/scripts/__snapshots__/parse-luals.test.ts.snap +164 -10
  100. package/scripts/apply-luals-overrides.ts +39 -7
  101. package/scripts/authored-parity.ts +718 -0
  102. package/scripts/emit-library-dts.ts +94 -17
  103. package/scripts/extract-api-doc.ts +214 -42
  104. package/scripts/fidelity-floor.ts +178 -0
  105. package/scripts/import-upstream-docs.ts +125 -0
  106. package/scripts/lower-api-doc.ts +21 -3
  107. package/scripts/luals-fidelity.ts +16 -11
  108. package/scripts/map-luals-types.ts +52 -21
  109. package/scripts/parse-lua-surface.ts +187 -0
  110. package/scripts/parse-luals.ts +50 -4
  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 +14 -1
  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 +16 -17
  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/starly.starly.json +0 -488
  126. package/generated/defcon.console.d.ts +0 -24
  127. package/generated/defsave.defsave.d.ts +0 -31
  128. package/generated/nakama.nakama.d.ts +0 -594
  129. package/generated/starly.starly.d.ts +0 -148
  130. /package/generated/{deftest.deftest.d.ts → deftest.d.ts} +0 -0
@@ -0,0 +1,745 @@
1
+ {
2
+ "info": {
3
+ "namespace": "deftest",
4
+ "brief": "Unit testing in Defold",
5
+ "description": "Unit testing in Defold"
6
+ },
7
+ "elements": [
8
+ {
9
+ "type": "FUNCTION",
10
+ "name": "add",
11
+ "brief": "Add one or more sets of tests",
12
+ "description": "Add one or more sets of tests\nEach set of tests must be wrapped in a function",
13
+ "docSource": "upstream",
14
+ "parameters": [
15
+ {
16
+ "name": "args",
17
+ "doc": "",
18
+ "types": [
19
+ "((...args: any[]) => unknown)[]"
20
+ ],
21
+ "is_optional": "False"
22
+ }
23
+ ],
24
+ "returnvalues": []
25
+ },
26
+ {
27
+ "type": "FUNCTION",
28
+ "name": "run",
29
+ "brief": "Run all tests added via @{add}",
30
+ "description": "Run all tests added via @{add}\nThe engine will shut down with an exit code indicating success or\nfailure and the test reports will be written to console.",
31
+ "docSource": "upstream",
32
+ "parameters": [
33
+ {
34
+ "name": "options",
35
+ "doc": "",
36
+ "types": [
37
+ "{ coverage?: { enabled?: boolean; }; pattern?: string; }"
38
+ ],
39
+ "is_optional": "True",
40
+ "fields": [
41
+ {
42
+ "name": "coverage",
43
+ "doc": "",
44
+ "types": [
45
+ "{ enabled?: boolean; }"
46
+ ],
47
+ "is_optional": "True",
48
+ "fields": [
49
+ {
50
+ "name": "enabled",
51
+ "doc": "",
52
+ "types": [
53
+ "boolean"
54
+ ],
55
+ "is_optional": "True"
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ "name": "pattern",
61
+ "doc": "",
62
+ "types": [
63
+ "string"
64
+ ],
65
+ "is_optional": "True"
66
+ }
67
+ ]
68
+ }
69
+ ],
70
+ "returnvalues": []
71
+ },
72
+ {
73
+ "type": "FUNCTION",
74
+ "name": "describe",
75
+ "brief": "",
76
+ "description": "",
77
+ "parameters": [
78
+ {
79
+ "name": "title",
80
+ "doc": "",
81
+ "types": [
82
+ "string"
83
+ ],
84
+ "is_optional": "False"
85
+ },
86
+ {
87
+ "name": "tests",
88
+ "doc": "",
89
+ "types": [
90
+ "() => void"
91
+ ],
92
+ "is_optional": "False"
93
+ }
94
+ ],
95
+ "returnvalues": [],
96
+ "global": true
97
+ },
98
+ {
99
+ "type": "FUNCTION",
100
+ "name": "before",
101
+ "brief": "",
102
+ "description": "",
103
+ "parameters": [
104
+ {
105
+ "name": "before",
106
+ "doc": "",
107
+ "types": [
108
+ "() => void"
109
+ ],
110
+ "is_optional": "False"
111
+ }
112
+ ],
113
+ "returnvalues": [],
114
+ "global": true
115
+ },
116
+ {
117
+ "type": "FUNCTION",
118
+ "name": "after",
119
+ "brief": "",
120
+ "description": "",
121
+ "parameters": [
122
+ {
123
+ "name": "after",
124
+ "doc": "",
125
+ "types": [
126
+ "() => void"
127
+ ],
128
+ "is_optional": "False"
129
+ }
130
+ ],
131
+ "returnvalues": [],
132
+ "global": true
133
+ },
134
+ {
135
+ "type": "FUNCTION",
136
+ "name": "test",
137
+ "brief": "",
138
+ "description": "",
139
+ "parameters": [
140
+ {
141
+ "name": "title",
142
+ "doc": "",
143
+ "types": [
144
+ "string"
145
+ ],
146
+ "is_optional": "False"
147
+ },
148
+ {
149
+ "name": "test",
150
+ "doc": "",
151
+ "types": [
152
+ "() => void"
153
+ ],
154
+ "is_optional": "False"
155
+ }
156
+ ],
157
+ "returnvalues": [],
158
+ "global": true
159
+ },
160
+ {
161
+ "type": "FUNCTION",
162
+ "name": "assert_equal",
163
+ "brief": "",
164
+ "description": "",
165
+ "generics": "<T>",
166
+ "parameters": [
167
+ {
168
+ "name": "a",
169
+ "doc": "",
170
+ "types": [
171
+ "T"
172
+ ],
173
+ "is_optional": "False"
174
+ },
175
+ {
176
+ "name": "b",
177
+ "doc": "",
178
+ "types": [
179
+ "T"
180
+ ],
181
+ "is_optional": "False"
182
+ }
183
+ ],
184
+ "returnvalues": [],
185
+ "global": true
186
+ },
187
+ {
188
+ "type": "FUNCTION",
189
+ "name": "assert_blank",
190
+ "brief": "",
191
+ "description": "",
192
+ "parameters": [
193
+ {
194
+ "name": "value",
195
+ "doc": "",
196
+ "types": [
197
+ "any"
198
+ ],
199
+ "is_optional": "False"
200
+ }
201
+ ],
202
+ "returnvalues": [],
203
+ "global": true
204
+ },
205
+ {
206
+ "type": "FUNCTION",
207
+ "name": "assert_empty",
208
+ "brief": "",
209
+ "description": "",
210
+ "parameters": [
211
+ {
212
+ "name": "obj",
213
+ "doc": "",
214
+ "types": [
215
+ "Record<any, any>"
216
+ ],
217
+ "is_optional": "False"
218
+ }
219
+ ],
220
+ "returnvalues": [],
221
+ "global": true
222
+ },
223
+ {
224
+ "type": "FUNCTION",
225
+ "name": "assert_error",
226
+ "brief": "",
227
+ "description": "",
228
+ "parameters": [
229
+ {
230
+ "name": "func",
231
+ "doc": "",
232
+ "types": [
233
+ "any"
234
+ ],
235
+ "is_optional": "False"
236
+ }
237
+ ],
238
+ "returnvalues": [],
239
+ "global": true
240
+ },
241
+ {
242
+ "type": "FUNCTION",
243
+ "name": "assert_not_error",
244
+ "brief": "",
245
+ "description": "",
246
+ "parameters": [
247
+ {
248
+ "name": "func",
249
+ "doc": "",
250
+ "types": [
251
+ "any"
252
+ ],
253
+ "is_optional": "False"
254
+ }
255
+ ],
256
+ "returnvalues": [],
257
+ "global": true
258
+ },
259
+ {
260
+ "type": "FUNCTION",
261
+ "name": "assert_false",
262
+ "brief": "",
263
+ "description": "",
264
+ "parameters": [
265
+ {
266
+ "name": "value",
267
+ "doc": "",
268
+ "types": [
269
+ "boolean"
270
+ ],
271
+ "is_optional": "False"
272
+ }
273
+ ],
274
+ "returnvalues": [],
275
+ "global": true
276
+ },
277
+ {
278
+ "type": "FUNCTION",
279
+ "name": "assert_not_false",
280
+ "brief": "",
281
+ "description": "",
282
+ "parameters": [
283
+ {
284
+ "name": "value",
285
+ "doc": "",
286
+ "types": [
287
+ "boolean"
288
+ ],
289
+ "is_optional": "False"
290
+ }
291
+ ],
292
+ "returnvalues": [],
293
+ "global": true
294
+ },
295
+ {
296
+ "type": "FUNCTION",
297
+ "name": "assert_not_true",
298
+ "brief": "",
299
+ "description": "",
300
+ "parameters": [
301
+ {
302
+ "name": "value",
303
+ "doc": "",
304
+ "types": [
305
+ "boolean"
306
+ ],
307
+ "is_optional": "False"
308
+ }
309
+ ],
310
+ "returnvalues": [],
311
+ "global": true
312
+ },
313
+ {
314
+ "type": "FUNCTION",
315
+ "name": "assert_true",
316
+ "brief": "",
317
+ "description": "",
318
+ "parameters": [
319
+ {
320
+ "name": "value",
321
+ "doc": "",
322
+ "types": [
323
+ "boolean"
324
+ ],
325
+ "is_optional": "False"
326
+ }
327
+ ],
328
+ "returnvalues": [],
329
+ "global": true
330
+ },
331
+ {
332
+ "type": "FUNCTION",
333
+ "name": "assert_greater_than",
334
+ "brief": "",
335
+ "description": "",
336
+ "parameters": [
337
+ {
338
+ "name": "a",
339
+ "doc": "",
340
+ "types": [
341
+ "number"
342
+ ],
343
+ "is_optional": "False"
344
+ },
345
+ {
346
+ "name": "b",
347
+ "doc": "",
348
+ "types": [
349
+ "number"
350
+ ],
351
+ "is_optional": "False"
352
+ }
353
+ ],
354
+ "returnvalues": [],
355
+ "global": true
356
+ },
357
+ {
358
+ "type": "FUNCTION",
359
+ "name": "assert_gte",
360
+ "brief": "",
361
+ "description": "",
362
+ "parameters": [
363
+ {
364
+ "name": "a",
365
+ "doc": "",
366
+ "types": [
367
+ "number"
368
+ ],
369
+ "is_optional": "False"
370
+ },
371
+ {
372
+ "name": "b",
373
+ "doc": "",
374
+ "types": [
375
+ "number"
376
+ ],
377
+ "is_optional": "False"
378
+ }
379
+ ],
380
+ "returnvalues": [],
381
+ "global": true
382
+ },
383
+ {
384
+ "type": "FUNCTION",
385
+ "name": "assert_less_than",
386
+ "brief": "",
387
+ "description": "",
388
+ "parameters": [
389
+ {
390
+ "name": "a",
391
+ "doc": "",
392
+ "types": [
393
+ "number"
394
+ ],
395
+ "is_optional": "False"
396
+ },
397
+ {
398
+ "name": "b",
399
+ "doc": "",
400
+ "types": [
401
+ "number"
402
+ ],
403
+ "is_optional": "False"
404
+ }
405
+ ],
406
+ "returnvalues": [],
407
+ "global": true
408
+ },
409
+ {
410
+ "type": "FUNCTION",
411
+ "name": "assert_lte",
412
+ "brief": "",
413
+ "description": "",
414
+ "parameters": [
415
+ {
416
+ "name": "a",
417
+ "doc": "",
418
+ "types": [
419
+ "number"
420
+ ],
421
+ "is_optional": "False"
422
+ },
423
+ {
424
+ "name": "b",
425
+ "doc": "",
426
+ "types": [
427
+ "number"
428
+ ],
429
+ "is_optional": "False"
430
+ }
431
+ ],
432
+ "returnvalues": [],
433
+ "global": true
434
+ },
435
+ {
436
+ "type": "FUNCTION",
437
+ "name": "assert_match",
438
+ "brief": "",
439
+ "description": "",
440
+ "parameters": [
441
+ {
442
+ "name": "a",
443
+ "doc": "",
444
+ "types": [
445
+ "number"
446
+ ],
447
+ "is_optional": "False"
448
+ },
449
+ {
450
+ "name": "b",
451
+ "doc": "",
452
+ "types": [
453
+ "number"
454
+ ],
455
+ "is_optional": "False"
456
+ }
457
+ ],
458
+ "returnvalues": [],
459
+ "global": true
460
+ },
461
+ {
462
+ "type": "FUNCTION",
463
+ "name": "assert_nil",
464
+ "brief": "",
465
+ "description": "",
466
+ "parameters": [
467
+ {
468
+ "name": "value",
469
+ "doc": "",
470
+ "types": [
471
+ "any"
472
+ ],
473
+ "is_optional": "False"
474
+ }
475
+ ],
476
+ "returnvalues": [],
477
+ "global": true
478
+ },
479
+ {
480
+ "type": "FUNCTION",
481
+ "name": "assert_type",
482
+ "brief": "",
483
+ "description": "",
484
+ "generics": "<T>",
485
+ "parameters": [
486
+ {
487
+ "name": "a",
488
+ "doc": "",
489
+ "types": [
490
+ "T"
491
+ ],
492
+ "is_optional": "False"
493
+ },
494
+ {
495
+ "name": "b",
496
+ "doc": "",
497
+ "types": [
498
+ "T"
499
+ ],
500
+ "is_optional": "False"
501
+ }
502
+ ],
503
+ "returnvalues": [],
504
+ "global": true
505
+ },
506
+ {
507
+ "type": "FUNCTION",
508
+ "name": "assert_not_blank",
509
+ "brief": "",
510
+ "description": "",
511
+ "parameters": [
512
+ {
513
+ "name": "value",
514
+ "doc": "",
515
+ "types": [
516
+ "any"
517
+ ],
518
+ "is_optional": "False"
519
+ }
520
+ ],
521
+ "returnvalues": [],
522
+ "global": true
523
+ },
524
+ {
525
+ "type": "FUNCTION",
526
+ "name": "assert_not_empty",
527
+ "brief": "",
528
+ "description": "",
529
+ "parameters": [
530
+ {
531
+ "name": "value",
532
+ "doc": "",
533
+ "types": [
534
+ "any"
535
+ ],
536
+ "is_optional": "False"
537
+ }
538
+ ],
539
+ "returnvalues": [],
540
+ "global": true
541
+ },
542
+ {
543
+ "type": "FUNCTION",
544
+ "name": "assert_not_equal",
545
+ "brief": "",
546
+ "description": "",
547
+ "generics": "<T>",
548
+ "parameters": [
549
+ {
550
+ "name": "a",
551
+ "doc": "",
552
+ "types": [
553
+ "T"
554
+ ],
555
+ "is_optional": "False"
556
+ },
557
+ {
558
+ "name": "b",
559
+ "doc": "",
560
+ "types": [
561
+ "T"
562
+ ],
563
+ "is_optional": "False"
564
+ }
565
+ ],
566
+ "returnvalues": [],
567
+ "global": true
568
+ },
569
+ {
570
+ "type": "FUNCTION",
571
+ "name": "assert_not_greater_than",
572
+ "brief": "",
573
+ "description": "",
574
+ "parameters": [
575
+ {
576
+ "name": "a",
577
+ "doc": "",
578
+ "types": [
579
+ "number"
580
+ ],
581
+ "is_optional": "False"
582
+ },
583
+ {
584
+ "name": "b",
585
+ "doc": "",
586
+ "types": [
587
+ "number"
588
+ ],
589
+ "is_optional": "False"
590
+ }
591
+ ],
592
+ "returnvalues": [],
593
+ "global": true
594
+ },
595
+ {
596
+ "type": "FUNCTION",
597
+ "name": "assert_not_gte",
598
+ "brief": "",
599
+ "description": "",
600
+ "parameters": [
601
+ {
602
+ "name": "a",
603
+ "doc": "",
604
+ "types": [
605
+ "number"
606
+ ],
607
+ "is_optional": "False"
608
+ },
609
+ {
610
+ "name": "b",
611
+ "doc": "",
612
+ "types": [
613
+ "number"
614
+ ],
615
+ "is_optional": "False"
616
+ }
617
+ ],
618
+ "returnvalues": [],
619
+ "global": true
620
+ },
621
+ {
622
+ "type": "FUNCTION",
623
+ "name": "assert_not_less_than",
624
+ "brief": "",
625
+ "description": "",
626
+ "parameters": [
627
+ {
628
+ "name": "a",
629
+ "doc": "",
630
+ "types": [
631
+ "number"
632
+ ],
633
+ "is_optional": "False"
634
+ },
635
+ {
636
+ "name": "b",
637
+ "doc": "",
638
+ "types": [
639
+ "number"
640
+ ],
641
+ "is_optional": "False"
642
+ }
643
+ ],
644
+ "returnvalues": [],
645
+ "global": true
646
+ },
647
+ {
648
+ "type": "FUNCTION",
649
+ "name": "assert_not_lte",
650
+ "brief": "",
651
+ "description": "",
652
+ "parameters": [
653
+ {
654
+ "name": "a",
655
+ "doc": "",
656
+ "types": [
657
+ "number"
658
+ ],
659
+ "is_optional": "False"
660
+ },
661
+ {
662
+ "name": "b",
663
+ "doc": "",
664
+ "types": [
665
+ "number"
666
+ ],
667
+ "is_optional": "False"
668
+ }
669
+ ],
670
+ "returnvalues": [],
671
+ "global": true
672
+ },
673
+ {
674
+ "type": "FUNCTION",
675
+ "name": "assert_not_match",
676
+ "brief": "",
677
+ "description": "",
678
+ "parameters": [
679
+ {
680
+ "name": "a",
681
+ "doc": "",
682
+ "types": [
683
+ "number"
684
+ ],
685
+ "is_optional": "False"
686
+ },
687
+ {
688
+ "name": "b",
689
+ "doc": "",
690
+ "types": [
691
+ "number"
692
+ ],
693
+ "is_optional": "False"
694
+ }
695
+ ],
696
+ "returnvalues": [],
697
+ "global": true
698
+ },
699
+ {
700
+ "type": "FUNCTION",
701
+ "name": "assert_not_nil",
702
+ "brief": "",
703
+ "description": "",
704
+ "parameters": [
705
+ {
706
+ "name": "value",
707
+ "doc": "",
708
+ "types": [
709
+ "any"
710
+ ],
711
+ "is_optional": "False"
712
+ }
713
+ ],
714
+ "returnvalues": [],
715
+ "global": true
716
+ },
717
+ {
718
+ "type": "FUNCTION",
719
+ "name": "assert_not_type",
720
+ "brief": "",
721
+ "description": "",
722
+ "generics": "<T>",
723
+ "parameters": [
724
+ {
725
+ "name": "a",
726
+ "doc": "",
727
+ "types": [
728
+ "T"
729
+ ],
730
+ "is_optional": "False"
731
+ },
732
+ {
733
+ "name": "b",
734
+ "doc": "",
735
+ "types": [
736
+ "T"
737
+ ],
738
+ "is_optional": "False"
739
+ }
740
+ ],
741
+ "returnvalues": [],
742
+ "global": true
743
+ }
744
+ ]
745
+ }