@hamelin.sh/compiler 0.1.6-prerelease.20250317T144238 → 0.1.7

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/main.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ type StatementDatasetsResult = { Ok: string[] } | { Err: ContextualTranslationErrors };
2
+
1
3
  interface FunctionDescription {
2
4
  name: string;
3
5
  parameters: string;
@@ -56,6 +58,8 @@ declare const compileHamelin: (catalog: Catalog, hamelinInput: string, timeRange
56
58
 
57
59
  declare const getFunctionDescriptions: () => Promise<FunctionDescription[]>;
58
60
 
61
+ declare const getDatasetsFromQuery: (catalog: Catalog, hamelinInput: string) => Promise<StatementDatasetsResult>;
62
+
59
63
  declare const sampleCatalog: Catalog;
60
64
 
61
- export { type AugmentedCompileResult, type Catalog, type FunctionDescription, compileHamelin, getFunctionDescriptions, sampleCatalog };
65
+ export { type AugmentedCompileResult, type Catalog, type FunctionDescription, compileHamelin, getDatasetsFromQuery, getFunctionDescriptions, sampleCatalog };