@malloydata/malloy 0.0.243-dev250314155434 → 0.0.243-dev250314162617

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.
Files changed (227) hide show
  1. package/dist/annotation.d.ts +2 -2
  2. package/dist/api/asynchronous.d.ts +4 -4
  3. package/dist/api/connection.d.ts +1 -1
  4. package/dist/api/core.d.ts +3 -2
  5. package/dist/api/stateless.d.ts +1 -1
  6. package/dist/api/util.d.ts +5 -5
  7. package/dist/connection/base_connection.d.ts +4 -4
  8. package/dist/connection/types.d.ts +4 -4
  9. package/dist/dialect/dialect.d.ts +2 -2
  10. package/dist/dialect/dialect_map.d.ts +1 -1
  11. package/dist/dialect/duckdb/dialect_functions.d.ts +1 -1
  12. package/dist/dialect/duckdb/duckdb.d.ts +3 -3
  13. package/dist/dialect/duckdb/function_overrides.d.ts +1 -1
  14. package/dist/dialect/functions/malloy_standard_functions.d.ts +1 -1
  15. package/dist/dialect/functions/util.d.ts +2 -2
  16. package/dist/dialect/mysql/dialect_functions.d.ts +1 -1
  17. package/dist/dialect/mysql/function_overrides.d.ts +1 -1
  18. package/dist/dialect/mysql/mysql.d.ts +4 -3
  19. package/dist/dialect/mysql/mysql.js +0 -7
  20. package/dist/dialect/pg_impl.d.ts +3 -2
  21. package/dist/dialect/postgres/dialect_functions.d.ts +1 -1
  22. package/dist/dialect/postgres/function_overrides.d.ts +1 -1
  23. package/dist/dialect/postgres/postgres.d.ts +3 -3
  24. package/dist/dialect/snowflake/dialect_functions.d.ts +1 -1
  25. package/dist/dialect/snowflake/function_overrides.d.ts +1 -1
  26. package/dist/dialect/snowflake/snowflake.d.ts +4 -3
  27. package/dist/dialect/standardsql/dialect_functions.d.ts +1 -1
  28. package/dist/dialect/standardsql/function_overrides.d.ts +1 -1
  29. package/dist/dialect/standardsql/standardsql.d.ts +4 -3
  30. package/dist/dialect/trino/dialect_functions.d.ts +1 -1
  31. package/dist/dialect/trino/function_overrides.d.ts +1 -1
  32. package/dist/dialect/trino/trino.d.ts +3 -3
  33. package/dist/lang/ast/ast-utils.d.ts +1 -1
  34. package/dist/lang/ast/error-factory.d.ts +1 -1
  35. package/dist/lang/ast/expressions/apply.d.ts +3 -3
  36. package/dist/lang/ast/expressions/binary-boolean.d.ts +3 -3
  37. package/dist/lang/ast/expressions/binary-numeric.d.ts +3 -3
  38. package/dist/lang/ast/expressions/boolean.d.ts +1 -1
  39. package/dist/lang/ast/expressions/case.d.ts +2 -2
  40. package/dist/lang/ast/expressions/constant-expression.d.ts +6 -6
  41. package/dist/lang/ast/expressions/expr-aggregate-function.d.ts +4 -4
  42. package/dist/lang/ast/expressions/expr-alternation-tree.d.ts +3 -3
  43. package/dist/lang/ast/expressions/expr-array-literal.d.ts +2 -2
  44. package/dist/lang/ast/expressions/expr-asymmetric.d.ts +3 -3
  45. package/dist/lang/ast/expressions/expr-avg.d.ts +2 -2
  46. package/dist/lang/ast/expressions/expr-cast.d.ts +3 -3
  47. package/dist/lang/ast/expressions/expr-coalesce.d.ts +2 -2
  48. package/dist/lang/ast/expressions/expr-compare.d.ts +3 -3
  49. package/dist/lang/ast/expressions/expr-count-distinct.d.ts +2 -2
  50. package/dist/lang/ast/expressions/expr-count.d.ts +3 -3
  51. package/dist/lang/ast/expressions/expr-filter-expr.d.ts +3 -3
  52. package/dist/lang/ast/expressions/expr-func.d.ts +7 -7
  53. package/dist/lang/ast/expressions/expr-granular-time.d.ts +3 -3
  54. package/dist/lang/ast/expressions/expr-id-reference.d.ts +3 -3
  55. package/dist/lang/ast/expressions/expr-max.d.ts +2 -2
  56. package/dist/lang/ast/expressions/expr-min.d.ts +2 -2
  57. package/dist/lang/ast/expressions/expr-minus.d.ts +2 -2
  58. package/dist/lang/ast/expressions/expr-not.d.ts +3 -3
  59. package/dist/lang/ast/expressions/expr-now.d.ts +2 -2
  60. package/dist/lang/ast/expressions/expr-null.d.ts +2 -2
  61. package/dist/lang/ast/expressions/expr-number.d.ts +2 -2
  62. package/dist/lang/ast/expressions/expr-parens.d.ts +3 -3
  63. package/dist/lang/ast/expressions/expr-props.d.ts +3 -3
  64. package/dist/lang/ast/expressions/expr-record-literal.d.ts +3 -3
  65. package/dist/lang/ast/expressions/expr-regex.d.ts +1 -1
  66. package/dist/lang/ast/expressions/expr-string.d.ts +2 -2
  67. package/dist/lang/ast/expressions/expr-sum.d.ts +2 -2
  68. package/dist/lang/ast/expressions/expr-time-extract.d.ts +3 -3
  69. package/dist/lang/ast/expressions/expr-time.d.ts +3 -3
  70. package/dist/lang/ast/expressions/expr-ungroup.d.ts +2 -2
  71. package/dist/lang/ast/expressions/for-range.d.ts +4 -4
  72. package/dist/lang/ast/expressions/function-ordering.d.ts +3 -3
  73. package/dist/lang/ast/expressions/partial-compare.d.ts +3 -3
  74. package/dist/lang/ast/expressions/partition_by.d.ts +1 -1
  75. package/dist/lang/ast/expressions/pick-when.d.ts +2 -2
  76. package/dist/lang/ast/expressions/range.d.ts +3 -3
  77. package/dist/lang/ast/expressions/time-frame.d.ts +1 -1
  78. package/dist/lang/ast/expressions/time-literal.d.ts +5 -5
  79. package/dist/lang/ast/field-space/ast-view-field.d.ts +3 -3
  80. package/dist/lang/ast/field-space/column-space-field.d.ts +1 -1
  81. package/dist/lang/ast/field-space/dynamic-space.d.ts +5 -5
  82. package/dist/lang/ast/field-space/index-field-space.d.ts +2 -2
  83. package/dist/lang/ast/field-space/ir-view-field.d.ts +2 -2
  84. package/dist/lang/ast/field-space/join-space-field.d.ts +2 -2
  85. package/dist/lang/ast/field-space/parameter-space.d.ts +6 -6
  86. package/dist/lang/ast/field-space/project-field-space.d.ts +1 -1
  87. package/dist/lang/ast/field-space/query-input-space.d.ts +4 -4
  88. package/dist/lang/ast/field-space/query-spaces.d.ts +7 -6
  89. package/dist/lang/ast/field-space/reference-field.d.ts +4 -4
  90. package/dist/lang/ast/field-space/refined-space.d.ts +5 -5
  91. package/dist/lang/ast/field-space/rename-space-field.d.ts +1 -1
  92. package/dist/lang/ast/field-space/static-space.d.ts +5 -5
  93. package/dist/lang/ast/field-space/struct-space-field-base.d.ts +3 -3
  94. package/dist/lang/ast/field-space/view-field.d.ts +2 -2
  95. package/dist/lang/ast/parameters/argument.d.ts +2 -2
  96. package/dist/lang/ast/parameters/has-parameter.d.ts +2 -2
  97. package/dist/lang/ast/query-builders/index-builder.d.ts +7 -7
  98. package/dist/lang/ast/query-builders/partial-builder.d.ts +1 -1
  99. package/dist/lang/ast/query-builders/partial-builder.js +0 -22
  100. package/dist/lang/ast/query-builders/project-builder.d.ts +7 -7
  101. package/dist/lang/ast/query-builders/reduce-builder.d.ts +8 -7
  102. package/dist/lang/ast/query-elements/anonymous-query.d.ts +6 -4
  103. package/dist/lang/ast/query-elements/query-arrow.d.ts +3 -3
  104. package/dist/lang/ast/query-elements/query-base.d.ts +2 -2
  105. package/dist/lang/ast/query-elements/query-head-struct.d.ts +2 -2
  106. package/dist/lang/ast/query-elements/query-raw.d.ts +4 -4
  107. package/dist/lang/ast/query-elements/query-reference.d.ts +5 -4
  108. package/dist/lang/ast/query-elements/query-refine.d.ts +3 -3
  109. package/dist/lang/ast/query-items/field-declaration.d.ts +10 -9
  110. package/dist/lang/ast/query-items/field-references.d.ts +7 -6
  111. package/dist/lang/ast/query-items/typecheck_utils.d.ts +2 -2
  112. package/dist/lang/ast/query-properties/aggregate.d.ts +3 -2
  113. package/dist/lang/ast/query-properties/calculate.d.ts +3 -2
  114. package/dist/lang/ast/query-properties/declare-fields.d.ts +5 -4
  115. package/dist/lang/ast/query-properties/extend.d.ts +4 -3
  116. package/dist/lang/ast/query-properties/filters.d.ts +6 -5
  117. package/dist/lang/ast/query-properties/group-by.d.ts +3 -2
  118. package/dist/lang/ast/query-properties/indexing.d.ts +4 -3
  119. package/dist/lang/ast/query-properties/limit.d.ts +2 -1
  120. package/dist/lang/ast/query-properties/nest.d.ts +4 -3
  121. package/dist/lang/ast/query-properties/nests.d.ts +3 -2
  122. package/dist/lang/ast/query-properties/ordering.d.ts +5 -3
  123. package/dist/lang/ast/query-properties/project-statement.d.ts +4 -3
  124. package/dist/lang/ast/query-properties/qop-desc.d.ts +5 -5
  125. package/dist/lang/ast/query-properties/sampling.d.ts +3 -2
  126. package/dist/lang/ast/query-utils.d.ts +2 -2
  127. package/dist/lang/ast/source-elements/composite-source.d.ts +3 -3
  128. package/dist/lang/ast/source-elements/named-source.d.ts +4 -4
  129. package/dist/lang/ast/source-elements/query-source.d.ts +4 -4
  130. package/dist/lang/ast/source-elements/refined-source.d.ts +4 -4
  131. package/dist/lang/ast/source-elements/source.d.ts +3 -3
  132. package/dist/lang/ast/source-elements/sql-source.d.ts +4 -4
  133. package/dist/lang/ast/source-elements/table-source.d.ts +2 -2
  134. package/dist/lang/ast/source-properties/field-list-edit.d.ts +1 -1
  135. package/dist/lang/ast/source-properties/join.d.ts +14 -11
  136. package/dist/lang/ast/source-properties/primary-key.d.ts +1 -1
  137. package/dist/lang/ast/source-properties/renames.d.ts +4 -4
  138. package/dist/lang/ast/source-properties/timezone-statement.d.ts +2 -2
  139. package/dist/lang/ast/source-properties/view-field-declaration.d.ts +7 -6
  140. package/dist/lang/ast/source-properties/views.d.ts +2 -2
  141. package/dist/lang/ast/source-query-elements/include-item.d.ts +4 -3
  142. package/dist/lang/ast/source-query-elements/source-query-element.d.ts +3 -3
  143. package/dist/lang/ast/source-query-elements/sq-arrow.d.ts +3 -3
  144. package/dist/lang/ast/source-query-elements/sq-extend.d.ts +2 -2
  145. package/dist/lang/ast/source-query-elements/sq-reference.d.ts +4 -4
  146. package/dist/lang/ast/source-query-elements/sq-refine.d.ts +1 -1
  147. package/dist/lang/ast/source-query-elements/sq-source.d.ts +1 -1
  148. package/dist/lang/ast/sql-elements/sql-string.d.ts +1 -1
  149. package/dist/lang/ast/statements/define-query.d.ts +6 -4
  150. package/dist/lang/ast/statements/define-source.d.ts +7 -5
  151. package/dist/lang/ast/statements/import-statement.d.ts +3 -2
  152. package/dist/lang/ast/struct-utils.d.ts +2 -2
  153. package/dist/lang/ast/time-utils.d.ts +2 -2
  154. package/dist/lang/ast/typedesc-utils.d.ts +1 -1
  155. package/dist/lang/ast/types/annotation-elements.d.ts +6 -5
  156. package/dist/lang/ast/types/binary_operators.d.ts +1 -1
  157. package/dist/lang/ast/types/definition-list.d.ts +4 -3
  158. package/dist/lang/ast/types/dialect-name-space.d.ts +3 -3
  159. package/dist/lang/ast/types/document-compile-result.d.ts +2 -2
  160. package/dist/lang/ast/types/expr-result.d.ts +1 -1
  161. package/dist/lang/ast/types/expr-value.d.ts +3 -3
  162. package/dist/lang/ast/types/expression-def.d.ts +4 -4
  163. package/dist/lang/ast/types/field-collection-member.d.ts +2 -2
  164. package/dist/lang/ast/types/field-prop-statement.d.ts +1 -1
  165. package/dist/lang/ast/types/field-space.d.ts +5 -5
  166. package/dist/lang/ast/types/global-name-space.d.ts +3 -3
  167. package/dist/lang/ast/types/granular-result.d.ts +3 -3
  168. package/dist/lang/ast/types/lookup-result.d.ts +3 -3
  169. package/dist/lang/ast/types/malloy-element.d.ts +10 -9
  170. package/dist/lang/ast/types/model-entry.d.ts +1 -1
  171. package/dist/lang/ast/types/name-space.d.ts +1 -1
  172. package/dist/lang/ast/types/noteable.d.ts +1 -1
  173. package/dist/lang/ast/types/op-desc.d.ts +2 -2
  174. package/dist/lang/ast/types/pipeline-comp.d.ts +1 -1
  175. package/dist/lang/ast/types/query-builder.d.ts +4 -4
  176. package/dist/lang/ast/types/query-comp.d.ts +1 -1
  177. package/dist/lang/ast/types/query-element.d.ts +3 -3
  178. package/dist/lang/ast/types/query-extend-property.d.ts +1 -1
  179. package/dist/lang/ast/types/query-item.d.ts +3 -3
  180. package/dist/lang/ast/types/query-property-interface.d.ts +1 -1
  181. package/dist/lang/ast/types/query-property.d.ts +2 -2
  182. package/dist/lang/ast/types/source-desc.d.ts +1 -1
  183. package/dist/lang/ast/types/source-property.d.ts +1 -1
  184. package/dist/lang/ast/types/space-entry.d.ts +3 -3
  185. package/dist/lang/ast/types/space-field.d.ts +2 -2
  186. package/dist/lang/ast/types/space-param.d.ts +2 -2
  187. package/dist/lang/ast/types/time-result.d.ts +2 -2
  188. package/dist/lang/ast/view-elements/qop-desc-view.d.ts +4 -4
  189. package/dist/lang/ast/view-elements/reference-view.d.ts +5 -5
  190. package/dist/lang/ast/view-elements/refine-utils.d.ts +2 -2
  191. package/dist/lang/ast/view-elements/view-arrow.d.ts +4 -4
  192. package/dist/lang/ast/view-elements/view-refine.d.ts +4 -4
  193. package/dist/lang/ast/view-elements/view.d.ts +4 -4
  194. package/dist/lang/field-utils.d.ts +1 -1
  195. package/dist/lang/malloy-parse-info.d.ts +1 -1
  196. package/dist/lang/malloy-to-ast.d.ts +9 -9
  197. package/dist/lang/malloy-to-stable-query.d.ts +7 -7
  198. package/dist/lang/parse-log.d.ts +2 -2
  199. package/dist/lang/parse-malloy.d.ts +9 -7
  200. package/dist/lang/parse-tree-walkers/document-completion-walker.d.ts +2 -2
  201. package/dist/lang/parse-tree-walkers/document-help-context-walker.d.ts +1 -1
  202. package/dist/lang/parse-tree-walkers/document-symbol-walker.d.ts +4 -4
  203. package/dist/lang/parse-tree-walkers/explore-query-walker.d.ts +3 -3
  204. package/dist/lang/parse-tree-walkers/find-external-references.d.ts +4 -4
  205. package/dist/lang/parse-tree-walkers/find-table-path-walker.d.ts +4 -4
  206. package/dist/lang/parse-tree-walkers/model-annotation-walker.d.ts +4 -4
  207. package/dist/lang/parse-utils.d.ts +2 -2
  208. package/dist/lang/reference-list.d.ts +1 -1
  209. package/dist/lang/run-malloy-parser.d.ts +2 -2
  210. package/dist/lang/syntax-errors/custom-error-messages.d.ts +1 -1
  211. package/dist/lang/syntax-errors/malloy-parser-error-listener.d.ts +4 -4
  212. package/dist/lang/test/expr-to-str.d.ts +1 -1
  213. package/dist/lang/test/parse-expects.d.ts +2 -2
  214. package/dist/lang/test/test-translator.d.ts +7 -7
  215. package/dist/lang/translate-response.d.ts +7 -7
  216. package/dist/lang/utils.d.ts +3 -3
  217. package/dist/lang/zone.d.ts +1 -1
  218. package/dist/malloy.d.ts +11 -10
  219. package/dist/model/composite_source_utils.d.ts +1 -1
  220. package/dist/model/filter_compilers.d.ts +2 -2
  221. package/dist/model/malloy_query.d.ts +6 -6
  222. package/dist/model/materialization/utils.d.ts +1 -1
  223. package/dist/model/sql_block.d.ts +2 -2
  224. package/dist/model/utils.d.ts +1 -1
  225. package/dist/run_sql_options.d.ts +1 -1
  226. package/dist/to_stable.d.ts +2 -2
  227. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
