@alchemy.run/drizzle 0.0.0 → 2.0.0-beta.85

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.
package/src/index.ts ADDED
@@ -0,0 +1,19 @@
1
+ export * from "./D1.ts";
2
+
3
+ // The tagged errors drizzle's effect drivers fail with — re-exported so
4
+ // consumers can reference them without reaching into drizzle-orm
5
+ // internals. (`Effect.catchTag` needs only the tag string; these are for
6
+ // instanceof checks, schemas, and annotations.)
7
+ export {
8
+ EffectDrizzleError,
9
+ EffectDrizzleQueryError,
10
+ EffectTransactionRollbackError,
11
+ MigratorInitError,
12
+ } from "drizzle-orm/effect-core";
13
+ export * from "./Providers.ts";
14
+ export * from "./Schema.ts";
15
+ // MySQL and Postgres are deliberately NOT re-exported here: their drivers
16
+ // (`@effect/sql-mysql2`/`mysql2`, `@effect/sql-pg`/`pg`) are optional peer
17
+ // dependencies, and keeping them out of the barrel keeps them out of every
18
+ // non-user's module graph. Import them via their subpaths instead:
19
+ // `@alchemy.run/drizzle/MySQL`, `@alchemy.run/drizzle/Postgres`.