@raypx-kit/drizzle-kit 0.0.0-alpha.2 → 0.0.0-alpha.3

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.
@@ -0,0 +1,9 @@
1
+ //#region src/utils/schemaValidator.d.ts
2
+ declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "mssql", "cockroach", "duckdb"];
3
+ type Dialect = (typeof dialects)[number];
4
+ //#endregion
5
+ //#region src/cli/validations/common.d.ts
6
+ declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite", "sqlite-cloud"];
7
+ type Driver = (typeof drivers)[number];
8
+ //#endregion
9
+ export { Dialect as n, Driver as t };
@@ -0,0 +1,9 @@
1
+ //#region src/utils/schemaValidator.d.ts
2
+ declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "mssql", "cockroach", "duckdb"];
3
+ type Dialect = (typeof dialects)[number];
4
+ //#endregion
5
+ //#region src/cli/validations/common.d.ts
6
+ declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite", "sqlite-cloud"];
7
+ type Driver = (typeof drivers)[number];
8
+ //#endregion
9
+ export { Dialect as n, Driver as t };
package/dist/index.d.mts CHANGED
@@ -1,10 +1,6 @@
1
- import { t as Dialect } from "./schemaValidator-OgLXlvBV.mjs";
2
- import { PGlite } from "@electric-sql/pglite";
1
+ import { n as Dialect, t as Driver } from "./common-BM4sgbVL.mjs";
3
2
  import { ConnectionOptions } from "tls";
4
- //#region src/cli/validations/common.d.ts
5
- declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite", "sqlite-cloud"];
6
- type Driver = (typeof drivers)[number];
7
- //#endregion
3
+
8
4
  //#region src/index.d.ts
9
5
  type SslOptions = {
10
6
  pfx?: string;
@@ -167,10 +163,6 @@ type Config = {
167
163
  dbCredentials: {
168
164
  url: string;
169
165
  };
170
- } | {
171
- dialect: Verify<Dialect, 'postgresql'>;
172
- driver: Verify<Driver, 'pglite'>;
173
- client: PGlite;
174
166
  } | {
175
167
  dialect: Verify<Dialect, 'mysql'>;
176
168
  dbCredentials: {
package/dist/index.d.ts CHANGED
@@ -1,10 +1,6 @@
1
- import { t as Dialect } from "./schemaValidator-OgLXlvBV.js";
2
- import { PGlite } from "@electric-sql/pglite";
1
+ import { n as Dialect, t as Driver } from "./common-DetJLxlu.js";
3
2
  import { ConnectionOptions } from "tls";
4
- //#region src/cli/validations/common.d.ts
5
- declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite", "sqlite-cloud"];
6
- type Driver = (typeof drivers)[number];
7
- //#endregion
3
+
8
4
  //#region src/index.d.ts
9
5
  type SslOptions = {
10
6
  pfx?: string;
@@ -167,10 +163,6 @@ type Config = {
167
163
  dbCredentials: {
168
164
  url: string;
169
165
  };
170
- } | {
171
- dialect: Verify<Dialect, 'postgresql'>;
172
- driver: Verify<Driver, 'pglite'>;
173
- client: PGlite;
174
166
  } | {
175
167
  dialect: Verify<Dialect, 'mysql'>;
176
168
  dbCredentials: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raypx-kit/drizzle-kit",
3
- "version": "0.0.0-alpha.2",
3
+ "version": "0.0.0-alpha.3",
4
4
  "description": "drizzle-kit's CLI and defineConfig without the unused prebuilt API and payload bundles.",
5
5
  "homepage": "https://github.com/raypx/raypx-kit/tree/canary/packages/drizzle-kit",
6
6
  "license": "MIT",
@@ -1,5 +0,0 @@
1
- //#region src/utils/schemaValidator.d.ts
2
- declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "mssql", "cockroach", "duckdb"];
3
- type Dialect = (typeof dialects)[number];
4
- //#endregion
5
- export { Dialect as t };
@@ -1,5 +0,0 @@
1
- //#region src/utils/schemaValidator.d.ts
2
- declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "mssql", "cockroach", "duckdb"];
3
- type Dialect = (typeof dialects)[number];
4
- //#endregion
5
- export { Dialect as t };