@web-ts-toolkit/email-service 0.72.0 → 0.73.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/mongoose.d.mts CHANGED
@@ -1,9 +1,11 @@
1
1
  import { Connection } from 'mongoose';
2
- import { d as EmailStore } from './store-D4YAI6Rk.mjs';
3
- import './provider-HisBc6hk.mjs';
2
+ import { S as SmtpCapacity } from './provider-DC_av0SQ.mjs';
3
+ import { d as EmailStore } from './store-DlABKTjt.mjs';
4
4
 
5
- /** Names for a store on a caller-owned Mongoose connection. All four names use ASCII letters, numbers and `_`. */
5
+ /** Store on a caller-owned connection. Name overrides are V1-only and use ASCII letters, numbers and `_`. */
6
6
  type MongooseEmailStoreOptions = {
7
+ /** Owns a separate jobs/activities pair under an immutable binding; do not combine with V1 name overrides. */
8
+ smtpCapacity?: SmtpCapacity;
7
9
  /** Defaults to `email_jobs`. */
8
10
  jobsCollection?: string;
9
11
  /** Defaults to `email_activities`. */
@@ -14,9 +16,10 @@ type MongooseEmailStoreOptions = {
14
16
  activitiesModelName?: string;
15
17
  };
16
18
  /**
17
- * Durable V1 store on an explicit caller-owned Mongoose 9.12.2+ connection. Open it yourself, then await
19
+ * Durable store on an explicit caller-owned Mongoose 9.12.2+ connection. Open it yourself, then await
18
20
  * `store.ready()` before use. Requires a writable, journaled MongoDB 8.x WiredTiger replica set. The store
19
21
  * never registers models, connects, closes, or joins a caller session. Use dedicated private collections.
22
+ * For `smtpCapacity`, readiness installs missing definitions in the bound pair, never changes V1 definitions.
20
23
  * After `write_unconfirmed` do not work an unconfirmed claim or launch after an unconfirmed handoff.
21
24
  */
22
25
  declare function createMongooseEmailStore(connection: Connection, options?: MongooseEmailStoreOptions): EmailStore;
package/mongoose.d.ts CHANGED
@@ -1,9 +1,11 @@
1
1
  import { Connection } from 'mongoose';
2
- import { d as EmailStore } from './store-Vb63Gocz.js';
3
- import './provider-HisBc6hk.js';
2
+ import { S as SmtpCapacity } from './provider-DC_av0SQ.js';
3
+ import { d as EmailStore } from './store-Bi5iZ910.js';
4
4
 
5
- /** Names for a store on a caller-owned Mongoose connection. All four names use ASCII letters, numbers and `_`. */
5
+ /** Store on a caller-owned connection. Name overrides are V1-only and use ASCII letters, numbers and `_`. */
6
6
  type MongooseEmailStoreOptions = {
7
+ /** Owns a separate jobs/activities pair under an immutable binding; do not combine with V1 name overrides. */
8
+ smtpCapacity?: SmtpCapacity;
7
9
  /** Defaults to `email_jobs`. */
8
10
  jobsCollection?: string;
9
11
  /** Defaults to `email_activities`. */
@@ -14,9 +16,10 @@ type MongooseEmailStoreOptions = {
14
16
  activitiesModelName?: string;
15
17
  };
16
18
  /**
17
- * Durable V1 store on an explicit caller-owned Mongoose 9.12.2+ connection. Open it yourself, then await
19
+ * Durable store on an explicit caller-owned Mongoose 9.12.2+ connection. Open it yourself, then await
18
20
  * `store.ready()` before use. Requires a writable, journaled MongoDB 8.x WiredTiger replica set. The store
19
21
  * never registers models, connects, closes, or joins a caller session. Use dedicated private collections.
22
+ * For `smtpCapacity`, readiness installs missing definitions in the bound pair, never changes V1 definitions.
20
23
  * After `write_unconfirmed` do not work an unconfirmed claim or launch after an unconfirmed handoff.
21
24
  */
22
25
  declare function createMongooseEmailStore(connection: Connection, options?: MongooseEmailStoreOptions): EmailStore;