@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.
- package/dist/config-key-index.d.ts +1 -0
- package/dist/editor-script-erasure.d.ts +2 -1
- package/dist/gui-node-index.d.ts +5 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +915 -27
- package/dist/input-action-index.d.ts +1 -0
- package/dist/output-paths.d.ts +11 -0
- package/dist/project-resources.d.ts +2 -0
- package/dist/scene-component-index.d.ts +5 -0
- package/dist/scene-object-path-index.d.ts +6 -0
- package/dist/scene-text-format.d.ts +9 -0
- package/dist/sprite-animation-index.d.ts +10 -0
- package/dist/url-address-slots.d.ts +19 -0
- package/dist/url-fragment-reachability.d.ts +23 -0
- package/package.json +2 -2
- package/src/config-key-index.ts +34 -0
- package/src/editor-script-erasure.ts +44 -13
- package/src/gui-node-index.ts +71 -0
- package/src/index.ts +33 -0
- package/src/input-action-index.ts +41 -0
- package/src/output-paths.ts +69 -0
- package/src/project-resources.ts +20 -0
- package/src/scene-component-index.ts +80 -0
- package/src/scene-object-path-index.ts +148 -0
- package/src/scene-text-format.ts +171 -0
- package/src/sprite-animation-index.ts +241 -0
- package/src/transpile.ts +5 -0
- package/src/url-address-slots.ts +290 -0
- package/src/url-fragment-reachability.ts +175 -0
|
@@ -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
|
|
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;
|
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";
|