Some checks failed
Main Confidence / confidence (push) Failing after 45s
## 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
45 lines
2.1 KiB
Plaintext
45 lines
2.1 KiB
Plaintext
import type { ColumnBuilderBaseConfig } from "../../column-builder.js";
|
|
import type { ColumnBaseConfig } from "../../column.js";
|
|
import { entityKind } from "../../entity.js";
|
|
import { PgColumn } from "./common.js";
|
|
import { PgIntColumnBaseBuilder } from "./int.common.js";
|
|
export type PgBigInt53BuilderInitial<TName extends string> = PgBigInt53Builder<{
|
|
name: TName;
|
|
dataType: 'number';
|
|
columnType: 'PgBigInt53';
|
|
data: number;
|
|
driverParam: number | string;
|
|
enumValues: undefined;
|
|
}>;
|
|
export declare class PgBigInt53Builder<T extends ColumnBuilderBaseConfig<'number', 'PgBigInt53'>> extends PgIntColumnBaseBuilder<T> {
|
|
static readonly [entityKind]: string;
|
|
constructor(name: T['name']);
|
|
}
|
|
export declare class PgBigInt53<T extends ColumnBaseConfig<'number', 'PgBigInt53'>> extends PgColumn<T> {
|
|
static readonly [entityKind]: string;
|
|
getSQLType(): string;
|
|
mapFromDriverValue(value: number | string): number;
|
|
}
|
|
export type PgBigInt64BuilderInitial<TName extends string> = PgBigInt64Builder<{
|
|
name: TName;
|
|
dataType: 'bigint';
|
|
columnType: 'PgBigInt64';
|
|
data: bigint;
|
|
driverParam: string;
|
|
enumValues: undefined;
|
|
}>;
|
|
export declare class PgBigInt64Builder<T extends ColumnBuilderBaseConfig<'bigint', 'PgBigInt64'>> extends PgIntColumnBaseBuilder<T> {
|
|
static readonly [entityKind]: string;
|
|
constructor(name: T['name']);
|
|
}
|
|
export declare class PgBigInt64<T extends ColumnBaseConfig<'bigint', 'PgBigInt64'>> extends PgColumn<T> {
|
|
static readonly [entityKind]: string;
|
|
getSQLType(): string;
|
|
mapFromDriverValue(value: string): bigint;
|
|
}
|
|
export interface PgBigIntConfig<T extends 'number' | 'bigint' = 'number' | 'bigint'> {
|
|
mode: T;
|
|
}
|
|
export declare function bigint<TMode extends PgBigIntConfig['mode']>(config: PgBigIntConfig<TMode>): TMode extends 'number' ? PgBigInt53BuilderInitial<''> : PgBigInt64BuilderInitial<''>;
|
|
export declare function bigint<TName extends string, TMode extends PgBigIntConfig['mode']>(name: TName, config: PgBigIntConfig<TMode>): TMode extends 'number' ? PgBigInt53BuilderInitial<TName> : PgBigInt64BuilderInitial<TName>;
|