@odla-ai/chapter 0.15.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.
package/dist/index.d.cts CHANGED
@@ -242,10 +242,13 @@ interface ChapterConfig {
242
242
  auth?: ChapterAuth;
243
243
  /** odla services (db implied). Default `["db","calendar","o11y"]`. */
244
244
  services?: readonly string[];
245
- /** Apply-time account provisioning: `"invite"` (default) mints a Clerk
246
- * invitation, `"create"` makes the account server-side (so join can say the
247
- * account is ready), `"none"` skips it. Any of these needs a `clerk_secret_key`
248
- * vault secret to act. */
245
+ /** Apply-time account provisioning. **Default `"none"`** it provisions
246
+ * nothing, because the alternatives have an outbound side effect and a site
247
+ * that never made the choice must not be mailing people. `"create"` makes the
248
+ * Clerk account server-side (so join can say the account is ready);
249
+ * `"invite"` **emails the applicant a Clerk invitation**. Both non-default
250
+ * models need a `clerk_secret_key` vault secret to act. Opt in explicitly —
251
+ * leaving this unset provisions no accounts. */
249
252
  account?: AccountModel;
250
253
  /** WHEN lifecycle email fires. Addressing and content live on the group row
251
254
  * (owner-editable at runtime); this is the trigger, which is a build-time
@@ -284,7 +287,7 @@ interface Chapter {
284
287
  schema: DbSchema;
285
288
  rules: DbRules;
286
289
  services: readonly string[];
287
- /** Resolved apply-time account provisioning model (default `"invite"`). */
290
+ /** Resolved apply-time account provisioning model (default `"none"`). */
288
291
  account: AccountModel;
289
292
  /** Resolved send policy — when each lifecycle email fires. */
290
293
  sends: ResolvedSends;
package/dist/index.d.ts CHANGED
@@ -242,10 +242,13 @@ interface ChapterConfig {
242
242
  auth?: ChapterAuth;
243
243
  /** odla services (db implied). Default `["db","calendar","o11y"]`. */
244
244
  services?: readonly string[];
245
- /** Apply-time account provisioning: `"invite"` (default) mints a Clerk
246
- * invitation, `"create"` makes the account server-side (so join can say the
247
- * account is ready), `"none"` skips it. Any of these needs a `clerk_secret_key`
248
- * vault secret to act. */
245
+ /** Apply-time account provisioning. **Default `"none"`** it provisions
246
+ * nothing, because the alternatives have an outbound side effect and a site
247
+ * that never made the choice must not be mailing people. `"create"` makes the
248
+ * Clerk account server-side (so join can say the account is ready);
249
+ * `"invite"` **emails the applicant a Clerk invitation**. Both non-default
250
+ * models need a `clerk_secret_key` vault secret to act. Opt in explicitly —
251
+ * leaving this unset provisions no accounts. */
249
252
  account?: AccountModel;
250
253
  /** WHEN lifecycle email fires. Addressing and content live on the group row
251
254
  * (owner-editable at runtime); this is the trigger, which is a build-time
@@ -284,7 +287,7 @@ interface Chapter {
284
287
  schema: DbSchema;
285
288
  rules: DbRules;
286
289
  services: readonly string[];
287
- /** Resolved apply-time account provisioning model (default `"invite"`). */
290
+ /** Resolved apply-time account provisioning model (default `"none"`). */
288
291
  account: AccountModel;
289
292
  /** Resolved send policy — when each lifecycle email fires. */
290
293
  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;
@@ -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.15.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",