@flowblade/sqlduck 0.32.0 → 0.33.0

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.
@@ -254,4 +254,8 @@ type MapRelaxedZodSchemaField<T extends z.ZodTypeAny> = T extends z.ZodDate ? st
254
254
  */
255
255
  type InferZodRelaxedDataSchema<T extends z.ZodObject<any>> = { [K in keyof T['shape']]: MapRelaxedZodSchemaField<T['shape'][K]>; };
256
256
  //#endregion
257
- export { assertValidAliasName as a, DuckConnectionParams as c, duckDsnZodSchema as i, duckAllConnectionOptionsZodSchema as l, ensureZodTableSchema as n, assertValidSchemaName as o, duckValidatorsZod as r, assertValidTableName as s, InferZodRelaxedDataSchema as t, duckConnectionParamsZodSchema as u };
257
+ //#region src/validation/zod/table-schema-zod.d.ts
258
+ type ZodSchemaSupportedTypes = z.ZodString | z.ZodNumber | z.ZodInt | z.ZodInt32 | z.ZodUInt32 | z.ZodBigInt | z.ZodBoolean | z.ZodDate | z.ZodISODateTime | z.ZodISOTime | z.ZodISODate | z.ZodEmail | z.ZodURL | z.ZodUUID | z.ZodCUID | z.ZodCUID2 | z.ZodULID | z.ZodEnum;
259
+ type TableSchemaZod = z.ZodObject<Record<string, ZodSchemaSupportedTypes | z.ZodNullable<ZodSchemaSupportedTypes> | z.ZodCodec | z.ZodNullable<z.ZodCodec>>>;
260
+ //#endregion
261
+ export { duckDsnZodSchema as a, assertValidTableName as c, duckConnectionParamsZodSchema as d, duckValidatorsZod as i, DuckConnectionParams as l, InferZodRelaxedDataSchema as n, assertValidAliasName as o, ensureZodTableSchema as r, assertValidSchemaName as s, TableSchemaZod as t, duckAllConnectionOptionsZodSchema as u };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { c as DuckConnectionParams, t as InferZodRelaxedDataSchema } from "./index-CvC0hHHa.mjs";
1
+ import { l as DuckConnectionParams, n as InferZodRelaxedDataSchema, t as TableSchemaZod } from "./index-BKsJVkXZ.mjs";
2
2
  import { DuckDBConnection, DuckDBType } from "@duckdb/node-api";
3
3
  import { Logger } from "@logtape/logtape";
4
4
  import * as z from "zod";
@@ -77,10 +77,6 @@ declare class Table {
77
77
  withSchema: (schema: string) => Table;
78
78
  }
79
79
  //#endregion
80
- //#region src/table/table-schema-zod.type.d.ts
81
- type ZodSchemaSupportedTypes = z.ZodString | z.ZodNumber | z.ZodInt | z.ZodInt32 | z.ZodUInt32 | z.ZodBigInt | z.ZodBoolean | z.ZodDate | z.ZodISODateTime | z.ZodISOTime | z.ZodISODate | z.ZodEmail | z.ZodURL | z.ZodUUID | z.ZodCUID | z.ZodCUID2 | z.ZodULID | z.ZodEnum;
82
- type TableSchemaZod = z.ZodObject<Record<string, ZodSchemaSupportedTypes | z.ZodNullable<ZodSchemaSupportedTypes> | z.ZodCodec | z.ZodNullable<z.ZodCodec>>>;
83
- //#endregion
84
80
  //#region src/table/get-table-create-from-zod.d.ts
85
81
  type TableCreateOptions = {
86
82
  create?: 'CREATE' | 'CREATE_OR_REPLACE' | 'IF_NOT_EXISTS';
@@ -1,2 +1,2 @@
1
- import { a as assertValidAliasName, i as duckDsnZodSchema, l as duckAllConnectionOptionsZodSchema, n as ensureZodTableSchema, o as assertValidSchemaName, r as duckValidatorsZod, s as assertValidTableName, t as InferZodRelaxedDataSchema, u as duckConnectionParamsZodSchema } from "../../index-CvC0hHHa.mjs";
2
- export { type InferZodRelaxedDataSchema, assertValidAliasName, assertValidSchemaName, assertValidTableName, duckAllConnectionOptionsZodSchema, duckConnectionParamsZodSchema, duckDsnZodSchema, duckValidatorsZod, ensureZodTableSchema };
1
+ import { a as duckDsnZodSchema, c as assertValidTableName, d as duckConnectionParamsZodSchema, i as duckValidatorsZod, n as InferZodRelaxedDataSchema, o as assertValidAliasName, r as ensureZodTableSchema, s as assertValidSchemaName, t as TableSchemaZod, u as duckAllConnectionOptionsZodSchema } from "../../index-BKsJVkXZ.mjs";
2
+ export { type InferZodRelaxedDataSchema, type TableSchemaZod, assertValidAliasName, assertValidSchemaName, assertValidTableName, duckAllConnectionOptionsZodSchema, duckConnectionParamsZodSchema, duckDsnZodSchema, duckValidatorsZod, ensureZodTableSchema };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowblade/sqlduck",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -67,12 +67,12 @@
67
67
  },
