@prisma/prisma-schema-wasm 7.1.1-1.a90ee980e3abdf12c7066f7466393bcff91da762 → 7.1.1-3.c2990dca591cba766e3b7ef5d9e8a84796e47ab7

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/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![install size](https://packagephobia.com/badge?p=@prisma/prisma-schema-wasm)](https://packagephobia.com/result?p=@prisma/prisma-schema-wasm)
6
6
 
7
7
  This directory only contains build logic to package the `prisma-fmt` engine
8
- into a Node package as a Wasm module. All the functionality is implemented in
8
+ into a Node package as a WASM module. All the functionality is implemented in
9
9
  other parts of prisma-engines.
10
10
 
11
11
  The published NPM package is internal to Prisma. Its API will break without prior warning.
@@ -48,4 +48,4 @@ cargo install -f wasm-bindgen-cli@version
48
48
  This script has the following expectations:
49
49
  - `language-tools` is in the same dir as `prisma-engines`
50
50
  - i.e. `dir/{prisma-engines,language-tools}`
51
- - it's run in the `prisma-engines` root folder
51
+ - it's run in the `prisma-engines` root folder
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prisma/prisma-schema-wasm",
3
- "version": "7.1.1-1.a90ee980e3abdf12c7066f7466393bcff91da762",
4
- "description": "The Wasm package for prisma-fmt",
3
+ "version": "7.1.1-3.c2990dca591cba766e3b7ef5d9e8a84796e47ab7",
4
+ "description": "The WASM package for prisma-fmt",
5
5
  "main": "src/prisma_schema_build.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,6 +1,28 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export function format(schema: string, params: string): string;
4
+ /**
5
+ * Docs: https://prisma.github.io/prisma-engines/doc/prisma_fmt/fn.get_config.html
6
+ */
7
+ export function get_config(params: string): string;
8
+ /**
9
+ * Docs: https://prisma.github.io/prisma-engines/doc/prisma_fmt/fn.get_dmmf.html
10
+ */
11
+ export function get_dmmf(params: string): string;
12
+ export function get_datamodel(params: string): string;
13
+ export function lint(input: string): string;
14
+ export function validate(params: string): void;
15
+ export function merge_schemas(input: string): string;
16
+ export function native_types(input: string): string;
17
+ export function referential_actions(input: string): string;
18
+ export function preview_features(): string;
19
+ /**
20
+ * The API is modelled on an LSP [completion
21
+ * request](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-16.md#completion-request-leftwards_arrow_with_hook).
22
+ * Input and output are both JSON, the request being a `CompletionParams` object and the response
23
+ * being a `CompletionList` object.
24
+ */
25
+ export function text_document_completion(schema_files: string, params: string): string;
4
26
  /**
5
27
  * This API is modelled on an LSP [code action
6
28
  * request](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-16.md#code-action-request-leftwards_arrow_with_hook).
@@ -9,13 +31,6 @@ export function format(schema: string, params: string): string;
9
31
  * `CodeActionOrCommand` objects.
10
32
  */
11
33
  export function code_actions(schema: string, params: string): string;
12
- export function get_datamodel(params: string): string;
13
- /**
14
- * This api is modelled on an LSP [hover request](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-16.md#hover-request-leftwards_arrow_with_hook).
15
- * Input and output are both JSON, the request being a `HoverParams` object
16
- * and the response being a `Hover` object.
17
- */
18
- export function hover(schema_files: string, params: string): string;
19
34
  /**
20
35
  * This API is modelled on an LSP [references
21
36
  * request](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-16.md#find-references-request-leftwards_arrow_with_hook).
@@ -24,29 +39,14 @@ export function hover(schema_files: string, params: string): string;
24
39
  * `CodeActionOrCommand` objects.
25
40
  */
26
41
  export function references(schema: string, params: string): string;
27
- export function referential_actions(input: string): string;
28
- export function merge_schemas(input: string): string;
42
+ /**
43
+ * This api is modelled on an LSP [hover request](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-16.md#hover-request-leftwards_arrow_with_hook).
44
+ * Input and output are both JSON, the request being a `HoverParams` object
45
+ * and the response being a `Hover` object.
46
+ */
47
+ export function hover(schema_files: string, params: string): string;
29
48
  /**
30
49
  * Trigger a panic inside the wasm module. This is only useful in development for testing panic
31
50
  * handling.
32
51
  */
33
52
  export function debug_panic(): void;
34
- /**
35
- * Docs: https://prisma.github.io/prisma-engines/doc/prisma_fmt/fn.get_config.html
36
- */
37
- export function get_config(params: string): string;
38
- export function lint(input: string): string;
39
- export function native_types(input: string): string;
40
- export function preview_features(): string;
41
- /**
42
- * Docs: https://prisma.github.io/prisma-engines/doc/prisma_fmt/fn.get_dmmf.html
43
- */
44
- export function get_dmmf(params: string): string;
45
- export function validate(params: string): void;
46
- /**
47
- * The API is modelled on an LSP [completion
48
- * request](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-16.md#completion-request-leftwards_arrow_with_hook).
49
- * Input and output are both JSON, the request being a `CompletionParams` object and the response
50
- * being a `CompletionList` object.
51
- */
52
- export function text_document_completion(schema_files: string, params: string): string;
@@ -100,29 +100,22 @@ exports.format = function(schema, params) {
100
100
  };
101
101
 
102
102
  /**
103
- * This API is modelled on an LSP [code action
104
- * request](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-16.md#code-action-request-leftwards_arrow_with_hook).
105
- * Input and output are both JSON, the request being a
106
- * `CodeActionParams` object and the response being a list of
107
- * `CodeActionOrCommand` objects.
108
- * @param {string} schema
103
+ * Docs: https://prisma.github.io/prisma-engines/doc/prisma_fmt/fn.get_config.html
109
104
  * @param {string} params
110
105
  * @returns {string}
111
106
  */
112
- exports.code_actions = function(schema, params) {
113
- let deferred3_0;
114
- let deferred3_1;
107
+ exports.get_config = function(params) {
108
+ let deferred2_0;
109
+ let deferred2_1;
115
110
  try {
116
- const ptr0 = passStringToWasm0(schema, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
111
+ const ptr0 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
117
112
  const len0 = WASM_VECTOR_LEN;
118
- const ptr1 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
119
- const len1 = WASM_VECTOR_LEN;
120
- const ret = wasm.code_actions(ptr0, len0, ptr1, len1);
121
- deferred3_0 = ret[0];
122
- deferred3_1 = ret[1];
113
+ const ret = wasm.get_config(ptr0, len0);
114
+ deferred2_0 = ret[0];
115
+ deferred2_1 = ret[1];
123
116
  return getStringFromWasm0(ret[0], ret[1]);
124
117
  } finally {
125
- wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
118
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
126
119
  }
127
120
  };
128
121
 
@@ -132,16 +125,17 @@ function takeFromExternrefTable0(idx) {
132
125
  return value;
133
126
  }
134
127
  /**
128
+ * Docs: https://prisma.github.io/prisma-engines/doc/prisma_fmt/fn.get_dmmf.html
135
129
  * @param {string} params
136
130
  * @returns {string}
137
131
  */
138
- exports.get_datamodel = function(params) {
132
+ exports.get_dmmf = function(params) {
139
133
  let deferred3_0;
140
134
  let deferred3_1;
141
135
  try {
142
136
  const ptr0 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
143
137
  const len0 = WASM_VECTOR_LEN;
144
- const ret = wasm.get_datamodel(ptr0, len0);
138
+ const ret = wasm.get_dmmf(ptr0, len0);
145
139
  var ptr2 = ret[0];
146
140
  var len2 = ret[1];
147
141
  if (ret[3]) {
@@ -157,52 +151,25 @@ exports.get_datamodel = function(params) {
157
151
  };
158
152
 
159
153
  /**
160
- * This api is modelled on an LSP [hover request](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-16.md#hover-request-leftwards_arrow_with_hook).
161
- * Input and output are both JSON, the request being a `HoverParams` object
162
- * and the response being a `Hover` object.
163
- * @param {string} schema_files
164
- * @param {string} params
165
- * @returns {string}
166
- */
167
- exports.hover = function(schema_files, params) {
168
- let deferred3_0;
169
- let deferred3_1;
170
- try {
171
- const ptr0 = passStringToWasm0(schema_files, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
172
- const len0 = WASM_VECTOR_LEN;
173
- const ptr1 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
174
- const len1 = WASM_VECTOR_LEN;
175
- const ret = wasm.hover(ptr0, len0, ptr1, len1);
176
- deferred3_0 = ret[0];
177
- deferred3_1 = ret[1];
178
- return getStringFromWasm0(ret[0], ret[1]);
179
- } finally {
180
- wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
181
- }
182
- };
183
-
184
- /**
185
- * This API is modelled on an LSP [references
186
- * request](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-16.md#find-references-request-leftwards_arrow_with_hook).
187
- * Input and output are both JSON, the request being a
188
- * `CodeActionParams` object and the response being a list of
189
- * `CodeActionOrCommand` objects.
190
- * @param {string} schema
191
154
  * @param {string} params
192
155
  * @returns {string}
193
156
  */
194
- exports.references = function(schema, params) {
157
+ exports.get_datamodel = function(params) {
195
158
  let deferred3_0;
196
159
  let deferred3_1;
197
160
  try {
198
- const ptr0 = passStringToWasm0(schema, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
161
+ const ptr0 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
199
162
  const len0 = WASM_VECTOR_LEN;
200
- const ptr1 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
201
- const len1 = WASM_VECTOR_LEN;
202
- const ret = wasm.references(ptr0, len0, ptr1, len1);
203
- deferred3_0 = ret[0];
204
- deferred3_1 = ret[1];
205
- return getStringFromWasm0(ret[0], ret[1]);
163
+ const ret = wasm.get_datamodel(ptr0, len0);
164
+ var ptr2 = ret[0];
165
+ var len2 = ret[1];
166
+ if (ret[3]) {
167
+ ptr2 = 0; len2 = 0;
168
+ throw takeFromExternrefTable0(ret[2]);
169
+ }
170
+ deferred3_0 = ptr2;
171
+ deferred3_1 = len2;
172
+ return getStringFromWasm0(ptr2, len2);
206
173
  } finally {
207
174
  wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
208
175
  }
@@ -212,13 +179,13 @@ exports.references = function(schema, params) {
212
179
  * @param {string} input
213
180
  * @returns {string}
214
181
  */
215
- exports.referential_actions = function(input) {
182
+ exports.lint = function(input) {
216
183
  let deferred2_0;
217
184
  let deferred2_1;
218
185
  try {
219
186
  const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
220
187
  const len0 = WASM_VECTOR_LEN;
221
- const ret = wasm.referential_actions(ptr0, len0);
188
+ const ret = wasm.lint(ptr0, len0);
222
189
  deferred2_0 = ret[0];
223
190
  deferred2_1 = ret[1];
224
191
  return getStringFromWasm0(ret[0], ret[1]);
@@ -227,6 +194,18 @@ exports.referential_actions = function(input) {
227
194
  }
228
195
  };
229
196
 
197
+ /**
198
+ * @param {string} params
199
+ */
200
+ exports.validate = function(params) {
201
+ const ptr0 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
202
+ const len0 = WASM_VECTOR_LEN;
203
+ const ret = wasm.validate(ptr0, len0);
204
+ if (ret[1]) {
205
+ throw takeFromExternrefTable0(ret[0]);
206
+ }
207
+ };
208
+
230
209
  /**
231
210
  * @param {string} input
232
211
  * @returns {string}
@@ -252,45 +231,17 @@ exports.merge_schemas = function(input) {
252
231
  }
253
232
  };
254
233
 
255
- /**
256
- * Trigger a panic inside the wasm module. This is only useful in development for testing panic
257
- * handling.
258
- */
259
- exports.debug_panic = function() {
260
- wasm.debug_panic();
261
- };
262
-
263
- /**
264
- * Docs: https://prisma.github.io/prisma-engines/doc/prisma_fmt/fn.get_config.html
265
- * @param {string} params
266
- * @returns {string}
267
- */
268
- exports.get_config = function(params) {
269
- let deferred2_0;
270
- let deferred2_1;
271
- try {
272
- const ptr0 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
273
- const len0 = WASM_VECTOR_LEN;
274
- const ret = wasm.get_config(ptr0, len0);
275
- deferred2_0 = ret[0];
276
- deferred2_1 = ret[1];
277
- return getStringFromWasm0(ret[0], ret[1]);
278
- } finally {
279
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
280
- }
281
- };
282
-
283
234
  /**
284
235
  * @param {string} input
285
236
  * @returns {string}
286
237
  */
287
- exports.lint = function(input) {
238
+ exports.native_types = function(input) {
288
239
  let deferred2_0;
289
240
  let deferred2_1;
290
241
  try {
291
242
  const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
292
243
  const len0 = WASM_VECTOR_LEN;
293
- const ret = wasm.lint(ptr0, len0);
244
+ const ret = wasm.native_types(ptr0, len0);
294
245
  deferred2_0 = ret[0];
295
246
  deferred2_1 = ret[1];
296
247
  return getStringFromWasm0(ret[0], ret[1]);
@@ -303,13 +254,13 @@ exports.lint = function(input) {
303
254
  * @param {string} input
304
255
  * @returns {string}
305
256
  */
306
- exports.native_types = function(input) {
257
+ exports.referential_actions = function(input) {
307
258
  let deferred2_0;
308
259
  let deferred2_1;
309
260
  try {
310
261
  const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
311
262
  const len0 = WASM_VECTOR_LEN;
312
- const ret = wasm.native_types(ptr0, len0);
263
+ const ret = wasm.referential_actions(ptr0, len0);
313
264
  deferred2_0 = ret[0];
314
265
  deferred2_1 = ret[1];
315
266
  return getStringFromWasm0(ret[0], ret[1]);
@@ -335,53 +286,94 @@ exports.preview_features = function() {
335
286
  };
336
287
 
337
288
  /**
338
- * Docs: https://prisma.github.io/prisma-engines/doc/prisma_fmt/fn.get_dmmf.html
289
+ * The API is modelled on an LSP [completion
290
+ * request](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-16.md#completion-request-leftwards_arrow_with_hook).
291
+ * Input and output are both JSON, the request being a `CompletionParams` object and the response
292
+ * being a `CompletionList` object.
293
+ * @param {string} schema_files
339
294
  * @param {string} params
340
295
  * @returns {string}
341
296
  */
342
- exports.get_dmmf = function(params) {
297
+ exports.text_document_completion = function(schema_files, params) {
343
298
  let deferred3_0;
344
299
  let deferred3_1;
345
300
  try {
346
- const ptr0 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
301
+ const ptr0 = passStringToWasm0(schema_files, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
347
302
  const len0 = WASM_VECTOR_LEN;
348
- const ret = wasm.get_dmmf(ptr0, len0);
349
- var ptr2 = ret[0];
350
- var len2 = ret[1];
351
- if (ret[3]) {
352
- ptr2 = 0; len2 = 0;
353
- throw takeFromExternrefTable0(ret[2]);
354
- }
355
- deferred3_0 = ptr2;
356
- deferred3_1 = len2;
357
- return getStringFromWasm0(ptr2, len2);
303
+ const ptr1 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
304
+ const len1 = WASM_VECTOR_LEN;
305
+ const ret = wasm.text_document_completion(ptr0, len0, ptr1, len1);
306
+ deferred3_0 = ret[0];
307
+ deferred3_1 = ret[1];
308
+ return getStringFromWasm0(ret[0], ret[1]);
358
309
  } finally {
359
310
  wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
360
311
  }
361
312
  };
362
313
 
363
314
  /**
315
+ * This API is modelled on an LSP [code action
316
+ * request](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-16.md#code-action-request-leftwards_arrow_with_hook).
317
+ * Input and output are both JSON, the request being a
318
+ * `CodeActionParams` object and the response being a list of
319
+ * `CodeActionOrCommand` objects.
320
+ * @param {string} schema
364
321
  * @param {string} params
322
+ * @returns {string}
365
323
  */
366
- exports.validate = function(params) {
367
- const ptr0 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
368
- const len0 = WASM_VECTOR_LEN;
369
- const ret = wasm.validate(ptr0, len0);
370
- if (ret[1]) {
371
- throw takeFromExternrefTable0(ret[0]);
324
+ exports.code_actions = function(schema, params) {
325
+ let deferred3_0;
326
+ let deferred3_1;
327
+ try {
328
+ const ptr0 = passStringToWasm0(schema, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
329
+ const len0 = WASM_VECTOR_LEN;
330
+ const ptr1 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
331
+ const len1 = WASM_VECTOR_LEN;
332
+ const ret = wasm.code_actions(ptr0, len0, ptr1, len1);
333
+ deferred3_0 = ret[0];
334
+ deferred3_1 = ret[1];
335
+ return getStringFromWasm0(ret[0], ret[1]);
336
+ } finally {
337
+ wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
372
338
  }
373
339
  };
374
340
 
375
341
  /**
376
- * The API is modelled on an LSP [completion
377
- * request](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-16.md#completion-request-leftwards_arrow_with_hook).
378
- * Input and output are both JSON, the request being a `CompletionParams` object and the response
379
- * being a `CompletionList` object.
342
+ * This API is modelled on an LSP [references
343
+ * request](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-16.md#find-references-request-leftwards_arrow_with_hook).
344
+ * Input and output are both JSON, the request being a
345
+ * `CodeActionParams` object and the response being a list of
346
+ * `CodeActionOrCommand` objects.
347
+ * @param {string} schema
348
+ * @param {string} params
349
+ * @returns {string}
350
+ */
351
+ exports.references = function(schema, params) {
352
+ let deferred3_0;
353
+ let deferred3_1;
354
+ try {
355
+ const ptr0 = passStringToWasm0(schema, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
356
+ const len0 = WASM_VECTOR_LEN;
357
+ const ptr1 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
358
+ const len1 = WASM_VECTOR_LEN;
359
+ const ret = wasm.references(ptr0, len0, ptr1, len1);
360
+ deferred3_0 = ret[0];
361
+ deferred3_1 = ret[1];
362
+ return getStringFromWasm0(ret[0], ret[1]);
363
+ } finally {
364
+ wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
365
+ }
366
+ };
367
+
368
+ /**
369
+ * This api is modelled on an LSP [hover request](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-16.md#hover-request-leftwards_arrow_with_hook).
370
+ * Input and output are both JSON, the request being a `HoverParams` object
371
+ * and the response being a `Hover` object.
380
372
  * @param {string} schema_files
381
373
  * @param {string} params
382
374
  * @returns {string}
383
375
  */
384
- exports.text_document_completion = function(schema_files, params) {
376
+ exports.hover = function(schema_files, params) {
385
377
  let deferred3_0;
386
378
  let deferred3_1;
387
379
  try {
@@ -389,7 +381,7 @@ exports.text_document_completion = function(schema_files, params) {
389
381
  const len0 = WASM_VECTOR_LEN;
390
382
  const ptr1 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
391
383
  const len1 = WASM_VECTOR_LEN;
392
- const ret = wasm.text_document_completion(ptr0, len0, ptr1, len1);
384
+ const ret = wasm.hover(ptr0, len0, ptr1, len1);
393
385
  deferred3_0 = ret[0];
394
386
  deferred3_1 = ret[1];
395
387
  return getStringFromWasm0(ret[0], ret[1]);
@@ -398,6 +390,14 @@ exports.text_document_completion = function(schema_files, params) {
398
390
  }
399
391
  };
400
392
 
393
+ /**
394
+ * Trigger a panic inside the wasm module. This is only useful in development for testing panic
395
+ * handling.
396
+ */
397
+ exports.debug_panic = function() {
398
+ wasm.debug_panic();
399
+ };
400
+
401
401
  exports.__wbg_Error_e83987f665cf5504 = function(arg0, arg1) {
402
402
  const ret = Error(getStringFromWasm0(arg0, arg1));
403
403
  return ret;
Binary file
@@ -1,21 +1,21 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const code_actions: (a: number, b: number, c: number, d: number) => [number, number];
5
- export const debug_panic: () => void;
6
4
  export const format: (a: number, b: number, c: number, d: number) => [number, number];
7
5
  export const get_config: (a: number, b: number) => [number, number];
8
- export const get_datamodel: (a: number, b: number) => [number, number, number, number];
9
6
  export const get_dmmf: (a: number, b: number) => [number, number, number, number];
10
- export const hover: (a: number, b: number, c: number, d: number) => [number, number];
7
+ export const get_datamodel: (a: number, b: number) => [number, number, number, number];
11
8
  export const lint: (a: number, b: number) => [number, number];
9
+ export const validate: (a: number, b: number) => [number, number];
12
10
  export const merge_schemas: (a: number, b: number) => [number, number, number, number];
13
11
  export const native_types: (a: number, b: number) => [number, number];
14
- export const preview_features: () => [number, number];
15
- export const references: (a: number, b: number, c: number, d: number) => [number, number];
16
12
  export const referential_actions: (a: number, b: number) => [number, number];
13
+ export const preview_features: () => [number, number];
17
14
  export const text_document_completion: (a: number, b: number, c: number, d: number) => [number, number];
18
- export const validate: (a: number, b: number) => [number, number];
15
+ export const code_actions: (a: number, b: number, c: number, d: number) => [number, number];
16
+ export const references: (a: number, b: number, c: number, d: number) => [number, number];
17
+ export const hover: (a: number, b: number, c: number, d: number) => [number, number];
18
+ export const debug_panic: () => void;
19
19
  export const __wbindgen_externrefs: WebAssembly.Table;
20
20
  export const __wbindgen_malloc: (a: number, b: number) => number;
21
21
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;