@hamelin.sh/compiler 0.1.3 → 0.1.5

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,8 @@
1
+ interface Translation {
2
+ sql: string;
3
+ columns: Column[];
4
+ }
5
+
1
6
  type HamelinType = "binary" | "boolean" | "interval" | "int" | "double" | "rows" | "string" | "timestamp" | "unknown" | { decimal: { precision: number; scale: number } } | { array: { element_type: HamelinType } } | { map: { key_type: HamelinType; value_type: HamelinType } } | { tuple: { elements: HamelinType[] } } | "variant" | { range: { of: HamelinType } } | { struct: Column[] };
2
7
 
3
8
  interface Column {
@@ -40,11 +45,6 @@ type LanguageArea = "FunctionCall" | "Operator" | "Deref" | "IndexAccess" | "Par
40
45
 
41
46
  type Level = "Error" | "Warning" | "Info";
42
47
 
43
- interface Translation {
44
- sql: string;
45
- columns: Column[];
46
- }
47
-
48
48
  type AugmentedCompileResult = {
49
49
  Ok: Translation;
50
50
  } | {