@odla-ai/chapter 0.39.0 → 0.39.2

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.
@@ -114,6 +114,26 @@ interface ResolvedMemberContent {
114
114
  } | null;
115
115
  }
116
116
 
117
+ /** Optional private Builder Library shared across Built Not Found and Chapters. */
118
+ interface ChapterBuilderLibrary {
119
+ /** Keep local admin authoring enabled. Defaults to true. */
120
+ localAuthoring?: boolean;
121
+ /** Existing Chapter-network peers this app accepts. Hub sources must be
122
+ * configured network targets; a Chapter source must be a configured reader. */
123
+ sources?: readonly {
124
+ sourceId: string;
125
+ }[];
126
+ }
127
+ interface ResolvedBuilderLibrarySource {
128
+ sourceId: string;
129
+ }
130
+ /** Validated Builder Library settings carried on a resolved Chapter. */
131
+ interface ResolvedBuilderLibrary {
132
+ enabled: true;
133
+ localAuthoring: boolean;
134
+ sources: readonly ResolvedBuilderLibrarySource[];
135
+ }
136
+
117
137
  /** Scalar kinds accepted by the Chapter schema adapter. */
118
138
  type AttrType = "string" | "number" | "boolean" | "json";
119
139
  /** One odla-db attribute: its type and index/uniqueness/optionality flags. */
@@ -488,6 +508,8 @@ interface ChapterConfig {
488
508
  signupControl?: ChapterSignupControl;
489
509
  /** Authenticated parent + chapter member pages with server-enforced tier access. */
490
510
  memberContent?: ChapterMemberContent;
511
+ /** Private docs, Brand asset references, and links for authorized site-building agents. */
512
+ builderLibrary?: ChapterBuilderLibrary;
491
513
  /** Enable a public, host-rendered formation application workflow. */
492
514
  formation?: LeaderFormationConfig;
493
515
  thesis?: unknown;
@@ -586,6 +608,8 @@ interface Chapter {
586
608
  signupControl: ResolvedSignupControl | null;
587
609
  /** Null unless the standard authenticated member-content surface is enabled. */
588
610
  memberContent: ResolvedMemberContent | null;
611
+ /** Null unless the private scoped Builder Library is enabled. */
612
+ builderLibrary: ResolvedBuilderLibrary | null;
589
613
  /** Resolved public formation intake contract (disabled when omitted). */
590
614
  formation: ResolvedLeaderFormation;
591
615
  /** Resolved CRM engine (from `defineCrm`). */