@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "info": {
3
- "namespace": "persist.persist",
3
+ "namespace": "persist",
4
4
  "brief": "A simple interface for saving and loading data.",
5
5
  "description": "A simple interface for saving and loading data."
6
6
  },
@@ -137,6 +137,31 @@
137
137
  ]
138
138
  }
139
139
  ]
140
+ },
141
+ {
142
+ "type": "FUNCTION",
143
+ "name": "exists",
144
+ "brief": "Checks if a file exists.",
145
+ "description": "Checks if a file exists.",
146
+ "parameters": [
147
+ {
148
+ "name": "file_name",
149
+ "doc": "",
150
+ "types": [
151
+ "string"
152
+ ],
153
+ "is_optional": "False"
154
+ }
155
+ ],
156
+ "returnvalues": [
157
+ {
158
+ "name": "",
159
+ "doc": "",
160
+ "types": [
161
+ "boolean"
162
+ ]
163
+ }
164
+ ]
140
165
  }
141
166
  ]
142
167
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "info": {
3
- "namespace": "platypus.platypus",
3
+ "namespace": "platypus",
4
4
  "brief": "Defold platformer engine",
5
5
  "description": "Defold platformer engine"
6
6
  },
@@ -8,8 +8,9 @@
8
8
  {
9
9
  "type": "FUNCTION",
10
10
  "name": "create",
11
- "brief": "",
12
- "description": "",
11
+ "brief": "Create a platypus instance.",
12
+ "description": "Create a platypus instance.\nThis will provide all the functionality to control a game object in a\nplatformer game. The functions will operate on the game object attached\nto the script calling the functions.",
13
+ "docSource": "upstream",
13
14
  "parameters": [
14
15
  {
15
16
  "name": "config",
@@ -33,6 +34,8 @@
33
34
  {
34
35
  "type": "VARIABLE",
35
36
  "name": "FALLING",
37
+ "brief": "",
38
+ "description": "",
36
39
  "types": [
37
40
  "Hash"
38
41
  ]
@@ -40,6 +43,8 @@
40
43
  {
41
44
  "type": "VARIABLE",
42
45
  "name": "GROUND_CONTACT",
46
+ "brief": "",
47
+ "description": "",
43
48
  "types": [
44
49
  "Hash"
45
50
  ]
@@ -47,6 +52,8 @@
47
52
  {
48
53
  "type": "VARIABLE",
49
54
  "name": "WALL_CONTACT",
55
+ "brief": "",
56
+ "description": "",
50
57
  "types": [
51
58
  "Hash"
52
59
  ]
@@ -54,6 +61,8 @@
54
61
  {
55
62
  "type": "VARIABLE",
56
63
  "name": "JUMP",
64
+ "brief": "",
65
+ "description": "",
57
66
  "types": [
58
67
  "Hash"
59
68
  ]
@@ -61,6 +70,8 @@
61
70
  {
62
71
  "type": "VARIABLE",
63
72
  "name": "WALL_JUMP",
73
+ "brief": "",
74
+ "description": "",
64
75
  "types": [
65
76
  "Hash"
66
77
  ]
@@ -68,6 +79,8 @@
68
79
  {
69
80
  "type": "VARIABLE",
70
81
  "name": "DOUBLE_JUMP",
82
+ "brief": "",
83
+ "description": "",
71
84
  "types": [
72
85
  "Hash"
73
86
  ]
@@ -75,6 +88,26 @@
75
88
  {
76
89
  "type": "VARIABLE",
77
90
  "name": "WALL_SLIDE",
91
+ "brief": "",
92
+ "description": "",
93
+ "types": [
94
+ "Hash"
95
+ ]
96
+ },
97
+ {
98
+ "type": "VARIABLE",
99
+ "name": "SEPARATION_RAYS",
100
+ "brief": "Value for `collisions.separation` selecting raycast separation.",
101
+ "description": "Value for `collisions.separation` selecting raycast separation.",
102
+ "types": [
103
+ "Hash"
104
+ ]
105
+ },
106
+ {
107
+ "type": "VARIABLE",
108
+ "name": "SEPARATION_SHAPES",
109
+ "brief": "Value for `collisions.separation` selecting shape separation. Platypus warns",
110
+ "description": "Value for `collisions.separation` selecting shape separation. Platypus warns\nat runtime that this mode is no longer supported and only raycast separation\nis; the constant still exists.",
78
111
  "types": [
79
112
  "Hash"
80
113
  ]
@@ -86,6 +119,8 @@
86
119
  {
87
120
  "type": "VARIABLE",
88
121
  "name": "DIR_UP",
122
+ "brief": "",
123
+ "description": "",
89
124
  "types": [
90
125
  "Direction"
91
126
  ]
@@ -93,6 +128,8 @@
93
128
  {
94
129
  "type": "VARIABLE",
95
130
  "name": "DIR_LEFT",
131
+ "brief": "",
132
+ "description": "",
96
133
  "types": [
97
134
  "Direction"
98
135
  ]
@@ -100,6 +137,8 @@
100
137
  {
101
138
  "type": "VARIABLE",
102
139
  "name": "DIR_RIGHT",
140
+ "brief": "",
141
+ "description": "",
103
142
  "types": [
104
143
  "Direction"
105
144
  ]
@@ -107,6 +146,8 @@
107
146
  {
108
147
  "type": "VARIABLE",
109
148
  "name": "DIR_DOWN",
149
+ "brief": "",
150
+ "description": "",
110
151
  "types": [
111
152
  "Direction"
112
153
  ]
@@ -114,6 +155,8 @@
114
155
  {
115
156
  "type": "VARIABLE",
116
157
  "name": "DIR_ALL",
158
+ "brief": "",
159
+ "description": "",
117
160
  "types": [
118
161
  "Direction"
119
162
  ]
@@ -186,7 +229,8 @@
186
229
  "description": "",
187
230
  "types": [
188
231
  "boolean"
189
- ]
232
+ ],
233
+ "is_optional": "True"
190
234
  },
191
235
  {
192
236
  "name": "reparent",
@@ -194,7 +238,8 @@
194
238
  "description": "",
195
239
  "types": [
196
240
  "boolean"
197
- ]
241
+ ],
242
+ "is_optional": "True"
198
243
  },
199
244
  {
200
245
  "name": "gravity",
@@ -202,7 +247,8 @@
202
247
  "description": "",
203
248
  "types": [
204
249
  "number"
205
- ]
250
+ ],
251
+ "is_optional": "True"
206
252
  },
207
253
  {
208
254
  "name": "max_velocity",
@@ -210,7 +256,8 @@
210
256
  "description": "",
211
257
  "types": [
212
258
  "number"
213
- ]
259
+ ],
260
+ "is_optional": "True"
214
261
  },
215
262
  {
216
263
  "name": "wall_jump_power_ratio_x",
@@ -218,7 +265,8 @@
218
265
  "description": "",
219
266
  "types": [
220
267
  "number"
221
- ]
268
+ ],
269
+ "is_optional": "True"
222
270
  },
223
271
  {
224
272
  "name": "wall_jump_power_ratio_y",
@@ -226,7 +274,8 @@
226
274
  "description": "",
227
275
  "types": [
228
276
  "number"
229
- ]
277
+ ],
278
+ "is_optional": "True"
230
279
  },
231
280
  {
232
281
  "name": "allow_double_jump",
@@ -234,7 +283,8 @@
234
283
  "description": "",
235
284
  "types": [
236
285
  "boolean"
237
- ]
286
+ ],
287
+ "is_optional": "True"
238
288
  },
239
289
  {
240
290
  "name": "allow_wall_jump",
@@ -242,7 +292,8 @@
242
292
  "description": "",
243
293
  "types": [
244
294
  "boolean"
245
- ]
295
+ ],
296
+ "is_optional": "True"
246
297
  },
247
298
  {
248
299
  "name": "const_wall_jump",
@@ -250,7 +301,8 @@
250
301
  "description": "",
251
302
  "types": [
252
303
  "boolean"
253
- ]
304
+ ],
305
+ "is_optional": "True"
254
306
  },
255
307
  {
256
308
  "name": "allow_wall_slide",
@@ -258,7 +310,8 @@
258
310
  "description": "",
259
311
  "types": [
260
312
  "boolean"
261
- ]
313
+ ],
314
+ "is_optional": "True"
262
315
  },
263
316
  {
264
317
  "name": "wall_slide_velocity",
@@ -266,7 +319,8 @@
266
319
  "description": "",
267
320
  "types": [
268
321
  "number"
269
- ]
322
+ ],
323
+ "is_optional": "True"
270
324
  }
271
325
  ]
272
326
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "info": {
3
- "namespace": "rendy.rendy",
3
+ "namespace": "rendy",
4
4
  "brief": "A versatile camera suite and render pipeline",
5
5
  "description": "A versatile camera suite and render pipeline"
6
6
  },
@@ -9,6 +9,51 @@
9
9
  "type": "TYPEDEF",
10
10
  "name": "CameraId"
11
11
  },
12
+ {
13
+ "type": "VARIABLE",
14
+ "name": "cameras",
15
+ "brief": "Every camera except the GUI camera, keyed by camera id. Exposed only because the",
16
+ "description": "Every camera except the GUI camera, keyed by camera id. Exposed only because the\nrendy.render_script file needs write-access to it; reach for `set` and `get`\nrather than accessing or manipulating it directly.",
17
+ "types": [
18
+ "LuaMap<CameraId, unknown>"
19
+ ]
20
+ },
21
+ {
22
+ "type": "VARIABLE",
23
+ "name": "display_width",
24
+ "brief": "Initial width of the window, specified in the game.project file. Exposed only",
25
+ "description": "Initial width of the window, specified in the game.project file. Exposed only\nbecause the rendy.render_script file needs write-access to it; it is unset until\nthat script has run.",
26
+ "types": [
27
+ "number"
28
+ ]
29
+ },
30
+ {
31
+ "type": "VARIABLE",
32
+ "name": "display_height",
33
+ "brief": "Initial height of the window, specified in the game.project file. Exposed only",
34
+ "description": "Initial height of the window, specified in the game.project file. Exposed only\nbecause the rendy.render_script file needs write-access to it; it is unset until\nthat script has run.",
35
+ "types": [
36
+ "number"
37
+ ]
38
+ },
39
+ {
40
+ "type": "VARIABLE",
41
+ "name": "window_width",
42
+ "brief": "Current width of the window. Exposed only because the rendy.render_script file",
43
+ "description": "Current width of the window. Exposed only because the rendy.render_script file\nneeds write-access to it; it is unset until that script has run.",
44
+ "types": [
45
+ "number"
46
+ ]
47
+ },
48
+ {
49
+ "type": "VARIABLE",
50
+ "name": "window_height",
51
+ "brief": "Current height of the window. Exposed only because the rendy.render_script file",
52
+ "description": "Current height of the window. Exposed only because the rendy.render_script file\nneeds write-access to it; it is unset until that script has run.",
53
+ "types": [
54
+ "number"
55
+ ]
56
+ },
12
57
  {
13
58
  "type": "FUNCTION",
14
59
  "name": "create_camera",
@@ -76,104 +121,6 @@
76
121
  ],
77
122
  "returnvalues": []
78
123
  },
