drizzle-kit 1.0.0-beta.8-4ae55b5 → 1.0.0-beta.8-dbc3565

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.
@@ -1,5 +1,5 @@
1
1
  import { PGlite } from '@electric-sql/pglite';
2
- import { PgDatabase } from 'drizzle-orm/pg-core';
2
+ import { PgAsyncDatabase } from 'drizzle-orm/pg-core/async';
3
3
  import * as zod from 'zod';
4
4
  import { TypeOf } from 'zod';
5
5
  import { C as CasingType } from './common-BaHPiKKu.mjs';
@@ -12022,7 +12022,7 @@ type PostgresSnapshot = typeof snapshotValidator.shape;
12022
12022
 
12023
12023
  declare const generateDrizzleJson: (imports: Record<string, unknown>, prevId?: string, schemaFilters?: string[], casing?: CasingType) => Promise<PostgresSnapshot>;
12024
12024
  declare const generateMigration: (prev: PostgresSnapshot, cur: PostgresSnapshot) => Promise<string[]>;
12025
- declare const pushSchema: (imports: Record<string, unknown>, drizzleInstance: PgDatabase<any>, casing?: CasingType, entitiesConfig?: EntitiesFilterConfig, migrationsConfig?: {
12025
+ declare const pushSchema: (imports: Record<string, unknown>, drizzleInstance: PgAsyncDatabase<any>, casing?: CasingType, entitiesConfig?: EntitiesFilterConfig, migrationsConfig?: {
12026
12026
  table?: string;
12027
12027
  schema?: string;
12028
12028
  }) => Promise<{
package/api-postgres.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { PGlite } from '@electric-sql/pglite';
2
- import { PgDatabase } from 'drizzle-orm/pg-core';
2
+ import { PgAsyncDatabase } from 'drizzle-orm/pg-core/async';
3
3
  import * as zod from 'zod';
4
4
  import { TypeOf } from 'zod';
5
5
  import { C as CasingType } from './common-BaHPiKKu.js';
@@ -12022,7 +12022,7 @@ type PostgresSnapshot = typeof snapshotValidator.shape;
12022
12022
 
12023
12023
  declare const generateDrizzleJson: (imports: Record<string, unknown>, prevId?: string, schemaFilters?: string[], casing?: CasingType) => Promise<PostgresSnapshot>;
12024
12024
  declare const generateMigration: (prev: PostgresSnapshot, cur: PostgresSnapshot) => Promise<string[]>;
12025
- declare const pushSchema: (imports: Record<string, unknown>, drizzleInstance: PgDatabase<any>, casing?: CasingType, entitiesConfig?: EntitiesFilterConfig, migrationsConfig?: {
12025
+ declare const pushSchema: (imports: Record<string, unknown>, drizzleInstance: PgAsyncDatabase<any>, casing?: CasingType, entitiesConfig?: EntitiesFilterConfig, migrationsConfig?: {
12026
12026
  table?: string;
12027
12027
  schema?: string;
12028
12028
  }) => Promise<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "1.0.0-beta.8-4ae55b5",
3
+ "version": "1.0.0-beta.8-dbc3565",
4
4
  "homepage": "https://orm.drizzle.team",
5
5
  "keywords": [
6
6
  "drizzle",
@@ -62,6 +62,7 @@
62
62
  "@aws-sdk/client-rds-data": "^3.556.0",
63
63
  "@cloudflare/workers-types": "^4.20230518.0",
64
64
  "@duckdb/node-api": "1.3.2-alpha.24",
65
+ "@effect/sql": "^0.48.5",
65
66
  "@electric-sql/pglite": "^0.2.12",
66
67
  "@hono/node-server": "^1.9.0",
67
68
  "@hono/zod-validator": "^0.2.1",