@akohn/dashql 0.0.0-stage → 0.0.19-dev.247

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 (817) hide show
  1. package/LICENSE +373 -0
  2. package/NOTICE +66 -0
  3. package/README.md +155 -2
  4. package/dist/_virtual/_rolldown/runtime.js +12 -0
  5. package/dist/core/api.d.ts +321 -0
  6. package/dist/core/api.js +881 -0
  7. package/dist/core/batch.d.ts +31 -0
  8. package/dist/core/batch.js +92 -0
  9. package/dist/core/batch_worker.d.ts +1 -0
  10. package/dist/core/batch_worker.js +43 -0
  11. package/dist/core/batch_worker_client.d.ts +20 -0
  12. package/dist/core/batch_worker_client.js +85 -0
  13. package/dist/core/batch_worker_protocol.d.ts +13 -0
  14. package/dist/core/batch_worker_protocol.js +0 -0
  15. package/dist/core/browser_worker.d.ts +3 -0
  16. package/dist/core/browser_worker.js +1 -0
  17. package/dist/core/buffers.d.ts +15 -0
  18. package/dist/core/buffers.js +35 -0
  19. package/dist/core/comment_tags.d.ts +22 -0
  20. package/dist/core/comment_tags.js +48 -0
  21. package/dist/core/connection.d.ts +3 -0
  22. package/dist/core/connection.js +1 -0
  23. package/dist/core/dataflow.d.ts +79 -0
  24. package/dist/core/dataflow.js +124 -0
  25. package/dist/core/flatbuffer_view.d.ts +14 -0
  26. package/dist/core/flatbuffer_view.js +43 -0
  27. package/dist/core/format.d.ts +4 -0
  28. package/dist/core/format.js +23 -0
  29. package/dist/core/index.d.ts +14 -0
  30. package/dist/core/index.js +15 -0
  31. package/dist/core/lookup.d.ts +10 -0
  32. package/dist/core/lookup.js +129 -0
  33. package/dist/core/query_history.d.ts +13 -0
  34. package/dist/core/query_history.js +20 -0
  35. package/dist/core/runtime.d.ts +2 -0
  36. package/dist/core/runtime.js +1 -0
  37. package/dist/core/tokens.d.ts +9 -0
  38. package/dist/core/tokens.js +78 -0
  39. package/dist/core/variant.d.ts +4 -0
  40. package/dist/core/variant.js +0 -0
  41. package/dist/core/workbook.d.ts +6 -0
  42. package/dist/core/workbook.js +9 -0
  43. package/dist/gen/flatbuffers/dashql/buffers/algebra/binary-expression-function.d.ts +9 -0
  44. package/dist/gen/flatbuffers/dashql/buffers/algebra/binary-expression-function.js +12 -0
  45. package/dist/gen/flatbuffers/dashql/buffers/algebra/binary-expression.d.ts +40 -0
  46. package/dist/gen/flatbuffers/dashql/buffers/algebra/binary-expression.js +105 -0
  47. package/dist/gen/flatbuffers/dashql/buffers/algebra/column-ref-expression.d.ts +29 -0
  48. package/dist/gen/flatbuffers/dashql/buffers/algebra/column-ref-expression.js +84 -0
  49. package/dist/gen/flatbuffers/dashql/buffers/algebra/comparison-function.d.ts +9 -0
  50. package/dist/gen/flatbuffers/dashql/buffers/algebra/comparison-function.js +12 -0
  51. package/dist/gen/flatbuffers/dashql/buffers/algebra/comparison.d.ts +61 -0
  52. package/dist/gen/flatbuffers/dashql/buffers/algebra/comparison.js +165 -0
  53. package/dist/gen/flatbuffers/dashql/buffers/algebra/const-function-cast.d.ts +18 -0
  54. package/dist/gen/flatbuffers/dashql/buffers/algebra/const-function-cast.js +42 -0
  55. package/dist/gen/flatbuffers/dashql/buffers/algebra/const-interval-cast.d.ts +40 -0
  56. package/dist/gen/flatbuffers/dashql/buffers/algebra/const-interval-cast.js +105 -0
  57. package/dist/gen/flatbuffers/dashql/buffers/algebra/const-type-cast.d.ts +18 -0
  58. package/dist/gen/flatbuffers/dashql/buffers/algebra/const-type-cast.js +42 -0
  59. package/dist/gen/flatbuffers/dashql/buffers/algebra/expression-sub-type.d.ts +25 -0
  60. package/dist/gen/flatbuffers/dashql/buffers/algebra/expression-sub-type.js +58 -0
  61. package/dist/gen/flatbuffers/dashql/buffers/algebra/expression.d.ts +56 -0
  62. package/dist/gen/flatbuffers/dashql/buffers/algebra/expression.js +142 -0
  63. package/dist/gen/flatbuffers/dashql/buffers/algebra/function-call-expression.d.ts +46 -0
  64. package/dist/gen/flatbuffers/dashql/buffers/algebra/function-call-expression.js +111 -0
  65. package/dist/gen/flatbuffers/dashql/buffers/algebra/function-call-modifier.d.ts +9 -0
  66. package/dist/gen/flatbuffers/dashql/buffers/algebra/function-call-modifier.js +12 -0
  67. package/dist/gen/flatbuffers/dashql/buffers/algebra/literal-type.d.ts +7 -0
  68. package/dist/gen/flatbuffers/dashql/buffers/algebra/literal-type.js +10 -0
  69. package/dist/gen/flatbuffers/dashql/buffers/algebra/literal.d.ts +33 -0
  70. package/dist/gen/flatbuffers/dashql/buffers/algebra/literal.js +77 -0
  71. package/dist/gen/flatbuffers/dashql/buffers/algebra/nary-expression-function.d.ts +4 -0
  72. package/dist/gen/flatbuffers/dashql/buffers/algebra/nary-expression-function.js +7 -0
  73. package/dist/gen/flatbuffers/dashql/buffers/algebra/nary-expression.d.ts +47 -0
  74. package/dist/gen/flatbuffers/dashql/buffers/algebra/nary-expression.js +116 -0
  75. package/dist/gen/flatbuffers/dashql/buffers/algebra/resolved-column.d.ts +41 -0
  76. package/dist/gen/flatbuffers/dashql/buffers/algebra/resolved-column.js +132 -0
  77. package/dist/gen/flatbuffers/dashql/buffers/algebra/unary-expression.d.ts +33 -0
  78. package/dist/gen/flatbuffers/dashql/buffers/algebra/unary-expression.js +85 -0
  79. package/dist/gen/flatbuffers/dashql/buffers/algebra/unary-function.d.ts +4 -0
  80. package/dist/gen/flatbuffers/dashql/buffers/algebra/unary-function.js +7 -0
  81. package/dist/gen/flatbuffers/dashql/buffers/algebra.d.ts +19 -0
  82. package/dist/gen/flatbuffers/dashql/buffers/algebra.js +57 -0
  83. package/dist/gen/flatbuffers/dashql/buffers/analyzer/analyzed-script.d.ts +211 -0
  84. package/dist/gen/flatbuffers/dashql/buffers/analyzer/analyzed-script.js +563 -0
  85. package/dist/gen/flatbuffers/dashql/buffers/analyzer/analyzer-error-severity.d.ts +8 -0
  86. package/dist/gen/flatbuffers/dashql/buffers/analyzer/analyzer-error-severity.js +11 -0
  87. package/dist/gen/flatbuffers/dashql/buffers/analyzer/analyzer-error-type.d.ts +15 -0
  88. package/dist/gen/flatbuffers/dashql/buffers/analyzer/analyzer-error-type.js +18 -0
  89. package/dist/gen/flatbuffers/dashql/buffers/analyzer/analyzer-error.d.ts +61 -0
  90. package/dist/gen/flatbuffers/dashql/buffers/analyzer/analyzer-error.js +145 -0
  91. package/dist/gen/flatbuffers/dashql/buffers/analyzer/analyzer-warning.d.ts +18 -0
  92. package/dist/gen/flatbuffers/dashql/buffers/analyzer/analyzer-warning.js +42 -0
  93. package/dist/gen/flatbuffers/dashql/buffers/analyzer/client-function-call.d.ts +50 -0
  94. package/dist/gen/flatbuffers/dashql/buffers/analyzer/client-function-call.js +152 -0
  95. package/dist/gen/flatbuffers/dashql/buffers/analyzer/client-function-effect.d.ts +7 -0
  96. package/dist/gen/flatbuffers/dashql/buffers/analyzer/client-function-effect.js +10 -0
  97. package/dist/gen/flatbuffers/dashql/buffers/analyzer/constant-expression.d.ts +30 -0
  98. package/dist/gen/flatbuffers/dashql/buffers/analyzer/constant-expression.js +79 -0
  99. package/dist/gen/flatbuffers/dashql/buffers/analyzer/database-declaration.d.ts +26 -0
  100. package/dist/gen/flatbuffers/dashql/buffers/analyzer/database-declaration.js +73 -0
  101. package/dist/gen/flatbuffers/dashql/buffers/analyzer/function-declaration.d.ts +48 -0
  102. package/dist/gen/flatbuffers/dashql/buffers/analyzer/function-declaration.js +154 -0
  103. package/dist/gen/flatbuffers/dashql/buffers/analyzer/function-param.d.ts +30 -0
  104. package/dist/gen/flatbuffers/dashql/buffers/analyzer/function-param.js +85 -0
  105. package/dist/gen/flatbuffers/dashql/buffers/analyzer/function-reference.d.ts +33 -0
  106. package/dist/gen/flatbuffers/dashql/buffers/analyzer/function-reference.js +105 -0
  107. package/dist/gen/flatbuffers/dashql/buffers/analyzer/indexed-column-reference.d.ts +45 -0
  108. package/dist/gen/flatbuffers/dashql/buffers/analyzer/indexed-column-reference.js +103 -0
  109. package/dist/gen/flatbuffers/dashql/buffers/analyzer/indexed-table-reference.d.ts +39 -0
  110. package/dist/gen/flatbuffers/dashql/buffers/analyzer/indexed-table-reference.js +90 -0
  111. package/dist/gen/flatbuffers/dashql/buffers/analyzer/inference-confidence.d.ts +17 -0
  112. package/dist/gen/flatbuffers/dashql/buffers/analyzer/inference-confidence.js +20 -0
  113. package/dist/gen/flatbuffers/dashql/buffers/analyzer/inferred-column.d.ts +47 -0
  114. package/dist/gen/flatbuffers/dashql/buffers/analyzer/inferred-column.js +109 -0
  115. package/dist/gen/flatbuffers/dashql/buffers/analyzer/inferred-table-schema.d.ts +47 -0
  116. package/dist/gen/flatbuffers/dashql/buffers/analyzer/inferred-table-schema.js +113 -0
  117. package/dist/gen/flatbuffers/dashql/buffers/analyzer/insert-statement.d.ts +70 -0
  118. package/dist/gen/flatbuffers/dashql/buffers/analyzer/insert-statement.js +192 -0
  119. package/dist/gen/flatbuffers/dashql/buffers/analyzer/insert-target-column.d.ts +38 -0
  120. package/dist/gen/flatbuffers/dashql/buffers/analyzer/insert-target-column.js +89 -0
  121. package/dist/gen/flatbuffers/dashql/buffers/analyzer/name-scope.d.ts +81 -0
  122. package/dist/gen/flatbuffers/dashql/buffers/analyzer/name-scope.js +197 -0
  123. package/dist/gen/flatbuffers/dashql/buffers/analyzer/name-tag.d.ts +13 -0
  124. package/dist/gen/flatbuffers/dashql/buffers/analyzer/name-tag.js +16 -0
  125. package/dist/gen/flatbuffers/dashql/buffers/analyzer/parameter-kind.d.ts +13 -0
  126. package/dist/gen/flatbuffers/dashql/buffers/analyzer/parameter-kind.js +16 -0
  127. package/dist/gen/flatbuffers/dashql/buffers/analyzer/parameter.d.ts +54 -0
  128. package/dist/gen/flatbuffers/dashql/buffers/analyzer/parameter.js +139 -0
  129. package/dist/gen/flatbuffers/dashql/buffers/analyzer/qualified-column-name.d.ts +30 -0
  130. package/dist/gen/flatbuffers/dashql/buffers/analyzer/qualified-column-name.js +85 -0
  131. package/dist/gen/flatbuffers/dashql/buffers/analyzer/qualified-function-name.d.ts +34 -0
  132. package/dist/gen/flatbuffers/dashql/buffers/analyzer/qualified-function-name.js +97 -0
  133. package/dist/gen/flatbuffers/dashql/buffers/analyzer/qualified-table-name.d.ts +34 -0
  134. package/dist/gen/flatbuffers/dashql/buffers/analyzer/qualified-table-name.js +97 -0
  135. package/dist/gen/flatbuffers/dashql/buffers/analyzer/resolved-table.d.ts +43 -0
  136. package/dist/gen/flatbuffers/dashql/buffers/analyzer/resolved-table.js +128 -0
  137. package/dist/gen/flatbuffers/dashql/buffers/analyzer/schema-declaration.d.ts +30 -0
  138. package/dist/gen/flatbuffers/dashql/buffers/analyzer/schema-declaration.js +90 -0
  139. package/dist/gen/flatbuffers/dashql/buffers/analyzer/semantic-node-marker-type.d.ts +13 -0
  140. package/dist/gen/flatbuffers/dashql/buffers/analyzer/semantic-node-marker-type.js +16 -0
  141. package/dist/gen/flatbuffers/dashql/buffers/analyzer/sql-type-kind.d.ts +22 -0
  142. package/dist/gen/flatbuffers/dashql/buffers/analyzer/sql-type-kind.js +25 -0
  143. package/dist/gen/flatbuffers/dashql/buffers/analyzer/sql-type.d.ts +102 -0
  144. package/dist/gen/flatbuffers/dashql/buffers/analyzer/sql-type.js +256 -0
  145. package/dist/gen/flatbuffers/dashql/buffers/analyzer/table-column.d.ts +33 -0
  146. package/dist/gen/flatbuffers/dashql/buffers/analyzer/table-column.js +94 -0
  147. package/dist/gen/flatbuffers/dashql/buffers/analyzer/table-reference-role.d.ts +4 -0
  148. package/dist/gen/flatbuffers/dashql/buffers/analyzer/table-reference-role.js +7 -0
  149. package/dist/gen/flatbuffers/dashql/buffers/analyzer/table-reference.d.ts +56 -0
  150. package/dist/gen/flatbuffers/dashql/buffers/analyzer/table-reference.js +166 -0
  151. package/dist/gen/flatbuffers/dashql/buffers/analyzer/table.d.ts +56 -0
  152. package/dist/gen/flatbuffers/dashql/buffers/analyzer/table.js +193 -0
  153. package/dist/gen/flatbuffers/dashql/buffers/analyzer/visualization-spec.d.ts +71 -0
  154. package/dist/gen/flatbuffers/dashql/buffers/analyzer/visualization-spec.js +157 -0
  155. package/dist/gen/flatbuffers/dashql/buffers/analyzer.d.ts +36 -0
  156. package/dist/gen/flatbuffers/dashql/buffers/analyzer.js +104 -0
  157. package/dist/gen/flatbuffers/dashql/buffers/batch/batch-diagnostic.d.ts +40 -0
  158. package/dist/gen/flatbuffers/dashql/buffers/batch/batch-diagnostic.js +126 -0
  159. package/dist/gen/flatbuffers/dashql/buffers/batch/batch-request.d.ts +32 -0
  160. package/dist/gen/flatbuffers/dashql/buffers/batch/batch-request.js +94 -0
  161. package/dist/gen/flatbuffers/dashql/buffers/batch/batch-result.d.ts +25 -0
  162. package/dist/gen/flatbuffers/dashql/buffers/batch/batch-result.js +69 -0
  163. package/dist/gen/flatbuffers/dashql/buffers/batch/batch-script-input.d.ts +34 -0
  164. package/dist/gen/flatbuffers/dashql/buffers/batch/batch-script-input.js +89 -0
  165. package/dist/gen/flatbuffers/dashql/buffers/batch/batch-script-result.d.ts +67 -0
  166. package/dist/gen/flatbuffers/dashql/buffers/batch/batch-script-result.js +211 -0
  167. package/dist/gen/flatbuffers/dashql/buffers/batch/descriptor-buffer.d.ts +25 -0
  168. package/dist/gen/flatbuffers/dashql/buffers/batch/descriptor-buffer.js +72 -0
  169. package/dist/gen/flatbuffers/dashql/buffers/batch/diagnostic-severity.d.ts +4 -0
  170. package/dist/gen/flatbuffers/dashql/buffers/batch/diagnostic-severity.js +7 -0
  171. package/dist/gen/flatbuffers/dashql/buffers/batch/processing-stage.d.ts +5 -0
  172. package/dist/gen/flatbuffers/dashql/buffers/batch/processing-stage.js +8 -0
  173. package/dist/gen/flatbuffers/dashql/buffers/batch.d.ts +8 -0
  174. package/dist/gen/flatbuffers/dashql/buffers/batch.js +27 -0
  175. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-content-statistics.d.ts +39 -0
  176. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-content-statistics.js +89 -0
  177. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-descriptor-pool.d.ts +25 -0
  178. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-descriptor-pool.js +64 -0
  179. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-descriptor.d.ts +35 -0
  180. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-descriptor.js +97 -0
  181. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-entries.d.ts +28 -0
  182. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-entries.js +72 -0
  183. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-entry-statistics.d.ts +31 -0
  184. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-entry-statistics.js +71 -0
  185. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-entry-type.d.ts +8 -0
  186. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-entry-type.js +11 -0
  187. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-entry.d.ts +43 -0
  188. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-entry.js +126 -0
  189. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-layer.d.ts +16 -0
  190. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-layer.js +19 -0
  191. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-memory-statistics.d.ts +45 -0
  192. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-memory-statistics.js +103 -0
  193. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-statistics.d.ts +34 -0
  194. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-statistics.js +84 -0
  195. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-table-update.d.ts +52 -0
  196. package/dist/gen/flatbuffers/dashql/buffers/catalog/catalog-table-update.js +128 -0
  197. package/dist/gen/flatbuffers/dashql/buffers/catalog/flat-catalog-entry.d.ts +59 -0
  198. package/dist/gen/flatbuffers/dashql/buffers/catalog/flat-catalog-entry.js +126 -0
  199. package/dist/gen/flatbuffers/dashql/buffers/catalog/flat-catalog.d.ts +101 -0
  200. package/dist/gen/flatbuffers/dashql/buffers/catalog/flat-catalog.js +252 -0
  201. package/dist/gen/flatbuffers/dashql/buffers/catalog/indexed-flat-database-entry.d.ts +27 -0
  202. package/dist/gen/flatbuffers/dashql/buffers/catalog/indexed-flat-database-entry.js +61 -0
  203. package/dist/gen/flatbuffers/dashql/buffers/catalog/indexed-flat-schema-entry.d.ts +27 -0
  204. package/dist/gen/flatbuffers/dashql/buffers/catalog/indexed-flat-schema-entry.js +61 -0
  205. package/dist/gen/flatbuffers/dashql/buffers/catalog/indexed-flat-table-entry.d.ts +27 -0
  206. package/dist/gen/flatbuffers/dashql/buffers/catalog/indexed-flat-table-entry.js +62 -0
  207. package/dist/gen/flatbuffers/dashql/buffers/catalog/schema-descriptor.d.ts +36 -0
  208. package/dist/gen/flatbuffers/dashql/buffers/catalog/schema-descriptor.js +96 -0
  209. package/dist/gen/flatbuffers/dashql/buffers/catalog/schema-descriptors.d.ts +31 -0
  210. package/dist/gen/flatbuffers/dashql/buffers/catalog/schema-descriptors.js +75 -0
  211. package/dist/gen/flatbuffers/dashql/buffers/catalog/schema-table-column.d.ts +29 -0
  212. package/dist/gen/flatbuffers/dashql/buffers/catalog/schema-table-column.js +76 -0
  213. package/dist/gen/flatbuffers/dashql/buffers/catalog/schema-table.d.ts +36 -0
  214. package/dist/gen/flatbuffers/dashql/buffers/catalog/schema-table.js +101 -0
  215. package/dist/gen/flatbuffers/dashql/buffers/catalog/touched-relations.d.ts +31 -0
  216. package/dist/gen/flatbuffers/dashql/buffers/catalog/touched-relations.js +75 -0
  217. package/dist/gen/flatbuffers/dashql/buffers/catalog.d.ts +21 -0
  218. package/dist/gen/flatbuffers/dashql/buffers/catalog.js +66 -0
  219. package/dist/gen/flatbuffers/dashql/buffers/completion/candidate-tag.d.ts +33 -0
  220. package/dist/gen/flatbuffers/dashql/buffers/completion/candidate-tag.js +36 -0
  221. package/dist/gen/flatbuffers/dashql/buffers/completion/completion-candidate-field.d.ts +42 -0
  222. package/dist/gen/flatbuffers/dashql/buffers/completion/completion-candidate-field.js +83 -0
  223. package/dist/gen/flatbuffers/dashql/buffers/completion/completion-candidate-info.d.ts +78 -0
  224. package/dist/gen/flatbuffers/dashql/buffers/completion/completion-candidate-info.js +177 -0
  225. package/dist/gen/flatbuffers/dashql/buffers/completion/completion-candidate-object-type.d.ts +8 -0
  226. package/dist/gen/flatbuffers/dashql/buffers/completion/completion-candidate-object-type.js +11 -0
  227. package/dist/gen/flatbuffers/dashql/buffers/completion/completion-candidate-object.d.ts +116 -0
  228. package/dist/gen/flatbuffers/dashql/buffers/completion/completion-candidate-object.js +305 -0
  229. package/dist/gen/flatbuffers/dashql/buffers/completion/completion-candidate.d.ts +97 -0
  230. package/dist/gen/flatbuffers/dashql/buffers/completion/completion-candidate.js +230 -0
  231. package/dist/gen/flatbuffers/dashql/buffers/completion/completion-strategy.d.ts +6 -0
  232. package/dist/gen/flatbuffers/dashql/buffers/completion/completion-strategy.js +9 -0
  233. package/dist/gen/flatbuffers/dashql/buffers/completion/completion-table-parameter.d.ts +17 -0
  234. package/dist/gen/flatbuffers/dashql/buffers/completion/completion-table-parameter.js +20 -0
  235. package/dist/gen/flatbuffers/dashql/buffers/completion/completion.d.ts +59 -0
  236. package/dist/gen/flatbuffers/dashql/buffers/completion/completion.js +155 -0
  237. package/dist/gen/flatbuffers/dashql/buffers/completion.d.ts +9 -0
  238. package/dist/gen/flatbuffers/dashql/buffers/completion.js +28 -0
  239. package/dist/gen/flatbuffers/dashql/buffers/cursor/relative-symbol-position.d.ts +7 -0
  240. package/dist/gen/flatbuffers/dashql/buffers/cursor/relative-symbol-position.js +10 -0
  241. package/dist/gen/flatbuffers/dashql/buffers/cursor/script-cursor-column-ref-context.d.ts +25 -0
  242. package/dist/gen/flatbuffers/dashql/buffers/cursor/script-cursor-column-ref-context.js +64 -0
  243. package/dist/gen/flatbuffers/dashql/buffers/cursor/script-cursor-context.d.ts +9 -0
  244. package/dist/gen/flatbuffers/dashql/buffers/cursor/script-cursor-context.js +26 -0
  245. package/dist/gen/flatbuffers/dashql/buffers/cursor/script-cursor-table-ref-context.d.ts +25 -0
  246. package/dist/gen/flatbuffers/dashql/buffers/cursor/script-cursor-table-ref-context.js +64 -0
  247. package/dist/gen/flatbuffers/dashql/buffers/cursor/script-cursor.d.ts +116 -0
  248. package/dist/gen/flatbuffers/dashql/buffers/cursor/script-cursor.js +303 -0
  249. package/dist/gen/flatbuffers/dashql/buffers/cursor.d.ts +5 -0
  250. package/dist/gen/flatbuffers/dashql/buffers/cursor.js +20 -0
  251. package/dist/gen/flatbuffers/dashql/buffers/diff/script-diff-op-code.d.ts +13 -0
  252. package/dist/gen/flatbuffers/dashql/buffers/diff/script-diff-op-code.js +16 -0
  253. package/dist/gen/flatbuffers/dashql/buffers/diff/script-diff-op.d.ts +51 -0
  254. package/dist/gen/flatbuffers/dashql/buffers/diff/script-diff-op.js +144 -0
  255. package/dist/gen/flatbuffers/dashql/buffers/diff/script-diff.d.ts +28 -0
  256. package/dist/gen/flatbuffers/dashql/buffers/diff/script-diff.js +72 -0
  257. package/dist/gen/flatbuffers/dashql/buffers/diff.d.ts +3 -0
  258. package/dist/gen/flatbuffers/dashql/buffers/diff.js +13 -0
  259. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-analysis-version.d.ts +29 -0
  260. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-analysis-version.js +81 -0
  261. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-board-position.d.ts +44 -0
  262. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-board-position.js +135 -0
  263. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-comment-tag.d.ts +42 -0
  264. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-comment-tag.js +93 -0
  265. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-cursor-semantic-context.d.ts +91 -0
  266. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-cursor-semantic-context.js +274 -0
  267. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-cursor-semantic-kind.d.ts +5 -0
  268. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-cursor-semantic-kind.js +8 -0
  269. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-cursor-state.d.ts +34 -0
  270. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-cursor-state.js +99 -0
  271. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-diagnostic-severity.d.ts +4 -0
  272. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-diagnostic-severity.js +7 -0
  273. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-diagnostic-source.d.ts +5 -0
  274. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-diagnostic-source.js +8 -0
  275. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-diagnostic.d.ts +35 -0
  276. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-diagnostic.js +101 -0
  277. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-event-action.d.ts +10 -0
  278. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-event-action.js +13 -0
  279. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-event-intent.d.ts +7 -0
  280. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-event-intent.js +10 -0
  281. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-event-origin.d.ts +6 -0
  282. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-event-origin.js +9 -0
  283. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-event.d.ts +62 -0
  284. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-event.js +187 -0
  285. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-flow-position.d.ts +53 -0
  286. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-flow-position.js +144 -0
  287. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-offset-unit.d.ts +7 -0
  288. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-offset-unit.js +10 -0
  289. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-processing-statistics.d.ts +65 -0
  290. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-processing-statistics.js +234 -0
  291. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-script-annotations.d.ts +71 -0
  292. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-script-annotations.js +210 -0
  293. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-selection.d.ts +29 -0
  294. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-selection.js +81 -0
  295. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-semantic-reference-kind.d.ts +5 -0
  296. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-semantic-reference-kind.js +8 -0
  297. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-semantic-resolution.d.ts +4 -0
  298. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-semantic-resolution.js +7 -0
  299. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-semantic-span.d.ts +48 -0
  300. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-semantic-span.js +138 -0
  301. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-statement-description.d.ts +30 -0
  302. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-statement-description.js +88 -0
  303. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-statement.d.ts +30 -0
  304. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-statement.js +88 -0
  305. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-syntax-span.d.ts +32 -0
  306. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-syntax-span.js +74 -0
  307. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-table-definition.d.ts +26 -0
  308. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-table-definition.js +73 -0
  309. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-text-change.d.ts +33 -0
  310. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-text-change.js +93 -0
  311. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-text-span.d.ts +24 -0
  312. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-text-span.js +58 -0
  313. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-update-status.d.ts +9 -0
  314. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-update-status.js +12 -0
  315. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-update.d.ts +158 -0
  316. package/dist/gen/flatbuffers/dashql/buffers/editor/editor-update.js +508 -0
  317. package/dist/gen/flatbuffers/dashql/buffers/editor.d.ts +29 -0
  318. package/dist/gen/flatbuffers/dashql/buffers/editor.js +82 -0
  319. package/dist/gen/flatbuffers/dashql/buffers/execution/checked-script-reference.d.ts +64 -0
  320. package/dist/gen/flatbuffers/dashql/buffers/execution/checked-script-reference.js +156 -0
  321. package/dist/gen/flatbuffers/dashql/buffers/execution/checked-script.d.ts +45 -0
  322. package/dist/gen/flatbuffers/dashql/buffers/execution/checked-script.js +115 -0
  323. package/dist/gen/flatbuffers/dashql/buffers/execution/compiled-visualization.d.ts +37 -0
  324. package/dist/gen/flatbuffers/dashql/buffers/execution/compiled-visualization.js +104 -0
  325. package/dist/gen/flatbuffers/dashql/buffers/execution/dataflow-attachment.d.ts +35 -0
  326. package/dist/gen/flatbuffers/dashql/buffers/execution/dataflow-attachment.js +71 -0
  327. package/dist/gen/flatbuffers/dashql/buffers/execution/dataflow-edge-kind.d.ts +13 -0
  328. package/dist/gen/flatbuffers/dashql/buffers/execution/dataflow-edge-kind.js +16 -0
  329. package/dist/gen/flatbuffers/dashql/buffers/execution/dataflow-edge.d.ts +49 -0
  330. package/dist/gen/flatbuffers/dashql/buffers/execution/dataflow-edge.js +145 -0
  331. package/dist/gen/flatbuffers/dashql/buffers/execution/dataflow-script.d.ts +54 -0
  332. package/dist/gen/flatbuffers/dashql/buffers/execution/dataflow-script.js +137 -0
  333. package/dist/gen/flatbuffers/dashql/buffers/execution/dataflow-statement.d.ts +39 -0
  334. package/dist/gen/flatbuffers/dashql/buffers/execution/dataflow-statement.js +89 -0
  335. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-access-mode.d.ts +5 -0
  336. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-access-mode.js +8 -0
  337. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-access.d.ts +31 -0
  338. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-access.js +96 -0
  339. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-attachment.d.ts +42 -0
  340. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-attachment.js +83 -0
  341. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-catalog-object-id.d.ts +25 -0
  342. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-catalog-object-id.js +69 -0
  343. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-connection-kind.d.ts +7 -0
  344. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-connection-kind.js +10 -0
  345. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-connection.d.ts +27 -0
  346. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-connection.js +74 -0
  347. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-diagnostic.d.ts +46 -0
  348. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-diagnostic.js +125 -0
  349. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-edge-reason.d.ts +13 -0
  350. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-edge-reason.js +16 -0
  351. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-edge.d.ts +39 -0
  352. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-edge.js +130 -0
  353. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-entity-type.d.ts +8 -0
  354. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-entity-type.js +11 -0
  355. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-entity.d.ts +49 -0
  356. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-entity.js +148 -0
  357. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-materialization.d.ts +42 -0
  358. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-materialization.js +99 -0
  359. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-node.d.ts +125 -0
  360. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-node.js +343 -0
  361. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-script-reference.d.ts +73 -0
  362. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-script-reference.js +180 -0
  363. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-script.d.ts +98 -0
  364. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-script.js +268 -0
  365. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-unresolved-reference.d.ts +37 -0
  366. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph-unresolved-reference.js +100 -0
  367. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph.d.ts +95 -0
  368. package/dist/gen/flatbuffers/dashql/buffers/execution/execution-graph.js +314 -0
  369. package/dist/gen/flatbuffers/dashql/buffers/execution/script-compilation-error-code.d.ts +9 -0
  370. package/dist/gen/flatbuffers/dashql/buffers/execution/script-compilation-error-code.js +12 -0
  371. package/dist/gen/flatbuffers/dashql/buffers/execution/script-compilation-error.d.ts +38 -0
  372. package/dist/gen/flatbuffers/dashql/buffers/execution/script-compilation-error.js +117 -0
  373. package/dist/gen/flatbuffers/dashql/buffers/execution/script-compilation-result.d.ts +41 -0
  374. package/dist/gen/flatbuffers/dashql/buffers/execution/script-compilation-result.js +126 -0
  375. package/dist/gen/flatbuffers/dashql/buffers/execution/script-compilation-statement-kind.d.ts +4 -0
  376. package/dist/gen/flatbuffers/dashql/buffers/execution/script-compilation-statement-kind.js +7 -0
  377. package/dist/gen/flatbuffers/dashql/buffers/execution/script-reference-check.d.ts +38 -0
  378. package/dist/gen/flatbuffers/dashql/buffers/execution/script-reference-check.js +100 -0
  379. package/dist/gen/flatbuffers/dashql/buffers/execution/script-reference-kind.d.ts +10 -0
  380. package/dist/gen/flatbuffers/dashql/buffers/execution/script-reference-kind.js +13 -0
  381. package/dist/gen/flatbuffers/dashql/buffers/execution/session-dataflow.d.ts +61 -0
  382. package/dist/gen/flatbuffers/dashql/buffers/execution/session-dataflow.js +159 -0
  383. package/dist/gen/flatbuffers/dashql/buffers/execution/session-input-consumer.d.ts +24 -0
  384. package/dist/gen/flatbuffers/dashql/buffers/execution/session-input-consumer.js +58 -0
  385. package/dist/gen/flatbuffers/dashql/buffers/execution/session-input-type-source.d.ts +8 -0
  386. package/dist/gen/flatbuffers/dashql/buffers/execution/session-input-type-source.js +11 -0
  387. package/dist/gen/flatbuffers/dashql/buffers/execution/session-input.d.ts +83 -0
  388. package/dist/gen/flatbuffers/dashql/buffers/execution/session-input.js +184 -0
  389. package/dist/gen/flatbuffers/dashql/buffers/execution/session-inputs.d.ts +28 -0
  390. package/dist/gen/flatbuffers/dashql/buffers/execution/session-inputs.js +72 -0
  391. package/dist/gen/flatbuffers/dashql/buffers/execution/table-parameter-collision.d.ts +56 -0
  392. package/dist/gen/flatbuffers/dashql/buffers/execution/table-parameter-collision.js +121 -0
  393. package/dist/gen/flatbuffers/dashql/buffers/execution.d.ts +37 -0
  394. package/dist/gen/flatbuffers/dashql/buffers/execution.js +107 -0
  395. package/dist/gen/flatbuffers/dashql/buffers/formatting/formatting-config.d.ts +63 -0
  396. package/dist/gen/flatbuffers/dashql/buffers/formatting/formatting-config.js +167 -0
  397. package/dist/gen/flatbuffers/dashql/buffers/formatting/formatting-dialect.d.ts +4 -0
  398. package/dist/gen/flatbuffers/dashql/buffers/formatting/formatting-dialect.js +7 -0
  399. package/dist/gen/flatbuffers/dashql/buffers/formatting/formatting-mode.d.ts +5 -0
  400. package/dist/gen/flatbuffers/dashql/buffers/formatting/formatting-mode.js +8 -0
  401. package/dist/gen/flatbuffers/dashql/buffers/formatting/keyword-case.d.ts +4 -0
  402. package/dist/gen/flatbuffers/dashql/buffers/formatting/keyword-case.js +7 -0
  403. package/dist/gen/flatbuffers/dashql/buffers/formatting.d.ts +4 -0
  404. package/dist/gen/flatbuffers/dashql/buffers/formatting.js +14 -0
  405. package/dist/gen/flatbuffers/dashql/buffers/parser/aconst-type.d.ts +7 -0
  406. package/dist/gen/flatbuffers/dashql/buffers/parser/aconst-type.js +10 -0
  407. package/dist/gen/flatbuffers/dashql/buffers/parser/attach-database-statement.d.ts +30 -0
  408. package/dist/gen/flatbuffers/dashql/buffers/parser/attach-database-statement.js +85 -0
  409. package/dist/gen/flatbuffers/dashql/buffers/parser/attribute-key.d.ts +320 -0
  410. package/dist/gen/flatbuffers/dashql/buffers/parser/attribute-key.js +323 -0
  411. package/dist/gen/flatbuffers/dashql/buffers/parser/character-type.d.ts +4 -0
  412. package/dist/gen/flatbuffers/dashql/buffers/parser/character-type.js +7 -0
  413. package/dist/gen/flatbuffers/dashql/buffers/parser/column-constraint.d.ts +9 -0
  414. package/dist/gen/flatbuffers/dashql/buffers/parser/column-constraint.js +12 -0
  415. package/dist/gen/flatbuffers/dashql/buffers/parser/combine-modifier.d.ts +5 -0
  416. package/dist/gen/flatbuffers/dashql/buffers/parser/combine-modifier.js +8 -0
  417. package/dist/gen/flatbuffers/dashql/buffers/parser/combine-operation.d.ts +6 -0
  418. package/dist/gen/flatbuffers/dashql/buffers/parser/combine-operation.js +9 -0
  419. package/dist/gen/flatbuffers/dashql/buffers/parser/comment-block-type.d.ts +14 -0
  420. package/dist/gen/flatbuffers/dashql/buffers/parser/comment-block-type.js +17 -0
  421. package/dist/gen/flatbuffers/dashql/buffers/parser/comment-block.d.ts +53 -0
  422. package/dist/gen/flatbuffers/dashql/buffers/parser/comment-block.js +126 -0
  423. package/dist/gen/flatbuffers/dashql/buffers/parser/constraint-attribute.d.ts +8 -0
  424. package/dist/gen/flatbuffers/dashql/buffers/parser/constraint-attribute.js +11 -0
  425. package/dist/gen/flatbuffers/dashql/buffers/parser/error.d.ts +33 -0
  426. package/dist/gen/flatbuffers/dashql/buffers/parser/error.js +89 -0
  427. package/dist/gen/flatbuffers/dashql/buffers/parser/expression-operator.d.ts +49 -0
  428. package/dist/gen/flatbuffers/dashql/buffers/parser/expression-operator.js +52 -0
  429. package/dist/gen/flatbuffers/dashql/buffers/parser/extract-target.d.ts +8 -0
  430. package/dist/gen/flatbuffers/dashql/buffers/parser/extract-target.js +11 -0
  431. package/dist/gen/flatbuffers/dashql/buffers/parser/group-by-item-type.d.ts +7 -0
  432. package/dist/gen/flatbuffers/dashql/buffers/parser/group-by-item-type.js +10 -0
  433. package/dist/gen/flatbuffers/dashql/buffers/parser/interval-type.d.ts +16 -0
  434. package/dist/gen/flatbuffers/dashql/buffers/parser/interval-type.js +19 -0
  435. package/dist/gen/flatbuffers/dashql/buffers/parser/join-type.d.ts +24 -0
  436. package/dist/gen/flatbuffers/dashql/buffers/parser/join-type.js +27 -0
  437. package/dist/gen/flatbuffers/dashql/buffers/parser/key-action-command.d.ts +7 -0
  438. package/dist/gen/flatbuffers/dashql/buffers/parser/key-action-command.js +10 -0
  439. package/dist/gen/flatbuffers/dashql/buffers/parser/key-action-trigger.d.ts +4 -0
  440. package/dist/gen/flatbuffers/dashql/buffers/parser/key-action-trigger.js +7 -0
  441. package/dist/gen/flatbuffers/dashql/buffers/parser/key-match.d.ts +5 -0
  442. package/dist/gen/flatbuffers/dashql/buffers/parser/key-match.js +8 -0
  443. package/dist/gen/flatbuffers/dashql/buffers/parser/known-function.d.ts +24 -0
  444. package/dist/gen/flatbuffers/dashql/buffers/parser/known-function.js +27 -0
  445. package/dist/gen/flatbuffers/dashql/buffers/parser/node-type.d.ts +151 -0
  446. package/dist/gen/flatbuffers/dashql/buffers/parser/node-type.js +154 -0
  447. package/dist/gen/flatbuffers/dashql/buffers/parser/node.d.ts +35 -0
  448. package/dist/gen/flatbuffers/dashql/buffers/parser/node.js +100 -0
  449. package/dist/gen/flatbuffers/dashql/buffers/parser/numeric-type.d.ts +10 -0
  450. package/dist/gen/flatbuffers/dashql/buffers/parser/numeric-type.js +13 -0
  451. package/dist/gen/flatbuffers/dashql/buffers/parser/on-commit-option.d.ts +6 -0
  452. package/dist/gen/flatbuffers/dashql/buffers/parser/on-commit-option.js +9 -0
  453. package/dist/gen/flatbuffers/dashql/buffers/parser/order-direction.d.ts +4 -0
  454. package/dist/gen/flatbuffers/dashql/buffers/parser/order-direction.js +7 -0
  455. package/dist/gen/flatbuffers/dashql/buffers/parser/order-null-rule.d.ts +4 -0
  456. package/dist/gen/flatbuffers/dashql/buffers/parser/order-null-rule.js +7 -0
  457. package/dist/gen/flatbuffers/dashql/buffers/parser/parsed-script.d.ts +80 -0
  458. package/dist/gen/flatbuffers/dashql/buffers/parser/parsed-script.js +250 -0
  459. package/dist/gen/flatbuffers/dashql/buffers/parser/row-locking-block-behavior.d.ts +4 -0
  460. package/dist/gen/flatbuffers/dashql/buffers/parser/row-locking-block-behavior.js +7 -0
  461. package/dist/gen/flatbuffers/dashql/buffers/parser/row-locking-strength.d.ts +7 -0
  462. package/dist/gen/flatbuffers/dashql/buffers/parser/row-locking-strength.js +10 -0
  463. package/dist/gen/flatbuffers/dashql/buffers/parser/sample-count-unit.d.ts +4 -0
  464. package/dist/gen/flatbuffers/dashql/buffers/parser/sample-count-unit.js +7 -0
  465. package/dist/gen/flatbuffers/dashql/buffers/parser/scanned-script.d.ts +40 -0
  466. package/dist/gen/flatbuffers/dashql/buffers/parser/scanned-script.js +125 -0
  467. package/dist/gen/flatbuffers/dashql/buffers/parser/scanner-token-type.d.ts +15 -0
  468. package/dist/gen/flatbuffers/dashql/buffers/parser/scanner-token-type.js +18 -0
  469. package/dist/gen/flatbuffers/dashql/buffers/parser/scanner-tokens.d.ts +59 -0
  470. package/dist/gen/flatbuffers/dashql/buffers/parser/scanner-tokens.js +156 -0
  471. package/dist/gen/flatbuffers/dashql/buffers/parser/statement-target-type.d.ts +5 -0
  472. package/dist/gen/flatbuffers/dashql/buffers/parser/statement-target-type.js +8 -0
  473. package/dist/gen/flatbuffers/dashql/buffers/parser/statement-target.d.ts +30 -0
  474. package/dist/gen/flatbuffers/dashql/buffers/parser/statement-target.js +80 -0
  475. package/dist/gen/flatbuffers/dashql/buffers/parser/statement-type.d.ts +22 -0
  476. package/dist/gen/flatbuffers/dashql/buffers/parser/statement-type.js +25 -0
  477. package/dist/gen/flatbuffers/dashql/buffers/parser/statement.d.ts +67 -0
  478. package/dist/gen/flatbuffers/dashql/buffers/parser/statement.js +234 -0
  479. package/dist/gen/flatbuffers/dashql/buffers/parser/subquery-quantifier.d.ts +5 -0
  480. package/dist/gen/flatbuffers/dashql/buffers/parser/subquery-quantifier.js +8 -0
  481. package/dist/gen/flatbuffers/dashql/buffers/parser/symbol-span.d.ts +21 -0
  482. package/dist/gen/flatbuffers/dashql/buffers/parser/symbol-span.js +55 -0
  483. package/dist/gen/flatbuffers/dashql/buffers/parser/table-constraint.d.ts +6 -0
  484. package/dist/gen/flatbuffers/dashql/buffers/parser/table-constraint.js +9 -0
  485. package/dist/gen/flatbuffers/dashql/buffers/parser/temp-type.d.ts +7 -0
  486. package/dist/gen/flatbuffers/dashql/buffers/parser/temp-type.js +10 -0
  487. package/dist/gen/flatbuffers/dashql/buffers/parser/text-span.d.ts +21 -0
  488. package/dist/gen/flatbuffers/dashql/buffers/parser/text-span.js +55 -0
  489. package/dist/gen/flatbuffers/dashql/buffers/parser/trim-direction.d.ts +5 -0
  490. package/dist/gen/flatbuffers/dashql/buffers/parser/trim-direction.js +8 -0
  491. package/dist/gen/flatbuffers/dashql/buffers/parser/window-bound-direction.d.ts +4 -0
  492. package/dist/gen/flatbuffers/dashql/buffers/parser/window-bound-direction.js +7 -0
  493. package/dist/gen/flatbuffers/dashql/buffers/parser/window-bound-mode.d.ts +5 -0
  494. package/dist/gen/flatbuffers/dashql/buffers/parser/window-bound-mode.js +8 -0
  495. package/dist/gen/flatbuffers/dashql/buffers/parser/window-exclusion-mode.d.ts +5 -0
  496. package/dist/gen/flatbuffers/dashql/buffers/parser/window-exclusion-mode.js +8 -0
  497. package/dist/gen/flatbuffers/dashql/buffers/parser/window-range-mode.d.ts +5 -0
  498. package/dist/gen/flatbuffers/dashql/buffers/parser/window-range-mode.js +8 -0
  499. package/dist/gen/flatbuffers/dashql/buffers/parser.d.ts +47 -0
  500. package/dist/gen/flatbuffers/dashql/buffers/parser.js +110 -0
  501. package/dist/gen/flatbuffers/dashql/buffers/profile/derived-profile-layout-config.d.ts +28 -0
  502. package/dist/gen/flatbuffers/dashql/buffers/profile/derived-profile-layout-config.js +73 -0
  503. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-attribute.d.ts +27 -0
  504. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-attribute.js +61 -0
  505. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-engine.d.ts +8 -0
  506. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-engine.js +11 -0
  507. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-entity.d.ts +10 -0
  508. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-entity.js +13 -0
  509. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-execution-status.d.ts +8 -0
  510. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-execution-status.js +11 -0
  511. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-fragment.d.ts +64 -0
  512. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-fragment.js +147 -0
  513. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-layout-config.d.ts +95 -0
  514. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-layout-config.js +219 -0
  515. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-layout-orientation.d.ts +14 -0
  516. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-layout-orientation.js +17 -0
  517. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-layout-rect.d.ts +39 -0
  518. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-layout-rect.js +89 -0
  519. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-operator-cross-edge.d.ts +39 -0
  520. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-operator-cross-edge.js +89 -0
  521. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-operator-edge.d.ts +45 -0
  522. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-operator-edge.js +103 -0
  523. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-operator-kind.d.ts +58 -0
  524. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-operator-kind.js +61 -0
  525. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-operator.d.ts +124 -0
  526. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-operator.js +288 -0
  527. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-pipeline.d.ts +51 -0
  528. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-pipeline.js +117 -0
  529. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-slot-role.d.ts +17 -0
  530. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-slot-role.js +20 -0
  531. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-slot.d.ts +34 -0
  532. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-slot.js +77 -0
  533. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-stats-field.d.ts +19 -0
  534. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-stats-field.js +22 -0
  535. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-stats.d.ts +102 -0
  536. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-stats.js +233 -0
  537. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-update-event.d.ts +50 -0
  538. package/dist/gen/flatbuffers/dashql/buffers/profile/profile-update-event.js +122 -0
  539. package/dist/gen/flatbuffers/dashql/buffers/profile/query-profile-events.d.ts +38 -0
  540. package/dist/gen/flatbuffers/dashql/buffers/profile/query-profile-events.js +91 -0
  541. package/dist/gen/flatbuffers/dashql/buffers/profile/query-profile.d.ts +170 -0
  542. package/dist/gen/flatbuffers/dashql/buffers/profile/query-profile.js +398 -0
  543. package/dist/gen/flatbuffers/dashql/buffers/profile.d.ts +21 -0
  544. package/dist/gen/flatbuffers/dashql/buffers/profile.js +61 -0
  545. package/dist/gen/flatbuffers/dashql/buffers/statistics/script-memory-statistics.d.ts +27 -0
  546. package/dist/gen/flatbuffers/dashql/buffers/statistics/script-memory-statistics.js +65 -0
  547. package/dist/gen/flatbuffers/dashql/buffers/statistics/script-processing-memory-statistics.d.ts +57 -0
  548. package/dist/gen/flatbuffers/dashql/buffers/statistics/script-processing-memory-statistics.js +131 -0
  549. package/dist/gen/flatbuffers/dashql/buffers/statistics/script-processing-timings.d.ts +33 -0
  550. package/dist/gen/flatbuffers/dashql/buffers/statistics/script-processing-timings.js +75 -0
  551. package/dist/gen/flatbuffers/dashql/buffers/statistics/script-statistics.d.ts +31 -0
  552. package/dist/gen/flatbuffers/dashql/buffers/statistics/script-statistics.js +71 -0
  553. package/dist/gen/flatbuffers/dashql/buffers/statistics.d.ts +4 -0
  554. package/dist/gen/flatbuffers/dashql/buffers/statistics.js +17 -0
  555. package/dist/gen/flatbuffers/dashql/buffers/status/status-code.d.ts +25 -0
  556. package/dist/gen/flatbuffers/dashql/buffers/status/status-code.js +28 -0
  557. package/dist/gen/flatbuffers/dashql/buffers/status.d.ts +1 -0
  558. package/dist/gen/flatbuffers/dashql/buffers/status.js +5 -0
  559. package/dist/gen/flatbuffers/dashql/buffers/visualization/dashboard-spec.d.ts +37 -0
  560. package/dist/gen/flatbuffers/dashql/buffers/visualization/dashboard-spec.js +115 -0
  561. package/dist/gen/flatbuffers/dashql/buffers/visualization/markdown-node-type.d.ts +20 -0
  562. package/dist/gen/flatbuffers/dashql/buffers/visualization/markdown-node-type.js +23 -0
  563. package/dist/gen/flatbuffers/dashql/buffers/visualization/markdown-node.d.ts +61 -0
  564. package/dist/gen/flatbuffers/dashql/buffers/visualization/markdown-node.js +202 -0
  565. package/dist/gen/flatbuffers/dashql/buffers/visualization/markdown-spec.d.ts +32 -0
  566. package/dist/gen/flatbuffers/dashql/buffers/visualization/markdown-spec.js +90 -0
  567. package/dist/gen/flatbuffers/dashql/buffers/visualization/table-spec.d.ts +21 -0
  568. package/dist/gen/flatbuffers/dashql/buffers/visualization/table-spec.js +45 -0
  569. package/dist/gen/flatbuffers/dashql/buffers/visualization.d.ts +5 -0
  570. package/dist/gen/flatbuffers/dashql/buffers/visualization.js +19 -0
  571. package/dist/gen/jsonschema/app_folder.d.ts +26 -0
  572. package/dist/gen/jsonschema/app_manifest.d.ts +281 -0
  573. package/dist/gen/jsonschema/app_workbook.d.ts +355 -0
  574. package/dist/gen/jsonschema/auth.d.ts +273 -0
  575. package/dist/gen/jsonschema/connection.d.ts +1609 -0
  576. package/dist/gen/protobuf/google/protobuf/any_pb.d.ts +24 -0
  577. package/dist/gen/protobuf/google/protobuf/any_pb.js +7 -0
  578. package/dist/gen/protobuf/google/protobuf/empty_pb.d.ts +15 -0
  579. package/dist/gen/protobuf/google/protobuf/empty_pb.js +7 -0
  580. package/dist/gen/protobuf/google/rpc/status_pb.d.ts +29 -0
  581. package/dist/gen/protobuf/google/rpc/status_pb.js +18 -0
  582. package/dist/gen/protobuf/salesforce/hyperdb/grpc/v1/error_details_pb.d.ts +62 -0
  583. package/dist/gen/protobuf/salesforce/hyperdb/grpc/v1/error_details_pb.js +23 -0
  584. package/dist/gen/protobuf/salesforce/hyperdb/grpc/v1/hyper_service_pb.d.ts +386 -0
  585. package/dist/gen/protobuf/salesforce/hyperdb/grpc/v1/hyper_service_pb.js +199 -0
  586. package/dist/hyperdb-edge/node/runtime_check.d.ts +21 -0
  587. package/dist/hyperdb-edge/node/runtime_check.js +66 -0
  588. package/dist/platform/channel_common.d.ts +24 -0
  589. package/dist/platform/channel_common.js +15 -0
  590. package/dist/platform/compute/arrow_formatter.d.ts +43 -0
  591. package/dist/platform/compute/arrow_formatter.js +450 -0
  592. package/dist/platform/compute/computation_types.d.ts +100 -0
  593. package/dist/platform/compute/computation_types.js +150 -0
  594. package/dist/platform/compute/query_result_search_sql.d.ts +10 -0
  595. package/dist/platform/compute/query_result_search_sql.js +34 -0
  596. package/dist/platform/connections/clfn_spec.d.ts +97 -0
  597. package/dist/platform/connections/clfn_spec.js +0 -0
  598. package/dist/platform/connections/clfn_specs.d.ts +4 -0
  599. package/dist/platform/connections/clfn_specs.js +12 -0
  600. package/dist/platform/connections/connection_params.d.ts +19 -0
  601. package/dist/platform/connections/connection_params.js +63 -0
  602. package/dist/platform/connections/connection_state.d.ts +24 -0
  603. package/dist/platform/connections/connection_state.js +29 -0
  604. package/dist/platform/connections/connector_configs.d.ts +18 -0
  605. package/dist/platform/connections/connector_configs.js +12 -0
  606. package/dist/platform/connections/connector_descriptor.d.ts +20 -0
  607. package/dist/platform/connections/connector_descriptor.js +37 -0
  608. package/dist/platform/connections/connector_info.d.ts +33 -0
  609. package/dist/platform/connections/connector_info.js +95 -0
  610. package/dist/platform/connections/embedded_database_channel.d.ts +20 -0
  611. package/dist/platform/connections/embedded_database_channel.js +133 -0
  612. package/dist/platform/connections/hyper/hyper_error_info.d.ts +41 -0
  613. package/dist/platform/connections/hyper/hyper_error_info.js +117 -0
  614. package/dist/platform/connections/hyper/hyperdb_grpc_client.d.ts +26 -0
  615. package/dist/platform/connections/hyper/hyperdb_grpc_client.js +0 -0
  616. package/dist/platform/connections/hyper/local_cloud.d.ts +15 -0
  617. package/dist/platform/connections/hyper/local_cloud.js +14 -0
  618. package/dist/platform/connections/query_channel.d.ts +3 -0
  619. package/dist/platform/connections/query_channel.js +11 -0
  620. package/dist/platform/connections/query_execution.d.ts +19 -0
  621. package/dist/platform/connections/query_execution.js +24 -0
  622. package/dist/platform/connections/query_execution_args.d.ts +24 -0
  623. package/dist/platform/connections/query_execution_args.js +0 -0
  624. package/dist/platform/connections/salesforce/salesforce_api_client.d.ts +10 -0
  625. package/dist/platform/connections/salesforce/salesforce_api_client.js +14 -0
  626. package/dist/platform/connections/salesforce/salesforce_api_client_mock.d.ts +16 -0
  627. package/dist/platform/connections/salesforce/salesforce_connection_state.d.ts +2 -0
  628. package/dist/platform/connections/salesforce/salesforce_connection_state.js +7 -0
  629. package/dist/platform/connections/trino_catalogs.d.ts +4 -0
  630. package/dist/platform/connections/trino_catalogs.js +11 -0
  631. package/dist/platform/electron_fs.d.ts +4 -0
  632. package/dist/platform/electron_fs.js +21 -0
  633. package/dist/platform/embedded_database.d.ts +55 -0
  634. package/dist/platform/embedded_database.js +5 -0
  635. package/dist/platform/file_system.d.ts +36 -0
  636. package/dist/platform/file_system.js +5 -0
  637. package/dist/platform/http_client.d.ts +16 -0
  638. package/dist/platform/http_client.js +0 -0
  639. package/dist/platform/hyper_link_target.d.ts +8 -0
  640. package/dist/platform/hyper_link_target.js +35 -0
  641. package/dist/platform/hyperdb/hyperdb_arrow_insert.d.ts +7 -0
  642. package/dist/platform/hyperdb/hyperdb_arrow_insert.js +119 -0
  643. package/dist/platform/hyperdb/hyperdb_opfs_instance.d.ts +24 -0
  644. package/dist/platform/hyperdb/hyperdb_opfs_instance.js +117 -0
  645. package/dist/platform/hyperdb/hyperdb_parquet_export.d.ts +9 -0
  646. package/dist/platform/hyperdb/hyperdb_parquet_export.js +42 -0
  647. package/dist/platform/hyperdb/hyperdb_settings.d.ts +25 -0
  648. package/dist/platform/hyperdb/hyperdb_settings.js +32 -0
  649. package/dist/platform/hyperdb/hyperdb_wasm.d.ts +94 -0
  650. package/dist/platform/hyperdb/hyperdb_wasm.js +494 -0
  651. package/dist/platform/key_value_storage.d.ts +4 -0
  652. package/dist/platform/key_value_storage.js +0 -0
  653. package/dist/platform/logger/log_buffer.d.ts +53 -0
  654. package/dist/platform/logger/log_buffer.js +126 -0
  655. package/dist/platform/logger/logger.d.ts +57 -0
  656. package/dist/platform/logger/logger.js +181 -0
  657. package/dist/platform/logger/trace_context.d.ts +14 -0
  658. package/dist/platform/logger/trace_context.js +32 -0
  659. package/dist/platform/node/node_core.d.ts +3 -0
  660. package/dist/platform/node/node_core.js +17 -0
  661. package/dist/platform/node/node_directory_handle.d.ts +44 -0
  662. package/dist/platform/node/node_directory_handle.js +185 -0
  663. package/dist/platform/node/node_file_system.d.ts +3 -0
  664. package/dist/platform/node/node_file_system.js +108 -0
  665. package/dist/platform/node/node_hyperdb.d.ts +21 -0
  666. package/dist/platform/node/node_hyperdb.js +113 -0
  667. package/dist/platform/node/node_instance_locks.d.ts +2 -0
  668. package/dist/platform/node/node_instance_locks.js +37 -0
  669. package/dist/platform/node/node_locks.d.ts +20 -0
  670. package/dist/platform/node/node_locks.js +64 -0
  671. package/dist/platform/oauth_flow.d.ts +16 -0
  672. package/dist/platform/oauth_flow.js +0 -0
  673. package/dist/platform/oauth_types.d.ts +23 -0
  674. package/dist/platform/oauth_types.js +0 -0
  675. package/dist/platform/opfs_root.d.ts +5 -0
  676. package/dist/platform/opfs_root.js +19 -0
  677. package/dist/platform/proto.d.ts +11 -0
  678. package/dist/platform/proto.js +15 -0
  679. package/dist/platform/query/profile_execution_state.d.ts +21 -0
  680. package/dist/platform/query/profile_execution_state.js +60 -0
  681. package/dist/platform/query/profile_layout_config.d.ts +5 -0
  682. package/dist/platform/query/profile_layout_config.js +32 -0
  683. package/dist/platform/query/profile_operator_symbol.d.ts +6 -0
  684. package/dist/platform/query/profile_operator_symbol.js +50 -0
  685. package/dist/platform/query/query_execution_state.d.ts +65 -0
  686. package/dist/platform/query/query_execution_state.js +33 -0
  687. package/dist/platform/query/query_progress.d.ts +42 -0
  688. package/dist/platform/query/query_progress.js +78 -0
  689. package/dist/platform/query/query_result_cache.d.ts +47 -0
  690. package/dist/platform/query/query_result_cache.js +8 -0
  691. package/dist/platform/session/agent_session_client.d.ts +41 -0
  692. package/dist/platform/session/agent_session_client.js +177 -0
  693. package/dist/platform/session/agent_session_protocol.d.ts +15 -0
  694. package/dist/platform/session/agent_session_protocol.js +43 -0
  695. package/dist/platform/session/agent_session_state.d.ts +45 -0
  696. package/dist/platform/session/agent_session_state.js +127 -0
  697. package/dist/platform/session/workbook_journal.d.ts +48 -0
  698. package/dist/platform/session/workbook_journal.js +94 -0
  699. package/dist/platform/sql/sql_format.d.ts +9 -0
  700. package/dist/platform/sql/sql_format.js +40 -0
  701. package/dist/platform/sql/sql_lint.d.ts +27 -0
  702. package/dist/platform/sql/sql_lint.js +69 -0
  703. package/dist/platform/sql/sql_report.d.ts +18 -0
  704. package/dist/platform/sql/sql_report.js +80 -0
  705. package/dist/platform/storage/native_storage_backend.d.ts +48 -0
  706. package/dist/platform/storage/native_storage_backend.js +194 -0
  707. package/dist/platform/storage/opfs_query_result_cache.d.ts +15 -0
  708. package/dist/platform/storage/opfs_query_result_cache.js +237 -0
  709. package/dist/platform/storage/storage_backend.d.ts +89 -0
  710. package/dist/platform/storage/storage_backend.js +53 -0
  711. package/dist/platform/storage/storage_root.d.ts +2 -0
  712. package/dist/platform/storage/storage_root.js +90 -0
  713. package/dist/platform/storage/storage_versions.d.ts +3 -0
  714. package/dist/platform/storage/storage_versions.js +13 -0
  715. package/dist/platform/storage/workbook_tables.d.ts +92 -0
  716. package/dist/platform/storage/workbook_tables.js +57 -0
  717. package/dist/platform/storage/workbook_tree.d.ts +29 -0
  718. package/dist/platform/storage/workbook_tree.js +161 -0
  719. package/dist/platform/utils/arrow_vectors.d.ts +6 -0
  720. package/dist/platform/utils/arrow_vectors.js +82 -0
  721. package/dist/platform/utils/async_consumer.d.ts +14 -0
  722. package/dist/platform/utils/async_consumer.js +24 -0
  723. package/dist/platform/utils/async_value.d.ts +20 -0
  724. package/dist/platform/utils/async_value.js +50 -0
  725. package/dist/platform/utils/base64.d.ts +19 -0
  726. package/dist/platform/utils/base64.js +162 -0
  727. package/dist/platform/utils/crc32.d.ts +6 -0
  728. package/dist/platform/utils/crc32.js +34 -0
  729. package/dist/platform/utils/error.d.ts +4 -0
  730. package/dist/platform/utils/error.js +0 -0
  731. package/dist/platform/utils/int128.d.ts +7 -0
  732. package/dist/platform/utils/int128.js +35 -0
  733. package/dist/platform/utils/pkce.d.ts +2 -0
  734. package/dist/platform/utils/pkce.js +12 -0
  735. package/dist/platform/utils/progress.d.ts +14 -0
  736. package/dist/platform/utils/progress.js +44 -0
  737. package/dist/platform/utils/sleep.d.ts +1 -0
  738. package/dist/platform/utils/sleep.js +5 -0
  739. package/dist/platform/utils/sql_quote.d.ts +2 -0
  740. package/dist/platform/utils/sql_quote.js +8 -0
  741. package/dist/platform/utils/variant.d.ts +5 -0
  742. package/dist/platform/utils/variant.js +0 -0
  743. package/dist/platform/utils/yield_to_browser.d.ts +1 -0
  744. package/dist/platform/utils/yield_to_browser.js +5 -0
  745. package/dist/platform/web_http_client.d.ts +7 -0
  746. package/dist/platform/web_http_client.js +12 -0
  747. package/dist/platform/workbook/attachment_mirror.d.ts +2 -0
  748. package/dist/platform/workbook/attachment_mirror.js +25 -0
  749. package/dist/platform/workbook/attachment_mounts.d.ts +5 -0
  750. package/dist/platform/workbook/attachment_mounts.js +62 -0
  751. package/dist/platform/workbook/run_events.d.ts +66 -0
  752. package/dist/platform/workbook/run_events.js +38 -0
  753. package/dist/platform/workbook/script_compilation.d.ts +4 -0
  754. package/dist/platform/workbook/script_compilation.js +52 -0
  755. package/dist/platform/workbook/script_editor_state.d.ts +12 -0
  756. package/dist/platform/workbook/script_editor_state.js +0 -0
  757. package/dist/platform/workbook/script_reference_check.d.ts +27 -0
  758. package/dist/platform/workbook/script_reference_check.js +59 -0
  759. package/dist/platform/workbook/script_types.d.ts +53 -0
  760. package/dist/platform/workbook/script_types.js +21 -0
  761. package/dist/platform/workbook/workbook_attachments.d.ts +3 -0
  762. package/dist/platform/workbook/workbook_attachments.js +9 -0
  763. package/dist/platform/workbook/workbook_execution.d.ts +31 -0
  764. package/dist/platform/workbook/workbook_execution.js +28 -0
  765. package/dist/platform/workbook/workbook_inputs.d.ts +41 -0
  766. package/dist/platform/workbook/workbook_inputs.js +94 -0
  767. package/dist/platform/workbook/workbook_scripts.d.ts +58 -0
  768. package/dist/platform/workbook/workbook_scripts.js +21 -0
  769. package/dist/platform/workbook/workbook_zip.d.ts +5 -0
  770. package/dist/platform/workbook/workbook_zip.js +28 -0
  771. package/dist/runtime/compute_database.d.ts +18 -0
  772. package/dist/runtime/compute_database.js +56 -0
  773. package/dist/runtime/compute_platform.d.ts +5 -0
  774. package/dist/runtime/compute_platform.js +76 -0
  775. package/dist/runtime/embedded_session.d.ts +8 -0
  776. package/dist/runtime/embedded_session.js +23 -0
  777. package/dist/runtime/node/node_platform.d.ts +12 -0
  778. package/dist/runtime/node/node_platform.js +23 -0
  779. package/dist/runtime/platform_requests.d.ts +18 -0
  780. package/dist/runtime/platform_requests.js +104 -0
  781. package/dist/runtime/query/cache_pins.d.ts +8 -0
  782. package/dist/runtime/query/cache_pins.js +27 -0
  783. package/dist/runtime/query/query_channels.d.ts +34 -0
  784. package/dist/runtime/query/query_channels.js +250 -0
  785. package/dist/runtime/query/query_projection.d.ts +4 -0
  786. package/dist/runtime/query/query_projection.js +41 -0
  787. package/dist/runtime/query/query_result_stream.d.ts +15 -0
  788. package/dist/runtime/query/query_result_stream.js +100 -0
  789. package/dist/runtime/run_mounts.d.ts +6 -0
  790. package/dist/runtime/run_mounts.js +44 -0
  791. package/dist/runtime/runtime.d.ts +149 -0
  792. package/dist/runtime/runtime.js +420 -0
  793. package/dist/runtime/runtime_storage.d.ts +47 -0
  794. package/dist/runtime/runtime_storage.js +118 -0
  795. package/dist/runtime/store/handles.d.ts +30 -0
  796. package/dist/runtime/store/handles.js +46 -0
  797. package/dist/runtime/store/projection.d.ts +8 -0
  798. package/dist/runtime/store/projection.js +51 -0
  799. package/dist/runtime/store/runtime_store.d.ts +53 -0
  800. package/dist/runtime/store/runtime_store.js +195 -0
  801. package/dist/runtime/store/runtime_tables.d.ts +10 -0
  802. package/dist/runtime/store/runtime_tables.js +115 -0
  803. package/dist/runtime/store/update_scheduler.d.ts +6 -0
  804. package/dist/runtime/store/update_scheduler.js +7 -0
  805. package/dist/runtime/workbook_archives.d.ts +7 -0
  806. package/dist/runtime/workbook_archives.js +103 -0
  807. package/dist/runtime/workbook_projection.d.ts +28 -0
  808. package/dist/runtime/workbook_projection.js +178 -0
  809. package/dist/runtime/workbook_run_report.d.ts +22 -0
  810. package/dist/runtime/workbook_run_report.js +248 -0
  811. package/dist/wasm/dashql_core.d.ts +4147 -0
  812. package/dist/wasm/dashql_core.js +4487 -0
  813. package/dist/wasm/dashql_core.wasm +0 -0
  814. package/dist/wasm/dashql_dataflow.d.ts +148 -0
  815. package/dist/wasm/dashql_dataflow.js +474 -0
  816. package/dist/wasm/dashql_dataflow.wasm +0 -0
  817. package/package.json +44 -4