79
- {
80
- "type": "FUNCTION",
81
- "name": "animate",
82
- "brief": "Animates a camera property. This function replaces the standard go.animate().",
83
- "description": "Animates a camera property. This function replaces the standard go.animate().",
84
- "parameters": [
85
- {
86
- "name": "camera_id",
87
- "doc": "The identifier for the camera.",
88
- "types": [
89
- "CameraId"
90
- ],
91
- "is_optional": "False"
92
- },
93
- {
94
- "name": "property",
95
- "doc": "The property to be animated.",
96
- "types": [
97
- "Hash | string"
98
- ],
99
- "is_optional": "False"
100
- },
101
- {
102
- "name": "playback",
103
- "doc": "The playback mode of the animation.",
104
- "types": [
105
- "typeof go.PLAYBACK_LOOP_BACKWARD | typeof go.PLAYBACK_LOOP_FORWARD | typeof go.PLAYBACK_LOOP_PINGPONG | typeof go.PLAYBACK_ONCE_BACKWARD | typeof go.PLAYBACK_ONCE_FORWARD | typeof go.PLAYBACK_ONCE_PINGPONG"
106
- ],
107
- "is_optional": "False"
108
- },
109
- {
110
- "name": "to",
111
- "doc": "The target value of the animation.",
112
- "types": [
113
- "Quaternion | Vector3 | Vector4 | number"
114
- ],
115
- "is_optional": "False"
116
- },
117
- {
118
- "name": "easing",
119
- "doc": "The easing function for the animation.",
120
- "types": [
121
- "Vector3 | typeof go.EASING_INBACK | typeof go.EASING_INBOUNCE | typeof go.EASING_INCIRC | typeof go.EASING_INCUBIC | typeof go.EASING_INELASTIC | typeof go.EASING_INEXPO | typeof go.EASING_INOUTBACK | typeof go.EASING_INOUTBOUNCE | typeof go.EASING_INOUTCIRC | typeof go.EASING_INOUTCUBIC | typeof go.EASING_INOUTELASTIC | typeof go.EASING_INOUTEXPO | typeof go.EASING_INOUTQUAD | typeof go.EASING_INOUTQUART | typeof go.EASING_INOUTQUINT | typeof go.EASING_INOUTSINE | typeof go.EASING_INQUAD | typeof go.EASING_INQUART | typeof go.EASING_INQUINT | typeof go.EASING_INSINE | typeof go.EASING_LINEAR | typeof go.EASING_OUTBACK | typeof go.EASING_OUTBOUNCE | typeof go.EASING_OUTCIRC | typeof go.EASING_OUTCUBIC | typeof go.EASING_OUTELASTIC | typeof go.EASING_OUTEXPO | typeof go.EASING_OUTINBACK | typeof go.EASING_OUTINBOUNCE | typeof go.EASING_OUTINCIRC | typeof go.EASING_OUTINCUBIC | typeof go.EASING_OUTINELASTIC | typeof go.EASING_OUTINEXPO | typeof go.EASING_OUTINQUAD | typeof go.EASING_OUTINQUART | typeof go.EASING_OUTINQUINT | typeof go.EASING_OUTINSINE | typeof go.EASING_OUTQUAD | typeof go.EASING_OUTQUART | typeof go.EASING_OUTQUINT | typeof go.EASING_OUTSINE"
122
- ],
123
- "is_optional": "False"
124
- },
125
- {
126
- "name": "duration",
127
- "doc": "The duration of the animation.",
128
- "types": [
129
- "number"
130
- ],
131
- "is_optional": "False"
132
- },
133
- {
134
- "name": "delay",
135
- "doc": "Optional delay before starting the animation.",
136
- "types": [
137
- "number"
138
- ],
139
- "is_optional": "True"
140
- },
141
- {
142
- "name": "complete_function",
143
- "doc": "Optional function to be called when the animation is complete.",
144
- "types": [
145
- "(this: any, url: Url, property: Hash) => void"
146
- ],
147
- "is_optional": "True"
148
- }
149
- ],
150
- "returnvalues": []
151
- },
152
- {
153
- "type": "FUNCTION",
154
- "name": "cancel_animations",
155
- "brief": "Cancels a camera property animation. This function replaces the standard go.cancel_animations().",
156
- "description": "Cancels a camera property animation. This function replaces the standard go.cancel_animations().",
157
- "parameters": [
158
- {
159
- "name": "camera_id",
160
- "doc": "The identifier for the camera.",
161
- "types": [
162
- "CameraId"
163
- ],
164
- "is_optional": "False"
165
- },
166
- {
167
- "name": "property",
168
- "doc": "The property of the animation to be cancelled.",
169
- "types": [
170
- "Hash | string"
171
- ],
172
- "is_optional": "False"
173
- }
174
- ],
175
- "returnvalues": []
176
- },
177
124
  {
178
125
  "type": "FUNCTION",
179
126
  "name": "get",
@@ -30,9 +30,86 @@
30
30
  ],
