TenantAtlas/apps/platform/.pnpm-store/v10/files/2d/3f0cc0a73fa8b0518ebfa49275bccdee3996c70741fec451d4468b5016eff46fef4fee87ae3735586f8278d9dcacf7353769db9bbdb8bc6aefa17a25469ef4
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

34 lines
818 B
Plaintext

import { entityKind } from "../../entity.js";
import { PgColumn } from "./common.js";
import { PgIntColumnBaseBuilder } from "./int.common.js";
class PgSmallIntBuilder extends PgIntColumnBaseBuilder {
static [entityKind] = "PgSmallIntBuilder";
constructor(name) {
super(name, "number", "PgSmallInt");
}
/** @internal */
build(table) {
return new PgSmallInt(table, this.config);
}
}
class PgSmallInt extends PgColumn {
static [entityKind] = "PgSmallInt";
getSQLType() {
return "smallint";
}
mapFromDriverValue = (value) => {
if (typeof value === "string") {
return Number(value);
}
return value;
};
}
function smallint(name) {
return new PgSmallIntBuilder(name ?? "");
}
export {
PgSmallInt,
PgSmallIntBuilder,
smallint
};
//# sourceMappingURL=smallint.js.map