drizzle-kit 0.19.13-e7108b7 → 0.19.13-e99bac1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/@types/utils.d.ts +12 -0
  2. package/cli/commands/migrate.d.ts +141 -0
  3. package/cli/commands/mysqlUp.d.ts +4 -0
  4. package/cli/commands/pgIntrospect.d.ts +118 -0
  5. package/cli/commands/pgPushUtils.d.ts +14 -0
  6. package/cli/commands/pgUp.d.ts +4 -0
  7. package/cli/commands/sqliteIntrospect.d.ts +102 -0
  8. package/cli/commands/sqliteUtils.d.ts +162 -0
  9. package/cli/commands/upFolders.d.ts +27 -0
  10. package/cli/commands/utils.d.ts +265 -0
  11. package/cli/selector-ui.d.ts +13 -0
  12. package/cli/validations/common.d.ts +13 -0
  13. package/cli/validations/mysql.d.ts +414 -0
  14. package/cli/validations/outputs.d.ts +39 -0
  15. package/cli/validations/pg.d.ts +438 -0
  16. package/cli/validations/sqlite.d.ts +220 -0
  17. package/cli/validations/studio.d.ts +469 -0
  18. package/cli/views.d.ts +61 -0
  19. package/drivers/index.d.ts +26 -0
  20. package/global.d.ts +2 -0
  21. package/index.cjs +127 -8668
  22. package/introspect.d.ts +4 -0
  23. package/jsonDiffer.d.ts +76 -0
  24. package/jsonStatements.d.ts +349 -0
  25. package/migrationPreparator.d.ts +35 -0
  26. package/package.json +1 -1
  27. package/schemaValidator.d.ts +1236 -0
  28. package/serializer/index.d.ts +9 -0
  29. package/serializer/mysqlImports.d.ts +6 -0
  30. package/serializer/mysqlSchema.d.ts +3833 -0
  31. package/serializer/mysqlSerializer.d.ts +7 -0
  32. package/serializer/pgImports.d.ts +11 -0
  33. package/serializer/pgSchema.d.ts +4000 -0
  34. package/serializer/pgSerializer.d.ts +7 -0
  35. package/serializer/sqliteImports.d.ts +5 -0
  36. package/serializer/sqliteSchema.d.ts +3162 -0
  37. package/serializer/sqliteSerializer.d.ts +8 -0
  38. package/serializer/studioUtils.d.ts +31 -0
  39. package/snapshotsDiffer.d.ts +2660 -0
  40. package/sqlgenerator.d.ts +33 -0
  41. package/sqlite-introspect.d.ts +5 -0
  42. package/utils/words.d.ts +7 -0
  43. package/utils.d.ts +10 -6
  44. package/utils.js +117 -8658
  45. package/utilsR.d.ts +209 -0
@@ -0,0 +1,9 @@
1
+ import { PgSchemaInternal } from "./pgSchema";
2
+ import { SQLiteSchemaInternal } from "./sqliteSchema";
3
+ import { MySqlSchemaInternal } from "./mysqlSchema";
4
+ import { 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[];
@@ -0,0 +1,6 @@
1
+ import { AnyMySqlTable, MySqlSchema } from "drizzle-orm/mysql-core";
2
+ export declare const prepareFromMySqlImports: (imports: string[]) => Promise<{
3
+ tables: AnyMySqlTable<{}>[];
4
+ enums: any[];
5
+ schemas: MySqlSchema<string>[];
6
+ }>;