@malloydata/malloy 0.0.48 → 0.0.49-dev230626192330
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/index.d.ts +1 -1
- package/dist/index.js +1 -2
- package/dist/lang/ast/expressions/expr-func.js +0 -6
- package/dist/lang/ast/sources/named-source.js +4 -0
- package/dist/lang/ast/sources/sql-source.js +4 -0
- package/dist/lang/ast/sources/table-source.d.ts +21 -4
- package/dist/lang/ast/sources/table-source.js +49 -8
- package/dist/lang/lib/Malloy/MalloyParser.d.ts +132 -96
- package/dist/lang/lib/Malloy/MalloyParser.js +1700 -1504
- package/dist/lang/lib/Malloy/MalloyParserListener.d.ts +53 -5
- package/dist/lang/lib/Malloy/MalloyParserVisitor.d.ts +33 -3
- package/dist/lang/malloy-to-ast.d.ts +2 -1
- package/dist/lang/malloy-to-ast.js +19 -4
- package/dist/lang/parse-malloy.d.ts +1 -1
- package/dist/lang/parse-malloy.js +34 -31
- package/dist/lang/parse-tree-walkers/find-external-references.d.ts +24 -5
- package/dist/lang/parse-tree-walkers/find-external-references.js +59 -13
- package/dist/lang/test/parse-expects.js +3 -1
- package/dist/lang/test/parse.spec.js +30 -1
- package/dist/lang/test/test-translator.js +1 -0
- package/dist/lang/translate-response.d.ts +4 -1
- package/dist/malloy.d.ts +0 -4
- package/dist/malloy.js +12 -24
- package/dist/model/malloy_types.d.ts +4 -1
- package/dist/runtime_types.d.ts +4 -3
- package/package.json +1 -1
package/dist/runtime_types.d.ts
CHANGED
|
@@ -35,10 +35,11 @@ export interface InfoConnection {
|
|
|
35
35
|
/**
|
|
36
36
|
* Fetch schemas for multiple tables.
|
|
37
37
|
*
|
|
38
|
-
* @param tables The names of tables to fetch schemas for
|
|
39
|
-
*
|
|
38
|
+
* @param tables The names of tables to fetch schemas for, represented
|
|
39
|
+
* as a map of keys to table names.
|
|
40
|
+
* @return A mapping of table keys to schemas.
|
|
40
41
|
*/
|
|
41
|
-
fetchSchemaForTables(tables: string
|
|
42
|
+
fetchSchemaForTables(tables: Record<string, string>): Promise<{
|
|
42
43
|
schemas: Record<string, StructDef>;
|
|
43
44
|
errors: Record<string, string>;
|
|
44
45
|
}>;
|