@defold-typescript/library-types 0.18.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.
Files changed (101) hide show
  1. package/NOTICE +52 -0
  2. package/README.md +78 -0
  3. package/api-doc/boom.boom.json +26 -0
  4. package/api-doc/bridge.bridge.json +1653 -0
  5. package/api-doc/bzAnim.bzLibrary.json +156 -0
  6. package/api-doc/defcon.console.json +109 -0
  7. package/api-doc/defmath.defmath.json +1381 -0
  8. package/api-doc/defsave.defsave.json +175 -0
  9. package/api-doc/deftest.deftest.json +71 -0
  10. package/api-doc/dicebag.dicebag.json +323 -0
  11. package/api-doc/event.event.json +238 -0
  12. package/api-doc/gooey.gooey.json +963 -0
  13. package/api-doc/immutable.immutable.json +63 -0
  14. package/api-doc/in.accelerometer.json +281 -0
  15. package/api-doc/in.button.json +148 -0
  16. package/api-doc/in.cursor.json +203 -0
  17. package/api-doc/in.gesture.json +206 -0
  18. package/api-doc/in.keyboard.json +45 -0
  19. package/api-doc/in.mapper.json +141 -0
  20. package/api-doc/in.onscreen.json +265 -0
  21. package/api-doc/in.state.json +195 -0
  22. package/api-doc/in.textbox.json +213 -0
  23. package/api-doc/in.triggers.json +1260 -0
  24. package/api-doc/lang.lang.json +411 -0
  25. package/api-doc/log.log.json +50 -0
  26. package/api-doc/metrics.fps.json +88 -0
  27. package/api-doc/metrics.mem.json +80 -0
  28. package/api-doc/monarch.monarch.json +1065 -0
  29. package/api-doc/monarch.transitions.easings.json +206 -0
  30. package/api-doc/monarch.transitions.gui.json +445 -0
  31. package/api-doc/nakama.engine.defold.json +165 -0
  32. package/api-doc/nakama.nakama.json +6574 -0
  33. package/api-doc/nakama.util.log.json +25 -0
  34. package/api-doc/narrator.narrator.json +150 -0
  35. package/api-doc/orthographic.camera.json +1019 -0
  36. package/api-doc/persist.persist.json +142 -0
  37. package/api-doc/platypus.platypus.json +631 -0
  38. package/api-doc/proto.proto.json +355 -0
  39. package/api-doc/rendy.rendy.json +408 -0
  40. package/api-doc/richtext.color.json +219 -0
  41. package/api-doc/richtext.richtext.json +382 -0
  42. package/api-doc/richtext.tags.json +67 -0
  43. package/api-doc/saver.saver.json +553 -0
  44. package/api-doc/saver.storage.json +174 -0
  45. package/api-doc/squid.squid.json +660 -0
  46. package/api-doc/starly.starly.json +488 -0
  47. package/api-doc/tweener.tweener.json +419 -0
  48. package/api-doc/yagames.yagames.json +1465 -0
  49. package/api-doc/zzfx.api.json +85 -0
  50. package/generated/boom.boom.d.ts +1585 -0
  51. package/generated/bridge.bridge.d.ts +533 -0
  52. package/generated/bzAnim.bzLibrary.d.ts +93 -0
  53. package/generated/defcon.console.d.ts +24 -0
  54. package/generated/defmath.defmath.d.ts +194 -0
  55. package/generated/defsave.defsave.d.ts +31 -0
  56. package/generated/deftest.deftest.d.ts +47 -0
  57. package/generated/dicebag.dicebag.d.ts +90 -0
  58. package/generated/event.event.d.ts +54 -0
  59. package/generated/gooey.gooey.d.ts +261 -0
  60. package/generated/immutable.immutable.d.ts +13 -0
  61. package/generated/in.accelerometer.d.ts +37 -0
  62. package/generated/in.button.d.ts +20 -0
  63. package/generated/in.cursor.d.ts +33 -0
  64. package/generated/in.gesture.d.ts +64 -0
  65. package/generated/in.keyboard.d.ts +18 -0
  66. package/generated/in.mapper.d.ts +23 -0
  67. package/generated/in.onscreen.d.ts +58 -0
  68. package/generated/in.state.d.ts +34 -0
  69. package/generated/in.textbox.d.ts +26 -0
  70. package/generated/in.triggers.d.ts +180 -0
  71. package/generated/lang.lang.d.ts +33 -0
  72. package/generated/log.log.d.ts +40 -0
  73. package/generated/metrics.fps.d.ts +16 -0
  74. package/generated/metrics.mem.d.ts +16 -0
  75. package/generated/monarch.monarch.d.ts +412 -0
  76. package/generated/monarch.transitions.easings.d.ts +65 -0
  77. package/generated/monarch.transitions.gui.d.ts +197 -0
  78. package/generated/nakama.engine.defold.d.ts +24 -0
  79. package/generated/nakama.nakama.d.ts +594 -0
  80. package/generated/nakama.util.log.d.ts +10 -0
  81. package/generated/narrator.narrator.d.ts +66 -0
  82. package/generated/orthographic.camera.d.ts +308 -0
  83. package/generated/persist.persist.d.ts +34 -0
  84. package/generated/platypus.platypus.d.ts +76 -0
  85. package/generated/proto.proto.d.ts +36 -0
  86. package/generated/rendy.rendy.d.ts +184 -0
  87. package/generated/richtext.color.d.ts +33 -0
  88. package/generated/richtext.richtext.d.ts +126 -0
  89. package/generated/richtext.tags.d.ts +12 -0
  90. package/generated/saver.saver.d.ts +44 -0
  91. package/generated/saver.storage.d.ts +16 -0
  92. package/generated/squid.squid.d.ts +106 -0
  93. package/generated/starly.starly.d.ts +148 -0
  94. package/generated/tweener.tweener.d.ts +151 -0
  95. package/generated/yagames.yagames.d.ts +279 -0
  96. package/generated/zzfx.api.d.ts +20 -0
  97. package/library-classification.json +726 -0
  98. package/library-targets.json +291 -0
  99. package/package.json +180 -0
  100. package/scripts/extract-api-doc.ts +418 -0
  101. package/scripts/sync-library-types.ts +542 -0
