@defold-typescript/types 0.57.0 → 0.58.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/ecs/debug.d.ts +57 -0
- package/ecs/hsm.d.ts +192 -0
- package/ecs/index.d.ts +1153 -0
- package/hsm/async.d.ts +1 -1
- package/hsm/debug.d.ts +1 -1
- package/hsm/defold.d.ts +1 -1
- package/hsm/index.d.ts +2 -2
- package/package.json +11 -1
package/hsm/async.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from packages/hsm/src/async.ts by `bun run --cwd packages/
|
|
1
|
+
// Generated from packages/hsm/src/async.ts by `bun run --cwd packages/transpiler declarations`; do not edit.
|
|
2
2
|
import type { EventObject, TaskStart } from "./index";
|
|
3
3
|
/**
|
|
4
4
|
* The second argument of a `sequence` function: a wait that leaving the state cancels, and a flag
|
package/hsm/debug.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from packages/hsm/src/debug.ts by `bun run --cwd packages/
|
|
1
|
+
// Generated from packages/hsm/src/debug.ts by `bun run --cwd packages/transpiler declarations`; do not edit.
|
|
2
2
|
import type { EventObject, MachineInstance } from "./index";
|
|
3
3
|
/**
|
|
4
4
|
* Returned by `inspect`. Keep it on `self` and call its `draw` from `update`.
|
package/hsm/defold.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from packages/hsm/src/defold.ts by `bun run --cwd packages/
|
|
1
|
+
// Generated from packages/hsm/src/defold.ts by `bun run --cwd packages/transpiler declarations`; do not edit.
|
|
2
2
|
/**
|
|
3
3
|
* The event `messageEvents` builds from the Defold message `K`, for a machine's event union. It
|
|
4
4
|
* holds the message id as `type`, the payload fields declared through `BuiltinMessages` and
|
package/hsm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from packages/hsm/src/index.ts by `bun run --cwd packages/
|
|
1
|
+
// Generated from packages/hsm/src/index.ts by `bun run --cwd packages/transpiler declarations`; do not edit.
|
|
2
2
|
/**
|
|
3
3
|
* An event a machine handles: an object with a string `type`, plus any payload fields. A
|
|
4
4
|
* machine's event type is a union of these.
|
|
@@ -582,7 +582,7 @@ export interface PrivateCtxConfig<Ctx, Priv> {
|
|
|
582
582
|
* field of `Ctx`.
|
|
583
583
|
*
|
|
584
584
|
* The fields are hidden from callers by type only. At run time `ctx` is one table, and hooks,
|
|
585
|
-
* `
|
|
585
|
+
* the `view` command and a debugger see every field.
|
|
586
586
|
*
|
|
587
587
|
* There are two ways to type the fields.
|
|
588
588
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defold-typescript/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.58.0",
|
|
4
4
|
"description": "TypeScript types for the Defold engine's Lua APIs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -57,6 +57,15 @@
|
|
|
57
57
|
"./hsm/defold": {
|
|
58
58
|
"types": "./hsm/defold.d.ts"
|
|
59
59
|
},
|
|
60
|
+
"./ecs": {
|
|
61
|
+
"types": "./ecs/index.d.ts"
|
|
62
|
+
},
|
|
63
|
+
"./ecs/debug": {
|
|
64
|
+
"types": "./ecs/debug.d.ts"
|
|
65
|
+
},
|
|
66
|
+
"./ecs/hsm": {
|
|
67
|
+
"types": "./ecs/hsm.d.ts"
|
|
68
|
+
},
|
|
60
69
|
"./cli-runtime": {
|
|
61
70
|
"types": "./scripts/cli-runtime.ts",
|
|
62
71
|
"bun": "./scripts/cli-runtime.ts",
|
|
@@ -76,6 +85,7 @@
|
|
|
76
85
|
"src",
|
|
77
86
|
"generated",
|
|
78
87
|
"hsm",
|
|
88
|
+
"ecs",
|
|
79
89
|
"scripts",
|
|
80
90
|
"api-targets.json",
|
|
81
91
|
"api-migrations.json",
|