drizzle-multitenant 1.0.10 → 1.2.0
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/dist/cli/index.js +4441 -742
- package/dist/cli/index.js.map +1 -1
- package/dist/{context-DoHx79MS.d.ts → context-Vki959ri.d.ts} +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.js +3392 -742
- package/dist/index.js.map +1 -1
- package/dist/integrations/express.d.ts +3 -3
- package/dist/integrations/fastify.d.ts +3 -3
- package/dist/integrations/nestjs/index.d.ts +1 -1
- package/dist/integrations/nestjs/index.js +565 -91
- package/dist/integrations/nestjs/index.js.map +1 -1
- package/dist/migrator/index.d.ts +986 -281
- package/dist/migrator/index.js +2799 -664
- package/dist/migrator/index.js.map +1 -1
- package/dist/migrator-BDgFzSh8.d.ts +824 -0
- package/dist/{types-B5eSRLFW.d.ts → types-BhK96FPC.d.ts} +115 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { C as Config, T as TenantManager, R as RetryConfig } from './types-
|
|
2
|
-
export { b as ConnectionConfig,
|
|
3
|
-
export { B as BaseTenantContext, a as TenantContext, T as TenantContextData, c as createTenantContext } from './context-
|
|
4
|
-
export { AppliedMigration, CreateTenantOptions, DropTenantOptions, MigrateOptions, MigrationErrorHandler, MigrationFile, MigrationHooks, MigrationProgressCallback, MigrationResults, Migrator, MigratorConfig, TenantMigrationResult, TenantMigrationStatus, createMigrator } from './migrator
|
|
1
|
+
import { C as Config, T as TenantManager, R as RetryConfig } from './types-BhK96FPC.js';
|
|
2
|
+
export { b as ConnectionConfig, n as ConnectionMetrics, o as DEFAULT_CONFIG, D as DebugConfig, e as DebugContext, h as HealthCheckOptions, i as HealthCheckResult, H as Hooks, I as IsolationConfig, c as IsolationStrategy, M as MetricsConfig, l as MetricsResult, P as PoolEntry, j as PoolHealth, k as PoolHealthStatus, d as SchemasConfig, S as SharedDb, a as TenantDb, m as TenantPoolMetrics, g as TenantWarmupResult, W as WarmupOptions, f as WarmupResult } from './types-BhK96FPC.js';
|
|
3
|
+
export { B as BaseTenantContext, a as TenantContext, T as TenantContextData, c as createTenantContext } from './context-Vki959ri.js';
|
|
4
|
+
export { A as AppliedMigration, C as CreateTenantOptions, D as DropTenantOptions, d as MigrateOptions, i as MigrationErrorHandler, b as MigrationFile, g as MigrationHooks, h as MigrationProgressCallback, e as MigrationResults, M as Migrator, a as MigratorConfig, S as SeedFunction, j as SeedOptions, l as SeedResults, T as TenantMigrationResult, f as TenantMigrationStatus, k as TenantSeedResult, c as createMigrator } from './migrator-BDgFzSh8.js';
|
|
5
5
|
export { ColumnSelection, CrossSchemaContext, CrossSchemaQueryBuilder, CrossSchemaRawOptions, InferSelectResult, InferSelectedColumns, JoinCondition, JoinDefinition, JoinType, LookupResult, SchemaSource, SharedLookupConfig, TableReference, WithSharedConfig, WithSharedOptions, WithSharedQueryBuilder, buildCrossSchemaSelect, createCrossSchemaQuery, crossSchemaRaw, withShared, withSharedLookup } from './cross-schema/index.js';
|
|
6
6
|
import 'pg';
|
|
7
7
|
import 'drizzle-orm/node-postgres';
|
|
8
|
+
import 'drizzle-orm/postgres-js';
|
|
8
9
|
import 'drizzle-orm';
|
|
9
10
|
|
|
10
11
|
/**
|