- import { ExprValue } from '../types/expr-value';
2
- import { FieldSpace } from '../types/field-space';
1
+ import type { ExprValue } from '../types/expr-value';
2
+ import type { FieldSpace } from '../types/field-space';
3
3
  import { ExpressionDef } from '../types/expression-def';
4
4
  export declare class ExprNow extends ExpressionDef {
5
5
  elementType: string;
@@ -1,5 +1,5 @@
1
- import { BinaryMalloyOperator, FieldSpace } from '..';
2
- import { ExprValue } from '../types/expr-value';
1
+ import type { BinaryMalloyOperator, FieldSpace } from '..';
2
+ import type { ExprValue } from '../types/expr-value';
3
3
  import { ATNodeType, ExpressionDef } from '../types/expression-def';
4
4
  export declare class ExprNULL extends ExpressionDef {
5
5
  elementType: string;
@@ -1,5 +1,5 @@
1
- import { ExprValue } from '../types/expr-value';
2
- import { FieldSpace } from '../types/field-space';
1
+ import type { ExprValue } from '../types/expr-value';
2
+ import type { FieldSpace } from '../types/field-space';
3
3
  import { ExpressionDef } from '../types/expression-def';
4
4
  export declare class ExprNumber extends ExpressionDef {
5
5
  readonly n: string;
@@ -1,7 +1,7 @@
1
- import { BinaryMalloyOperator } from '../types/binary_operators';
2
- import { ExprValue } from '../types/expr-value';
1
+ import type { BinaryMalloyOperator } from '../types/binary_operators';
2
+ import type { ExprValue } from '../types/expr-value';
3
3
  import { ATNodeType, ExpressionDef } from '../types/expression-def';
4
- import { FieldSpace } from '../types/field-space';
4
+ import type { FieldSpace } from '../types/field-space';
5
5
  export declare class ExprParens extends ExpressionDef {
6
6
  readonly expr: ExpressionDef;
7
7
  elementType: string;
@@ -1,7 +1,7 @@
1
- import { ExprValue } from '../types/expr-value';
1
+ import type { ExprValue } from '../types/expr-value';
2
2
  import { ExpressionDef } from '../types/expression-def';
3
- import { FieldPropStatement } from '../types/field-prop-statement';
4
- import { FieldSpace } from '../types/field-space';
3
+ import type { FieldPropStatement } from '../types/field-prop-statement';
4
+ import type { FieldSpace } from '../types/field-space';
5
5
  export declare class ExprProps extends ExpressionDef {
6
6
  readonly expr: ExpressionDef;
7
7
  readonly statements: FieldPropStatement[];
@@ -1,8 +1,8 @@
1
- import { ExprValue } from '../types/expr-value';
1
+ import type { ExprValue } from '../types/expr-value';
2
2
  import { ExpressionDef } from '../types/expression-def';
3
- import { FieldSpace } from '../types/field-space';
3
+ import type { FieldSpace } from '../types/field-space';
4
4
  import { MalloyElement } from '../types/malloy-element';
5
- import { ExprIdReference } from './expr-id-reference';
5
+ import type { ExprIdReference } from './expr-id-reference';
6
6
  export type ElementDetails = {
7
7
  path: ExprIdReference;
8
8
  } | {
@@ -1,4 +1,4 @@
1
- import { ExprValue } from '../types/expr-value';
1
+ import type { ExprValue } from '../types/expr-value';
2
2
  import { ExpressionDef } from '../types/expression-def';
3
3
  export declare class ExprRegEx extends ExpressionDef {
4
4
  readonly regex: string;
@@ -1,6 +1,6 @@
1
1
  import { ExpressionDef } from '../types/expression-def';
2
- import { FieldSpace } from '../types/field-space';
3
- import { ExprValue } from '../types/expr-value';
2
+ import type { FieldSpace } from '../types/field-space';
3
+ import type { ExprValue } from '../types/expr-value';
4
4
  export declare class ExprString extends ExpressionDef {
5
5
  elementType: string;
6
6
  value: string;
@@ -1,5 +1,5 @@
1
- import { FieldReference } from '../query-items/field-references';
2
- import { ExpressionDef } from '../types/expression-def';
1
+ import type { FieldReference } from '../query-items/field-references';
2
+ import type { ExpressionDef } from '../types/expression-def';
3
3
  import { ExprAsymmetric } from './expr-asymmetric';
4
4
  export declare class ExprSum extends ExprAsymmetric {
5
5
  constructor(expr: ExpressionDef | undefined, source?: FieldReference, explicitSource?: boolean);
@@ -1,7 +1,7 @@
1
- import { ExtractUnit } from '../../../model/malloy_types';
2
- import { ExprValue } from '../types/expr-value';
1
+ import type { ExtractUnit } from '../../../model/malloy_types';
2
+ import type { ExprValue } from '../types/expr-value';
3
3
  import { ExpressionDef } from '../types/expression-def';
4
- import { FieldSpace } from '../types/field-space';
4
+ import type { FieldSpace } from '../types/field-space';
5
5
  export declare class ExprTimeExtract extends ExpressionDef {
6
6
  readonly extractText: string;
7
7
  readonly args: ExpressionDef[];
@@ -1,6 +1,6 @@
1
- import { Expr, TemporalFieldType } from '../../../model/malloy_types';
2
- import { FieldSpace } from '../types/field-space';
3
- import { ExprValue } from '../types/expr-value';
1
+ import type { Expr, TemporalFieldType } from '../../../model/malloy_types';
2
+ import type { FieldSpace } from '../types/field-space';
3
+ import type { ExprValue } from '../types/expr-value';
4
4
  import { ExpressionDef } from '../types/expression-def';
5
5
  export declare class ExprTime extends ExpressionDef {
6
6
  elementType: string;
@@ -1,6 +1,6 @@
1
- import { ExprValue } from '../types/expr-value';
1
+ import type { ExprValue } from '../types/expr-value';
2
2
  import { ExpressionDef } from '../types/expression-def';
3
- import { FieldName, FieldSpace } from '../types/field-space';
3
+ import type { FieldName, FieldSpace } from '../types/field-space';
4
4
  export declare class ExprUngroup extends ExpressionDef {
5
5
  readonly control: 'all' | 'exclude';
6
6
  readonly expr: ExpressionDef;
@@ -1,8 +1,8 @@
1
- import { BinaryMalloyOperator } from '../types/binary_operators';
2
- import { ExprValue } from '../types/expr-value';
1
+ import type { BinaryMalloyOperator } from '../types/binary_operators';
2
+ import type { ExprValue } from '../types/expr-value';
3
3
  import { ExpressionDef } from '../types/expression-def';
4
- import { FieldSpace } from '../types/field-space';
5
- import { Timeframe } from './time-frame';
4
+ import type { FieldSpace } from '../types/field-space';
5
+ import type { Timeframe } from './time-frame';
6
6
  export declare class ForRange extends ExpressionDef {
7
7
  readonly from: ExpressionDef;
8
8
  readonly duration: ExpressionDef;
@@ -1,6 +1,6 @@
1
- import { FunctionOrderBy as ModelFunctionOrderBy } from '../../../model/malloy_types';
2
- import { ExpressionDef } from '../types/expression-def';
3
- import { FieldSpace } from '../types/field-space';
1
+ import type { FunctionOrderBy as ModelFunctionOrderBy } from '../../../model/malloy_types';
2
+ import type { ExpressionDef } from '../types/expression-def';
3
+ import type { FieldSpace } from '../types/field-space';
4
4
  import { ListOf, MalloyElement } from '../types/malloy-element';
5
5
  export declare class FunctionOrderBy extends MalloyElement {
6
6
  readonly field?: ExpressionDef | undefined;
@@ -1,7 +1,7 @@
1
- import { CompareMalloyOperator } from '../types/binary_operators';
2
- import { ExprValue } from '../types/expr-value';
1
+ import type { CompareMalloyOperator } from '../types/binary_operators';
2
+ import type { ExprValue } from '../types/expr-value';
3
3
  import { ATNodeType, ExpressionDef } from '../types/expression-def';
4
- import { FieldSpace } from '../types/field-space';
4
+ import type { FieldSpace } from '../types/field-space';
5
5
  export declare class PartialCompare extends ExpressionDef {
6
6
  readonly op: CompareMalloyOperator;
7
7
  readonly right: ExpressionDef;
@@ -1,4 +1,4 @@
1
- import { PartitionByFieldReference } from '../query-items/field-references';
1
+ import type { PartitionByFieldReference } from '../query-items/field-references';
2
2
  import { ListOf } from '../types/malloy-element';
3
3
  export declare class PartitionBy extends ListOf<PartitionByFieldReference> {
4
4
  readonly partitionFields: PartitionByFieldReference[];
@@ -1,6 +1,6 @@
1
- import { ExprValue } from '../types/expr-value';
1
+ import type { ExprValue } from '../types/expr-value';
2
2
  import { ExpressionDef } from '../types/expression-def';
3
- import { FieldSpace } from '../types/field-space';
3
+ import type { FieldSpace } from '../types/field-space';
4
4
  import { MalloyElement } from '../types/malloy-element';
5
5
  export declare class Pick extends ExpressionDef {
6
6
  readonly choices: PickWhen[];
@@ -1,7 +1,7 @@
1
- import { BinaryMalloyOperator } from '../types/binary_operators';
2
- import { ExprValue } from '../types/expr-value';
1
+ import type { BinaryMalloyOperator } from '../types/binary_operators';
2
+ import type { ExprValue } from '../types/expr-value';
3
3
  import { ExpressionDef } from '../types/expression-def';
4
- import { FieldSpace } from '../types/field-space';
4
+ import type { FieldSpace } from '../types/field-space';
5
5
  export declare class Range extends ExpressionDef {
6
6
  readonly first: ExpressionDef;
7
7
  readonly last: ExpressionDef;
@@ -1,4 +1,4 @@
1
- import { TimestampUnit } from '../../../model/malloy_types';
1
+ import type { TimestampUnit } from '../../../model/malloy_types';
2
2
  import { MalloyElement } from '../types/malloy-element';
3
3
  export declare class Timeframe extends MalloyElement {
4
4
  elementType: string;
@@ -1,9 +1,9 @@
1
- import { TemporalFieldType, TimestampUnit, TimeLiteralNode } from '../../../model/malloy_types';
2
- import { ExprValue } from '../types/expr-value';
3
- import { FieldSpace } from '../types/field-space';
1
+ import type { TemporalFieldType, TimestampUnit, TimeLiteralNode } from '../../../model/malloy_types';
2
+ import type { ExprValue } from '../types/expr-value';
3
+ import type { FieldSpace } from '../types/field-space';
4
4
  import { ExpressionDef } from '../types/expression-def';
5
- import { TimeResult } from '../types/time-result';
6
- import { BinaryMalloyOperator } from '../types/binary_operators';
5
+ import type { TimeResult } from '../types/time-result';
6
+ import type { BinaryMalloyOperator } from '../types/binary_operators';
7
7
  export declare class TimeFormatError extends Error {
8
8
  }
9
9
  interface TimeText {
@@ -1,6 +1,6 @@
1
- import { QueryFieldDef, TurtleDef } from '../../../model/malloy_types';
2
- import { ViewFieldDeclaration } from '../source-properties/view-field-declaration';
3
- import { FieldSpace } from '../types/field-space';
1
+ import type { QueryFieldDef, TurtleDef } from '../../../model/malloy_types';
2
+ import type { ViewFieldDeclaration } from '../source-properties/view-field-declaration';
3
+ import type { FieldSpace } from '../types/field-space';
4
4
  import { ViewField } from './view-field';
5
5
  export declare class ASTViewField extends ViewField {
6
6
  readonly view: ViewFieldDeclaration;
@@ -1,4 +1,4 @@
1
- import { TypeDesc, AtomicFieldDef } from '../../../model/malloy_types';
1
+ import type { TypeDesc, AtomicFieldDef } from '../../../model/malloy_types';
2
2
  import { SpaceField } from '../types/space-field';
3
3
  export declare class ColumnSpaceField<T extends AtomicFieldDef> extends SpaceField {
4
4
  sourceFieldDef: T;
@@ -1,11 +1,11 @@
1
1
  import * as model from '../../../model/malloy_types';
2
- import { SpaceEntry } from '../types/space-entry';
3
- import { HasParameter } from '../parameters/has-parameter';
4
- import { MalloyElement } from '../types/malloy-element';
2
+ import type { SpaceEntry } from '../types/space-entry';
3
+ import type { HasParameter } from '../parameters/has-parameter';
4
+ import type { MalloyElement } from '../types/malloy-element';
5
5
  import { StaticSpace } from './static-space';
6
6
  import { ParameterSpace } from './parameter-space';
7
- import { SourceDef } from '../../../model/malloy_types';
8
- import { SourceFieldSpace } from '../types/field-space';
7
+ import type { SourceDef } from '../../../model/malloy_types';
8
+ import type { SourceFieldSpace } from '../types/field-space';
9
9
  export declare abstract class DynamicSpace extends StaticSpace implements SourceFieldSpace {
10
10
  protected sourceDef: model.SourceDef | undefined;
11
11
  protected fromSource: model.SourceDef;
@@ -1,6 +1,6 @@
1
- import { IndexSegment, PipeSegment } from '../../../model/malloy_types';
1
+ import type { IndexSegment, PipeSegment } from '../../../model/malloy_types';
2
2
  import { WildcardFieldReference } from '../query-items/field-references';
3
- import { MalloyElement } from '../types/malloy-element';
3
+ import type { MalloyElement } from '../types/malloy-element';
4
4
  import { QueryOperationSpace } from './query-spaces';
5
5
  export declare class IndexFieldSpace extends QueryOperationSpace {
6
6
  readonly segmentType = "index";
@@ -1,6 +1,6 @@
1
- import { QueryFieldDef, TurtleDef } from '../../../model/malloy_types';
1
+ import type { QueryFieldDef, TurtleDef } from '../../../model/malloy_types';
2
2
  import { ViewField } from './view-field';
3
- import { FieldSpace } from '../types/field-space';
3
+ import type { FieldSpace } from '../types/field-space';
4
4
  export declare class IRViewField extends ViewField {
5
5
  protected turtleDef: TurtleDef;
6
6
  constructor(fs: FieldSpace, turtleDef: TurtleDef);
@@ -1,5 +1,5 @@
1
- import { Join } from '../source-properties/join';
2
- import { ParameterSpace } from './parameter-space';
1
+ import type { Join } from '../source-properties/join';
2
+ import type { ParameterSpace } from './parameter-space';
3
3
  import { StructSpaceField } from './static-space';
4
4
  export declare class JoinSpaceField extends StructSpaceField {
5
5
  readonly parameterSpace: ParameterSpace;
@@ -1,9 +1,9 @@
1
- import { Dialect } from '../../../dialect';
2
- import { StructDef } from '../../../model';
3
- import { HasParameter } from '../parameters/has-parameter';
4
- import { FieldName, FieldSpace, QueryFieldSpace } from '../types/field-space';
5
- import { LookupResult } from '../types/lookup-result';
6
- import { SpaceEntry } from '../types/space-entry';
1
+ import type { Dialect } from '../../../dialect';
2
+ import type { StructDef } from '../../../model';
3
+ import type { HasParameter } from '../parameters/has-parameter';
4
+ import type { FieldName, FieldSpace, QueryFieldSpace } from '../types/field-space';
5
+ import type { LookupResult } from '../types/lookup-result';
6
+ import type { SpaceEntry } from '../types/space-entry';
7
7
  export declare class ParameterSpace implements FieldSpace {
8
8
  readonly type = "fieldSpace";
9
9
  private readonly _map;
@@ -1,4 +1,4 @@
1
- import { TypeDesc } from '../../../model/malloy_types';
1
+ import type { TypeDesc } from '../../../model/malloy_types';
2
2
  import { QuerySpace } from './query-spaces';
3
3
  export declare class ProjectFieldSpace extends QuerySpace {
4
4
  readonly segmentType = "project";
@@ -5,11 +5,11 @@
5
5
  * expressions in the query is called the "input space". There is a
6
6
  * specialized QuerySpace for each type of query operation.
7
7
  */
8
- import { SourceDef } from '../../../model';
9
- import { AtomicFieldDeclaration } from '../query-items/field-declaration';
8
+ import type { SourceDef } from '../../../model';
9
+ import type { AtomicFieldDeclaration } from '../query-items/field-declaration';
10
10
  import { Join } from '../source-properties/join';
11
- import { QueryFieldSpace } from '../types/field-space';
12
- import { QueryOperationSpace } from './query-spaces';
11
+ import type { QueryFieldSpace } from '../types/field-space';
12
+ import type { QueryOperationSpace } from './query-spaces';
13
13
  import { RefinedSpace } from './refined-space';
14
14
  export declare class QueryInputSpace extends RefinedSpace implements QueryFieldSpace {
15
15
  private queryOutput;
@@ -1,14 +1,15 @@
1
1
  import * as model from '../../../model/malloy_types';
2
- import { FieldName, QueryFieldSpace, SourceFieldSpace } from '../types/field-space';
3
- import { MalloyElement } from '../types/malloy-element';
2
+ import type { QueryFieldSpace, SourceFieldSpace } from '../types/field-space';
3
+ import { FieldName } from '../types/field-space';
4
+ import type { MalloyElement } from '../types/malloy-element';
4
5
  import { SpaceField } from '../types/space-field';
5
6
  import { WildcardFieldReference } from '../query-items/field-references';
6
7
  import { RefinedSpace } from './refined-space';
7
- import { LookupResult } from '../types/lookup-result';
8
+ import type { LookupResult } from '../types/lookup-result';
8
9
  import { QueryInputSpace } from './query-input-space';
9
- import { SpaceEntry } from '../types/space-entry';
10
- import { LogMessageOptions, MessageCode, MessageParameterType } from '../../parse-log';
11
- import { NarrowedCompositeFieldResolution } from '../../../model/composite_source_utils';
10
+ import type { SpaceEntry } from '../types/space-entry';
11
+ import type { LogMessageOptions, MessageCode, MessageParameterType } from '../../parse-log';
12
+ import type { NarrowedCompositeFieldResolution } from '../../../model/composite_source_utils';
12
13
  /**
13
14
  * The output space of a query operation. It is not named "QueryOutputSpace"
14
15
  * because this is the namespace of the Query which is a layer of an output and
@@ -1,7 +1,7 @@
1
- import { QueryFieldDef, TypeDesc } from '../../../model/malloy_types';
2
- import { FieldReference } from '../query-items/field-references';
3
- import { FieldSpace } from '../types/field-space';
4
- import { SpaceEntry } from '../types/space-entry';
1
+ import type { QueryFieldDef, TypeDesc } from '../../../model/malloy_types';
2
+ import type { FieldReference } from '../query-items/field-references';
3
+ import type { FieldSpace } from '../types/field-space';
4
+ import type { SpaceEntry } from '../types/space-entry';
5
5
  import { SpaceField } from '../types/space-field';
6
6
  export declare class ReferenceField extends SpaceField {
7
7
  readonly fieldRef: FieldReference;
@@ -1,9 +1,9 @@
1
- import { AccessModifierLabel, Annotation, DocumentLocation, SourceDef } from '../../../model/malloy_types';
2
- import { FieldListEdit } from '../source-properties/field-list-edit';
1
+ import type { AccessModifierLabel, Annotation, DocumentLocation, SourceDef } from '../../../model/malloy_types';
2
+ import type { FieldListEdit } from '../source-properties/field-list-edit';
3
3
  import { DynamicSpace } from './dynamic-space';
4
- import { MalloyElement } from '../types/malloy-element';
5
- import { ParameterSpace } from './parameter-space';
6
- import { FieldReference } from '../query-items/field-references';
4
+ import type { MalloyElement } from '../types/malloy-element';
5
+ import type { ParameterSpace } from './parameter-space';
6
+ import type { FieldReference } from '../query-items/field-references';
7
7
  export declare class RefinedSpace extends DynamicSpace {
8
8
  /**
9
9
  * Factory for FieldSpace when there are accept/except edits
@@ -1,4 +1,4 @@
1
- import { DocumentLocation, FieldDef } from '../../../model/malloy_types';
1
+ import type { DocumentLocation, FieldDef } from '../../../model/malloy_types';
2
2
  import { SpaceField } from '../types/space-field';
3
3
  export declare class RenameSpaceField extends SpaceField {
4
4
  private readonly otherField;
@@ -1,8 +1,8 @@
1
- import { Dialect } from '../../../dialect/dialect';
2
- import { FieldDef, StructDef, SourceDef, JoinFieldDef } from '../../../model/malloy_types';
3
- import { SpaceEntry } from '../types/space-entry';
4
- import { LookupResult } from '../types/lookup-result';
5
- import { FieldName, FieldSpace, QueryFieldSpace, SourceFieldSpace } from '../types/field-space';
1
+ import type { Dialect } from '../../../dialect/dialect';
2
+ import type { FieldDef, StructDef, SourceDef, JoinFieldDef } from '../../../model/malloy_types';
3
+ import type { SpaceEntry } from '../types/space-entry';
4
+ import type { LookupResult } from '../types/lookup-result';
5
+ import type { FieldName, FieldSpace, QueryFieldSpace, SourceFieldSpace } from '../types/field-space';
6
6
  import { SpaceField } from '../types/space-field';
7
7
  import { StructSpaceFieldBase } from './struct-space-field-base';
8
8
  export declare class StaticSpace implements FieldSpace {
@@ -1,6 +1,6 @@
1
- import { JoinFieldDef, TypeDesc } from '../../../model/malloy_types';
2
- import { FieldSpace } from '../types/field-space';
3
- import { JoinPathElement } from '../types/lookup-result';
1
+ import type { JoinFieldDef, TypeDesc } from '../../../model/malloy_types';
2
+ import type { FieldSpace } from '../types/field-space';
3
+ import type { JoinPathElement } from '../types/lookup-result';
4
4
  import { SpaceField } from '../types/space-field';
5
5
  export declare abstract class StructSpaceFieldBase extends SpaceField {
6
6
  protected structDef: JoinFieldDef;
@@ -1,5 +1,5 @@
1
- import { QueryFieldDef, TurtleDef } from '../../../model/malloy_types';
2
- import { FieldSpace } from '../types/field-space';
1
+ import type { QueryFieldDef, TurtleDef } from '../../../model/malloy_types';
2
+ import type { FieldSpace } from '../types/field-space';
3
3
  import { SpaceField } from '../types/space-field';
4
4
  export declare abstract class ViewField extends SpaceField {
5
5
  protected inSpace: FieldSpace;
@@ -1,5 +1,5 @@
1
- import { ParameterFieldReference } from '../query-items/field-references';
2
- import { ExpressionDef } from '../types/expression-def';
1
+ import type { ParameterFieldReference } from '../query-items/field-references';
2
+ import type { ExpressionDef } from '../types/expression-def';
3
3
  import { MalloyElement } from '../types/malloy-element';
4
4
  interface ArgInit {
5
5
  id?: ParameterFieldReference | undefined;
@@ -1,5 +1,5 @@
1
- import { Parameter, CastType } from '../../../model/malloy_types';
2
- import { ConstantExpression } from '../expressions/constant-expression';
1
+ import type { Parameter, CastType } from '../../../model/malloy_types';
2
+ import type { ConstantExpression } from '../expressions/constant-expression';
3
3
  import { MalloyElement } from '../types/malloy-element';
4
4
  interface HasInit {
5
5
  name: string;
@@ -1,12 +1,12 @@
1
- import { CompositeFieldUsage, FilterCondition, PipeSegment, Sampling } from '../../../model/malloy_types';
2
- import { FieldName, SourceFieldSpace } from '../types/field-space';
1
+ import type { CompositeFieldUsage, FilterCondition, PipeSegment, Sampling } from '../../../model/malloy_types';
2
+ import type { FieldName, SourceFieldSpace } from '../types/field-space';
3
3
  import { Limit } from '../query-properties/limit';
4
4
  import { IndexFieldSpace } from '../field-space/index-field-space';
5
- import { QueryProperty } from '../types/query-property';
6
- import { QueryBuilder } from '../types/query-builder';
7
- import { QueryInputSpace } from '../field-space/query-input-space';
8
- import { QueryOperationSpace } from '../field-space/query-spaces';
9
- import { MalloyElement } from '../types/malloy-element';
5
+ import type { QueryProperty } from '../types/query-property';
6
+ import type { QueryBuilder } from '../types/query-builder';
7
+ import type { QueryInputSpace } from '../field-space/query-input-space';
8
+ import type { QueryOperationSpace } from '../field-space/query-spaces';
9
+ import type { MalloyElement } from '../types/malloy-element';
10
10
  export declare class IndexBuilder implements QueryBuilder {
11
11
  filters: FilterCondition[];
12
12
  limit?: Limit;
@@ -1,4 +1,4 @@
1
- import { PipeSegment } from '../../../model';
1
+ import type { PipeSegment } from '../../../model';
2
2
  import { ReduceBuilder } from './reduce-builder';
3
3
  export declare class PartialBuilder extends ReduceBuilder {
4
4
  finalize(fromSeg: PipeSegment | undefined): PipeSegment;
@@ -1,28 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PartialBuilder = void 0;
4
- /*
5
- * Copyright 2023 Google LLC
6
- *
7
- * Permission is hereby granted, free of charge, to any person obtaining
8
- * a copy of this software and associated documentation files
9
- * (the "Software"), to deal in the Software without restriction,
10
- * including without limitation the rights to use, copy, modify, merge,
11
- * publish, distribute, sublicense, and/or sell copies of the Software,
12
- * and to permit persons to whom the Software is furnished to do so,
13
- * subject to the following conditions:
14
- *
15
- * The above copyright notice and this permission notice shall be
16
- * included in all copies or substantial portions of the Software.
17
- *
18
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24
- * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
- */
26
4
  const model_1 = require("../../../model");
27
5
  const reduce_builder_1 = require("./reduce-builder");
28
6
  class PartialBuilder extends reduce_builder_1.ReduceBuilder {
@@ -1,12 +1,12 @@
1
- import { PipeSegment } from '../../../model/malloy_types';
2
- import { SourceFieldSpace } from '../types/field-space';
1
+ import type { PipeSegment } from '../../../model/malloy_types';
2
+ import type { SourceFieldSpace } from '../types/field-space';
3
3
  import { ProjectFieldSpace } from '../field-space/project-field-space';
4
- import { QueryProperty } from '../types/query-property';
4
+ import type { QueryProperty } from '../types/query-property';
5
5
  import { QuerySegmentBuilder } from './reduce-builder';
6
- import { QueryOperationSpace } from '../field-space/query-spaces';
7
- import { MalloyElement } from '../types/malloy-element';
8
- import { QueryBuilder } from '../types/query-builder';
9
- import { QueryInputSpace } from '../field-space/query-input-space';
6
+ import type { QueryOperationSpace } from '../field-space/query-spaces';
7
+ import type { MalloyElement } from '../types/malloy-element';
8
+ import type { QueryBuilder } from '../types/query-builder';
9
+ import type { QueryInputSpace } from '../field-space/query-input-space';
10
10
  export declare class ProjectBuilder extends QuerySegmentBuilder implements QueryBuilder {
11
11
  resultFS: ProjectFieldSpace;
12
12
  inputFS: QueryInputSpace;
@@ -1,11 +1,12 @@
1
- import { CompositeFieldUsage, FilterCondition, PipeSegment, QuerySegment } from '../../../model/malloy_types';
2
- import { SourceFieldSpace } from '../types/field-space';
1
+ import type { CompositeFieldUsage, FilterCondition, PipeSegment, QuerySegment } from '../../../model/malloy_types';
2
+ import type { SourceFieldSpace } from '../types/field-space';
3
3
  import { Ordering } from '../query-properties/ordering';
4
- import { QueryProperty } from '../types/query-property';
5
- import { QueryBuilder } from '../types/query-builder';
6
- import { QueryOperationSpace, ReduceFieldSpace } from '../field-space/query-spaces';
7
- import { QueryInputSpace } from '../field-space/query-input-space';
8
- import { MalloyElement } from '../types/malloy-element';
4
+ import type { QueryProperty } from '../types/query-property';
5
+ import type { QueryBuilder } from '../types/query-builder';
6
+ import type { QueryOperationSpace } from '../field-space/query-spaces';
7
+ import { ReduceFieldSpace } from '../field-space/query-spaces';
8
+ import type { QueryInputSpace } from '../field-space/query-input-space';
9
+ import type { MalloyElement } from '../types/malloy-element';
9
10
  export declare abstract class QuerySegmentBuilder implements QueryBuilder {
10
11
  order?: Ordering;
11
12
  limit?: number;
@@ -1,7 +1,9 @@
1
- import { Annotation } from '../../../model';
2
- import { DocStatement, Document, MalloyElement } from '../types/malloy-element';
3
- import { Noteable, extendNoteMethod } from '../types/noteable';
4
- import { SourceQueryElement } from '../source-query-elements/source-query-element';
1
+ import type { Annotation } from '../../../model';
2
+ import type { DocStatement, Document } from '../types/malloy-element';
3
+ import { MalloyElement } from '../types/malloy-element';
4
+ import type { Noteable } from '../types/noteable';
5
+ import { extendNoteMethod } from '../types/noteable';
6
+ import type { SourceQueryElement } from '../source-query-elements/source-query-element';
5
7
  export declare class AnonymousQuery extends MalloyElement implements DocStatement, Noteable {
6
8
  readonly queryExpr: SourceQueryElement;
7
9
  elementType: string;
@@ -1,8 +1,8 @@
1
1
  import { Source } from '../source-elements/source';
2
- import { QueryComp } from '../types/query-comp';
3
- import { QueryElement } from '../types/query-element';
2
+ import type { QueryComp } from '../types/query-comp';
3
+ import type { QueryElement } from '../types/query-element';
4
4
  import { QueryBase } from './query-base';
5
- import { View } from '../view-elements/view';
5
+ import type { View } from '../view-elements/view';
6
6
  /**
7
7
  * A query operation that adds segments to a LHS source or query.
8
8
  *
@@ -1,6 +1,6 @@
1
- import { Query, SourceDef } from '../../../model/malloy_types';
1
+ import type { Query, SourceDef } from '../../../model/malloy_types';
2
2
  import { MalloyElement } from '../types/malloy-element';
3
- import { QueryComp } from '../types/query-comp';
3
+ import type { QueryComp } from '../types/query-comp';
4
4
  export declare abstract class QueryBase extends MalloyElement {
5
5
  abstract queryComp(isRefOk: boolean): QueryComp;
6
6
  protected resolveCompositeSource(inputSource: SourceDef, query: Query): SourceDef | undefined;
@@ -1,6 +1,6 @@
1
- import { Argument, InvokedStructRef, SourceDef, StructRef } from '../../../model/malloy_types';
1
+ import type { Argument, InvokedStructRef, SourceDef, StructRef } from '../../../model/malloy_types';
2
2
  import { Source } from '../source-elements/source';
3
- import { ParameterSpace } from '../field-space/parameter-space';
3
+ import type { ParameterSpace } from '../field-space/parameter-space';
4
4
  export declare class QueryHeadStruct extends Source {
5
5
  readonly fromRef: StructRef;
6
6
  readonly sourceArguments: Record<string, Argument> | undefined;