@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
package/dist/worker/index.d.cts
CHANGED
|
@@ -133,6 +133,19 @@ interface ResolvedBuilderLibrary {
|
|
|
133
133
|
sources: readonly ResolvedBuilderLibrarySource[];
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
+
/** Opt-in network-scoped Person registry. Shadow mode never gates Chapter work. */
|
|
137
|
+
interface ChapterNetworkPersonRegistry {
|
|
138
|
+
mode: "shadow";
|
|
139
|
+
/** Chapter ids that may be attached to imported source rows. Defaults to the
|
|
140
|
+
* hub's configured network target ids. */
|
|
141
|
+
chapterIds?: readonly string[];
|
|
142
|
+
}
|
|
143
|
+
/** Validated network Person registry settings carried by a resolved Chapter. */
|
|
144
|
+
interface ResolvedNetworkPersonRegistry {
|
|
145
|
+
mode: "shadow";
|
|
146
|
+
chapterIds: readonly string[];
|
|
147
|
+
}
|
|
148
|
+
|
|
136
149
|
/** Scalar kinds accepted by the Chapter schema adapter. */
|
|
137
150
|
type AttrType = "string" | "number" | "boolean" | "json";
|
|
138
151
|
/** One odla-db attribute: its type and index/uniqueness/optionality flags. */
|
|
@@ -594,6 +607,9 @@ interface ChapterConfig {
|
|
|
594
607
|
memberContent?: ChapterMemberContent;
|
|
595
608
|
/** Private docs, Brand asset references, and links for authorized site-building agents. */
|
|
596
609
|
builderLibrary?: ChapterBuilderLibrary;
|
|
610
|
+
/** Network-scoped canonical Person registry. Shadow mode is additive only:
|
|
611
|
+
* Chapter workflows and access continue to read their existing authority. */
|
|
612
|
+
networkPersonRegistry?: ChapterNetworkPersonRegistry;
|
|
597
613
|
/** Enable a public, host-rendered formation application workflow. */
|
|
598
614
|
formation?: LeaderFormationConfig;
|
|
599
615
|
thesis?: unknown;
|
|
@@ -694,6 +710,8 @@ interface Chapter {
|
|
|
694
710
|
memberContent: ResolvedMemberContent | null;
|
|
695
711
|
/** Null unless the private scoped Builder Library is enabled. */
|
|
696
712
|
builderLibrary: ResolvedBuilderLibrary | null;
|
|
713
|
+
/** Null unless this hub explicitly enables the shadow Person registry. */
|
|
714
|
+
networkPersonRegistry: ResolvedNetworkPersonRegistry | null;
|
|
697
715
|
/** Resolved public formation intake contract (disabled when omitted). */
|
|
698
716
|
formation: ResolvedLeaderFormation;
|
|
699
717
|
/** Resolved CRM engine (from `defineCrm`). */
|
package/dist/worker/index.d.ts
CHANGED
|
@@ -133,6 +133,19 @@ interface ResolvedBuilderLibrary {
|
|
|
133
133
|
sources: readonly ResolvedBuilderLibrarySource[];
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
+
/** Opt-in network-scoped Person registry. Shadow mode never gates Chapter work. */
|
|
137
|
+
interface ChapterNetworkPersonRegistry {
|
|
138
|
+
mode: "shadow";
|
|
139
|
+
/** Chapter ids that may be attached to imported source rows. Defaults to the
|
|
140
|
+
* hub's configured network target ids. */
|
|
141
|
+
chapterIds?: readonly string[];
|
|
142
|
+
}
|
|
143
|
+
/** Validated network Person registry settings carried by a resolved Chapter. */
|
|
144
|
+
interface ResolvedNetworkPersonRegistry {
|
|
145
|
+
mode: "shadow";
|
|
146
|
+
chapterIds: readonly string[];
|
|
147
|
+
}
|
|
148
|
+
|
|
136
149
|
/** Scalar kinds accepted by the Chapter schema adapter. */
|
|
137
150
|
type AttrType = "string" | "number" | "boolean" | "json";
|
|
138
151
|
/** One odla-db attribute: its type and index/uniqueness/optionality flags. */
|
|
@@ -594,6 +607,9 @@ interface ChapterConfig {
|
|
|
594
607
|
memberContent?: ChapterMemberContent;
|
|
595
608
|
/** Private docs, Brand asset references, and links for authorized site-building agents. */
|
|
596
609
|
builderLibrary?: ChapterBuilderLibrary;
|
|
610
|
+
/** Network-scoped canonical Person registry. Shadow mode is additive only:
|
|
611
|
+
* Chapter workflows and access continue to read their existing authority. */
|
|
612
|
+
networkPersonRegistry?: ChapterNetworkPersonRegistry;
|
|
597
613
|
/** Enable a public, host-rendered formation application workflow. */
|
|
598
614
|
formation?: LeaderFormationConfig;
|
|
599
615
|
thesis?: unknown;
|
|
@@ -694,6 +710,8 @@ interface Chapter {
|
|
|
694
710
|
memberContent: ResolvedMemberContent | null;
|
|
695
711
|
/** Null unless the private scoped Builder Library is enabled. */
|
|
696
712
|
builderLibrary: ResolvedBuilderLibrary | null;
|
|
713
|
+
/** Null unless this hub explicitly enables the shadow Person registry. */
|
|
714
|
+
networkPersonRegistry: ResolvedNetworkPersonRegistry | null;
|
|
697
715
|
/** Resolved public formation intake contract (disabled when omitted). */
|
|
698
716
|
formation: ResolvedLeaderFormation;
|
|
699
717
|
/** Resolved CRM engine (from `defineCrm`). */
|