TenantAtlas/apps/platform/.pnpm-store/v10/files/e6/163953e36d9c28e473ff42adf8388e23f0bc71fc2fd1ed83b339c1a282cab15ca849639a1fd4eaa837c38c77a8f1da2f5cf7f0aea4a339c9cfd3654cdab899
ahmido 1fec9c6f9d
Some checks failed
Main Confidence / confidence (push) Failing after 45s
feat: compress governance operator outcomes (#253)
## Summary
- introduce surface-aware compressed governance outcomes and reuse the shared truth/explanation seams for operator-first summaries
- apply the compressed outcome hierarchy across baseline, evidence, review, review-pack, canonical review/evidence, and artifact-oriented operation-run surfaces
- expand spec 214 fixtures and Pest coverage, and fix tenant-panel route assertions by generating explicit tenant-panel URLs in the affected Filament tests

## Validation
- `cd apps/platform && ./vendor/bin/sail bin pint --dirty --format agent`
- focused governance compression suite from `specs/214-governance-outcome-compression/quickstart.md` passed (`68` tests, `445` assertions)
- `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/Filament/InventoryItemResourceTest.php tests/Feature/Filament/BackupSetUiEnforcementTest.php tests/Feature/Filament/RestoreRunUiEnforcementTest.php` passed (`18` tests, `81` assertions)

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #253
2026-04-19 12:30:36 +00:00

54 lines
2.4 KiB
Plaintext

import { Operator } from './Operator';
import { Observable } from './Observable';
import { Observer, SubscriptionLike } from './types';
/**
* A Subject is a special type of Observable that allows values to be
* multicasted to many Observers. Subjects are like EventEmitters.
*
* Every Subject is an Observable and an Observer. You can subscribe to a
* Subject, and you can call next to feed values as well as error and complete.
*/
export declare class Subject<T> extends Observable<T> implements SubscriptionLike {
closed: boolean;
private currentObservers;
/** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */
observers: Observer<T>[];
/** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */
isStopped: boolean;
/** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */
hasError: boolean;
/** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */
thrownError: any;
/**
* Creates a "subject" by basically gluing an observer to an observable.
*
* @deprecated Recommended you do not use. Will be removed at some point in the future. Plans for replacement still under discussion.
*/
static create: (...args: any[]) => any;
constructor();
/** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */
lift<R>(operator: Operator<T, R>): Observable<R>;
next(value: T): void;
error(err: any): void;
complete(): void;
unsubscribe(): void;
get observed(): boolean;
/**
* Creates a new Observable with this Subject as the source. You can do this
* to create custom Observer-side logic of the Subject and conceal it from
* code that uses the Observable.
* @return Observable that this Subject casts to.
*/
asObservable(): Observable<T>;
}
export declare class AnonymousSubject<T> extends Subject<T> {
/** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */
destination?: Observer<T> | undefined;
constructor(
/** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */
destination?: Observer<T> | undefined, source?: Observable<T>);
next(value: T): void;
error(err: any): void;
complete(): void;
}
//# sourceMappingURL=Subject.d.ts.map