drizzle-kit 0.20.17-7f33638 → 0.20.17-8018c29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. package/bin.cjs +57946 -11193
  2. package/index.d.mts +38 -64
  3. package/index.d.ts +38 -64
  4. package/package.json +15 -20
  5. package/payload.d.mts +987 -18
  6. package/payload.d.ts +987 -18
  7. package/payload.js +20014 -36130
  8. package/payload.mjs +19927 -36017
  9. package/utils-studio.js +207 -2641
  10. package/utils-studio.mjs +207 -2641
  11. package/utils.js +32 -26
  12. package/utils.mjs +32 -26
  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 -55
  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 -104
  20. package/cli/commands/sqlitePushUtils.d.ts +0 -15
  21. package/cli/commands/utils.d.ts +0 -58
  22. package/cli/selector-ui.d.ts +0 -13
  23. package/cli/utils.d.ts +0 -12
  24. package/cli/validations/cli.d.ts +0 -169
  25. package/cli/validations/common.d.ts +0 -214
  26. package/cli/validations/mysql.d.ts +0 -35
  27. package/cli/validations/outputs.d.ts +0 -41
  28. package/cli/validations/pg.d.ts +0 -37
  29. package/cli/validations/sqlite.d.ts +0 -34
  30. package/cli/views.d.ts +0 -63
  31. package/global.d.ts +0 -6
  32. package/introspect-sqlite.d.ts +0 -10
  33. package/jsonDiffer.d.ts +0 -61
  34. package/jsonStatements.d.ts +0 -376
  35. package/migrationPreparator.d.ts +0 -35
  36. package/schemaValidator.d.ts +0 -1316
  37. package/serializer/index.d.ts +0 -9
  38. package/serializer/mysqlImports.d.ts +0 -7
  39. package/serializer/mysqlSchema.d.ts +0 -4964
  40. package/serializer/mysqlSerializer.d.ts +0 -7
  41. package/serializer/pgImports.d.ts +0 -11
  42. package/serializer/pgSchema.d.ts +0 -4792
  43. package/serializer/pgSerializer.d.ts +0 -7
  44. package/serializer/schemaToDrizzle.d.ts +0 -7
  45. package/serializer/sqliteImports.d.ts +0 -7
  46. package/serializer/sqliteSchema.d.ts +0 -2801
  47. package/serializer/sqliteSerializer.d.ts +0 -6
  48. package/snapshotsDiffer.d.ts +0 -3937
  49. package/sqlgenerator.d.ts +0 -33
  50. package/utils/words.d.ts +0 -7
  51. package/utils-studio.d.mts +0 -4
  52. package/utils-studio.d.ts +0 -4
  53. package/utils.d.ts +0 -72
@@ -1,9 +0,0 @@
1
- import type { PgSchemaInternal } from "./pgSchema";
2
- import type { SQLiteSchemaInternal } from "./sqliteSchema";
3
- import type { MySqlSchemaInternal } from "./mysqlSchema";
4
- import type { SQL } from "drizzle-orm";
5
- export declare const sqlToStr: (sql: SQL) => string;
6
- export declare const serializeMySql: (path: string | string[]) => Promise<MySqlSchemaInternal>;
7
- export declare const serializePg: (path: string | string[], schemaFilter?: string[]) => Promise<PgSchemaInternal>;
8
- export declare const serializeSQLite: (path: string | string[]) => Promise<SQLiteSchemaInternal>;
9
- export declare const prepareFilenames: (path: string | string[]) => string[];
@@ -1,7 +0,0 @@
1
- import { AnyMySqlTable } from "drizzle-orm/mysql-core";
2
- export declare const prepareFromExports: (exports: Record<string, unknown>) => {
3
- tables: AnyMySqlTable[];
4
- };
5
- export declare const prepareFromMySqlImports: (imports: string[]) => Promise<{
6
- tables: AnyMySqlTable[];
7
- }>;