@defold-typescript/transpiler 0.24.0 → 0.26.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.
@@ -0,0 +1 @@
1
+ export declare function buildConfigKeyIndex(gameProjectText: string): ReadonlySet<string>;
@@ -1,6 +1,7 @@
1
1
  import * as ts from "typescript";
2
2
  import { type Plugin } from "typescript-to-lua";
3
3
  export declare const EDITOR_FACTORY_MODULE = "@defold-typescript/types";
4
- export declare const EDITOR_FACTORY_NAME = "defineEditorScript";
4
+ export declare const EDITOR_SCRIPT_FACTORY_NAME = "defineEditorScript";
5
+ export declare const EDITOR_COMMAND_FACTORY_NAME = "defineEditorCommand";
5
6
  export declare function isEditorFactoryOnlyImport(node: ts.ImportDeclaration): boolean;
6
7
  export declare const editorScriptErasurePlugin: Plugin;
@@ -0,0 +1,5 @@
1
+ export interface GuiNodeIndex {
2
+ readonly byScriptResource: ReadonlyMap<string, ReadonlySet<string>>;
3
+ readonly unresolved: readonly string[];
4
+ }
5
+ export declare function buildGuiNodeIndex(documents: ReadonlyMap<string, string>): GuiNodeIndex;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,25 @@
1
+ export { buildConfigKeyIndex } from "./config-key-index";
2
+ export type { GuiNodeIndex } from "./gui-node-index";
3
+ export { buildGuiNodeIndex } from "./gui-node-index";
4
+ export { buildInputActionIndex } from "./input-action-index";
1
5
  export { findMainEntryFactoryImports } from "./main-entry-factory-imports";
6
+ export type { BuildConfig, ScriptKind, SourceOutputKind } from "./output-paths";
7
+ export { computeOutputRel, DEFAULT_INCLUDE, parseBuildConfig, SCRIPT_SUFFIX_BY_KIND, stripIncludeBase, } from "./output-paths";
2
8
  export { getProgramDiagnostics } from "./program-diagnostics";
9
+ export { isDefignoredPath, SCAFFOLDED_DEFIGNORE_LINES } from "./project-resources";
10
+ export type { SceneComponentIndex } from "./scene-component-index";
11
+ export { buildSceneComponentIndex } from "./scene-component-index";
12
+ export type { SceneObjectPathIndex } from "./scene-object-path-index";
13
+ export { buildSceneObjectPathIndex } from "./scene-object-path-index";
14
+ export type { SceneMessage } from "./scene-text-format";
15
+ export { parseSceneTextFormat, SceneTextFormatError } from "./scene-text-format";
3
16
  export type { TranspileSession } from "./session";
4
17
  export { createTranspileSession } from "./session";
18
+ export type { SpriteAnimationIndex } from "./sprite-animation-index";
19
+ export { buildSpriteAnimationIndex, componentIdOfSameObjectAddress, } from "./sprite-animation-index";
5
20
  export type { TranspileDiagnostic, TranspileProjectInput, TranspileProjectResult, TranspileResult, } from "./transpile";
6
21
  export { transpile, transpileProject } from "./transpile";
22
+ export type { ClassifiedSlot } from "./url-address-slots";
23
+ export { addressClassOfArgument, isAddressClass, isFragmentCaret, resolveClassifiedSlotAtPosition, } from "./url-address-slots";
24
+ export type { UrlFragmentFinding, UrlFragmentReport } from "./url-fragment-reachability";
25
+ export { checkUrlFragmentReachability } from "./url-fragment-reachability";