@polyglot-sql/sdk 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -11077,6 +11077,12 @@ export declare interface SchemaValidationOptions {
11077
11077
  * @default false
11078
11078
  */
11079
11079
  semantic?: boolean;
11080
+ /**
11081
+ * Enable strict syntax checks in addition to schema/type/reference checks.
11082
+ * Rejects permissive parse forms such as trailing commas before clause boundaries.
11083
+ * @default false
11084
+ */
11085
+ strictSyntax?: boolean;
11080
11086
  }
11081
11087
 
11082
11088
  /**
@@ -13568,6 +13574,13 @@ export declare interface ValidationOptions {
13568
13574
  * @default false
13569
13575
  */
13570
13576
  semantic?: boolean;
13577
+ /**
13578
+ * Enable strict syntax validation for non-canonical forms that are otherwise
13579
+ * parsed permissively for compatibility (for example, trailing commas before
13580
+ * clause boundaries like `SELECT a, FROM t`).
13581
+ * @default false
13582
+ */
13583
+ strictSyntax?: boolean;
13571
13584
  /**
13572
13585
  * Enable dialect-specific validation rules.
13573
13586
  * When true, additional dialect-specific rules are applied.