68
68
  "dependencies": {
69
69
  "@flowblade/core": "^0.2.29",
70
- "@flowblade/source-duckdb": "^0.26.0",
70
+ "@flowblade/source-duckdb": "^0.27.0",
71
71
  "@flowblade/sql-tag": "^0.3.4",
72
72
  "@httpx/assert": "^0.17.2",
73
73
  "@httpx/dsn-parser": "^1.9.12",
74
74
  "@httpx/plain-object": "^2.1.12",
75
- "@logtape/logtape": "^2.2.4",
75
+ "@logtape/logtape": "^2.3.0",
76
76
  "@standard-schema/spec": "^1.1.0",
77
77
  "is-safe-filename": "0.1.1",
78
78
  "p-queue": "^9.3.3",
@@ -92,20 +92,20 @@
92
92
  }
93
93
  },
94
94
  "devDependencies": {
95
- "@belgattitude/eslint-config-bases": "8.19.0",
96
- "@dotenvx/dotenvx": "2.19.0",
97
- "@duckdb/node-api": "1.5.5-r.2",
95
+ "@belgattitude/eslint-config-bases": "8.19.1",
96
+ "@dotenvx/dotenvx": "2.19.1",
97
+ "@duckdb/node-api": "1.5.5-r.3",
98
98
  "@faker-js/faker": "10.5.0",
99
- "@flowblade/source-kysely": "^1.6.2",
99
+ "@flowblade/source-kysely": "^1.7.0",
100
100
  "@httpx/assert": "0.17.2",
101
101
  "@mitata/counters": "0.0.8",
102
- "@size-limit/esbuild": "13.0.1",
103
- "@size-limit/file": "13.0.1",
102
+ "@size-limit/esbuild": "13.0.3",
103
+ "@size-limit/file": "13.0.3",
104
104
  "@testcontainers/mssqlserver": "12.0.4",
105
105
  "@total-typescript/ts-reset": "0.6.1",
106
- "@types/node": "26.1.1",
107
- "@typescript-eslint/eslint-plugin": "8.65.0",
108
- "@typescript-eslint/parser": "8.65.0",
106
+ "@types/node": "26.1.2",
107
+ "@typescript-eslint/eslint-plugin": "8.66.0",
108
+ "@typescript-eslint/parser": "8.66.0",
109
109
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
110
110
  "@vitest/coverage-v8": "4.1.10",
111
111
  "@vitest/ui": "4.1.10",
@@ -117,22 +117,22 @@
117
117
  "es-toolkit": "1.50.0",
118
118
  "esbuild": "0.28.1",
119
119
  "eslint": "8.57.1",
120
- "execa": "10.0.0",
120
+ "execa": "10.0.1",
121
121
  "is-in-ci": "2.0.0",
122
122
  "kysely": "0.29.4",
123
123
  "mitata": "1.0.34",
124
- "npm-run-all2": "9.0.2",
124
+ "npm-run-all2": "9.0.3",
125
125
  "prettier": "3.9.6",
126
126
  "publint": "0.3.22",
127
127
  "regexp.escape": "2.0.1",
128
128
  "rimraf": "6.1.3",
129
- "size-limit": "13.0.1",
129
+ "size-limit": "13.0.3",
130
130
  "sql-formatter": "15.8.2",
131
131
  "tarn": "3.1.2",
132
132
  "tedious": "20.0.0",
133
133
  "testcontainers": "12.0.4",
134
134
  "tsdown": "0.22.14",
135
- "tsx": "4.23.1",
135
+ "tsx": "4.23.5",
136
136
  "typedoc": "0.28.20",
137
137
  "typedoc-plugin-markdown": "4.12.0",
138
138
  "typescript": "6.0.3",