@wvlet/wvlet 2025.1.17 → 2025.1.18

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.
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../lib/main.js"],"names":[],"mappings":"AA0juKA,4BAAkD;AAElD,wBAAuC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../lib/main.js"],"names":[],"mappings":"AA2juKA,4BAAkD;AAElD,wBAAuC"}
package/dist/lib/main.js CHANGED
@@ -18245,14 +18245,14 @@ $c_Lwvlet_lang_sdk_js_WvletJS$.prototype.compile__T__T__T = (function (query, op
18245
18245
  }
18246
18246
  }
18247
18247
  });
18248
- $c_Lwvlet_lang_sdk_js_WvletJS$.prototype.getVersion = (function () {
18249
- return $m_Lwvlet_lang_BuildInfo$().Lwvlet_lang_BuildInfo$__f_version;
18250
- });
18251
18248
  $c_Lwvlet_lang_sdk_js_WvletJS$.prototype.compile = (function (arg, ...rest) {
18252
18249
  var prep0 = $as_T(arg);
18253
18250
  var prep1 = ((rest[0] === (void 0)) ? "{}" : $as_T(rest[0]));
18254
18251
  return this.compile__T__T__T(prep0, prep1);
18255
18252
  });
18253
+ $c_Lwvlet_lang_sdk_js_WvletJS$.prototype.getVersion = (function () {
18254
+ return $m_Lwvlet_lang_BuildInfo$().Lwvlet_lang_BuildInfo$__f_version;
18255
+ });
18256
18256
  var $d_Lwvlet_lang_sdk_js_WvletJS$ = new $TypeData().initClass($c_Lwvlet_lang_sdk_js_WvletJS$, "wvlet.lang.sdk.js.WvletJS$", ({
18257
18257
  Lwvlet_lang_sdk_js_WvletJS$: 1
18258
18258
  }));
@@ -53426,78 +53426,80 @@ $c_Lwvlet_lang_catalog_StaticCatalogProvider$.prototype.loadCatalog__T__Lwvlet_l
53426
53426
  }
53427
53427
  return $m_s_None$();
53428
53428
  }
