@defold-typescript/library-types 0.23.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.json +10 -5
- package/api-doc/bzAnim.json +338 -0
- package/api-doc/decore.json +1 -1
- 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 +90 -92
- package/api-doc/event.json +16 -16
- package/api-doc/gooey.json +2050 -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 +5 -5
- package/api-doc/log.json +1 -1
- 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 +1 -1
- 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/{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 +2 -1
- package/api-doc/saver.storage.json +2 -1
- package/api-doc/{starly.starly.json → starly.json} +1 -1
- 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 +5 -5
- package/generated/{bzAnim.bzLibrary.d.ts → bzAnim.d.ts} +6 -0
- package/generated/decore.d.ts +1 -1
- 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 +81 -79
- package/generated/event.d.ts +15 -15
- package/generated/{gooey.gooey.d.ts → gooey.d.ts} +61 -6
- package/generated/in.onscreen.d.ts +5 -0
- package/generated/in.textbox.d.ts +4 -0
- package/generated/lang.d.ts +5 -5
- package/generated/log.d.ts +1 -1
- 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 +1 -1
- 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/{rendy.rendy.d.ts → rendy.d.ts} +33 -80
- package/generated/richtext.color.d.ts +15 -0
- package/generated/saver.saver.d.ts +2 -0
- package/generated/saver.storage.d.ts +2 -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 -156
- package/library-targets.json +1 -218
- package/luals-targets.json +56 -3
- package/openapi-targets.json +17 -0
- package/package.json +7 -57
- package/scripts/__snapshots__/parse-luals.test.ts.snap +164 -10
- package/scripts/apply-luals-overrides.ts +39 -7
- package/scripts/authored-parity.ts +718 -0
- package/scripts/emit-library-dts.ts +94 -17
- 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 +21 -3
- package/scripts/luals-fidelity.ts +16 -11
- package/scripts/map-luals-types.ts +52 -21
- package/scripts/parse-lua-surface.ts +187 -0
- package/scripts/parse-luals.ts +50 -4
- 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 +14 -1
- package/scripts/sync-markdown-types.ts +761 -0
- package/scripts/sync-openapi-types.ts +308 -0
- package/scripts/sync-script-api-types.ts +16 -17
- 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/generated/defcon.console.d.ts +0 -24
- package/generated/defsave.defsave.d.ts +0 -31
- package/generated/nakama.nakama.d.ts +0 -594
- /package/generated/{deftest.deftest.d.ts → deftest.d.ts} +0 -0
- /package/generated/{starly.starly.d.ts → starly.d.ts} +0 -0
package/api-doc/lang.json
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"name": "on_lang_changed",
|
|
69
69
|
"doc": "",
|
|
70
70
|
"types": [
|
|
71
|
-
"unknown | undefined"
|
|
71
|
+
"((...args: any[]) => unknown) | undefined"
|
|
72
72
|
],
|
|
73
73
|
"is_optional": "True",
|
|
74
74
|
"is_vararg": "False"
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"name": "on_lang_changed",
|
|
96
96
|
"doc": "",
|
|
97
97
|
"types": [
|
|
98
|
-
"unknown | undefined"
|
|
98
|
+
"((...args: any[]) => unknown) | undefined"
|
|
99
99
|
],
|
|
100
100
|
"is_optional": "True",
|
|
101
101
|
"is_vararg": "False"
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"name": "on_lang_changed",
|
|
114
114
|
"doc": "",
|
|
115
115
|
"types": [
|
|
116
|
-
"unknown | undefined"
|
|
116
|
+
"((...args: any[]) => unknown) | undefined"
|
|
117
117
|
],
|
|
118
118
|
"is_optional": "True",
|
|
119
119
|
"is_vararg": "False"
|
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
"brief": "Called after translations are loaded",
|
|
476
476
|
"description": "Called after translations are loaded",
|
|
477
477
|
"types": [
|
|
478
|
-
"unknown"
|
|
478
|
+
"(...args: any[]) => unknown"
|
|
479
479
|
]
|
|
480
480
|
}
|
|
481
481
|
]
|
|
@@ -519,7 +519,7 @@
|
|
|
519
519
|
"brief": "Optional async loader function with signature: loader(path, on_success, on_error)",
|
|
520
520
|
"description": "Optional async loader function with signature: loader(path, on_success, on_error)",
|
|
521
521
|
"types": [
|
|
522
|
-
"unknown | undefined"
|
|
522
|
+
"((...args: any[]) => unknown) | undefined"
|
|
523
523
|
]
|
|
524
524
|
}
|
|
525
525
|
]
|
package/api-doc/log.json
CHANGED
package/api-doc/metrics.fps.json
CHANGED
|
@@ -5,6 +5,33 @@
|
|
|
5
5
|
"description": ""
|
|
6
6
|
},
|
|
7
7
|
"elements": [
|
|
8
|
+
{
|
|
9
|
+
"type": "VARIABLE",
|
|
10
|
+
"name": "POSITION",
|
|
11
|
+
"brief": "Where `draw()` places the text, and the default `create()` uses when given no position.",
|
|
12
|
+
"description": "Where `draw()` places the text, and the default `create()` uses when given no position.",
|
|
13
|
+
"types": [
|
|
14
|
+
"Vector3"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "VARIABLE",
|
|
19
|
+
"name": "FORMAT",
|
|
20
|
+
"brief": "The `string.format` pattern the FPS reading is rendered through.",
|
|
21
|
+
"description": "The `string.format` pattern the FPS reading is rendered through.",
|
|
22
|
+
"types": [
|
|
23
|
+
"string"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "VARIABLE",
|
|
28
|
+
"name": "COLOR",
|
|
29
|
+
"brief": "The colour `draw()` renders the text in, and the default `create()` uses when given no colour.",
|
|
30
|
+
"description": "The colour `draw()` renders the text in, and the default `create()` uses when given no colour.",
|
|
31
|
+
"types": [
|
|
32
|
+
"Vector4"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
8
35
|
{
|
|
9
36
|
"type": "FUNCTION",
|
|
10
37
|
"name": "create",
|
|
@@ -31,7 +58,7 @@
|
|
|
31
58
|
"name": "position",
|
|
32
59
|
"doc": "",
|
|
33
60
|
"types": [
|
|
34
|
-
"
|
|
61
|
+
"Vector3"
|
|
35
62
|
],
|
|
36
63
|
"is_optional": "True"
|
|
37
64
|
},
|
|
@@ -39,7 +66,7 @@
|
|
|
39
66
|
"name": "color",
|
|
40
67
|
"doc": "",
|
|
41
68
|
"types": [
|
|
42
|
-
"
|
|
69
|
+
"Vector4"
|
|
43
70
|
],
|
|
44
71
|
"is_optional": "True"
|
|
45
72
|
}
|
|
@@ -54,6 +81,38 @@
|
|
|
54
81
|
}
|
|
55
82
|
]
|
|
56
83
|
},
|
|
84
|
+
{
|
|
85
|
+
"type": "FUNCTION",
|
|
86
|
+
"name": "update",
|
|
87
|
+
"brief": "Call this once per frame. Once enough samples have been collected it is possible to call fps() to get the current FPS.",
|
|
88
|
+
"description": "Call this once per frame. Once enough samples have been collected it is possible to call fps() to get the current FPS.",
|
|
89
|
+
"parameters": [],
|
|
90
|
+
"returnvalues": []
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": "FUNCTION",
|
|
94
|
+
"name": "fps",
|
|
95
|
+
"brief": "Get the current FPS, based on collected samples.",
|
|
96
|
+
"description": "Get the current FPS, based on collected samples.",
|
|
97
|
+
"parameters": [],
|
|
98
|
+
"returnvalues": [
|
|
99
|
+
{
|
|
100
|
+
"name": "",
|
|
101
|
+
"doc": "",
|
|
102
|
+
"types": [
|
|
103
|
+
"number"
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "FUNCTION",
|
|
110
|
+
"name": "draw",
|
|
111
|
+
"brief": "Draw fps count text using `draw_debug_text`.",
|
|
112
|
+
"description": "Draw fps count text using `draw_debug_text`.",
|
|
113
|
+
"parameters": [],
|
|
114
|
+
"returnvalues": []
|
|
115
|
+
},
|
|
57
116
|
{
|
|
58
117
|
"type": "TYPEDEF",
|
|
59
118
|
"name": "Metrics",
|
package/api-doc/metrics.mem.json
CHANGED
|
@@ -5,6 +5,33 @@
|
|
|
5
5
|
"description": ""
|
|
6
6
|
},
|
|
7
7
|
"elements": [
|
|
8
|
+
{
|
|
9
|
+
"type": "VARIABLE",
|
|
10
|
+
"name": "POSITION",
|
|
11
|
+
"brief": "Where `draw()` places the text, and the default `create()` uses when given no position.",
|
|
12
|
+
"description": "Where `draw()` places the text, and the default `create()` uses when given no position.",
|
|
13
|
+
"types": [
|
|
14
|
+
"Vector3"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "VARIABLE",
|
|
19
|
+
"name": "FORMAT",
|
|
20
|
+
"brief": "The `string.format` pattern the memory reading is rendered through.",
|
|
21
|
+
"description": "The `string.format` pattern the memory reading is rendered through.",
|
|
22
|
+
"types": [
|
|
23
|
+
"string"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "VARIABLE",
|
|
28
|
+
"name": "COLOR",
|
|
29
|
+
"brief": "The colour `draw()` renders the text in, and the default `create()` uses when given no colour.",
|
|
30
|
+
"description": "The colour `draw()` renders the text in, and the default `create()` uses when given no colour.",
|
|
31
|
+
"types": [
|
|
32
|
+
"Vector4"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
8
35
|
{
|
|
9
36
|
"type": "FUNCTION",
|
|
10
37
|
"name": "create",
|
|
@@ -23,7 +50,7 @@
|
|
|
23
50
|
"name": "position",
|
|
24
51
|
"doc": "",
|
|
25
52
|
"types": [
|
|
26
|
-
"
|
|
53
|
+
"Vector3"
|
|
27
54
|
],
|
|
28
55
|
"is_optional": "True"
|
|
29
56
|
},
|
|
@@ -31,7 +58,7 @@
|
|
|
31
58
|
"name": "color",
|
|
32
59
|
"doc": "",
|
|
33
60
|
"types": [
|
|
34
|
-
"
|
|
61
|
+
"Vector4"
|
|
35
62
|
],
|
|
36
63
|
"is_optional": "True"
|
|
37
64
|
}
|
|
@@ -46,6 +73,38 @@
|
|
|
46
73
|
}
|
|
47
74
|
]
|
|
48
75
|
},
|
|
76
|
+
{
|
|
77
|
+
"type": "FUNCTION",
|
|
78
|
+
"name": "update",
|
|
79
|
+
"brief": "Call this to get a new memory usage reading.",
|
|
80
|
+
"description": "Call this to get a new memory usage reading.",
|
|
81
|
+
"parameters": [],
|
|
82
|
+
"returnvalues": []
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "FUNCTION",
|
|
86
|
+
"name": "mem",
|
|
87
|
+
"brief": "Get the current memory usage, in kilobytes.",
|
|
88
|
+
"description": "Get the current memory usage, in kilobytes.",
|
|
89
|
+
"parameters": [],
|
|
90
|
+
"returnvalues": [
|
|
91
|
+
{
|
|
92
|
+
"name": "",
|
|
93
|
+
"doc": "",
|
|
94
|
+
"types": [
|
|
95
|
+
"number"
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"type": "FUNCTION",
|
|
102
|
+
"name": "draw",
|
|
103
|
+
"brief": "Draw memory usage text using `draw_debug_text`.",
|
|
104
|
+
"description": "Draw memory usage text using `draw_debug_text`.",
|
|
105
|
+
"parameters": [],
|
|
106
|
+
"returnvalues": []
|
|
107
|
+
},
|
|
49
108
|
{
|
|
50
109
|
"type": "TYPEDEF",
|
|
51
110
|
"name": "Metrics",
|
|
@@ -11,23 +11,177 @@
|
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"type": "TYPEDEF",
|
|
14
|
-
"name": "ShowOptions"
|
|
14
|
+
"name": "ShowOptions",
|
|
15
|
+
"properties": [
|
|
16
|
+
{
|
|
17
|
+
"name": "clear",
|
|
18
|
+
"brief": "",
|
|
19
|
+
"description": "",
|
|
20
|
+
"types": [
|
|
21
|
+
"boolean"
|
|
22
|
+
],
|
|
23
|
+
"is_optional": "True"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "reload",
|
|
27
|
+
"brief": "",
|
|
28
|
+
"description": "",
|
|
29
|
+
"types": [
|
|
30
|
+
"boolean"
|
|
31
|
+
],
|
|
32
|
+
"is_optional": "True"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "sequential",
|
|
36
|
+
"brief": "",
|
|
37
|
+
"description": "",
|
|
38
|
+
"types": [
|
|
39
|
+
"boolean"
|
|
40
|
+
],
|
|
41
|
+
"is_optional": "True"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "no_stack",
|
|
45
|
+
"brief": "",
|
|
46
|
+
"description": "",
|
|
47
|
+
"types": [
|
|
48
|
+
"boolean"
|
|
49
|
+
],
|
|
50
|
+
"is_optional": "True"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "pop",
|
|
54
|
+
"brief": "",
|
|
55
|
+
"description": "",
|
|
56
|
+
"types": [
|
|
57
|
+
"number"
|
|
58
|
+
],
|
|
59
|
+
"is_optional": "True"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
15
62
|
},
|
|
16
63
|
{
|
|
17
64
|
"type": "TYPEDEF",
|
|
18
|
-
"name": "ReplaceOptions"
|
|
65
|
+
"name": "ReplaceOptions",
|
|
66
|
+
"properties": [
|
|
67
|
+
{
|
|
68
|
+
"name": "clear",
|
|
69
|
+
"brief": "",
|
|
70
|
+
"description": "",
|
|
71
|
+
"types": [
|
|
72
|
+
"boolean"
|
|
73
|
+
],
|
|
74
|
+
"is_optional": "True"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "reload",
|
|
78
|
+
"brief": "",
|
|
79
|
+
"description": "",
|
|
80
|
+
"types": [
|
|
81
|
+
"boolean"
|
|
82
|
+
],
|
|
83
|
+
"is_optional": "True"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "no_stack",
|
|
87
|
+
"brief": "",
|
|
88
|
+
"description": "",
|
|
89
|
+
"types": [
|
|
90
|
+
"boolean"
|
|
91
|
+
],
|
|
92
|
+
"is_optional": "True"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
19
95
|
},
|
|
20
96
|
{
|
|
21
97
|
"type": "TYPEDEF",
|
|
22
|
-
"name": "RegisterProxyOptions"
|
|
98
|
+
"name": "RegisterProxyOptions",
|
|
99
|
+
"properties": [
|
|
100
|
+
{
|
|
101
|
+
"name": "popup",
|
|
102
|
+
"brief": "",
|
|
103
|
+
"description": "",
|
|
104
|
+
"types": [
|
|
105
|
+
"boolean"
|
|
106
|
+
],
|
|
107
|
+
"is_optional": "True"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "popup_on_popup",
|
|
111
|
+
"brief": "",
|
|
112
|
+
"description": "",
|
|
113
|
+
"types": [
|
|
114
|
+
"boolean"
|
|
115
|
+
],
|
|
116
|
+
"is_optional": "True"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "timestep_below_popup",
|
|
120
|
+
"brief": "",
|
|
121
|
+
"description": "",
|
|
122
|
+
"types": [
|
|
123
|
+
"number"
|
|
124
|
+
],
|
|
125
|
+
"is_optional": "True"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "screen_keeps_input_focus_when_below_popup",
|
|
129
|
+
"brief": "",
|
|
130
|
+
"description": "",
|
|
131
|
+
"types": [
|
|
132
|
+
"boolean"
|
|
133
|
+
],
|
|
134
|
+
"is_optional": "True"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "others_keep_input_focus_when_below_screen",
|
|
138
|
+
"brief": "",
|
|
139
|
+
"description": "",
|
|
140
|
+
"types": [
|
|
141
|
+
"boolean"
|
|
142
|
+
],
|
|
143
|
+
"is_optional": "True"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "auto_preload",
|
|
147
|
+
"brief": "",
|
|
148
|
+
"description": "",
|
|
149
|
+
"types": [
|
|
150
|
+
"boolean"
|
|
151
|
+
],
|
|
152
|
+
"is_optional": "True"
|
|
153
|
+
}
|
|
154
|
+
]
|
|
23
155
|
},
|
|
24
156
|
{
|
|
25
157
|
"type": "TYPEDEF",
|
|
26
|
-
"name": "BackOptions"
|
|
158
|
+
"name": "BackOptions",
|
|
159
|
+
"properties": [
|
|
160
|
+
{
|
|
161
|
+
"name": "sequential",
|
|
162
|
+
"brief": "",
|
|
163
|
+
"description": "",
|
|
164
|
+
"types": [
|
|
165
|
+
"boolean"
|
|
166
|
+
],
|
|
167
|
+
"is_optional": "True"
|
|
168
|
+
}
|
|
169
|
+
]
|
|
27
170
|
},
|
|
28
171
|
{
|
|
29
172
|
"type": "TYPEDEF",
|
|
30
|
-
"name": "PreloadOptions"
|
|
173
|
+
"name": "PreloadOptions",
|
|
174
|
+
"properties": [
|
|
175
|
+
{
|
|
176
|
+
"name": "auto_preload",
|
|
177
|
+
"brief": "",
|
|
178
|
+
"description": "",
|
|
179
|
+
"types": [
|
|
180
|
+
"boolean"
|
|
181
|
+
],
|
|
182
|
+
"is_optional": "True"
|
|
183
|
+
}
|
|
184
|
+
]
|
|
31
185
|
},
|
|
32
186
|
{
|
|
33
187
|
"type": "TYPEDEF",
|
|
@@ -41,9 +195,74 @@
|
|
|
41
195
|
"type": "TYPEDEF",
|
|
42
196
|
"name": "Callback"
|
|
43
197
|
},
|
|
198
|
+
{
|
|
199
|
+
"type": "VARIABLE",
|
|
200
|
+
"name": "TRANSITION_DONE",
|
|
201
|
+
"brief": "Post this back to Monarch from a transition listener once the transition",
|
|
202
|
+
"description": "Post this back to Monarch from a transition listener once the transition\nhas finished. Monarch will not proceed until it arrives.",
|
|
203
|
+
"types": [
|
|
204
|
+
"Hash"
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"type": "VARIABLE",
|
|
209
|
+
"name": "TRANSITION_SHOW_IN",
|
|
210
|
+
"brief": "Sent to a screen's transition url when the screen should transition in.",
|
|
211
|
+
"description": "Sent to a screen's transition url when the screen should transition in.",
|
|
212
|
+
"types": [
|
|
213
|
+
"Hash"
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"type": "VARIABLE",
|
|
218
|
+
"name": "TRANSITION_SHOW_OUT",
|
|
219
|
+
"brief": "Sent to a screen's transition url when the screen should transition out.",
|
|
220
|
+
"description": "Sent to a screen's transition url when the screen should transition out.",
|
|
221
|
+
"types": [
|
|
222
|
+
"Hash"
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"type": "VARIABLE",
|
|
227
|
+
"name": "TRANSITION_BACK_IN",
|
|
228
|
+
"brief": "Sent to a screen's transition url when the screen above it was popped and",
|
|
229
|
+
"description": "Sent to a screen's transition url when the screen above it was popped and\nthis screen should transition back in.",
|
|
230
|
+
"types": [
|
|
231
|
+
"Hash"
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"type": "VARIABLE",
|
|
236
|
+
"name": "TRANSITION_BACK_OUT",
|
|
237
|
+
"brief": "Sent to a screen's transition url when this screen is being popped and",
|
|
238
|
+
"description": "Sent to a screen's transition url when this screen is being popped and\nshould transition back out.",
|
|
239
|
+
"types": [
|
|
240
|
+
"Hash"
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"type": "VARIABLE",
|
|
245
|
+
"name": "FOCUS_GAINED",
|
|
246
|
+
"brief": "Sent to a screen's focus url when the screen gains focus.",
|
|
247
|
+
"description": "Sent to a screen's focus url when the screen gains focus.",
|
|
248
|
+
"types": [
|
|
249
|
+
"Hash"
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"type": "VARIABLE",
|
|
254
|
+
"name": "FOCUS_LOST",
|
|
255
|
+
"brief": "Sent to a screen's focus url when the screen loses focus.",
|
|
256
|
+
"description": "Sent to a screen's focus url when the screen loses focus.",
|
|
257
|
+
"types": [
|
|
258
|
+
"Hash"
|
|
259
|
+
]
|
|
260
|
+
},
|
|
44
261
|
{
|
|
45
262
|
"type": "VARIABLE",
|
|
46
263
|
"name": "TRANSITION",
|
|
264
|
+
"brief": "",
|
|
265
|
+
"description": "",
|
|
47
266
|
"types": [
|
|
48
267
|
"{ DONE: Hash; SHOW_IN: Hash; SHOW_OUT: Hash; BACK_IN: Hash; BACK_OUT: Hash; }"
|
|
49
268
|
],
|
|
@@ -88,11 +307,14 @@
|
|
|
88
307
|
],
|
|
89
308
|
"is_optional": "False"
|
|
90
309
|
}
|
|
91
|
-
]
|
|
310
|
+
],
|
|
311
|
+
"deprecated": "Use the flat `TRANSITION_*` constants instead — Monarch marks\nthis grouping deprecated in its own source."
|
|
92
312
|
},
|
|
93
313
|
{
|
|
94
314
|
"type": "VARIABLE",
|
|
95
315
|
"name": "FOCUS",
|
|
316
|
+
"brief": "",
|
|
317
|
+
"description": "",
|
|
96
318
|
"types": [
|
|
97
319
|
"{ GAINED: Hash; LOST: Hash; }"
|
|
98
320
|
],
|
|
@@ -113,11 +335,14 @@
|
|
|
113
335
|
],
|
|
114
336
|
"is_optional": "False"
|
|
115
337
|
}
|
|
116
|
-
]
|
|
338
|
+
],
|
|
339
|
+
"deprecated": "Use the flat `FOCUS_*` constants instead — Monarch marks this\ngrouping deprecated in its own source."
|
|
117
340
|
},
|
|
118
341
|
{
|
|
119
342
|
"type": "VARIABLE",
|
|
120
343
|
"name": "SCREEN_TRANSITION_IN_STARTED",
|
|
344
|
+
"brief": "Sent to every url registered with `add_listener` when a screen begins",
|
|
345
|
+
"description": "Sent to every url registered with `add_listener` when a screen begins\ntransitioning in, carrying `screen` and `previous_screen` ids.",
|
|
121
346
|
"types": [
|
|
122
347
|
"Hash"
|
|
123
348
|
]
|
|
@@ -125,6 +350,8 @@
|
|
|
125
350
|
{
|
|
126
351
|
"type": "VARIABLE",
|
|
127
352
|
"name": "SCREEN_TRANSITION_IN_FINISHED",
|
|
353
|
+
"brief": "",
|
|
354
|
+
"description": "",
|
|
128
355
|
"types": [
|
|
129
356
|
"Hash"
|
|
130
357
|
]
|
|
@@ -132,6 +359,8 @@
|
|
|
132
359
|
{
|
|
133
360
|
"type": "VARIABLE",
|
|
134
361
|
"name": "SCREEN_TRANSITION_OUT_STARTED",
|
|
362
|
+
"brief": "",
|
|
363
|
+
"description": "",
|
|
135
364
|
"types": [
|
|
136
365
|
"Hash"
|
|
137
366
|
]
|
|
@@ -139,6 +368,8 @@
|
|
|
139
368
|
{
|
|
140
369
|
"type": "VARIABLE",
|
|
141
370
|
"name": "SCREEN_TRANSITION_OUT_FINISHED",
|
|
371
|
+
"brief": "",
|
|
372
|
+
"description": "",
|
|
142
373
|
"types": [
|
|
143
374
|
"Hash"
|
|
144
375
|
]
|
|
@@ -146,6 +377,8 @@
|
|
|
146
377
|
{
|
|
147
378
|
"type": "VARIABLE",
|
|
148
379
|
"name": "SCREEN_TRANSITION_FAILED",
|
|
380
|
+
"brief": "",
|
|
381
|
+
"description": "",
|
|
149
382
|
"types": [
|
|
150
383
|
"Hash"
|
|
151
384
|
]
|
|
@@ -316,6 +549,15 @@
|
|
|
316
549
|
],
|
|
317
550
|
"returnvalues": []
|
|
318
551
|
},
|
|
552
|
+
{
|
|
553
|
+
"type": "VARIABLE",
|
|
554
|
+
"name": "register",
|
|
555
|
+
"brief": "Alias of {@link register_proxy}, kept for the pre-factory API.",
|
|
556
|
+
"description": "Alias of {@link register_proxy}, kept for the pre-factory API.\nTyped through the function it aliases so the two cannot drift apart.",
|
|
557
|
+
"types": [
|
|
558
|
+
"typeof register_proxy"
|
|
559
|
+
]
|
|
560
|
+
},
|
|
319
561
|
{
|
|
320
562
|
"type": "FUNCTION",
|
|
321
563
|
"name": "register_factory",
|
|
@@ -15,7 +15,25 @@
|
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"type": "TYPEDEF",
|
|
18
|
-
"name": "Easing"
|
|
18
|
+
"name": "Easing",
|
|
19
|
+
"properties": [
|
|
20
|
+
{
|
|
21
|
+
"name": "IN",
|
|
22
|
+
"brief": "",
|
|
23
|
+
"description": "",
|
|
24
|
+
"types": [
|
|
25
|
+
"(typeof gui)[`EASING_OUT${EasingOut}`]"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "OUT",
|
|
30
|
+
"brief": "",
|
|
31
|
+
"description": "",
|
|
32
|
+
"types": [
|
|
33
|
+
"(typeof gui)[`EASING_IN${EasingIn}`]"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
]
|
|
19
37
|
},
|
|
20
38
|
{
|
|
21
39
|
"type": "FUNCTION",
|
|
@@ -176,31 +194,6 @@
|
|
|
176
194
|
]
|
|
177
195
|
}
|
|
178
196
|
]
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"type": "FUNCTION",
|
|
182
|
-
"name": "create",
|
|
183
|
-
"brief": "",
|
|
184
|
-
"description": "",
|
|
185
|
-
"parameters": [
|
|
186
|
-
{
|
|
187
|
-
"name": "name",
|
|
188
|
-
"doc": "",
|
|
189
|
-
"types": [
|
|
190
|
-
"EasingIn | EasingOut"
|
|
191
|
-
],
|
|
192
|
-
"is_optional": "False"
|
|
193
|
-
}
|
|
194
|
-
],
|
|
195
|
-
"returnvalues": [
|
|
196
|
-
{
|
|
197
|
-
"name": "",
|
|
198
|
-
"doc": "",
|
|
199
|
-
"types": [
|
|
200
|
-
"Easing"
|
|
201
|
-
]
|
|
202
|
-
}
|
|
203
|
-
]
|
|
204
197
|
}
|
|
205
198
|
]
|
|
206
199
|
}
|