drizzle-kit 0.19.13-3b2cf28 → 0.19.13-e7108b7

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 (43) hide show
  1. package/package.json +1 -1
  2. package/utils.d.ts +1 -2
  3. package/@types/utils.d.ts +0 -12
  4. package/cli/commands/migrate.d.ts +0 -141
  5. package/cli/commands/mysqlUp.d.ts +0 -4
  6. package/cli/commands/pgIntrospect.d.ts +0 -118
  7. package/cli/commands/pgPushUtils.d.ts +0 -14
  8. package/cli/commands/pgUp.d.ts +0 -4
  9. package/cli/commands/sqliteIntrospect.d.ts +0 -102
  10. package/cli/commands/sqliteUtils.d.ts +0 -162
  11. package/cli/commands/upFolders.d.ts +0 -27
  12. package/cli/commands/utils.d.ts +0 -265
  13. package/cli/selector-ui.d.ts +0 -13
  14. package/cli/validations/common.d.ts +0 -13
  15. package/cli/validations/mysql.d.ts +0 -414
  16. package/cli/validations/outputs.d.ts +0 -39
  17. package/cli/validations/pg.d.ts +0 -438
  18. package/cli/validations/sqlite.d.ts +0 -220
  19. package/cli/validations/studio.d.ts +0 -469
  20. package/cli/views.d.ts +0 -61
  21. package/drivers/index.d.ts +0 -26
  22. package/global.d.ts +0 -2
  23. package/introspect.d.ts +0 -4
  24. package/jsonDiffer.d.ts +0 -76
  25. package/jsonStatements.d.ts +0 -349
  26. package/migrationPreparator.d.ts +0 -35
  27. package/schemaValidator.d.ts +0 -1236
  28. package/serializer/index.d.ts +0 -9
  29. package/serializer/mysqlImports.d.ts +0 -6
  30. package/serializer/mysqlSchema.d.ts +0 -3833
  31. package/serializer/mysqlSerializer.d.ts +0 -7
  32. package/serializer/pgImports.d.ts +0 -11
  33. package/serializer/pgSchema.d.ts +0 -4000
  34. package/serializer/pgSerializer.d.ts +0 -7
  35. package/serializer/sqliteImports.d.ts +0 -5
  36. package/serializer/sqliteSchema.d.ts +0 -3162
  37. package/serializer/sqliteSerializer.d.ts +0 -8
  38. package/serializer/studioUtils.d.ts +0 -31
  39. package/snapshotsDiffer.d.ts +0 -2660
  40. package/sqlgenerator.d.ts +0 -33
  41. package/sqlite-introspect.d.ts +0 -5
  42. package/utils/words.d.ts +0 -7
  43. package/utilsR.d.ts +0 -209
@@ -1,7 +0,0 @@
1
- import { AnyMySqlTable, MySqlSchema } from "drizzle-orm/mysql-core";
2
- import { MySqlSchemaInternal } from "src/serializer/mysqlSchema";
3
- import { Connection } from "mysql2/promise";
4
- import { IntrospectStage, IntrospectStatus } from "src/cli/views";
5
- export declare const indexName: (tableName: string, columns: string[]) => string;
6
- export declare const generateMySqlSnapshot: (tables: AnyMySqlTable[], enums: any[], mysqlSchemas: MySqlSchema[]) => MySqlSchemaInternal;
7
- export declare const fromDatabase: (db: Connection, inputSchema: string, tablesFilter?: (table: string) => boolean, progressCallback?: ((stage: IntrospectStage, count: number, status: IntrospectStatus) => void) | undefined) => Promise<MySqlSchemaInternal>;
@@ -1,11 +0,0 @@
1
- import { PgSchema, PgEnum, AnyPgTable } from "drizzle-orm/pg-core";
2
- export declare const prepareFromExports: (exports: Record<string, unknown>) => {
3
- tables: AnyPgTable<{}>[];
4
- enums: PgEnum<any>[];
5
- schemas: PgSchema<string>[];
6
- };
7
- export declare const prepareFromPgImports: (imports: string[]) => Promise<{
8
- tables: AnyPgTable<{}>[];
9
- enums: PgEnum<any>[];
10
- schemas: PgSchema<string>[];
11
- }>;