TenantAtlas/apps/platform/.pnpm-store/v10/files/46/db7f25e88c40ed1951bd41c76811d9daf02ba3941425cf2bd29f78644c4accb567f652bf45881fb4426b02fa32489e1b0aa4be6ac64f6dae54d2c62d3fa82b
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

44 lines
1.5 KiB
Plaintext

import { ObservableInputTuple, OperatorFunction } from '../types';
/**
* Merge the values from all observables to a single observable result.
*
* Creates an observable, that when subscribed to, subscribes to the source
* observable, and all other sources provided as arguments. All values from
* every source are emitted from the resulting subscription.
*
* When all sources complete, the resulting observable will complete.
*
* When any source errors, the resulting observable will error.
*
* ## Example
*
* Joining all outputs from multiple user input event streams
*
* ```ts
* import { fromEvent, map, mergeWith } from 'rxjs';
*
* const clicks$ = fromEvent(document, 'click').pipe(map(() => 'click'));
* const mousemoves$ = fromEvent(document, 'mousemove').pipe(map(() => 'mousemove'));
* const dblclicks$ = fromEvent(document, 'dblclick').pipe(map(() => 'dblclick'));
*
* mousemoves$
* .pipe(mergeWith(clicks$, dblclicks$))
* .subscribe(x => console.log(x));
*
* // result (assuming user interactions)
* // 'mousemove'
* // 'mousemove'
* // 'mousemove'
* // 'click'
* // 'click'
* // 'dblclick'
* ```
*
* @see {@link merge}
*
* @param otherSources the sources to combine the current source with.
* @return A function that returns an Observable that merges the values from
* all given Observables.
*/
export declare function mergeWith<T, A extends readonly unknown[]>(...otherSources: [...ObservableInputTuple<A>]): OperatorFunction<T, T | A[number]>;
//# sourceMappingURL=mergeWith.d.ts.map