drizzle-kit 0.20.14-a183d8b → 0.20.14-b6f235e

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/bin.cjs +20571 -19934
  2. package/cli/commands/migrate.d.ts +114 -90
  3. package/cli/commands/mysqlIntrospect.d.ts +8 -14
  4. package/cli/commands/pgIntrospect.d.ts +17 -10
  5. package/cli/commands/sqliteIntrospect.d.ts +8 -8
  6. package/cli/commands/utils.d.ts +5 -5
  7. package/cli/{index.d.ts → validations/cli.d.ts} +33 -20
  8. package/cli/validations/common.d.ts +1 -1
  9. package/cli/views.d.ts +6 -4
  10. package/global.d.ts +3 -1
  11. package/index.js +1 -0
  12. package/introspect-pg.d.ts +4 -1
  13. package/jsonDiffer.d.ts +14 -29
  14. package/jsonStatements.d.ts +38 -11
  15. package/package.json +18 -50
  16. package/payload.js +7697 -8205
  17. package/payload.mjs +6841 -7355
  18. package/schemaValidator.d.ts +72 -69
  19. package/serializer/mysqlImports.d.ts +3 -7
  20. package/serializer/mysqlSchema.d.ts +1624 -493
  21. package/serializer/mysqlSerializer.d.ts +2 -2
  22. package/serializer/pgImports.d.ts +2 -2
  23. package/serializer/pgSchema.d.ts +1260 -801
  24. package/serializer/sqliteImports.d.ts +2 -4
  25. package/serializer/sqliteSchema.d.ts +144 -570
  26. package/serializer/sqliteSerializer.d.ts +1 -1
  27. package/snapshotsDiffer.d.ts +1908 -1050
  28. package/utils/words.d.ts +1 -1
  29. package/utils-studio.js +4144 -85
  30. package/utils-studio.mjs +4144 -85
  31. package/utils.d.ts +6 -140
  32. package/utils.js +4112 -7326
  33. package/utils.mjs +4195 -7409
  34. package/cli/commands/check.d.ts +0 -2
  35. package/cli/commands/drop.d.ts +0 -4
  36. package/cli/commands/mysqlUp.d.ts +0 -4
  37. package/cli/commands/pgUp.d.ts +0 -4
  38. package/cli/commands/push.d.ts +0 -6
  39. package/cli/commands/sqliteUp.d.ts +0 -2
  40. package/cli/commands/upFolders.d.ts +0 -27
  41. package/cli/utils.d.ts +0 -12
  42. package/cli/validations/studio.d.ts +0 -593
  43. package/orm-extenstions/d1-driver/driver.d.ts +0 -8
  44. package/orm-extenstions/d1-driver/session.d.ts +0 -51
  45. package/orm-extenstions/d1-driver/wrangler-client.d.ts +0 -3
  46. package/serializer/studioUtils.d.ts +0 -65
  47. package/utils/certs.d.ts +0 -4
@@ -2,5 +2,5 @@ import type { SQLiteSchemaInternal } from "../serializer/sqliteSchema";
2
2
  import { AnySQLiteTable } from "drizzle-orm/sqlite-core";
3
3
  import type { IntrospectStage, IntrospectStatus } from "../cli/views";
4
4
  import type { DrizzleDbClient } from "../drivers";
5
- export declare const generateSqliteSnapshot: (tables: AnySQLiteTable[], enums: any[]) => SQLiteSchemaInternal;
5
+ export declare const generateSqliteSnapshot: (tables: AnySQLiteTable[]) => SQLiteSchemaInternal;
6
6
  export declare const fromDatabase: (db: DrizzleDbClient, tablesFilter?: (table: string) => boolean, progressCallback?: ((stage: IntrospectStage, count: number, status: IntrospectStatus) => void) | undefined) => Promise<SQLiteSchemaInternal>;