@odla-ai/chapter 0.43.2 → 0.44.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/dist/{copy-context-Bh1EZvCg.d.ts → copy-context-B4SCy6vx.d.ts} +18 -0
- package/dist/index.cjs +214 -102
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -2
- package/dist/index.d.ts +23 -2
- package/dist/index.js +214 -102
- package/dist/index.js.map +1 -1
- package/dist/ui/admin/index.d.ts +2 -2
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/member/index.d.ts +2 -2
- package/dist/worker/index.cjs +651 -60
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.d.cts +18 -0
- package/dist/worker/index.d.ts +18 -0
- package/dist/worker/index.js +651 -60
- package/dist/worker/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -134,6 +134,19 @@ interface ResolvedBuilderLibrary {
|
|
|
134
134
|
sources: readonly ResolvedBuilderLibrarySource[];
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
+
/** Opt-in network-scoped Person registry. Shadow mode never gates Chapter work. */
|
|
138
|
+
interface ChapterNetworkPersonRegistry {
|
|
139
|
+
mode: "shadow";
|
|
140
|
+
/** Chapter ids that may be attached to imported source rows. Defaults to the
|
|
141
|
+
* hub's configured network target ids. */
|
|
142
|
+
chapterIds?: readonly string[];
|
|
143
|
+
}
|
|
144
|
+
/** Validated network Person registry settings carried by a resolved Chapter. */
|
|
145
|
+
interface ResolvedNetworkPersonRegistry {
|
|
146
|
+
mode: "shadow";
|
|
147
|
+
chapterIds: readonly string[];
|
|
148
|
+
}
|
|
149
|
+
|
|
137
150
|
/** Scalar kinds accepted by the Chapter schema adapter. */
|
|
138
151
|
type AttrType = "string" | "number" | "boolean" | "json";
|
|
139
152
|
/** One odla-db attribute: its type and index/uniqueness/optionality flags. */
|
|
@@ -538,6 +551,9 @@ interface ChapterConfig {
|
|
|
538
551
|
memberContent?: ChapterMemberContent;
|
|
539
552
|
/** Private docs, Brand asset references, and links for authorized site-building agents. */
|
|
540
553
|
builderLibrary?: ChapterBuilderLibrary;
|
|
554
|
+
/** Network-scoped canonical Person registry. Shadow mode is additive only:
|
|
555
|
+
* Chapter workflows and access continue to read their existing authority. */
|
|
556
|
+
networkPersonRegistry?: ChapterNetworkPersonRegistry;
|
|
541
557
|
/** Enable a public, host-rendered formation application workflow. */
|
|
542
558
|
formation?: LeaderFormationConfig;
|
|
543
559
|
thesis?: unknown;
|
|
@@ -638,6 +654,8 @@ interface Chapter {
|
|
|
638
654
|
memberContent: ResolvedMemberContent | null;
|
|
639
655
|
/** Null unless the private scoped Builder Library is enabled. */
|
|
640
656
|
builderLibrary: ResolvedBuilderLibrary | null;
|
|
657
|
+
/** Null unless this hub explicitly enables the shadow Person registry. */
|
|
658
|
+
networkPersonRegistry: ResolvedNetworkPersonRegistry | null;
|
|
641
659
|
/** Resolved public formation intake contract (disabled when omitted). */
|
|
642
660
|
formation: ResolvedLeaderFormation;
|
|
643
661
|
/** Resolved CRM engine (from `defineCrm`). */
|