feat!: la famille ORM est publiee enveloppee, et le ng publie cesse de rendre des promesses

This commit is contained in:
Sylvain Duchesne
2026-09-21 12:38:17 +02:00
parent 2aac703784
commit d0ea043a5b
21 changed files with 1102 additions and 35 deletions
@@ -19,6 +19,8 @@ import type {
NgLike,
UseShapeLike,
OrmSubscriptionLike,
GetObjectsLike,
InsertObjectLike,
Nuri,
NuriLike,
PrincipalId,
@@ -134,6 +136,23 @@ export interface EventuallyConfig {
* reported as "there is nothing" is the one failure that surface exists to prevent.
*/
ormSubscription?: OrmSubscriptionLike;
/**
* The REAL `@ng-org/orm` `getObjects` - the SDK's one-shot read, which
* {@link ../surface/orm}.getObjects wraps with the capability filter. Pass it as it
* stands: `getObjects`.
*
* OPTIONAL for the same scope reason as {@link ormSubscription}: an application that
* never calls it has nothing to inject, and every suite exercising another surface would
* otherwise carry a stub for a call it does not make. Absent, the wrapper throws naming
* this field rather than answering with an empty result.
*/
getObjects?: GetObjectsLike;
/**
* The REAL `@ng-org/orm` `insertObject` - the SDK's subscription-free write, which
* {@link ../surface/orm}.insertObject wraps with the write guard. Pass it as it stands:
* `insertObject`. Optional, and absent the wrapper throws naming this field.
*/
insertObject?: InsertObjectLike;
/**
* POINTER micro-guard budget — see {@link StoreRegistryDeps.pointerGuard}. Left unset
* → a single read, which keeps the synchronous unit fakes fast.