@defold-typescript/types 0.11.2 → 0.11.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defold-typescript/types",
3
- "version": "0.11.2",
3
+ "version": "0.11.4",
4
4
  "description": "TypeScript types for the Defold engine's Lua APIs.",
5
5
  "license": "MIT",
6
6
  "repository": {
package/scripts/regen.ts CHANGED
@@ -148,6 +148,10 @@ export interface MessagesManifestEntry {
148
148
  readonly outFile: string;
149
149
  }
150
150
 
151
+ // Unlike MODULE_MANIFEST, this surface is hand-maintained: Defold ships no
152
+ // machine-readable export for built-in message ids, so refresh fixtures/
153
+ // messages_doc.json by hand from the Defold API reference. The
154
+ // message-payload-drift test guards the payload shapes against drift.
151
155
  export const MESSAGES_MANIFEST: MessagesManifestEntry = {
152
156
  doc: messagesDoc,
153
157
  outFile: "builtin-messages.d.ts",
@@ -1,6 +1,10 @@
1
1
  /** @noSelfInFile */
2
2
  import type * as Core from "./core-types";
3
3
 
4
+ // Hand-maintained surface: Defold ships no machine-readable export for the
5
+ // prefixless globals, so add or remove entries here from the Defold API
6
+ // reference and mirror the change in fixtures/globals_doc.json — the
7
+ // engine-globals test fails if the two fall out of sync.
4
8
  declare global {
5
9
  type Hash = Core.Hash;
6
10
  function hash(s: string): Core.Hash;