drizzle-kit 0.20.17-a2979a1 → 0.20.17-ae6e691

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.
Files changed (55) hide show
  1. package/bin.cjs +34044 -26986
  2. package/index.d.mts +28 -60
  3. package/index.d.ts +28 -60
  4. package/package.json +5 -16
  5. package/payload.d.mts +987 -18
  6. package/payload.d.ts +987 -18
  7. package/payload.js +19096 -16804
  8. package/payload.mjs +19112 -16795
  9. package/utils-studio.js +17 -12
  10. package/utils-studio.mjs +17 -12
  11. package/utils.js +6 -6
  12. package/utils.mjs +6 -6
  13. package/@types/utils.d.ts +0 -12
  14. package/cli/commands/migrate.d.ts +0 -287
  15. package/cli/commands/mysqlIntrospect.d.ts +0 -50
  16. package/cli/commands/mysqlPushUtils.d.ts +0 -14
  17. package/cli/commands/pgIntrospect.d.ts +0 -59
  18. package/cli/commands/pgPushUtils.d.ts +0 -11
  19. package/cli/commands/sqliteIntrospect.d.ts +0 -103
  20. package/cli/commands/sqlitePushUtils.d.ts +0 -15
  21. package/cli/commands/utils.d.ts +0 -58
  22. package/cli/connections.d.ts +0 -13
  23. package/cli/selector-ui.d.ts +0 -13
  24. package/cli/utils.d.ts +0 -13
  25. package/cli/validations/cli.d.ts +0 -169
  26. package/cli/validations/common.d.ts +0 -214
  27. package/cli/validations/mysql.d.ts +0 -29
  28. package/cli/validations/outputs.d.ts +0 -42
  29. package/cli/validations/pg.d.ts +0 -46
  30. package/cli/validations/sqlite.d.ts +0 -22
  31. package/cli/views.d.ts +0 -63
  32. package/global.d.ts +0 -6
  33. package/introspect-sqlite.d.ts +0 -10
  34. package/jsonDiffer.d.ts +0 -61
  35. package/jsonStatements.d.ts +0 -376
  36. package/migrationPreparator.d.ts +0 -35
  37. package/schemaValidator.d.ts +0 -1316
  38. package/serializer/index.d.ts +0 -9
  39. package/serializer/mysqlImports.d.ts +0 -7
  40. package/serializer/mysqlSchema.d.ts +0 -4650
  41. package/serializer/mysqlSerializer.d.ts +0 -7
  42. package/serializer/pgImports.d.ts +0 -11
  43. package/serializer/pgSchema.d.ts +0 -4792
  44. package/serializer/pgSerializer.d.ts +0 -7
  45. package/serializer/schemaToDrizzle.d.ts +0 -7
  46. package/serializer/sqliteImports.d.ts +0 -7
  47. package/serializer/sqliteSchema.d.ts +0 -2801
  48. package/serializer/sqliteSerializer.d.ts +0 -6
  49. package/serializer/studio.d.ts +0 -51
  50. package/snapshotsDiffer.d.ts +0 -3937
  51. package/sqlgenerator.d.ts +0 -33
  52. package/utils/words.d.ts +0 -7
  53. package/utils-studio.d.mts +0 -4
  54. package/utils-studio.d.ts +0 -4
  55. package/utils.d.ts +0 -78
@@ -1,7 +0,0 @@
1
- import { AnyPgTable, PgEnum, PgSchema } from "drizzle-orm/pg-core";
2
- import type { IntrospectStage, IntrospectStatus } from "../cli/views";
3
- import type { PgSchemaInternal } from "../serializer/pgSchema";
4
- import type { DB } from "../utils";
5
- export declare const indexName: (tableName: string, columns: string[]) => string;
6
- export declare const generatePgSnapshot: (tables: AnyPgTable[], enums: PgEnum<any>[], schemas: PgSchema[], schemaFilter?: string[]) => PgSchemaInternal;
7
- export declare const fromDatabase: (db: DB, tablesFilter: ((table: string) => boolean) | undefined, schemaFilters: string[], progressCallback?: (stage: IntrospectStage, count: number, status: IntrospectStatus) => void) => Promise<PgSchemaInternal>;
@@ -1,7 +0,0 @@
1
- import { Relations } from "drizzle-orm";
2
- import { AnyPgTable } from "drizzle-orm/pg-core";
3
- import { AnySQLiteTable } from "drizzle-orm/sqlite-core";
4
- import type { PgSchemaInternal } from "./pgSchema";
5
- import type { SQLiteSchemaInternal } from "./sqliteSchema";
6
- export declare const pgSchemaToDrizzle: (schema: PgSchemaInternal, schemaName: string) => Record<string, AnyPgTable | Relations>;
7
- export declare const sqliteSchemaToDrizzle: (schema: SQLiteSchemaInternal) => Record<string, AnySQLiteTable | Relations>;
@@ -1,7 +0,0 @@
1
- import { AnySQLiteTable } from "drizzle-orm/sqlite-core";
2
- export declare const prepareFromExports: (exports: Record<string, unknown>) => {
3
- tables: AnySQLiteTable[];
4
- };
5
- export declare const prepareFromSqliteImports: (imports: string[]) => Promise<{
6
- tables: AnySQLiteTable[];
7
- }>;