53429
- $m_Lwvlet_lang_compiler_SourceIO$();
53430
- var $x_3 = $m_sr_ScalaRunTime$();
53431
- var this$6 = $n($n(dbType).toString__T());
53432
- $x_3.wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)([$as_T(this$6.toLowerCase()), catalogName]));
53433
- if (($m_Lwvlet_lang_compiler_SourceIO$(), false)) {
53434
- try {
53435
- var LoggingMethods_this$2 = $m_Lwvlet_lang_catalog_StaticCatalogProvider$();
53436
- var this$9 = $n(LoggingMethods_this$2.logger__Lwvlet_log_Logger());
53437
- var level$1 = $m_Lwvlet_log_LogLevel$DEBUG$();
53438
- if ($n($p_Lwvlet_log_Logger___log__ju_logging_Logger(this$9)).isLoggable__ju_logging_Level__Z(level$1.Lwvlet_log_LogLevel__f_jlLevel)) {
53439
- $n(LoggingMethods_this$2.logger__Lwvlet_log_Logger()).log__Lwvlet_log_LogLevel__Lwvlet_log_LogSource__O__V($m_Lwvlet_log_LogLevel$DEBUG$(), new $c_Lwvlet_log_LogSource("", "StaticCatalogProvider.scala", 34, 61), ("Loading static catalog from: " + basePath));
53440
- }
53441
- $m_Lwvlet_lang_compiler_SourceIO$();
53442
- $m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)(["schemas.json"]));
53443
- matchResult1: {
53444
- var schemas;
53429
+ else {
53430
+ $m_Lwvlet_lang_compiler_SourceIO$();
53431
+ var $x_3 = $m_sr_ScalaRunTime$();
53432
+ var this$6 = $n($n(dbType).toString__T());
53433
+ $x_3.wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)([$as_T(this$6.toLowerCase()), catalogName]));
53434
+ if (($m_Lwvlet_lang_compiler_SourceIO$(), false)) {
53435
+ try {
53436
+ var LoggingMethods_this$2 = $m_Lwvlet_lang_catalog_StaticCatalogProvider$();
53437
+ var this$9 = $n(LoggingMethods_this$2.logger__Lwvlet_log_Logger());
53438
+ var level$1 = $m_Lwvlet_log_LogLevel$DEBUG$();
53439
+ if ($n($p_Lwvlet_log_Logger___log__ju_logging_Logger(this$9)).isLoggable__ju_logging_Level__Z(level$1.Lwvlet_log_LogLevel__f_jlLevel)) {
53440
+ $n(LoggingMethods_this$2.logger__Lwvlet_log_Logger()).log__Lwvlet_log_LogLevel__Lwvlet_log_LogSource__O__V($m_Lwvlet_log_LogLevel$DEBUG$(), new $c_Lwvlet_log_LogSource("", "StaticCatalogProvider.scala", 34, 63), ("Loading static catalog from: " + basePath));
53441
+ }
53445
53442
  $m_Lwvlet_lang_compiler_SourceIO$();
53446
- var x1 = $m_s_None$();
53447
- var x = $m_s_None$();
53448
- if ((x === x1)) {
53449
- var schemas = $m_sci_Nil$();
53450
- break matchResult1;
53443
+ $m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)(["schemas.json"]));
53444
+ matchResult1: {
53445
+ var schemas;
53446
+ $m_Lwvlet_lang_compiler_SourceIO$();
53447
+ var x1 = $m_s_None$();
53448
+ var x = $m_s_None$();
53449
+ if ((x === x1)) {
53450
+ var schemas = $m_sci_Nil$();
53451
+ break matchResult1;
53452
+ }
53453
+ throw new $c_s_MatchError(x1);
53451
53454
  }
53452
- throw new $c_s_MatchError(x1);
53453
- }
53454
- if ((schemas !== $m_sci_Nil$())) {
53455
- new $c_sci_$colon$colon(schemas.head__E(), $m_sci_Nil$());
53456
- schemas.tail__E();
53457
- }
53458
- var this$15 = $m_sci_Nil$();
53459
- var tables = $m_sci_Map$().from__sc_IterableOnce__sci_Map(this$15);
53460
- $m_Lwvlet_lang_compiler_SourceIO$();
53461
- $m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)(["functions.json"]));
53462
- matchResult3: {
53463
- var functions;
53455
+ if ((schemas !== $m_sci_Nil$())) {
53456
+ new $c_sci_$colon$colon(schemas.head__E(), $m_sci_Nil$());
53457
+ schemas.tail__E();
53458
+ }
53459
+ var this$15 = $m_sci_Nil$();
53460
+ var tables = $m_sci_Map$().from__sc_IterableOnce__sci_Map(this$15);
53464
53461
  $m_Lwvlet_lang_compiler_SourceIO$();
53465
- var x7 = $m_s_None$();
53466
- var x$3 = $m_s_None$();
53467
- if ((x$3 === x7)) {
53468
- var functions = $m_sci_Nil$();
53469
- break matchResult3;
53462
+ $m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)(["functions.json"]));
53463
+ matchResult3: {
53464
+ var functions;
53465
+ $m_Lwvlet_lang_compiler_SourceIO$();
53466
+ var x7 = $m_s_None$();
53467
+ var x$3 = $m_s_None$();
53468
+ if ((x$3 === x7)) {
53469
+ var functions = $m_sci_Nil$();
53470
+ break matchResult3;
53471
+ }
53472
+ throw new $c_s_MatchError(x7);
53470
53473
  }
53471
- throw new $c_s_MatchError(x7);
53474
+ var value = new $c_Lwvlet_lang_catalog_StaticCatalog(catalogName, dbType, schemas, tables, functions);
53475
+ return new $c_s_Some(value);
53472
53476
  }