31
31
  "returnvalues": []
32
32
  },
33
+ {
34
+ "type": "FUNCTION",
35
+ "name": "parse",
36
+ "brief": "Resolves a color by name, hex string or comma-separated decimal string.",
37
+ "description": "Resolves a color by name, hex string or comma-separated decimal string.",
38
+ "parameters": [
39
+ {
40
+ "name": "c",
41
+ "doc": "",
42
+ "types": [
43
+ "string"
44
+ ],
45
+ "is_optional": "False"
46
+ }
47
+ ],
48
+ "returnvalues": [
49
+ {
50
+ "name": "",
51
+ "doc": "",
52
+ "types": [
53
+ "Vector4 | undefined"
54
+ ]
55
+ }
56
+ ]
57
+ },
58
+ {
59
+ "type": "FUNCTION",
60
+ "name": "parse_hex",
61
+ "brief": "Parses a `#rrggbb` or `#rrggbbaa` hex string, with or without the leading `#`.",
62
+ "description": "Parses a `#rrggbb` or `#rrggbbaa` hex string, with or without the leading `#`.",
63
+ "parameters": [
64
+ {
65
+ "name": "hex",
66
+ "doc": "",
67
+ "types": [
68
+ "string"
69
+ ],
70
+ "is_optional": "False"
71
+ }
72
+ ],
73
+ "returnvalues": [
74
+ {
75
+ "name": "",
76
+ "doc": "",
77
+ "types": [
78
+ "Vector4 | undefined"
79
+ ]
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "type": "FUNCTION",
85
+ "name": "parse_decimal",
86
+ "brief": "Parses a comma-separated `r,g,b,a` string of decimal components.",
87
+ "description": "Parses a comma-separated `r,g,b,a` string of decimal components.",
88
+ "parameters": [
89
+ {
90
+ "name": "dec",
91
+ "doc": "",
92
+ "types": [
93
+ "string"
94
+ ],
95
+ "is_optional": "False"
96
+ }
97
+ ],
98
+ "returnvalues": [
99
+ {
100
+ "name": "",
101
+ "doc": "",
102
+ "types": [
103
+ "Vector4 | undefined"
104
+ ]
105
+ }
106
+ ]
107
+ },
33
108
  {
34
109
  "type": "VARIABLE",
35
110
  "name": "COLORS",
111
+ "brief": "",
112
+ "description": "",
36
113
  "types": [
37
114
  "{ aqua: Vector4; black: Vector4; blue: Vector4; brown: Vector4; cyan: Vector4; darkblue: Vector4; fuchsia: Vector4; green: Vector4; grey: Vector4; lightblue: Vector4; lime: Vector4; magenta: Vector4; maroon: Vector4; navy: Vector4; olive: Vector4; orange: Vector4; purple: Vector4; red: Vector4; silver: Vector4; teal: Vector4; white: Vector4; yellow: Vector4; }"
38
115
  ],