@plyaz/types 1.13.12 → 1.13.13
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/api/index.cjs +1 -1
- package/dist/api/index.cjs.map +1 -1
- package/dist/db/replica.types.d.ts +2 -2
- package/dist/errors/index.cjs +1 -1
- package/dist/errors/index.cjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DatabaseAdapterType } from "./databaseAdapter";
|
|
2
2
|
import type { REPLICA_STRATEGY } from "./replicaStrategy";
|
|
3
3
|
/**
|
|
4
4
|
* Options for the @UseReplica decorator.
|
|
@@ -18,7 +18,7 @@ export interface ReadReplicaConfig {
|
|
|
18
18
|
/** Whether read replicas are enabled */
|
|
19
19
|
enabled: boolean;
|
|
20
20
|
/** Replica connection configs */
|
|
21
|
-
replicas:
|
|
21
|
+
replicas: DatabaseAdapterType[];
|
|
22
22
|
/** Load balancing strategy */
|
|
23
23
|
strategy?: 'round-robin' | 'random' | 'least-connections';
|
|
24
24
|
/** Fallback to primary if all replicas unhealthy */
|
package/dist/errors/index.cjs
CHANGED
|
@@ -4410,7 +4410,7 @@ var coerce = {
|
|
|
4410
4410
|
};
|
|
4411
4411
|
var NEVER = INVALID;
|
|
4412
4412
|
|
|
4413
|
-
// node_modules/.pnpm/@plyaz+types@1.13.
|
|
4413
|
+
// node_modules/.pnpm/@plyaz+types@1.13.12_@types+react@19.2.2_next@15.4.7_react-dom@19.2.0_react@19.2.0/node_modules/@plyaz/types/dist/index.js
|
|
4414
4414
|
var __defProp2 = Object.defineProperty;
|
|
4415
4415
|
var __name2 = /* @__PURE__ */ __name((target, value) => __defProp2(target, "name", { value, configurable: true }), "__name");
|
|
4416
4416
|
external_exports.object({
|