@hamelin.sh/compiler 0.1.31-prerelease.20250606T202707 → 0.1.31-prerelease.20250607T161557
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 +9 -9
- package/dist/main.js +1 -4
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -7,15 +7,6 @@ type CompileResult = { Ok: Translation } | { Err: ContextualTranslationErrors };
|
|
|
7
7
|
|
|
8
8
|
type StatementDatasetsResult = { Ok: string[] } | { Err: ContextualTranslationErrors };
|
|
9
9
|
|
|
10
|
-
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[] };
|
|
11
|
-
|
|
12
|
-
interface Column {
|
|
13
|
-
name: string;
|
|
14
|
-
type: HamelinType;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
type Catalog = Record<string, Column[]>;
|
|
18
|
-
|
|
19
10
|
interface FunctionDescription {
|
|
20
11
|
name: string;
|
|
21
12
|
parameters: string;
|
|
@@ -105,6 +96,15 @@ type LanguageArea = "FunctionCall" | "Operator" | "Deref" | "IndexAccess" | "Par
|
|
|
105
96
|
|
|
106
97
|
type Level = "Error" | "Warning" | "Info";
|
|
107
98
|
|
|
99
|
+
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[] };
|
|
100
|
+
|
|
101
|
+
interface Column {
|
|
102
|
+
name: string;
|
|
103
|
+
type: HamelinType;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
type Catalog = Record<string, Column[]>;
|
|
107
|
+
|
|
108
108
|
declare class CatalogProvider {
|
|
109
109
|
private constructor();
|
|
110
110
|
free(): void;
|