@odla-ai/chapter 0.14.0 → 0.15.1

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.
@@ -221,10 +221,13 @@ interface ChapterConfig {
221
221
  auth?: ChapterAuth;
222
222
  /** odla services (db implied). Default `["db","calendar","o11y"]`. */
223
223
  services?: readonly string[];
224
- /** Apply-time account provisioning: `"invite"` (default) mints a Clerk
225
- * invitation, `"create"` makes the account server-side (so join can say the
226
- * account is ready), `"none"` skips it. Any of these needs a `clerk_secret_key`
227
- * vault secret to act. */
224
+ /** Apply-time account provisioning. **Default `"none"`** it provisions
225
+ * nothing, because the alternatives have an outbound side effect and a site
226
+ * that never made the choice must not be mailing people. `"create"` makes the
227
+ * Clerk account server-side (so join can say the account is ready);
228
+ * `"invite"` **emails the applicant a Clerk invitation**. Both non-default
229
+ * models need a `clerk_secret_key` vault secret to act. Opt in explicitly —
230
+ * leaving this unset provisions no accounts. */
228
231
  account?: AccountModel;
229
232
  /** WHEN lifecycle email fires. Addressing and content live on the group row
230
233
  * (owner-editable at runtime); this is the trigger, which is a build-time
@@ -263,7 +266,7 @@ interface Chapter {
263
266
  schema: DbSchema;
264
267
  rules: DbRules;
265
268
  services: readonly string[];
266
- /** Resolved apply-time account provisioning model (default `"invite"`). */
269
+ /** Resolved apply-time account provisioning model (default `"none"`). */
267
270
  account: AccountModel;
268
271
  /** Resolved send policy — when each lifecycle email fires. */
269
272
  sends: ResolvedSends;
@@ -221,10 +221,13 @@ interface ChapterConfig {
221
221
  auth?: ChapterAuth;
222
222
  /** odla services (db implied). Default `["db","calendar","o11y"]`. */
223
223
  services?: readonly string[];
224
- /** Apply-time account provisioning: `"invite"` (default) mints a Clerk
225
- * invitation, `"create"` makes the account server-side (so join can say the
226
- * account is ready), `"none"` skips it. Any of these needs a `clerk_secret_key`
227
- * vault secret to act. */
224
+ /** Apply-time account provisioning. **Default `"none"`** it provisions
225
+ * nothing, because the alternatives have an outbound side effect and a site
226
+ * that never made the choice must not be mailing people. `"create"` makes the
227
+ * Clerk account server-side (so join can say the account is ready);
228
+ * `"invite"` **emails the applicant a Clerk invitation**. Both non-default
229
+ * models need a `clerk_secret_key` vault secret to act. Opt in explicitly —
230
+ * leaving this unset provisions no accounts. */
228
231
  account?: AccountModel;
229
232
  /** WHEN lifecycle email fires. Addressing and content live on the group row
230
233
  * (owner-editable at runtime); this is the trigger, which is a build-time
@@ -263,7 +266,7 @@ interface Chapter {
263
266
  schema: DbSchema;
264
267
  rules: DbRules;
265
268
  services: readonly string[];
266
- /** Resolved apply-time account provisioning model (default `"invite"`). */
269
+ /** Resolved apply-time account provisioning model (default `"none"`). */
267
270
  account: AccountModel;
268
271
  /** Resolved send policy — when each lifecycle email fires. */
269
272
  sends: ResolvedSends;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odla-ai/chapter",
3
- "version": "0.14.0",
3
+ "version": "0.15.1",
4
4
  "description": "A foundation for membership sites: one config (defineChapter) stands up a full member site (join, Stripe membership, Google booking, member area, admin, CRM) or an admin-only hub, on odla-db + Clerk + @odla-ai/crm + calendar + email.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://odla.ai/docs/packages/chapter",