fix!: Schema et DeepSignalSet quittent la surface publiee, sans signature pour les porter
La regle qui avait deja retire ReadCap et InboxScope (un type n'est publie que si une signature publiee l'utilise) rattrape une seconde recurrence : les reexports `Schema` (@ng-org/shex-orm) et `DeepSignalSet` (@ng-org/alien-deepsignals) n'etaient utilises par aucune signature publiee. DeepSignalSet n'apparaissait que dans la prose decrivant l'enveloppe de useShape, jamais comme un type reel dans le paquet ; Schema n'apparaissait nulle part ailleurs que dans ce reexport. Contrairement a ReadCap/InboxScope, aucun des deux n'a d'usage interne ou ils resteraient DEFINIS : ils disparaissent, sans etre deplaces. Bump majeur vers 1.0.0-dev.12 (symbole publie retire), entree de version dans le contrat concept et mise a jour de docs/api-contract.md (bloc de code, section 14, annexe d'inventaire).
This commit is contained in:
@@ -84,6 +84,13 @@
|
||||
// value it has no call to obtain — and for `ReadCap`, the one value the model says a
|
||||
// caller must never be handed on request. They stay DEFINED in `model/types.ts`, where
|
||||
// the library uses them; they stop being surface. `docs/api-contract.md` § 10, § 14.
|
||||
//
|
||||
// The same rule caught a second, later recurrence (2026-09-24): the SDK type re-exports
|
||||
// below carried `Schema` (from `@ng-org/shex-orm`) and `DeepSignalSet` (from
|
||||
// `@ng-org/alien-deepsignals`), neither used by a published signature — `DeepSignalSet`
|
||||
// is named only in prose describing what `useShape`'s result envelope carries, never as
|
||||
// an actual type anywhere in this package. Unlike `ReadCap` / `InboxScope`, neither has
|
||||
// an internal use to stay DEFINED for: they are simply gone, not moved.
|
||||
// Each one, and the signature that earns it its place:
|
||||
// Nuri every reference the surface RETURNS
|
||||
// NuriLike every reference the surface ACCEPTS
|
||||
@@ -145,10 +152,7 @@ export * as storeRegistry from "./surface/placement";
|
||||
// the lib (no risk of a duplicate SDK copy in the bundle).
|
||||
// @provenance ShapeType kind=passthrough level=3 ref=sdk/js/shex-orm/src/types.ts:ShapeType
|
||||
// @provenance BaseType kind=passthrough level=3 ref=sdk/js/shex-orm/src/types.ts:BaseType - the cited revision keeps `"@graph"` commented out behind a TODO; the published `@ng-org/shex-orm@0.1.2-alpha.9` declares it, and it is the published one that is re-exported here
|
||||
// @provenance Schema kind=passthrough level=3 ref=sdk/js/shex-orm/src/types.ts:Schema
|
||||
export type { ShapeType, BaseType, Schema } from "@ng-org/shex-orm";
|
||||
// @provenance DeepSignalSet kind=passthrough level=3 ref=sdk/js/alien-deepsignals/src/types.ts:DeepSignalSet
|
||||
export type { DeepSignalSet } from "@ng-org/alien-deepsignals";
|
||||
export type { ShapeType, BaseType } from "@ng-org/shex-orm";
|
||||
// The scope `useShapeQuery` takes, re-exported from the SDK rather than restated here:
|
||||
// restating it is how a type drifts, and the two axes it filters on (`graphs`,
|
||||
// `subjects`) are upstream's to change.
|
||||
|
||||
Reference in New Issue
Block a user