@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.
- package/api-doc/boom.json +3870 -0
- package/api-doc/{bridge.bridge.json → bridge.json} +754 -844
- package/api-doc/bzAnim.json +338 -0
- package/api-doc/decore.json +23 -23
- package/api-doc/defcon.json +150 -0
- package/api-doc/{defmath.defmath.json → defmath.json} +6 -46
- package/api-doc/defsave.json +518 -0
- package/api-doc/deftest.json +741 -0
- package/api-doc/{dicebag.dicebag.json → dicebag.json} +19 -1
- package/api-doc/druid.json +249 -1846
- package/api-doc/event.json +1074 -0
- package/api-doc/gooey.json +2050 -0
- package/api-doc/immutable.json +65 -0
- package/api-doc/in.accelerometer.json +75 -1
- package/api-doc/in.button.json +17 -10
- package/api-doc/in.cursor.json +26 -0
- package/api-doc/in.gesture.json +401 -6
- package/api-doc/in.keyboard.json +2 -0
- package/api-doc/in.mapper.json +12 -8
- package/api-doc/in.onscreen.json +61 -5
- package/api-doc/in.state.json +61 -13
- package/api-doc/in.textbox.json +23 -12
- package/api-doc/in.triggers.json +336 -0
- package/api-doc/lang.json +528 -0
- package/api-doc/{event.event.json → log.json} +96 -101
- package/api-doc/metrics.fps.json +61 -2
- package/api-doc/metrics.mem.json +61 -2
- package/api-doc/monarch.monarch.json +249 -7
- package/api-doc/monarch.transitions.easings.json +19 -26
- package/api-doc/monarch.transitions.gui.json +782 -79
- package/api-doc/nakama.engine.defold.json +31 -18
- package/api-doc/{nakama.nakama.json → nakama.json} +4752 -2554
- package/api-doc/nakama.util.log.json +32 -4
- package/api-doc/narrator.json +647 -0
- package/api-doc/openapi/nakama.nakama.json +7680 -0
- package/api-doc/orthographic.camera.json +96 -98
- package/api-doc/orthographic.json +602 -0
- package/api-doc/panthera.json +1183 -0
- package/api-doc/{persist.persist.json → persist.json} +26 -1
- package/api-doc/{platypus.platypus.json → platypus.json} +68 -14
- package/api-doc/proto.json +995 -0
- package/api-doc/{rendy.rendy.json → rendy.json} +46 -99
- package/api-doc/richtext.color.json +77 -0
- package/api-doc/richtext.richtext.json +375 -5
- package/api-doc/saver.saver.json +714 -263
- package/api-doc/saver.storage.json +283 -52
- package/api-doc/squid.json +846 -0
- package/api-doc/{starly.starly.json → starly.json} +1 -1
- package/api-doc/tweener.json +277 -0
- package/api-doc/{yagames.yagames.json → yagames.json} +784 -189
- package/api-doc/{zzfx.api.json → zzfx.json} +9 -9
- package/authored-targets.json +403 -0
- package/generated/{boom.boom.d.ts → boom.d.ts} +14 -0
- package/generated/bridge.d.ts +468 -0
- package/generated/{bzAnim.bzLibrary.d.ts → bzAnim.d.ts} +6 -0
- package/generated/decore.d.ts +37 -37
- package/generated/defcon.d.ts +43 -0
- package/generated/{defmath.defmath.d.ts → defmath.d.ts} +3 -2
- package/generated/defsave.d.ts +144 -0
- package/generated/{dicebag.dicebag.d.ts → dicebag.d.ts} +25 -0
- package/generated/druid.d.ts +198 -502
- package/generated/event.d.ts +318 -0
- package/generated/{gooey.gooey.d.ts → gooey.d.ts} +61 -6
- package/generated/immutable.d.ts +13 -0
- package/generated/in.onscreen.d.ts +5 -0
- package/generated/in.textbox.d.ts +4 -0
- package/generated/lang.d.ts +101 -0
- package/generated/log.d.ts +36 -0
- package/generated/metrics.fps.d.ts +19 -1
- package/generated/metrics.mem.d.ts +19 -1
- package/generated/monarch.monarch.d.ts +44 -1
- package/generated/monarch.transitions.easings.d.ts +0 -1
- package/generated/monarch.transitions.gui.d.ts +96 -12
- package/generated/nakama.d.ts +1158 -0
- package/generated/nakama.engine.defold.d.ts +3 -1
- package/generated/nakama.util.log.d.ts +6 -0
- package/generated/narrator.d.ts +121 -0
- package/generated/openapi/nakama.nakama.d.ts +884 -0
- package/generated/orthographic.camera.d.ts +24 -38
- package/generated/orthographic.d.ts +155 -0
- package/generated/panthera.d.ts +170 -0
- package/generated/{persist.persist.d.ts → persist.d.ts} +3 -0
- package/generated/{platypus.platypus.d.ts → platypus.d.ts} +9 -0
- package/generated/proto.d.ts +146 -0
- package/generated/{rendy.rendy.d.ts → rendy.d.ts} +33 -80
- package/generated/richtext.color.d.ts +15 -0
- package/generated/saver.saver.d.ts +289 -42
- package/generated/saver.storage.d.ts +79 -14
- package/generated/squid.d.ts +127 -0
- package/generated/tweener.d.ts +42 -0
- package/generated/{yagames.yagames.d.ts → yagames.d.ts} +151 -29
- package/generated/{zzfx.api.d.ts → zzfx.d.ts} +7 -0
- package/library-classification.json +0 -227
- package/library-targets.json +1 -284
- package/luals-targets.json +168 -1
- package/openapi-targets.json +17 -0
- package/package.json +9 -88
- package/script-api-targets.json +15 -0
- package/scripts/__snapshots__/parse-luals.test.ts.snap +504 -85
- package/scripts/apply-luals-overrides.ts +95 -0
- package/scripts/authored-parity.ts +718 -0
- package/scripts/emit-library-dts.ts +177 -19
- package/scripts/extract-api-doc.ts +189 -38
- package/scripts/fidelity-floor.ts +178 -0
- package/scripts/import-upstream-docs.ts +125 -0
- package/scripts/lower-api-doc.ts +69 -19
- package/scripts/luals-fidelity.ts +22 -10
- package/scripts/map-luals-types.ts +86 -22
- package/scripts/parse-lua-surface.ts +187 -0
- package/scripts/parse-luals.ts +473 -22
- package/scripts/parse-markdown-api.ts +247 -0
- package/scripts/parse-openapi-api.ts +313 -0
- package/scripts/sync-authored-types.ts +249 -0
- package/scripts/sync-library-types.ts +99 -3
- package/scripts/sync-luals-types.ts +29 -2
- package/scripts/sync-markdown-types.ts +761 -0
- package/scripts/sync-openapi-types.ts +308 -0
- package/scripts/sync-script-api-types.ts +367 -0
- package/api-doc/boom.boom.json +0 -26
- package/api-doc/bzAnim.bzLibrary.json +0 -156
- package/api-doc/defcon.console.json +0 -109
- package/api-doc/defsave.defsave.json +0 -175
- package/api-doc/deftest.deftest.json +0 -71
- package/api-doc/gooey.gooey.json +0 -963
- package/api-doc/immutable.immutable.json +0 -63
- package/api-doc/lang.lang.json +0 -411
- package/api-doc/log.log.json +0 -50
- package/api-doc/narrator.narrator.json +0 -150
- package/api-doc/proto.proto.json +0 -355
- package/api-doc/squid.squid.json +0 -660
- package/api-doc/tweener.tweener.json +0 -419
- package/generated/bridge.bridge.d.ts +0 -533
- package/generated/defcon.console.d.ts +0 -24
- package/generated/defsave.defsave.d.ts +0 -31
- package/generated/event.event.d.ts +0 -54
- package/generated/immutable.immutable.d.ts +0 -13
- package/generated/lang.lang.d.ts +0 -33
- package/generated/log.log.d.ts +0 -40
- package/generated/nakama.nakama.d.ts +0 -594
- package/generated/narrator.narrator.d.ts +0 -66
- package/generated/proto.proto.d.ts +0 -36
- package/generated/squid.squid.d.ts +0 -106
- package/generated/tweener.tweener.d.ts +0 -151
- /package/generated/{deftest.deftest.d.ts → deftest.d.ts} +0 -0
- /package/generated/{starly.starly.d.ts → starly.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"info": {
|
|
3
|
-
"namespace": "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
|
],
|
|
@@ -7,7 +7,41 @@
|
|
|
7
7
|
"elements": [
|
|
8
8
|
{
|
|
9
9
|
"type": "TYPEDEF",
|
|
10
|
-
"name": "FontSettings"
|
|
10
|
+
"name": "FontSettings",
|
|
11
|
+
"properties": [
|
|
12
|
+
{
|
|
13
|
+
"name": "regular",
|
|
14
|
+
"brief": "",
|
|
15
|
+
"description": "",
|
|
16
|
+
"types": [
|
|
17
|
+
"Hash"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "italic",
|
|
22
|
+
"brief": "",
|
|
23
|
+
"description": "",
|
|
24
|
+
"types": [
|
|
25
|
+
"Hash"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "bold",
|
|
30
|
+
"brief": "",
|
|
31
|
+
"description": "",
|
|
32
|
+
"types": [
|
|
33
|
+
"Hash"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "bold_italic",
|
|
38
|
+
"brief": "",
|
|
39
|
+
"description": "",
|
|
40
|
+
"types": [
|
|
41
|
+
"Hash"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
11
45
|
},
|
|
12
46
|
{
|
|
13
47
|
"type": "TYPEDEF",
|
|
@@ -15,19 +49,341 @@
|
|
|
15
49
|
},
|
|
16
50
|
{
|
|
17
51
|
"type": "TYPEDEF",
|
|
18
|
-
"name": "LayersTable"
|
|
52
|
+
"name": "LayersTable",
|
|
53
|
+
"properties": [
|
|
54
|
+
{
|
|
55
|
+
"name": "fonts",
|
|
56
|
+
"brief": "",
|
|
57
|
+
"description": "",
|
|
58
|
+
"types": [
|
|
59
|
+
"LuaMap<Hash, Hash>"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "images",
|
|
64
|
+
"brief": "",
|
|
65
|
+
"description": "",
|
|
66
|
+
"types": [
|
|
67
|
+
"LuaMap<Hash, Hash>"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "spinescenes",
|
|
72
|
+
"brief": "",
|
|
73
|
+
"description": "",
|
|
74
|
+
"types": [
|
|
75
|
+
"LuaMap<Hash, Hash>"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
]
|
|
19
79
|
},
|
|
20
80
|
{
|
|
21
81
|
"type": "TYPEDEF",
|
|
22
|
-
"name": "Settings"
|
|
82
|
+
"name": "Settings",
|
|
83
|
+
"properties": [
|
|
84
|
+
{
|
|
85
|
+
"name": "width",
|
|
86
|
+
"brief": "",
|
|
87
|
+
"description": "",
|
|
88
|
+
"types": [
|
|
89
|
+
"number"
|
|
90
|
+
],
|
|
91
|
+
"is_optional": "True"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "position",
|
|
95
|
+
"brief": "",
|
|
96
|
+
"description": "",
|
|
97
|
+
"types": [
|
|
98
|
+
"Vector3"
|
|
99
|
+
],
|
|
100
|
+
"is_optional": "True"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "size",
|
|
104
|
+
"brief": "",
|
|
105
|
+
"description": "",
|
|
106
|
+
"types": [
|
|
107
|
+
"number"
|
|
108
|
+
],
|
|
109
|
+
"is_optional": "True"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "parent",
|
|
113
|
+
"brief": "",
|
|
114
|
+
"description": "",
|
|
115
|
+
"types": [
|
|
116
|
+
"Opaque<\"node\">"
|
|
117
|
+
],
|
|
118
|
+
"is_optional": "True"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "fonts",
|
|
122
|
+
"brief": "",
|
|
123
|
+
"description": "",
|
|
124
|
+
"types": [
|
|
125
|
+
"FontsTable"
|
|
126
|
+
],
|
|
127
|
+
"is_optional": "True"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "layers",
|
|
131
|
+
"brief": "",
|
|
132
|
+
"description": "",
|
|
133
|
+
"types": [
|
|
134
|
+
"LayersTable"
|
|
135
|
+
],
|
|
136
|
+
"is_optional": "True"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "color",
|
|
140
|
+
"brief": "",
|
|
141
|
+
"description": "",
|
|
142
|
+
"types": [
|
|
143
|
+
"Vector4"
|
|
144
|
+
],
|
|
145
|
+
"is_optional": "True"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "shadow",
|
|
149
|
+
"brief": "",
|
|
150
|
+
"description": "",
|
|
151
|
+
"types": [
|
|
152
|
+
"Vector4"
|
|
153
|
+
],
|
|
154
|
+
"is_optional": "True"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "outline",
|
|
158
|
+
"brief": "",
|
|
159
|
+
"description": "",
|
|
160
|
+
"types": [
|
|
161
|
+
"Vector4"
|
|
162
|
+
],
|
|
163
|
+
"is_optional": "True"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "align",
|
|
167
|
+
"brief": "",
|
|
168
|
+
"description": "",
|
|
169
|
+
"types": [
|
|
170
|
+
"Alignment"
|
|
171
|
+
],
|
|
172
|
+
"is_optional": "True"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "valign",
|
|
176
|
+
"brief": "",
|
|
177
|
+
"description": "",
|
|
178
|
+
"types": [
|
|
179
|
+
"VAlignment"
|
|
180
|
+
],
|
|
181
|
+
"is_optional": "True"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "line_spacing",
|
|
185
|
+
"brief": "",
|
|
186
|
+
"description": "",
|
|
187
|
+
"types": [
|
|
188
|
+
"number"
|
|
189
|
+
],
|
|
190
|
+
"is_optional": "True"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "paragraph_spacing",
|
|
194
|
+
"brief": "",
|
|
195
|
+
"description": "",
|
|
196
|
+
"types": [
|
|
197
|
+
"number"
|
|
198
|
+
],
|
|
199
|
+
"is_optional": "True"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "image_pixel_grid_snap",
|
|
203
|
+
"brief": "",
|
|
204
|
+
"description": "",
|
|
205
|
+
"types": [
|
|
206
|
+
"boolean"
|
|
207
|
+
],
|
|
208
|
+
"is_optional": "True"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "combine_words",
|
|
212
|
+
"brief": "",
|
|
213
|
+
"description": "",
|
|
214
|
+
"types": [
|
|
215
|
+
"boolean"
|
|
216
|
+
],
|
|
217
|
+
"is_optional": "True"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "dryrun",
|
|
221
|
+
"brief": "",
|
|
222
|
+
"description": "",
|
|
223
|
+
"types": [
|
|
224
|
+
"boolean"
|
|
225
|
+
],
|
|
226
|
+
"is_optional": "True"
|
|
227
|
+
}
|
|
228
|
+
]
|
|
23
229
|
},
|
|
24
230
|
{
|
|
25
231
|
"type": "TYPEDEF",
|
|
26
|
-
"name": "Word"
|
|
232
|
+
"name": "Word",
|
|
233
|
+
"properties": [
|
|
234
|
+
{
|
|
235
|
+
"name": "size",
|
|
236
|
+
"brief": "",
|
|
237
|
+
"description": "",
|
|
238
|
+
"types": [
|
|
239
|
+
"number"
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "color",
|
|
244
|
+
"brief": "",
|
|
245
|
+
"description": "",
|
|
246
|
+
"types": [
|
|
247
|
+
"Vector4"
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "shadow",
|
|
252
|
+
"brief": "",
|
|
253
|
+
"description": "",
|
|
254
|
+
"types": [
|
|
255
|
+
"Vector4"
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "outline",
|
|
260
|
+
"brief": "",
|
|
261
|
+
"description": "",
|
|
262
|
+
"types": [
|
|
263
|
+
"Vector4"
|
|
264
|
+
]
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "node",
|
|
268
|
+
"brief": "",
|
|
269
|
+
"description": "",
|
|
270
|
+
"types": [
|
|
271
|
+
"Opaque<\"node\">"
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "metrics",
|
|
276
|
+
"brief": "",
|
|
277
|
+
"description": "",
|
|
278
|
+
"types": [
|
|
279
|
+
"{ width: number; height: number; total_width: number; max_descent?: number; max_ascent?: number; }"
|
|
280
|
+
],
|
|
281
|
+
"fields": [
|
|
282
|
+
{
|
|
283
|
+
"name": "width",
|
|
284
|
+
"doc": "",
|
|
285
|
+
"types": [
|
|
286
|
+
"number"
|
|
287
|
+
],
|
|
288
|
+
"is_optional": "False"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "height",
|
|
292
|
+
"doc": "",
|
|
293
|
+
"types": [
|
|
294
|
+
"number"
|
|
295
|
+
],
|
|
296
|
+
"is_optional": "False"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "total_width",
|
|
300
|
+
"doc": "",
|
|
301
|
+
"types": [
|
|
302
|
+
"number"
|
|
303
|
+
],
|
|
304
|
+
"is_optional": "False"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "max_descent",
|
|
308
|
+
"doc": "",
|
|
309
|
+
"types": [
|
|
310
|
+
"number"
|
|
311
|
+
],
|
|
312
|
+
"is_optional": "True"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "max_ascent",
|
|
316
|
+
"doc": "",
|
|
317
|
+
"types": [
|
|
318
|
+
"number"
|
|
319
|
+
],
|
|
320
|
+
"is_optional": "True"
|
|
321
|
+
}
|
|
322
|
+
]
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"name": "font",
|
|
326
|
+
"brief": "",
|
|
327
|
+
"description": "",
|
|
328
|
+
"types": [
|
|
329
|
+
"string"
|
|
330
|
+
]
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "text",
|
|
334
|
+
"brief": "",
|
|
335
|
+
"description": "",
|
|
336
|
+
"types": [
|
|
337
|
+
"string"
|
|
338
|
+
]
|
|
339
|
+
}
|
|
340
|
+
]
|
|
27
341
|
},
|
|
28
342
|
{
|
|
29
343
|
"type": "TYPEDEF",
|
|
30
|
-
"name": "TextMetrics"
|
|
344
|
+
"name": "TextMetrics",
|
|
345
|
+
"properties": [
|
|
346
|
+
{
|
|
347
|
+
"name": "width",
|
|
348
|
+
"brief": "",
|
|
349
|
+
"description": "",
|
|
350
|
+
"types": [
|
|
351
|
+
"number"
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "height",
|
|
356
|
+
"brief": "",
|
|
357
|
+
"description": "",
|
|
358
|
+
"types": [
|
|
359
|
+
"number"
|
|
360
|
+
]
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "char_count",
|
|
364
|
+
"brief": "",
|
|
365
|
+
"description": "",
|
|
366
|
+
"types": [
|
|
367
|
+
"number"
|
|
368
|
+
]
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"name": "img_count",
|
|
372
|
+
"brief": "",
|
|
373
|
+
"description": "",
|
|
374
|
+
"types": [
|
|
375
|
+
"number"
|
|
376
|
+
]
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "spine_count",
|
|
380
|
+
"brief": "",
|
|
381
|
+
"description": "",
|
|
382
|
+
"types": [
|
|
383
|
+
"number"
|
|
384
|
+
]
|
|
385
|
+
}
|
|
386
|
+
]
|
|
31
387
|
},
|
|
32
388
|
{
|
|
33
389
|
"type": "FUNCTION",
|
|
@@ -332,6 +688,8 @@
|
|
|
332
688
|
{
|
|
333
689
|
"type": "VARIABLE",
|
|
334
690
|
"name": "ALIGN_LEFT",
|
|
691
|
+
"brief": "",
|
|
692
|
+
"description": "",
|
|
335
693
|
"types": [
|
|
336
694
|
"Alignment"
|
|
337
695
|
]
|
|
@@ -339,6 +697,8 @@
|
|
|
339
697
|
{
|
|
340
698
|
"type": "VARIABLE",
|
|
341
699
|
"name": "ALIGN_CENTER",
|
|
700
|
+
"brief": "",
|
|
701
|
+
"description": "",
|
|
342
702
|
"types": [
|
|
343
703
|
"Alignment"
|
|
344
704
|
]
|
|
@@ -346,6 +706,8 @@
|
|
|
346
706
|
{
|
|
347
707
|
"type": "VARIABLE",
|
|
348
708
|
"name": "ALIGN_RIGHT",
|
|
709
|
+
"brief": "",
|
|
710
|
+
"description": "",
|
|
349
711
|
"types": [
|
|
350
712
|
"Alignment"
|
|
351
713
|
]
|
|
@@ -353,6 +715,8 @@
|
|
|
353
715
|
{
|
|
354
716
|
"type": "VARIABLE",
|
|
355
717
|
"name": "ALIGN_JUSTIFY",
|
|
718
|
+
"brief": "",
|
|
719
|
+
"description": "",
|
|
356
720
|
"types": [
|
|
357
721
|
"Alignment"
|
|
358
722
|
]
|
|
@@ -360,6 +724,8 @@
|
|
|
360
724
|
{
|
|
361
725
|
"type": "VARIABLE",
|
|
362
726
|
"name": "VALIGN_TOP",
|
|
727
|
+
"brief": "",
|
|
728
|
+
"description": "",
|
|
363
729
|
"types": [
|
|
364
730
|
"VAlignment"
|
|
365
731
|
]
|
|
@@ -367,6 +733,8 @@
|
|
|
367
733
|
{
|
|
368
734
|
"type": "VARIABLE",
|
|
369
735
|
"name": "VALIGN_MIDDLE",
|
|
736
|
+
"brief": "",
|
|
737
|
+
"description": "",
|
|
370
738
|
"types": [
|
|
371
739
|
"VAlignment"
|
|
372
740
|
]
|
|
@@ -374,6 +742,8 @@
|
|
|
374
742
|
{
|
|
375
743
|
"type": "VARIABLE",
|
|
376
744
|
"name": "VALIGN_BOTTOM",
|
|
745
|
+
"brief": "",
|
|
746
|
+
"description": "",
|
|
377
747
|
"types": [
|
|
378
748
|
"VAlignment"
|
|
379
749
|
]
|