@odla-ai/chapter 0.45.0 → 0.46.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/README.md +18 -0
- package/dist/{copy-context-CIxmneHI.d.ts → copy-context-GaxckY3T.d.ts} +9 -0
- package/dist/index.cjs +205 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +88 -1
- package/dist/index.d.ts +88 -1
- package/dist/index.js +205 -56
- 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 +357 -58
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.d.cts +9 -0
- package/dist/worker/index.d.ts +9 -0
- package/dist/worker/index.js +357 -58
- package/dist/worker/index.js.map +1 -1
- package/package.json +1 -1
package/dist/worker/index.d.cts
CHANGED
|
@@ -228,6 +228,10 @@ interface ChapterNetworkTarget {
|
|
|
228
228
|
/** Allow package-owned desired admission decisions for existing leader CRM
|
|
229
229
|
* people to be delivered to this target. Omitted means default deny. */
|
|
230
230
|
admissionGrants?: boolean;
|
|
231
|
+
/** Allow this leader to request a PII-free commercial parity snapshot from
|
|
232
|
+
* this follower. The follower must independently enable the same reader;
|
|
233
|
+
* omitted means no application or Stripe identifier digest crosses. */
|
|
234
|
+
commercialParity?: boolean;
|
|
231
235
|
}
|
|
232
236
|
/** One signed peer allowed to browse a privacy-bounded projection of this
|
|
233
237
|
* site's CRM. The follower owns this allowlist; a leader target declaration
|
|
@@ -252,6 +256,9 @@ interface ChapterNetworkReader {
|
|
|
252
256
|
/** Accept signed desired admission decisions from this reader. Independent
|
|
253
257
|
* of record browsing; an admission-only reader may omit `fields`. */
|
|
254
258
|
admissionGrants?: boolean;
|
|
259
|
+
/** Disclose a bounded, PII-free commercial parity snapshot to this signed
|
|
260
|
+
* reader. Identifiers leave only as edge-keyed, domain-separated HMACs. */
|
|
261
|
+
commercialParity?: boolean;
|
|
255
262
|
}
|
|
256
263
|
/** Leader/follower network configuration. A follower needs no code config to
|
|
257
264
|
* receive pushed records. It must explicitly declare `readers` before any peer
|
|
@@ -297,6 +304,7 @@ interface ResolvedNetworkTarget {
|
|
|
297
304
|
editableFields: Record<string, readonly string[]>;
|
|
298
305
|
stageTransitions: readonly string[];
|
|
299
306
|
admissionGrants?: boolean;
|
|
307
|
+
commercialParity?: boolean;
|
|
300
308
|
}
|
|
301
309
|
/** A validated follower-owned record projection for one signed reader. */
|
|
302
310
|
interface ResolvedNetworkReader {
|
|
@@ -306,6 +314,7 @@ interface ResolvedNetworkReader {
|
|
|
306
314
|
editableFields: Record<string, readonly string[]>;
|
|
307
315
|
stageTransitions: readonly string[];
|
|
308
316
|
admissionGrants?: boolean;
|
|
317
|
+
commercialParity?: boolean;
|
|
309
318
|
}
|
|
310
319
|
/** Fully-resolved leader network configuration. */
|
|
311
320
|
interface ResolvedNetwork {
|
package/dist/worker/index.d.ts
CHANGED
|
@@ -228,6 +228,10 @@ interface ChapterNetworkTarget {
|
|
|
228
228
|
/** Allow package-owned desired admission decisions for existing leader CRM
|
|
229
229
|
* people to be delivered to this target. Omitted means default deny. */
|
|
230
230
|
admissionGrants?: boolean;
|
|
231
|
+
/** Allow this leader to request a PII-free commercial parity snapshot from
|
|
232
|
+
* this follower. The follower must independently enable the same reader;
|
|
233
|
+
* omitted means no application or Stripe identifier digest crosses. */
|
|
234
|
+
commercialParity?: boolean;
|
|
231
235
|
}
|
|
232
236
|
/** One signed peer allowed to browse a privacy-bounded projection of this
|
|
233
237
|
* site's CRM. The follower owns this allowlist; a leader target declaration
|
|
@@ -252,6 +256,9 @@ interface ChapterNetworkReader {
|
|
|
252
256
|
/** Accept signed desired admission decisions from this reader. Independent
|
|
253
257
|
* of record browsing; an admission-only reader may omit `fields`. */
|
|
254
258
|
admissionGrants?: boolean;
|
|
259
|
+
/** Disclose a bounded, PII-free commercial parity snapshot to this signed
|
|
260
|
+
* reader. Identifiers leave only as edge-keyed, domain-separated HMACs. */
|
|
261
|
+
commercialParity?: boolean;
|
|
255
262
|
}
|
|
256
263
|
/** Leader/follower network configuration. A follower needs no code config to
|
|
257
264
|
* receive pushed records. It must explicitly declare `readers` before any peer
|
|
@@ -297,6 +304,7 @@ interface ResolvedNetworkTarget {
|
|
|
297
304
|
editableFields: Record<string, readonly string[]>;
|
|
298
305
|
stageTransitions: readonly string[];
|
|
299
306
|
admissionGrants?: boolean;
|
|
307
|
+
commercialParity?: boolean;
|
|
300
308
|
}
|
|
301
309
|
/** A validated follower-owned record projection for one signed reader. */
|
|
302
310
|
interface ResolvedNetworkReader {
|
|
@@ -306,6 +314,7 @@ interface ResolvedNetworkReader {
|
|
|
306
314
|
editableFields: Record<string, readonly string[]>;
|
|
307
315
|
stageTransitions: readonly string[];
|
|
308
316
|
admissionGrants?: boolean;
|
|
317
|
+
commercialParity?: boolean;
|
|
309
318
|
}
|
|
310
319
|
/** Fully-resolved leader network configuration. */
|
|
311
320
|
interface ResolvedNetwork {
|