@lark-apaas/db-schema-sync 0.1.16 → 0.1.17-alpha.20260901101948

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/bin.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  __toESM,
7
7
  generateSchema,
8
8
  resolveEnvOptions
9
- } from "./chunk-SSQ5BI45.js";
9
+ } from "./chunk-ACLG7GQP.js";
10
10
 
11
11
  // node_modules/dotenv/package.json
12
12
  var require_package = __commonJS({
@@ -2429,6 +2429,9 @@ function extractTypeAnnotation(comment) {
2429
2429
  }
2430
2430
  }
2431
2431
  if (endIndex === 0) return null;
2432
+ while (afterType.slice(endIndex, endIndex + 2) === "[]") {
2433
+ endIndex += 2;
2434
+ }
2432
2435
  return afterType.slice(0, endIndex);
2433
2436
  }
2434
2437
  function parseColumnComment(comment) {
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  generateSchemaFromData,
6
6
  normalizeApiResponse,
7
7
  resolveEnvOptions
8
- } from "./chunk-SSQ5BI45.js";
8
+ } from "./chunk-ACLG7GQP.js";
9
9
  export {
10
10
  generateSchema,
11
11
  generateSchemaCode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/db-schema-sync",
3
- "version": "0.1.16",
3
+ "version": "0.1.17-alpha.20260901101948",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",