@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.
- package/README.md +62 -0
- package/dist/{chunk-SI3JHSEX.js → chunk-4K2Q5JBC.js} +660 -553
- package/dist/chunk-4K2Q5JBC.js.map +1 -0
- package/dist/{copy-context-Pbs3keLx.d.ts → copy-context-Dbu9Bbq1.d.ts} +24 -0
- package/dist/index.cjs +457 -130
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +195 -2
- package/dist/index.d.ts +195 -2
- package/dist/index.js +457 -130
- package/dist/index.js.map +1 -1
- package/dist/ui/admin/index.d.ts +106 -3
- package/dist/ui/admin/index.js +5 -1
- package/dist/ui/index.d.ts +2 -2
- package/dist/ui/index.js +5 -1
- package/dist/ui/member/index.d.ts +2 -2
- package/dist/worker/index.cjs +601 -108
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.d.cts +127 -1
- package/dist/worker/index.d.ts +127 -1
- package/dist/worker/index.js +597 -104
- package/dist/worker/index.js.map +1 -1
- package/package.json +1 -1
- package/runbooks/greenfield.md +27 -0
- package/dist/chunk-SI3JHSEX.js.map +0 -1
|
@@ -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`). */
|