drizzle-kit 0.20.14-dc3503a → 0.20.14-e8e7ed6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. package/bin.cjs +20592 -20027
  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 +9 -9
  6. package/cli/commands/utils.d.ts +8 -261
  7. package/cli/validations/cli.d.ts +107 -0
  8. package/cli/validations/common.d.ts +205 -7
  9. package/cli/validations/mysql.d.ts +6 -1
  10. package/cli/validations/pg.d.ts +6 -1
  11. package/cli/validations/sqlite.d.ts +165 -3
  12. package/cli/views.d.ts +6 -4
  13. package/global.d.ts +3 -1
  14. package/index.d.mts +8 -6
  15. package/index.d.ts +8 -6
  16. package/index.js +1 -0
  17. package/introspect-mysql.d.ts +1 -1
  18. package/introspect-pg.d.ts +5 -2
  19. package/introspect-sqlite.d.ts +1 -1
  20. package/jsonDiffer.d.ts +14 -29
  21. package/jsonStatements.d.ts +38 -11
  22. package/package.json +18 -50
  23. package/payload.js +8130 -8617
  24. package/payload.mjs +8252 -8745
  25. package/schemaValidator.d.ts +72 -69
  26. package/serializer/mysqlImports.d.ts +3 -7
  27. package/serializer/mysqlSchema.d.ts +1624 -493
  28. package/serializer/mysqlSerializer.d.ts +2 -2
  29. package/serializer/pgImports.d.ts +2 -2
  30. package/serializer/pgSchema.d.ts +1260 -801
  31. package/serializer/sqliteImports.d.ts +2 -4
  32. package/serializer/sqliteSchema.d.ts +144 -570
  33. package/serializer/sqliteSerializer.d.ts +1 -1
  34. package/snapshotsDiffer.d.ts +1908 -1050
  35. package/utils/words.d.ts +1 -1
  36. package/utils-studio.js +4144 -85
  37. package/utils-studio.mjs +4144 -85
  38. package/utils.d.ts +6 -140
  39. package/utils.js +3906 -7081
  40. package/utils.mjs +3983 -7158
  41. package/cli/commands/check.d.ts +0 -2
  42. package/cli/commands/drop.d.ts +0 -4
  43. package/cli/commands/mysqlUp.d.ts +0 -4
  44. package/cli/commands/pgUp.d.ts +0 -4
  45. package/cli/commands/push.d.ts +0 -6
  46. package/cli/commands/sqliteUp.d.ts +0 -2
  47. package/cli/commands/sqliteUtils.d.ts +0 -162
  48. package/cli/commands/upFolders.d.ts +0 -27
  49. package/cli/index.d.ts +0 -71
  50. package/cli/utils.d.ts +0 -12
  51. package/cli/validations/studio.d.ts +0 -593
  52. package/orm-extenstions/d1-driver/driver.d.ts +0 -8
  53. package/orm-extenstions/d1-driver/session.d.ts +0 -51
  54. package/orm-extenstions/d1-driver/wrangler-client.d.ts +0 -3
  55. package/serializer/studioUtils.d.ts +0 -65
  56. 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>;