53473
- var value = new $c_Lwvlet_lang_catalog_StaticCatalog(catalogName, dbType, schemas, tables, functions);
53474
- return new $c_s_Some(value);
53475
- }
53476
- catch (e$7) {
53477
- var e$8 = ((e$7 instanceof $c_jl_Throwable) ? e$7 : new $c_sjs_js_JavaScriptException(e$7));
53478
- if ((e$8 instanceof $c_jl_Exception)) {
53479
- var e$9 = $as_jl_Exception(e$8);
53480
- var LoggingMethods_this$5 = $m_Lwvlet_lang_catalog_StaticCatalogProvider$();
53481
- var this$21 = $n(LoggingMethods_this$5.logger__Lwvlet_log_Logger());
53482
- var level$2 = $m_Lwvlet_log_LogLevel$ERROR$();
53483
- if ($n($p_Lwvlet_log_Logger___log__ju_logging_Logger(this$21)).isLoggable__ju_logging_Level__Z(level$2.Lwvlet_log_LogLevel__f_jlLevel)) {
53484
- $n(LoggingMethods_this$5.logger__Lwvlet_log_Logger()).logWithCause__Lwvlet_log_LogLevel__Lwvlet_log_LogSource__O__jl_Throwable__V($m_Lwvlet_log_LogLevel$ERROR$(), new $c_Lwvlet_log_LogSource("", "StaticCatalogProvider.scala", 95, 11), ((((("Failed to load static catalog '" + catalogName) + "' from ") + basePath) + ": ") + $n(e$9).getMessage__T()), e$9);
53477
+ catch (e$7) {
53478
+ var e$8 = ((e$7 instanceof $c_jl_Throwable) ? e$7 : new $c_sjs_js_JavaScriptException(e$7));
53479
+ if ((e$8 instanceof $c_jl_Exception)) {
53480
+ var e$9 = $as_jl_Exception(e$8);
53481
+ var LoggingMethods_this$5 = $m_Lwvlet_lang_catalog_StaticCatalogProvider$();
53482
+ var this$21 = $n(LoggingMethods_this$5.logger__Lwvlet_log_Logger());
53483
+ var level$2 = $m_Lwvlet_log_LogLevel$ERROR$();
53484
+ if ($n($p_Lwvlet_log_Logger___log__ju_logging_Logger(this$21)).isLoggable__ju_logging_Level__Z(level$2.Lwvlet_log_LogLevel__f_jlLevel)) {
53485
+ $n(LoggingMethods_this$5.logger__Lwvlet_log_Logger()).logWithCause__Lwvlet_log_LogLevel__Lwvlet_log_LogSource__O__jl_Throwable__V($m_Lwvlet_log_LogLevel$ERROR$(), new $c_Lwvlet_log_LogSource("", "StaticCatalogProvider.scala", 95, 13), ((((("Failed to load static catalog '" + catalogName) + "' from ") + basePath) + ": ") + $n(e$9).getMessage__T()), e$9);
53486
+ }
53487
+ return $m_s_None$();
53488
+ }
53489
+ else {
53490
+ throw e$7;
53485
53491
  }
53486
- return $m_s_None$();
53487
- }
53488
- else {
53489
- throw e$7;
53490
53492
  }
53491
53493
  }
53492
- }
53493
- else {
53494
- var LoggingMethods_this$6 = $m_Lwvlet_lang_catalog_StaticCatalogProvider$();
53495
- var this$23 = $n(LoggingMethods_this$6.logger__Lwvlet_log_Logger());
53496
- var level$3 = $m_Lwvlet_log_LogLevel$DEBUG$();
53497
- if ($n($p_Lwvlet_log_Logger___log__ju_logging_Logger(this$23)).isLoggable__ju_logging_Level__Z(level$3.Lwvlet_log_LogLevel__f_jlLevel)) {
53498
- $n(LoggingMethods_this$6.logger__Lwvlet_log_Logger()).log__Lwvlet_log_LogLevel__Lwvlet_log_LogSource__O__V($m_Lwvlet_log_LogLevel$DEBUG$(), new $c_Lwvlet_log_LogSource("", "StaticCatalogProvider.scala", 101, 66), ("Static catalog path does not exist: " + basePath));
53494
+ else {
53495
+ var LoggingMethods_this$6 = $m_Lwvlet_lang_catalog_StaticCatalogProvider$();
53496
+ var this$23 = $n(LoggingMethods_this$6.logger__Lwvlet_log_Logger());
53497
+ var level$3 = $m_Lwvlet_log_LogLevel$DEBUG$();
53498
+ if ($n($p_Lwvlet_log_Logger___log__ju_logging_Logger(this$23)).isLoggable__ju_logging_Level__Z(level$3.Lwvlet_log_LogLevel__f_jlLevel)) {
53499
+ $n(LoggingMethods_this$6.logger__Lwvlet_log_Logger()).log__Lwvlet_log_LogLevel__Lwvlet_log_LogSource__O__V($m_Lwvlet_log_LogLevel$DEBUG$(), new $c_Lwvlet_log_LogSource("", "StaticCatalogProvider.scala", 102, 68), ("Static catalog path does not exist: " + basePath));
53500
+ }
53501
+ return $m_s_None$();
53499
53502
  }
53500
- return $m_s_None$();
53501
53503
  }
53502
53504
  });
