@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.
- package/CHANGELOG.md +8 -0
- package/dist/bin.cjs +2509 -3844
- package/dist/common-BM4sgbVL.d.mts +9 -0
- package/dist/common-DetJLxlu.d.ts +9 -0
- package/dist/index.d.mts +2 -10
- package/dist/index.d.ts +2 -10
- package/package.json +1 -1
- package/dist/schemaValidator-OgLXlvBV.d.mts +0 -5
- package/dist/schemaValidator-OgLXlvBV.d.ts +0 -5
|
@@ -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 {
|
|
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
|
-
|
|
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 {
|
|
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
|
-
|
|
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.
|
|
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",
|