@@ -0,0 +1,1609 @@
1
+ /**
2
+ * The Hyper connection protocol. V3_HTTP_LINK speaks V3_HTTP to the hyperd of the link that the app was opened with, e.g. by hyperd run --ui, its endpoint and token are never stored
3
+ *
4
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
5
+ * via the `definition` "HyperProtocol".
6
+ */
7
+ export type HyperProtocol = "WASM" | "V3_GRPC" | "V3_HTTP" | "V3_HTTP_LINK";
8
+ /**
9
+ * Connection Parameters - Variant
10
+ *
11
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
12
+ * via the `definition` "ConnectionParams".
13
+ */
14
+ export type ConnectionParams = {
15
+ hyper: HyperConnectionParams2;
16
+ } | {
17
+ salesforce: SalesforceConnectionParams2;
18
+ } | {
19
+ dbcom: SalesforceConnectionParams3;
20
+ } | {
21
+ trino: TrinoConnectionParams2;
22
+ };
23
+ /**
24
+ * Connection State
25
+ *
26
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
27
+ * via the `definition` "Connection".
28
+ */
29
+ export type Connection = {
30
+ hyper: HyperConnectionDetails1;
31
+ } | {
32
+ salesforce: SalesforceConnectionDetails1;
33
+ } | {
34
+ dbcom: SalesforceConnectionDetails2;
35
+ } | {
36
+ trino: TrinoConnectionDetails1;
37
+ };
38
+ export interface DashqlConnectionJson {
39
+ [k: string]: any;
40
+ }
41
+ /**
42
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
43
+ * via the `definition` "DraftKeyValueRow".
44
+ */
45
+ export interface DraftKeyValueRow {
46
+ key: string;
47
+ value: string;
48
+ }
49
+ /**
50
+ * Local draft-only ordered form rows, preserving duplicate and incomplete keys. Removed before setup, promotion and export.
51
+ *
52
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
53
+ * via the `definition` "ConnectionDraftRows".
54
+ */
55
+ export interface ConnectionDraftRows {
56
+ metadata?: DraftKeyValueRow[];
57
+ queryParameters?: DraftKeyValueRow[];
58
+ }
59
+ /**
60
+ * Setup Timings
61
+ *
62
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
63
+ * via the `definition` "SetupTimings".
64
+ */
65
+ export interface SetupTimings {
66
+ /**
67
+ * Timestamp for channel setup started
68
+ */
69
+ channelSetupStartedAt?: string;
70
+ /**
71
+ * Timestamp for channel setup cancelled
72
+ */
73
+ channelSetupCancelledAt?: string;
74
+ /**
75
+ * Timestamp for channel setup failed
76
+ */
77
+ channelSetupFailedAt?: string;
78
+ /**
79
+ * Timestamp for channel ready
80
+ */
81
+ channelReadyAt?: string;
82
+ /**
83
+ * Timestamp for health check started
84
+ */
85
+ healthCheckStartedAt?: string;
86
+ /**
87
+ * Timestamp for health check cancelled
88
+ */
89
+ healthCheckCancelledAt?: string;
90
+ /**
91
+ * Timestamp for health check failed
92
+ */
93
+ healthCheckFailedAt?: string;
94
+ /**
95
+ * Timestamp for health check succeeded
96
+ */
97
+ healthCheckSucceededAt?: string;
98
+ }
99
+ /**
100
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
101
+ * via the `definition` "ConnectionQueryMetrics".
102
+ */
103
+ export interface ConnectionQueryMetrics {
104
+ /**
105
+ * The total query count
106
+ */
107
+ totalQueries: number;
108
+ /**
109
+ * The total number of received batches
110
+ */
111
+ totalBatchesReceived: number;
112
+ /**
113
+ * The total number of received rows
114
+ */
115
+ totalRowsReceived: number;
116
+ /**
117
+ * The accumulated time until the first batch
118
+ */
119
+ accumulatedTimeUntilFirstBatch: number;
120
+ /**
121
+ * The accumulated query duration
122
+ */
123
+ accumulatedQueryDuration: number;
124
+ }
125
+ /**
126
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
127
+ * via the `definition` "ConnectionMetrics".
128
+ */
129
+ export interface ConnectionMetrics {
130
+ successfulQueries: ConnectionQueryMetrics1;
131
+ canceledQueries: ConnectionQueryMetrics2;
132
+ failedQueries: ConnectionQueryMetrics3;
133
+ }
134
+ /**
135
+ * The successful queries
136
+ */
137
+ export interface ConnectionQueryMetrics1 {
138
+ /**
139
+ * The total query count
140
+ */
141
+ totalQueries: number;
142
+ /**
143
+ * The total number of received batches
144
+ */
145
+ totalBatchesReceived: number;
146
+ /**
147
+ * The total number of received rows
148
+ */
149
+ totalRowsReceived: number;
150
+ /**
151
+ * The accumulated time until the first batch
152
+ */
153
+ accumulatedTimeUntilFirstBatch: number;
154
+ /**
155
+ * The accumulated query duration
156
+ */
157
+ accumulatedQueryDuration: number;
158
+ }
159
+ /**
160
+ * The cancelled queries
161
+ */
162
+ export interface ConnectionQueryMetrics2 {
163
+ /**
164
+ * The total query count
165
+ */
166
+ totalQueries: number;
167
+ /**
168
+ * The total number of received batches
169
+ */
170
+ totalBatchesReceived: number;
171
+ /**
172
+ * The total number of received rows
173
+ */
174
+ totalRowsReceived: number;
175
+ /**
176
+ * The accumulated time until the first batch
177
+ */
178
+ accumulatedTimeUntilFirstBatch: number;
179
+ /**
180
+ * The accumulated query duration
181
+ */
182
+ accumulatedQueryDuration: number;
183
+ }
184
+ /**
185
+ * The failed queries
186
+ */
187
+ export interface ConnectionQueryMetrics3 {
188
+ /**
189
+ * The total query count
190
+ */
191
+ totalQueries: number;
192
+ /**
193
+ * The total number of received batches
194
+ */
195
+ totalBatchesReceived: number;
196
+ /**
197
+ * The total number of received rows
198
+ */
199
+ totalRowsReceived: number;
200
+ /**
201
+ * The accumulated time until the first batch
202
+ */
203
+ accumulatedTimeUntilFirstBatch: number;
204
+ /**
205
+ * The accumulated query duration
206
+ */
207
+ accumulatedQueryDuration: number;
208
+ }
209
+ /**
210
+ * TLS Configuration
211
+ *
212
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
213
+ * via the `definition` "TlsConfig".
214
+ */
215
+ export interface TlsConfig {
216
+ /**
217
+ * The path to the client private key
218
+ */
219
+ clientKeyPath: string;
220
+ /**
221
+ * The path to the client public key
222
+ */
223
+ clientCertPath: string;
224
+ /**
225
+ * The path to the CA certificates
226
+ */
227
+ caCertsPath: string;
228
+ }
229
+ /**
230
+ * Connection Parameters - Hyper
231
+ *
232
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
233
+ * via the `definition` "HyperConnectionParams".
234
+ */
235
+ export interface HyperConnectionParams {
236
+ draftRows?: ConnectionDraftRows;
237
+ /**
238
+ * The connection protocol
239
+ */
240
+ protocol: "WASM" | "V3_GRPC" | "V3_HTTP" | "V3_HTTP_LINK";
241
+ /**
242
+ * The endpoint
243
+ */
244
+ endpoint: string;
245
+ tls: TlsConfig1;
246
+ /**
247
+ * The attached databases
248
+ */
249
+ attachedDatabases?: {
250
+ [k: string]: any;
251
+ }[];
252
+ /**
253
+ * The metadata
254
+ */
255
+ metadata?: {
256
+ [k: string]: string;
257
+ };
258
+ /**
259
+ * The query parameters that are added to every query
260
+ */
261
+ queryParameters?: {
262
+ [k: string]: string;
263
+ };
264
+ }
265
+ /**
266
+ * The TLS config
267
+ */
268
+ export interface TlsConfig1 {
269
+ /**
270
+ * The path to the client private key
271
+ */
272
+ clientKeyPath: string;
273
+ /**
274
+ * The path to the client public key
275
+ */
276
+ clientCertPath: string;
277
+ /**
278
+ * The path to the CA certificates
279
+ */
280
+ caCertsPath: string;
281
+ }
282
+ /**
283
+ * Connection Details - Hyper
284
+ *
285
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
286
+ * via the `definition` "HyperConnectionDetails".
287
+ */
288
+ export interface HyperConnectionDetails {
289
+ setupTimings: SetupTimings1;
290
+ setupParams: HyperConnectionParams1;
291
+ /**
292
+ * The channel setup error (if any)
293
+ */
294
+ channelError?: {
295
+ [k: string]: any;
296
+ };
297
+ /**
298
+ * The health check error (if any)
299
+ */
300
+ healthCheckError?: {
301
+ [k: string]: any;
302
+ };
303
+ }
304
+ /**
305
+ * The setup timings
306
+ */
307
+ export interface SetupTimings1 {
308
+ /**
309
+ * Timestamp for channel setup started
310
+ */
311
+ channelSetupStartedAt?: string;
312
+ /**
313
+ * Timestamp for channel setup cancelled
314
+ */
315
+ channelSetupCancelledAt?: string;
316
+ /**
317
+ * Timestamp for channel setup failed
318
+ */
319
+ channelSetupFailedAt?: string;
320
+ /**
321
+ * Timestamp for channel ready
322
+ */
323
+ channelReadyAt?: string;
324
+ /**
325
+ * Timestamp for health check started
326
+ */
327
+ healthCheckStartedAt?: string;
328
+ /**
329
+ * Timestamp for health check cancelled
330
+ */
331
+ healthCheckCancelledAt?: string;
332
+ /**
333
+ * Timestamp for health check failed
334
+ */
335
+ healthCheckFailedAt?: string;
336
+ /**
337
+ * Timestamp for health check succeeded
338
+ */
339
+ healthCheckSucceededAt?: string;
340
+ }
341
+ /**
342
+ * The channel setup parameters
343
+ */
344
+ export interface HyperConnectionParams1 {
345
+ draftRows?: ConnectionDraftRows;
346
+ /**
347
+ * The connection protocol
348
+ */
349
+ protocol: "WASM" | "V3_GRPC" | "V3_HTTP" | "V3_HTTP_LINK";
350
+ /**
351
+ * The endpoint
352
+ */
353
+ endpoint: string;
354
+ tls: TlsConfig1;
355
+ /**
356
+ * The attached databases
357
+ */
358
+ attachedDatabases?: {
359
+ [k: string]: any;
360
+ }[];
361
+ /**
362
+ * The metadata
363
+ */
364
+ metadata?: {
365
+ [k: string]: string;
366
+ };
367
+ /**
368
+ * The query parameters that are added to every query
369
+ */
370
+ queryParameters?: {
371
+ [k: string]: string;
372
+ };
373
+ }
374
+ /**
375
+ * Setup Timings - Salesforce
376
+ *
377
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
378
+ * via the `definition` "SalesforceSetupTimings".
379
+ */
380
+ export interface SalesforceSetupTimings {
381
+ channelSetupStartedAt?: string;
382
+ channelSetupCancelledAt?: string;
383
+ channelSetupFailedAt?: string;
384
+ channelReadyAt?: string;
385
+ healthCheckStartedAt?: string;
386
+ healthCheckCancelledAt?: string;
387
+ healthCheckFailedAt?: string;
388
+ healthCheckSucceededAt?: string;
389
+ /**
390
+ * Salesforce-specific auth timings
391
+ */
392
+ authStartedAt?: string;
393
+ authCancelledAt?: string;
394
+ authFailedAt?: string;
395
+ pkceGenStartedAt?: string;
396
+ pkceGenFinishedAt?: string;
397
+ openedNativeAuthLinkAt?: string;
398
+ openedWebAuthWindowAt?: string;
399
+ closedWebAuthWindowAt?: string;
400
+ oauthCodeReceivedAt?: string;
401
+ coreAccessTokenRequestedAt?: string;
402
+ coreAccessTokenReceivedAt?: string;
403
+ dataCloudMetadataRequestedAt?: string;
404
+ dataCloudAccessTokenRequestedAt?: string;
405
+ dataCloudAccessTokenReceivedAt?: string;
406
+ dataCloudMetadataReceivedAt?: string;
407
+ }
408
+ /**
409
+ * Connection Parameters - Salesforce
410
+ *
411
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
412
+ * via the `definition` "SalesforceConnectionParams".
413
+ */
414
+ export interface SalesforceConnectionParams {
415
+ /**
416
+ * The instance url
417
+ */
418
+ instanceUrl: string;
419
+ /**
420
+ * The consumer key of the External Client App
421
+ */
422
+ appConsumerKey: string;
423
+ /**
424
+ * Optional External Client App secret; leave empty for public PKCE clients
425
+ */
426
+ appConsumerSecret: string;
427
+ /**
428
+ * The login
429
+ */
430
+ login: string;
431
+ /**
432
+ * The Hyper Cloud database that Database.com connections attach, "default" if empty
433
+ */
434
+ databaseName?: string;
435
+ }
436
+ /**
437
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
438
+ * via the `definition` "SalesforceOAuthConfig".
439
+ */
440
+ export interface SalesforceOAuthConfig {
441
+ /**
442
+ * The oauth redirect
443
+ */
444
+ oauthRedirect: string;
445
+ }
446
+ /**
447
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
448
+ * via the `definition` "SalesforceCoreAccessToken".
449
+ */
450
+ export interface SalesforceCoreAccessToken {
451
+ /**
452
+ * Created token at timestamp
453
+ */
454
+ createdAt: string;
455
+ /**
456
+ * The Core OAuth access token; may be opaque
457
+ */
458
+ accessToken: string;
459
+ /**
460
+ * A URL indicating the instance of the user's org
461
+ */
462
+ instanceUrl?: string;
463
+ /**
464
+ * The instance url
465
+ */
466
+ apiInstanceUrl?: string;
467
+ /**
468
+ * An identity URL that can be used to identify the user and to query
469
+ */
470
+ id?: string;
471
+ /**
472
+ * A signed data structure that contains authenticated user attributes
473
+ */
474
+ idToken?: string;
475
+ /**
476
+ * Time stamp of when the signature was created
477
+ */
478
+ issuedAt?: string;
479
+ /**
480
+ * Token obtained from the web server, user-agent, or hybrid app token flow
481
+ */
482
+ refreshToken?: string;
483
+ /**
484
+ * The scopes associated with the access token
485
+ */
486
+ scope?: string;
487
+ /**
488
+ * Base64-encoded HMAC-SHA256 signature
489
+ */
490
+ signature?: string;
491
+ /**
492
+ * A Bearer token type
493
+ */
494
+ tokenType?: string;
495
+ }
496
+ /**
497
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
498
+ * via the `definition` "SalesforceCoreUserInfoPhotos".
499
+ */
500
+ export interface SalesforceCoreUserInfoPhotos {
501
+ /**
502
+ * User picture
503
+ */
504
+ picture?: string;
505
+ /**
506
+ * User thumbnail
507
+ */
508
+ thumbnail?: string;
509
+ }
510
+ /**
511
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
512
+ * via the `definition` "SalesforceCoreUserInfo".
513
+ */
514
+ export interface SalesforceCoreUserInfo {
515
+ /**
516
+ * Active user?
517
+ */
518
+ active?: boolean;
519
+ /**
520
+ * User email
521
+ */
522
+ email?: string;
523
+ /**
524
+ * User email verified?
525
+ */
526
+ emailVerified?: boolean;
527
+ /**
528
+ * Family name
529
+ */
530
+ familyName?: string;
531
+ /**
532
+ * Given name
533
+ */
534
+ givenName?: string;
535
+ /**
536
+ * Is app installed?
537
+ */
538
+ isAppInstalled?: boolean;
539
+ /**
540
+ * Is Salesforce integration user?
541
+ */
542
+ isSalesforceIntegrationUser?: boolean;
543
+ /**
544
+ * Language
545
+ */
546
+ language?: string;
547
+ /**
548
+ * Locale
549
+ */
550
+ locale?: string;
551
+ /**
552
+ * Name
553
+ */
554
+ name?: string;
555
+ /**
556
+ * Nickname
557
+ */
558
+ nickname?: string;
559
+ /**
560
+ * Organization ID
561
+ */
562
+ organizationId?: string;
563
+ /**
564
+ * Picture URL
565
+ */
566
+ picture?: string;
567
+ /**
568
+ * Preferred username
569
+ */
570
+ preferredUsername?: string;
571
+ /**
572
+ * Profile URL
573
+ */
574
+ profile?: string;
575
+ /**
576
+ * Subject
577
+ */
578
+ sub?: string;
579
+ /**
580
+ * Updated at timestamp
581
+ */
582
+ updatedAt?: string;
583
+ /**
584
+ * User ID
585
+ */
586
+ userId?: string;
587
+ /**
588
+ * User type
589
+ */
590
+ userType?: string;
591
+ /**
592
+ * UTC offset in milliseconds
593
+ */
594
+ utcOffset?: number;
595
+ /**
596
+ * Timezone info
597
+ */
598
+ zoneinfo?: string;
599
+ photos: SalesforceCoreUserInfoPhotos1;
600
+ }
601
+ /**
602
+ * Photo URLs (picture and thumbnail)
603
+ */
604
+ export interface SalesforceCoreUserInfoPhotos1 {
605
+ /**
606
+ * User picture
607
+ */
608
+ picture?: string;
609
+ /**
610
+ * User thumbnail
611
+ */
612
+ thumbnail?: string;
613
+ }
614
+ /**
615
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
616
+ * via the `definition` "SalesforceDataCloudJWTPayload".
617
+ */
618
+ export interface SalesforceDataCloudJWTPayload {
619
+ /**
620
+ * The JWT subject
621
+ */
622
+ sub?: string;
623
+ /**
624
+ * The JWT audience
625
+ */
626
+ aud?: string | string[];
627
+ /**
628
+ * The JWT expiration time, seconds since epoch for SF
629
+ */
630
+ exp: string | number;
631
+ /**
632
+ * The time when the JWT was issued
633
+ */
634
+ iat?: string | number;
635
+ /**
636
+ * The unique id of the JWT token
637
+ */
638
+ jti?: string;
639
+ /**
640
+ * The JWT scope
641
+ */
642
+ scp?: string | string[];
643
+ /**
644
+ * The JWT issuer
645
+ */
646
+ iss?: string;
647
+ /**
648
+ * The time when the JWT becomes valid
649
+ */
650
+ nbf?: string | number;
651
+ /**
652
+ * The SF core org id
653
+ */
654
+ orgId?: string;
655
+ /**
656
+ * The SF app id
657
+ */
658
+ sfappid?: string;
659
+ /**
660
+ * The SF oid
661
+ */
662
+ sfoid?: string;
663
+ /**
664
+ * The SF uid
665
+ */
666
+ sfuid?: string;
667
+ /**
668
+ * The Salesforce Core tenant id of the issuer
669
+ */
670
+ issuerTenantId?: string;
671
+ /**
672
+ * The Data Cloud tenant id used for Direct and Hyper routing
673
+ */
674
+ audienceTenantId?: string;
675
+ /**
676
+ * The custom attributes (contains "dataspace")
677
+ */
678
+ customAttributes?: {
679
+ [k: string]: any;
680
+ };
681
+ [k: string]: any;
682
+ }
683
+ /**
684
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
685
+ * via the `definition` "SalesforceDataCloudJWT".
686
+ */
687
+ export interface SalesforceDataCloudJWT {
688
+ /**
689
+ * The raw JWT
690
+ */
691
+ raw: string;
692
+ /**
693
+ * The JWT header
694
+ */
695
+ header: {
696
+ [k: string]: string;
697
+ };
698
+ payload: SalesforceDataCloudJWTPayload1;
699
+ }
700
+ /**
701
+ * The JWT payload
702
+ */
703
+ export interface SalesforceDataCloudJWTPayload1 {
704
+ /**
705
+ * The JWT subject
706
+ */
707
+ sub?: string;
708
+ /**
709
+ * The JWT audience
710
+ */
711
+ aud?: string | string[];
712
+ /**
713
+ * The JWT expiration time, seconds since epoch for SF
714
+ */
715
+ exp: string | number;
716
+ /**
717
+ * The time when the JWT was issued
718
+ */
719
+ iat?: string | number;
720
+ /**
721
+ * The unique id of the JWT token
722
+ */
723
+ jti?: string;
724
+ /**
725
+ * The JWT scope
726
+ */
727
+ scp?: string | string[];
728
+ /**
729
+ * The JWT issuer
730
+ */
731
+ iss?: string;
732
+ /**
733
+ * The time when the JWT becomes valid
734
+ */
735
+ nbf?: string | number;
736
+ /**
737
+ * The SF core org id
738
+ */
739
+ orgId?: string;
740
+ /**
741
+ * The SF app id
742
+ */
743
+ sfappid?: string;
744
+ /**
745
+ * The SF oid
746
+ */
747
+ sfoid?: string;
748
+ /**
749
+ * The SF uid
750
+ */
751
+ sfuid?: string;
752
+ /**
753
+ * The Salesforce Core tenant id of the issuer
754
+ */
755
+ issuerTenantId?: string;
756
+ /**
757
+ * The Data Cloud tenant id used for Direct and Hyper routing
758
+ */
759
+ audienceTenantId?: string;
760
+ /**
761
+ * The custom attributes (contains "dataspace")
762
+ */
763
+ customAttributes?: {
764
+ [k: string]: any;
765
+ };
766
+ [k: string]: any;
767
+ }
768
+ /**
769
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
770
+ * via the `definition` "SalesforceDataCloudAccessToken".
771
+ */
772
+ export interface SalesforceDataCloudAccessToken {
773
+ createdAt: string;
774
+ jwt: SalesforceDataCloudJWT;
775
+ expiresAt: string;
776
+ tokenType?: string;
777
+ issuedTokenType?: string;
778
+ instanceUrl?: string;
779
+ }
780
+ /**
781
+ * Salesforce Metadata Entity Field
782
+ *
783
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
784
+ * via the `definition` "SalesforceDataCloudMetadataEntityField".
785
+ */
786
+ export interface SalesforceDataCloudMetadataEntityField {
787
+ /**
788
+ * The field name
789
+ */
790
+ name: string;
791
+ /**
792
+ * The field display name
793
+ */
794
+ displayName: string;
795
+ /**
796
+ * The field type
797
+ */
798
+ type: string;
799
+ /**
800
+ * The business type
801
+ */
802
+ businessType: string;
803
+ }
804
+ /**
805
+ * Salesforce Metadata Primary Key
806
+ *
807
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
808
+ * via the `definition` "SalesforceDataCloudMetadataPrimaryKey".
809
+ */
810
+ export interface SalesforceDataCloudMetadataPrimaryKey {
811
+ /**
812
+ * The index order
813
+ */
814
+ indexOrder: string;
815
+ /**
816
+ * The primary key name
817
+ */
818
+ name: string;
819
+ /**
820
+ * The primary key display name
821
+ */
822
+ displayName: string;
823
+ }
824
+ /**
825
+ * Salesforce Metadata Entity
826
+ *
827
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
828
+ * via the `definition` "SalesforceDataCloudMetadataEntity".
829
+ */
830
+ export interface SalesforceDataCloudMetadataEntity {
831
+ /**
832
+ * The entity name
833
+ */
834
+ name: string;
835
+ /**
836
+ * The entity display name
837
+ */
838
+ displayName: string;
839
+ /**
840
+ * The entity category
841
+ */
842
+ category: string;
843
+ /**
844
+ * The entity fields
845
+ */
846
+ fields?: SalesforceDataCloudMetadataEntityField[];
847
+ /**
848
+ * The entity primary keys
849
+ */
850
+ primaryKeys?: SalesforceDataCloudMetadataPrimaryKey[];
851
+ }
852
+ /**
853
+ * Salesforce Metadata
854
+ *
855
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
856
+ * via the `definition` "SalesforceDataCloudMetadata".
857
+ */
858
+ export interface SalesforceDataCloudMetadata {
859
+ /**
860
+ * The metadata entities
861
+ */
862
+ metadata: SalesforceDataCloudMetadataEntity[];
863
+ }
864
+ /**
865
+ * The oauth state
866
+ *
867
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
868
+ * via the `definition` "SalesforceOAuthState".
869
+ */
870
+ export interface SalesforceOAuthState {
871
+ oauthParams: SalesforceOAuthParams;
872
+ oauthPkce: OAuthPKCEChallenge;
873
+ coreAuthCode: TemporaryToken;
874
+ coreAccessToken: SalesforceCoreAccessToken1;
875
+ dataCloudAccessToken: SalesforceDataCloudAccessToken1;
876
+ }
877
+ /**
878
+ * The oauth parameters
879
+ */
880
+ export interface SalesforceOAuthParams {
881
+ /**
882
+ * The url of the salesforce instance
883
+ */
884
+ instanceUrl: string;
885
+ /**
886
+ * The consumer key of the connected app
887
+ */
888
+ appConsumerKey: string;
889
+ /**
890
+ * The request time in milliseconds since epoch
891
+ */
892
+ requestedAt: number;
893
+ /**
894
+ * The time when the authorization code expires
895
+ */
896
+ expiresAt: number;
897
+ }
898
+ /**
899
+ * The oauth PKCE challenge
900
+ */
901
+ export interface OAuthPKCEChallenge {
902
+ /**
903
+ * The PKCE challenge
904
+ */
905
+ value: string;
906
+ /**
907
+ * The PKCE challenge verifier
908
+ */
909
+ verifier: string;
910
+ }
911
+ /**
912
+ * The core auth code that we can trade for an access token
913
+ */
914
+ export interface TemporaryToken {
915
+ /**
916
+ * The token
917
+ */
918
+ token: string;
919
+ /**
920
+ * The time when this token was created
921
+ */
922
+ createdAt: string;
923
+ }
924
+ /**
925
+ * The Core OAuth access token
926
+ */
927
+ export interface SalesforceCoreAccessToken1 {
928
+ /**
929
+ * Created token at timestamp
930
+ */
931
+ createdAt: string;
932
+ /**
933
+ * The Core OAuth access token; may be opaque
934
+ */
935
+ accessToken: string;
936
+ /**
937
+ * A URL indicating the instance of the user's org
938
+ */
939
+ instanceUrl?: string;
940
+ /**
941
+ * The instance url
942
+ */
943
+ apiInstanceUrl?: string;
944
+ /**
945
+ * An identity URL that can be used to identify the user and to query
946
+ */
947
+ id?: string;
948
+ /**
949
+ * A signed data structure that contains authenticated user attributes
950
+ */
951
+ idToken?: string;
952
+ /**
953
+ * Time stamp of when the signature was created
954
+ */
955
+ issuedAt?: string;
956
+ /**
957
+ * Token obtained from the web server, user-agent, or hybrid app token flow
958
+ */
959
+ refreshToken?: string;
960
+ /**
961
+ * The scopes associated with the access token
962
+ */
963
+ scope?: string;
964
+ /**
965
+ * Base64-encoded HMAC-SHA256 signature
966
+ */
967
+ signature?: string;
968
+ /**
969
+ * A Bearer token type
970
+ */
971
+ tokenType?: string;
972
+ }
973
+ /**
974
+ * The exchanged Data Cloud access token
975
+ */
976
+ export interface SalesforceDataCloudAccessToken1 {
977
+ createdAt: string;
978
+ jwt: SalesforceDataCloudJWT;
979
+ expiresAt: string;
980
+ tokenType?: string;
981
+ issuedTokenType?: string;
982
+ instanceUrl?: string;
983
+ }
984
+ /**
985
+ * Connection Details - Salesforce
986
+ *
987
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
988
+ * via the `definition` "SalesforceConnectionDetails".
989
+ */
990
+ export interface SalesforceConnectionDetails {
991
+ setupTimings: SalesforceSetupTimings1;
992
+ setupParams: SalesforceConnectionParams1;
993
+ oauthState?: SalesforceOAuthState1;
994
+ /**
995
+ * The setup error (if any)
996
+ */
997
+ setupError?: {
998
+ [k: string]: any;
999
+ };
1000
+ /**
1001
+ * The channel error (if any)
1002
+ */
1003
+ channelError?: {
1004
+ [k: string]: any;
1005
+ };
1006
+ /**
1007
+ * The health check error (if any)
1008
+ */
1009
+ healthCheckError?: {
1010
+ [k: string]: any;
1011
+ };
1012
+ }
1013
+ /**
1014
+ * The setup timings (if any)
1015
+ */
1016
+ export interface SalesforceSetupTimings1 {
1017
+ channelSetupStartedAt?: string;
1018
+ channelSetupCancelledAt?: string;
1019
+ channelSetupFailedAt?: string;
1020
+ channelReadyAt?: string;
1021
+ healthCheckStartedAt?: string;
1022
+ healthCheckCancelledAt?: string;
1023
+ healthCheckFailedAt?: string;
1024
+ healthCheckSucceededAt?: string;
1025
+ /**
1026
+ * Salesforce-specific auth timings
1027
+ */
1028
+ authStartedAt?: string;
1029
+ authCancelledAt?: string;
1030
+ authFailedAt?: string;
1031
+ pkceGenStartedAt?: string;
1032
+ pkceGenFinishedAt?: string;
1033
+ openedNativeAuthLinkAt?: string;
1034
+ openedWebAuthWindowAt?: string;
1035
+ closedWebAuthWindowAt?: string;
1036
+ oauthCodeReceivedAt?: string;
1037
+ coreAccessTokenRequestedAt?: string;
1038
+ coreAccessTokenReceivedAt?: string;
1039
+ dataCloudMetadataRequestedAt?: string;
1040
+ dataCloudAccessTokenRequestedAt?: string;
1041
+ dataCloudAccessTokenReceivedAt?: string;
1042
+ dataCloudMetadataReceivedAt?: string;
1043
+ }
1044
+ /**
1045
+ * The setup parameters (if any)
1046
+ */
1047
+ export interface SalesforceConnectionParams1 {
1048
+ /**
1049
+ * The instance url
1050
+ */
1051
+ instanceUrl: string;
1052
+ /**
1053
+ * The consumer key of the External Client App
1054
+ */
1055
+ appConsumerKey: string;
1056
+ /**
1057
+ * Optional External Client App secret; leave empty for public PKCE clients
1058
+ */
1059
+ appConsumerSecret: string;
1060
+ /**
1061
+ * The login
1062
+ */
1063
+ login: string;
1064
+ /**
1065
+ * The Hyper Cloud database that Database.com connections attach, "default" if empty
1066
+ */
1067
+ databaseName?: string;
1068
+ }
1069
+ /**
1070
+ * The auth state (if any)
1071
+ */
1072
+ export interface SalesforceOAuthState1 {
1073
+ oauthParams: SalesforceOAuthParams;
1074
+ oauthPkce: OAuthPKCEChallenge;
1075
+ coreAuthCode: TemporaryToken;
1076
+ coreAccessToken: SalesforceCoreAccessToken1;
1077
+ dataCloudAccessToken: SalesforceDataCloudAccessToken1;
1078
+ }
1079
+ /**
1080
+ * Trino OAuth state (runtime state during OAuth flow)
1081
+ *
1082
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
1083
+ * via the `definition` "TrinoOAuthState".
1084
+ */
1085
+ export interface TrinoOAuthState {
1086
+ oauthPkce: OAuthPKCEChallenge1;
1087
+ authCode: TemporaryToken1;
1088
+ accessToken: TrinoAccessToken;
1089
+ }
1090
+ /**
1091
+ * The PKCE challenge
1092
+ */
1093
+ export interface OAuthPKCEChallenge1 {
1094
+ /**
1095
+ * The PKCE challenge
1096
+ */
1097
+ value: string;
1098
+ /**
1099
+ * The PKCE challenge verifier
1100
+ */
1101
+ verifier: string;
1102
+ }
1103
+ /**
1104
+ * The authorization code
1105
+ */
1106
+ export interface TemporaryToken1 {
1107
+ /**
1108
+ * The token
1109
+ */
1110
+ token: string;
1111
+ /**
1112
+ * The time when this token was created
1113
+ */
1114
+ createdAt: string;
1115
+ }
1116
+ /**
1117
+ * The access token
1118
+ */
1119
+ export interface TrinoAccessToken {
1120
+ /**
1121
+ * Created token at timestamp
1122
+ */
1123
+ createdAt: string;
1124
+ /**
1125
+ * The access token
1126
+ */
1127
+ accessToken: string;
1128
+ /**
1129
+ * The token type (usually "Bearer")
1130
+ */
1131
+ tokenType: string;
1132
+ /**
1133
+ * The refresh token (if provided)
1134
+ */
1135
+ refreshToken?: string;
1136
+ /**
1137
+ * Expiration time
1138
+ */
1139
+ expiresAt?: string;
1140
+ /**
1141
+ * The scopes granted
1142
+ */
1143
+ scope?: string;
1144
+ }
1145
+ /**
1146
+ * Trino access token from OAuth
1147
+ *
1148
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
1149
+ * via the `definition` "TrinoAccessToken".
1150
+ */
1151
+ export interface TrinoAccessToken1 {
1152
+ /**
1153
+ * Created token at timestamp
1154
+ */
1155
+ createdAt: string;
1156
+ /**
1157
+ * The access token
1158
+ */
1159
+ accessToken: string;
1160
+ /**
1161
+ * The token type (usually "Bearer")
1162
+ */
1163
+ tokenType: string;
1164
+ /**
1165
+ * The refresh token (if provided)
1166
+ */
1167
+ refreshToken?: string;
1168
+ /**
1169
+ * Expiration time
1170
+ */
1171
+ expiresAt?: string;
1172
+ /**
1173
+ * The scopes granted
1174
+ */
1175
+ scope?: string;
1176
+ }
1177
+ /**
1178
+ * Connection Parameters - Trino
1179
+ *
1180
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
1181
+ * via the `definition` "TrinoConnectionParams".
1182
+ */
1183
+ export interface TrinoConnectionParams {
1184
+ draftRows?: ConnectionDraftRows;
1185
+ /**
1186
+ * The endpoint
1187
+ */
1188
+ endpoint: string;
1189
+ auth: TrinoAuthParams;
1190
+ /**
1191
+ * The catalog of the names that statements leave out, sent as X-Trino-Catalog
1192
+ */
1193
+ defaultCatalog?: string;
1194
+ /**
1195
+ * The schema of the names that statements leave out, sent as X-Trino-Schema with the default catalog
1196
+ */
1197
+ defaultSchema?: string;
1198
+ /**
1199
+ * The catalogs whose relations the catalog loader reads, 'catalog' for all of its schemas or 'catalog.schema' for one. Without them it reads the default catalog.
1200
+ */
1201
+ catalogs?: string[];
1202
+ /**
1203
+ * Renamed to defaultCatalog, read only from params that predate it
1204
+ */
1205
+ catalogName?: string;
1206
+ /**
1207
+ * Replaced by catalogs, read only from params that predate them: the schemas of catalogName that the catalog loader reads
1208
+ */
1209
+ schemaNames?: string[];
1210
+ /**
1211
+ * The metadata
1212
+ */
1213
+ metadata?: {
1214
+ [k: string]: string;
1215
+ };
1216
+ }
1217
+ /**
1218
+ * The authentication params
1219
+ */
1220
+ export interface TrinoAuthParams {
1221
+ /**
1222
+ * The auth type
1223
+ */
1224
+ authType: "AUTH_BASIC" | "AUTH_OAUTH";
1225
+ basic?: BasicAuthParams;
1226
+ oauth?: OAuthParams;
1227
+ }
1228
+ /**
1229
+ * The params for the basic auth
1230
+ */
1231
+ export interface BasicAuthParams {
1232
+ /**
1233
+ * The username (for basic auth)
1234
+ */
1235
+ username: string;
1236
+ /**
1237
+ * The secret (for basic auth, or access token for OAuth)
1238
+ */
1239
+ secret: string;
1240
+ }
1241
+ /**
1242
+ * The params for the oauth
1243
+ */
1244
+ export interface OAuthParams {
1245
+ /**
1246
+ * The OAuth authorization url
1247
+ */
1248
+ authorizationUrl: string;
1249
+ /**
1250
+ * The OAuth token url
1251
+ */
1252
+ tokenUrl: string;
1253
+ /**
1254
+ * The OAuth client ID
1255
+ */
1256
+ clientId: string;
1257
+ /**
1258
+ * The OAuth callback URL
1259
+ */
1260
+ callbackUrl: string;
1261
+ /**
1262
+ * The OAuth scopes
1263
+ */
1264
+ scopes?: string[];
1265
+ }
1266
+ /**
1267
+ * Trino Setup Timings (extends base timings with OAuth-specific timings)
1268
+ *
1269
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
1270
+ * via the `definition` "TrinoSetupTimings".
1271
+ */
1272
+ export interface TrinoSetupTimings {
1273
+ channelSetupStartedAt?: string;
1274
+ channelSetupCancelledAt?: string;
1275
+ channelSetupFailedAt?: string;
1276
+ channelReadyAt?: string;
1277
+ healthCheckStartedAt?: string;
1278
+ healthCheckCancelledAt?: string;
1279
+ healthCheckFailedAt?: string;
1280
+ healthCheckSucceededAt?: string;
1281
+ /**
1282
+ * Trino OAuth-specific timings
1283
+ */
1284
+ oauthStartedAt?: string;
1285
+ oauthCancelledAt?: string;
1286
+ oauthFailedAt?: string;
1287
+ pkceGenStartedAt?: string;
1288
+ pkceGenFinishedAt?: string;
1289
+ oauthBrowserOpenedAt?: string;
1290
+ oauthCodeReceivedAt?: string;
1291
+ accessTokenRequestedAt?: string;
1292
+ accessTokenReceivedAt?: string;
1293
+ }
1294
+ /**
1295
+ * Connection Details - Trino
1296
+ *
1297
+ * This interface was referenced by `DashqlConnectionJson`'s JSON-Schema
1298
+ * via the `definition` "TrinoConnectionDetails".
1299
+ */
1300
+ export interface TrinoConnectionDetails {
1301
+ setupTimings: TrinoSetupTimings1;
1302
+ setupParams: TrinoConnectionParams1;
1303
+ /**
1304
+ * The channel error (if any)
1305
+ */
1306
+ channelError?: {
1307
+ [k: string]: any;
1308
+ };
1309
+ /**
1310
+ * The health check error (if any)
1311
+ */
1312
+ healthCheckError?: {
1313
+ [k: string]: any;
1314
+ };
1315
+ /**
1316
+ * The schema resolution error (if any)
1317
+ */
1318
+ schemaResolutionError?: {
1319
+ [k: string]: any;
1320
+ };
1321
+ oauthState?: TrinoOAuthState1;
1322
+ }
1323
+ /**
1324
+ * The setup timings
1325
+ */
1326
+ export interface TrinoSetupTimings1 {
1327
+ channelSetupStartedAt?: string;
1328
+ channelSetupCancelledAt?: string;
1329
+ channelSetupFailedAt?: string;
1330
+ channelReadyAt?: string;
1331
+ healthCheckStartedAt?: string;
1332
+ healthCheckCancelledAt?: string;
1333
+ healthCheckFailedAt?: string;
1334
+ healthCheckSucceededAt?: string;
1335
+ /**
1336
+ * Trino OAuth-specific timings
1337
+ */
1338
+ oauthStartedAt?: string;
1339
+ oauthCancelledAt?: string;
1340
+ oauthFailedAt?: string;
1341
+ pkceGenStartedAt?: string;
1342
+ pkceGenFinishedAt?: string;
1343
+ oauthBrowserOpenedAt?: string;
1344
+ oauthCodeReceivedAt?: string;
1345
+ accessTokenRequestedAt?: string;
1346
+ accessTokenReceivedAt?: string;
1347
+ }
1348
+ /**
1349
+ * The channel parameters
1350
+ */
1351
+ export interface TrinoConnectionParams1 {
1352
+ draftRows?: ConnectionDraftRows;
1353
+ /**
1354
+ * The endpoint
1355
+ */
1356
+ endpoint: string;
1357
+ auth: TrinoAuthParams;
1358
+ /**
1359
+ * The catalog of the names that statements leave out, sent as X-Trino-Catalog
1360
+ */
1361
+ defaultCatalog?: string;
1362
+ /**
1363
+ * The schema of the names that statements leave out, sent as X-Trino-Schema with the default catalog
1364
+ */
1365
+ defaultSchema?: string;
1366
+ /**
1367
+ * The catalogs whose relations the catalog loader reads, 'catalog' for all of its schemas or 'catalog.schema' for one. Without them it reads the default catalog.
1368
+ */
1369
+ catalogs?: string[];
1370
+ /**
1371
+ * Renamed to defaultCatalog, read only from params that predate it
1372
+ */
1373
+ catalogName?: string;
1374
+ /**
1375
+ * Replaced by catalogs, read only from params that predate them: the schemas of catalogName that the catalog loader reads
1376
+ */
1377
+ schemaNames?: string[];
1378
+ /**
1379
+ * The metadata
1380
+ */
1381
+ metadata?: {
1382
+ [k: string]: string;
1383
+ };
1384
+ }
1385
+ /**
1386
+ * The OAuth state (if using OAuth)
1387
+ */
1388
+ export interface TrinoOAuthState1 {
1389
+ oauthPkce: OAuthPKCEChallenge1;
1390
+ authCode: TemporaryToken1;
1391
+ accessToken: TrinoAccessToken;
1392
+ }
1393
+ /**
1394
+ * Parameters for direct-to-Hyper connections
1395
+ */
1396
+ export interface HyperConnectionParams2 {
1397
+ draftRows?: ConnectionDraftRows;
1398
+ /**
1399
+ * The connection protocol
1400
+ */
1401
+ protocol: "WASM" | "V3_GRPC" | "V3_HTTP" | "V3_HTTP_LINK";
1402
+ /**
1403
+ * The endpoint
1404
+ */
1405
+ endpoint: string;
1406
+ tls: TlsConfig1;
1407
+ /**
1408
+ * The attached databases
1409
+ */
1410
+ attachedDatabases?: {
1411
+ [k: string]: any;
1412
+ }[];
1413
+ /**
1414
+ * The metadata
1415
+ */
1416
+ metadata?: {
1417
+ [k: string]: string;
1418
+ };
1419
+ /**
1420
+ * The query parameters that are added to every query
1421
+ */
1422
+ queryParameters?: {
1423
+ [k: string]: string;
1424
+ };
1425
+ }
1426
+ /**
1427
+ * Parameters for Salesforce connections
1428
+ */
1429
+ export interface SalesforceConnectionParams2 {
1430
+ /**
1431
+ * The instance url
1432
+ */
1433
+ instanceUrl: string;
1434
+ /**
1435
+ * The consumer key of the External Client App
1436
+ */
1437
+ appConsumerKey: string;
1438
+ /**
1439
+ * Optional External Client App secret; leave empty for public PKCE clients
1440
+ */
1441
+ appConsumerSecret: string;
1442
+ /**
1443
+ * The login
1444
+ */
1445
+ login: string;
1446
+ /**
1447
+ * The Hyper Cloud database that Database.com connections attach, "default" if empty
1448
+ */
1449
+ databaseName?: string;
1450
+ }
1451
+ /**
1452
+ * Parameters for Database.com connections, they share the parameters of Salesforce connections
1453
+ */
1454
+ export interface SalesforceConnectionParams3 {
1455
+ /**
1456
+ * The instance url
1457
+ */
1458
+ instanceUrl: string;
1459
+ /**
1460
+ * The consumer key of the External Client App
1461
+ */
1462
+ appConsumerKey: string;
1463
+ /**
1464
+ * Optional External Client App secret; leave empty for public PKCE clients
1465
+ */
1466
+ appConsumerSecret: string;
1467
+ /**
1468
+ * The login
1469
+ */
1470
+ login: string;
1471
+ /**
1472
+ * The Hyper Cloud database that Database.com connections attach, "default" if empty
1473
+ */
1474
+ databaseName?: string;
1475
+ }
1476
+ /**
1477
+ * Parameters for trino connections
1478
+ */
1479
+ export interface TrinoConnectionParams2 {
1480
+ draftRows?: ConnectionDraftRows;
1481
+ /**
1482
+ * The endpoint
1483
+ */
1484
+ endpoint: string;
1485
+ auth: TrinoAuthParams;
1486
+ /**
1487
+ * The catalog of the names that statements leave out, sent as X-Trino-Catalog
1488
+ */
1489
+ defaultCatalog?: string;
1490
+ /**
1491
+ * The schema of the names that statements leave out, sent as X-Trino-Schema with the default catalog
1492
+ */
1493
+ defaultSchema?: string;
1494
+ /**
1495
+ * The catalogs whose relations the catalog loader reads, 'catalog' for all of its schemas or 'catalog.schema' for one. Without them it reads the default catalog.
1496
+ */
1497
+ catalogs?: string[];
1498
+ /**
1499
+ * Renamed to defaultCatalog, read only from params that predate it
1500
+ */
1501
+ catalogName?: string;
1502
+ /**
1503
+ * Replaced by catalogs, read only from params that predate them: the schemas of catalogName that the catalog loader reads
1504
+ */
1505
+ schemaNames?: string[];
1506
+ /**
1507
+ * The metadata
1508
+ */
1509
+ metadata?: {
1510
+ [k: string]: string;
1511
+ };
1512
+ }
1513
+ /**
1514
+ * Details for Hyper connections
1515
+ */
1516
+ export interface HyperConnectionDetails1 {
1517
+ setupTimings: SetupTimings1;
1518
+ setupParams: HyperConnectionParams1;
1519
+ /**
1520
+ * The channel setup error (if any)
1521
+ */
1522
+ channelError?: {
1523
+ [k: string]: any;
1524
+ };
1525
+ /**
1526
+ * The health check error (if any)
1527
+ */
1528
+ healthCheckError?: {
1529
+ [k: string]: any;
1530
+ };
1531
+ }
1532
+ /**
1533
+ * Details for Salesforce connections
1534
+ */
1535
+ export interface SalesforceConnectionDetails1 {
1536
+ setupTimings: SalesforceSetupTimings1;
1537
+ setupParams: SalesforceConnectionParams1;
1538
+ oauthState?: SalesforceOAuthState1;
1539
+ /**
1540
+ * The setup error (if any)
1541
+ */
1542
+ setupError?: {
1543
+ [k: string]: any;
1544
+ };
1545
+ /**
1546
+ * The channel error (if any)
1547
+ */
1548
+ channelError?: {
1549
+ [k: string]: any;
1550
+ };
1551
+ /**
1552
+ * The health check error (if any)
1553
+ */
1554
+ healthCheckError?: {
1555
+ [k: string]: any;
1556
+ };
1557
+ }
1558
+ /**
1559
+ * Details for Database.com connections, they share the details of Salesforce connections
1560
+ */
1561
+ export interface SalesforceConnectionDetails2 {
1562
+ setupTimings: SalesforceSetupTimings1;
1563
+ setupParams: SalesforceConnectionParams1;
1564
+ oauthState?: SalesforceOAuthState1;
1565
+ /**
1566
+ * The setup error (if any)
1567
+ */
1568
+ setupError?: {
1569
+ [k: string]: any;
1570
+ };
1571
+ /**
1572
+ * The channel error (if any)
1573
+ */
1574
+ channelError?: {
1575
+ [k: string]: any;
1576
+ };
1577
+ /**
1578
+ * The health check error (if any)
1579
+ */
1580
+ healthCheckError?: {
1581
+ [k: string]: any;
1582
+ };
1583
+ }
1584
+ /**
1585
+ * Details for Trino connections
1586
+ */
1587
+ export interface TrinoConnectionDetails1 {
1588
+ setupTimings: TrinoSetupTimings1;
1589
+ setupParams: TrinoConnectionParams1;
1590
+ /**
1591
+ * The channel error (if any)
1592
+ */
1593
+ channelError?: {
1594
+ [k: string]: any;
1595
+ };
1596
+ /**
1597
+ * The health check error (if any)
1598
+ */
1599
+ healthCheckError?: {
1600
+ [k: string]: any;
1601
+ };
1602
+ /**
1603
+ * The schema resolution error (if any)
1604
+ */
1605
+ schemaResolutionError?: {
1606
+ [k: string]: any;
1607
+ };
1608
+ oauthState?: TrinoOAuthState1;
1609
+ }