53503
53505
  var $d_Lwvlet_lang_catalog_StaticCatalogProvider$ = new $TypeData().initClass($c_Lwvlet_lang_catalog_StaticCatalogProvider$, "wvlet.lang.catalog.StaticCatalogProvider$", ({
@@ -98439,11 +98441,11 @@ function $c_Lwvlet_lang_BuildInfo$() {
98439
98441
  this.Lwvlet_lang_BuildInfo$__f_toString = null;
98440
98442
  $n_Lwvlet_lang_BuildInfo$ = this;
98441
98443
  this.Lwvlet_lang_BuildInfo$__f_name = "wvlet-api";
98442
- this.Lwvlet_lang_BuildInfo$__f_version = "2025.1.17+0-f0dc063a+20250902-1840";
98444
+ this.Lwvlet_lang_BuildInfo$__f_version = "2025.1.18+0-a4f1271e+20250903-0344";
98443
98445
  this.Lwvlet_lang_BuildInfo$__f_scalaVersion = "3.3.5";
98444
98446
  this.Lwvlet_lang_BuildInfo$__f_sbtVersion = "1.11.5";
98445
- this.Lwvlet_lang_BuildInfo$__f_builtAtString = "2025-09-02 18:40:17.765+0000";
98446
- this.Lwvlet_lang_BuildInfo$__f_builtAtMillis = new $c_RTLong(196793701, 409);
98447
+ this.Lwvlet_lang_BuildInfo$__f_builtAtString = "2025-09-03 03:44:15.840+0000";
98448
+ this.Lwvlet_lang_BuildInfo$__f_builtAtMillis = new $c_RTLong(229431776, 409);
98447
98449
  this.Lwvlet_lang_BuildInfo$__f_toString = $m_sc_StringOps$().format$extension__T__sci_Seq__T("name: %s, version: %s, scalaVersion: %s, sbtVersion: %s, builtAtString: %s, builtAtMillis: %s", $m_sr_ScalaRunTime$().genericWrapArray__O__sci_ArraySeq(new $ac_O([this.Lwvlet_lang_BuildInfo$__f_name, this.Lwvlet_lang_BuildInfo$__f_version, this.Lwvlet_lang_BuildInfo$__f_scalaVersion, this.Lwvlet_lang_BuildInfo$__f_sbtVersion, this.Lwvlet_lang_BuildInfo$__f_builtAtString, this.Lwvlet_lang_BuildInfo$__f_builtAtMillis])));
98448
98450
  }
98449
98451
  $c_Lwvlet_lang_BuildInfo$.prototype = new $h_O();