@moonbit/moonpad-monaco 0.1.202501023 → 0.1.202501031

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.
@@ -3,8 +3,8 @@ import * as lsp from 'vscode-languageserver-protocol';
3
3
  declare function compile(params: CompileParams): Promise<CompileResult>;
4
4
 
5
5
  declare type CompileParams = {
6
- libContents: string[];
7
- testContents?: string[];
6
+ libInputs: Input[];
7
+ testInputs?: Input[];
8
8
  debugMain?: boolean;
9
9
  enableValueTracing?: boolean;
10
10
  };
@@ -39,6 +39,8 @@ declare type initParams = {
39
39
  codeLensFilter?: (lens: lsp.CodeLens) => boolean;
40
40
  };
41
41
 
42
+ declare type Input = [name: string, content: string];
43
+
42
44
  declare namespace moon {
43
45
  export {
44
46
  compile,
@@ -71,4 +73,6 @@ declare type TestResult = {
71
73
  message: string;
72
74
  };
73
75
 
76
+ export declare function traceCommandFactory(): (uri: string) => Promise<string | undefined>;
77
+
74
78
  export { }