@@ -0,0 +1,195 @@
1
+ {
2
+ "info": {
3
+ "namespace": "in.state",
4
+ "brief": "",
5
+ "description": ""
6
+ },
7
+ "elements": [
8
+ {
9
+ "type": "TYPEDEF",
10
+ "name": "StateInstance"
11
+ },
12
+ {
13
+ "type": "FUNCTION",
14
+ "name": "create",
15
+ "brief": "",
16
+ "description": "",
17
+ "parameters": [],
18
+ "returnvalues": [
19
+ {
20
+ "name": "",
21
+ "doc": "",
22
+ "types": [
23
+ "StateInstance"
24
+ ]
25
+ }
26
+ ]
27
+ },
28
+ {
29
+ "type": "FUNCTION",
30
+ "name": "acquire",
31
+ "brief": "",
32
+ "description": "",
33
+ "parameters": [
34
+ {
35
+ "name": "url",
36
+ "doc": "",
37
+ "types": [
38
+ "Url"
39
+ ],
40
+ "is_optional": "False"
41
+ },
42
+ {
43
+ "name": "instance",
44
+ "doc": "",
45
+ "types": [
46
+ "StateInstance"
47
+ ],
48
+ "is_optional": "True"
49
+ }
50
+ ],
51
+ "returnvalues": []
52
+ },
53
+ {
54
+ "type": "FUNCTION",
55
+ "name": "release",
56
+ "brief": "",
57
+ "description": "",
58
+ "parameters": [
59
+ {
60
+ "name": "url",
61
+ "doc": "",
62
+ "types": [
63
+ "Url"
64
+ ],
65
+ "is_optional": "False"
66
+ },
67
+ {
68
+ "name": "instance",
69
+ "doc": "",
70
+ "types": [
71
+ "StateInstance"
72
+ ],
73
+ "is_optional": "True"
74
+ }
75
+ ],
76
+ "returnvalues": []
77
+ },
78
+ {
79
+ "type": "FUNCTION",
80
+ "name": "is_pressed",
81
+ "brief": "",
82
+ "description": "",
83
+ "parameters": [
84
+ {
85
+ "name": "action_id",
86
+ "doc": "",
87
+ "types": [
88
+ "Hash | string"
89
+ ],
90
+ "is_optional": "False"
91
+ },
92
+ {
93
+ "name": "instance",
94
+ "doc": "",
95
+ "types": [
96
+ "StateInstance"
97
+ ],
98
+ "is_optional": "True"
99
+ }
100
+ ],
101
+ "returnvalues": [
102
+ {
103
+ "name": "",
104
+ "doc": "",
105
+ "types": [
106
+ "boolean"
107
+ ]
108
+ }
109
+ ]
110
+ },
111
+ {
112
+ "type": "FUNCTION",
113
+ "name": "update",
114
+ "brief": "",
115
+ "description": "",
116
+ "parameters": [
117
+ {
118
+ "name": "action_id",
119
+ "doc": "",
120
+ "types": [
121
+ "Hash | string"
122
+ ],
123
+ "is_optional": "False"
124
+ },
125
+ {
126
+ "name": "action",
127
+ "doc": "",
128
+ "types": [
129
+ "{}"
130
+ ],
131
+ "is_optional": "False"
132
+ },
133
+ {
134
+ "name": "instance",
135
+ "doc": "",
136
+ "types": [
137
+ "StateInstance"
138
+ ],
139
+ "is_optional": "True"
140
+ }
141
+ ],
142
+ "returnvalues": []
143
+ },
144
+ {
145
+ "type": "FUNCTION",
146
+ "name": "on_input",
147
+ "brief": "",
148
+ "description": "",
149
+ "parameters": [
150
+ {
151
+ "name": "action_id",
152
+ "doc": "",
153
+ "types": [
154
+ "Hash | string"
155
+ ],
156
+ "is_optional": "False"
157
+ },
158
+ {
159
+ "name": "action",
160
+ "doc": "",
161
+ "types": [
162
+ "{}"
163
+ ],
164
+ "is_optional": "False"
165
+ },
166
+ {
167
+ "name": "instance",
168
+ "doc": "",
169
+ "types": [
170
+ "StateInstance"
171
+ ],
172
+ "is_optional": "True"
173
+ }
174
+ ],
175
+ "returnvalues": []
176
+ },
177
+ {
178
+ "type": "FUNCTION",
179
+ "name": "clear",
180
+ "brief": "",
181
+ "description": "",
182
+ "parameters": [
183
+ {
184
+ "name": "instance",
185
+ "doc": "",
186
+ "types": [
187
+ "StateInstance"
188
+ ],
189
+ "is_optional": "True"
190
+ }
191
+ ],
192
+ "returnvalues": []
193
+ }
194
+ ]
195
+ }
@@ -0,0 +1,213 @@
1
+ {
2
+ "info": {
3
+ "namespace": "in.textbox",
4
+ "brief": "",
5
+ "description": ""
6
+ },
7
+ "elements": [
8
+ {
9
+ "type": "VARIABLE",
10
+ "name": "TOUCH",
11
+ "types": [
12
+ "Hash"
13
+ ]
14
+ },
15
+ {
16
+ "type": "VARIABLE",
17
+ "name": "TYPE",
18
+ "types": [
19
+ "Hash"
20
+ ]
21
+ },
22
+ {
23
+ "type": "VARIABLE",
24
+ "name": "BACKSPACE",
25
+ "types": [
26
+ "Hash"
27
+ ]
28
+ },
29
+ {
30
+ "type": "FUNCTION",
31
+ "name": "acquire",
32
+ "brief": "",
33
+ "description": "",
34
+ "parameters": [],
35
+ "returnvalues": []
36
+ },
37
+ {
38
+ "type": "FUNCTION",
39
+ "name": "release",
40
+ "brief": "",
41
+ "description": "",
42
+ "parameters": [],
43
+ "returnvalues": []
44
+ },
45
+ {
46
+ "type": "FUNCTION",
47
+ "name": "register",
48
+ "brief": "",
49
+ "description": "",
50
+ "parameters": [
51
+ {
52
+ "name": "box_node_or_string",
53
+ "doc": "",
54
+ "types": [
55
+ "Opaque<\"node\"> | string"
56
+ ],
57
+ "is_optional": "False"
58
+ },
59
+ {
60
+ "name": "text_node_or_string",
61
+ "doc": "",
62
+ "types": [
63
+ "Opaque<\"node\"> | string"
64
+ ],
65
+ "is_optional": "False"
66
+ },
67
+ {
68
+ "name": "is_masked",
69
+ "doc": "",
70
+ "types": [
71
+ "boolean"
72
+ ],
73
+ "is_optional": "True"
74
+ }
75
+ ],
76
+ "returnvalues": [
77
+ {
78
+ "name": "",
79
+ "doc": "",
80
+ "types": [
81
+ "Opaque<\"node\">"
82
+ ]
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "type": "FUNCTION",
88
+ "name": "unregister",
89
+ "brief": "",
90
+ "description": "",
91
+ "parameters": [
92
+ {
93
+ "name": "node_or_string",
94
+ "doc": "",
95
+ "types": [
96
+ "Opaque<\"node\"> | string"
97
+ ],
98
+ "is_optional": "True"
99
+ }
100
+ ],
101
+ "returnvalues": []
102
+ },
103
+ {
104
+ "type": "FUNCTION",
105
+ "name": "effect",
106
+ "brief": "",
107
+ "description": "",
108
+ "parameters": [
109
+ {
110
+ "name": "node",
111
+ "doc": "",
112
+ "types": [
113
+ "Opaque<\"node\">"
114
+ ],
115
+ "is_optional": "False"
116
+ },
117
+ {
118
+ "name": "scale",
119
+ "doc": "",
120
+ "types": [
121
+ "{ x: number; y: number; }"
122
+ ],
123
+ "is_optional": "False",
124
+ "fields": [
125
+ {
126
+ "name": "x",
127
+ "doc": "",
128
+ "types": [
129
+ "number"
130
+ ],
131
+ "is_optional": "False"
132
+ },
133
+ {
134
+ "name": "y",
135
+ "doc": "",
136
+ "types": [
137
+ "number"
138
+ ],
139
+ "is_optional": "False"
140
+ }
141
+ ]
142
+ }
143
+ ],
144
+ "returnvalues": []
145
+ },
146
+ {
147
+ "type": "FUNCTION",
148
+ "name": "text",
149
+ "brief": "",
150
+ "description": "",
151
+ "parameters": [
152
+ {
153
+ "name": "node_or_string",
154
+ "doc": "",
155
+ "types": [
156
+ "Opaque<\"node\"> | string"
157
+ ],
158
+ "is_optional": "False"
159
+ },
160
+ {
161
+ "name": "text",
162
+ "doc": "",
163
+ "types": [
164
+ "string"
165
+ ],
166
+ "is_optional": "True"
167
+ }
168
+ ],
169
+ "returnvalues": [
170
+ {
171
+ "name": "",
172
+ "doc": "",
173
+ "types": [
174
+ "string | undefined"
175
+ ]
176
+ }
177
+ ]
178
+ },
179
+ {
180
+ "type": "FUNCTION",
181
+ "name": "on_input",
182
+ "brief": "",
183
+ "description": "",
184
+ "parameters": [
185
+ {
186
+ "name": "action_id",
187
+ "doc": "",
188
+ "types": [
189
+ "Hash"
190
+ ],
191
+ "is_optional": "False"
192
+ },
193
+ {
194
+ "name": "action",
195
+ "doc": "",
196
+ "types": [
197
+ "{}"
198
+ ],
199
+ "is_optional": "False"
200
+ }
201
+ ],
202
+ "returnvalues": [
203
+ {
204
+ "name": "",
205
+ "doc": "",
206
+ "types": [
207
+ "boolean"
208
+ ]
209
+ }
210
+ ]
211
+ }
212
+ ]
213
+ }