/** * The gate checks every app runs, written once (docs/GATES.md ยง23). * * Until UIG-10 Peek and Ship each wrote them into their own * `scripts/gates-checks.mjs`. 65 different checks for finished tickets, counted * on 17 September: 28 were identical in both, 21 were the same check written two * ways, 2 read each app's real page, and 14 read code only one app has. This is * the first three groups as one list. The fourth stays in the app's own checks * file, beside this list. * * Where Peek and Ship wrote one check two ways, the check here runs both, so it * passes wherever either did: the raw-link probe with both of their texts, the * token probes against each token config the app has. * * `scripts/gates-compare.mjs` holds this list to Peek's and Ship's: every check * of theirs must be here, or be about code only that app has, or the comparison * fails and names it. * * A check for a ticket not built yet is a first guess at the evidence, taken * from the ticket's own text; the ticket that builds it changes it here. */ import type { GateHelpers, GateTicket } from './status'; export interface AppCheckOptions { /** Where the app is inside the repository: `.` unless it sits in a folder of its own. */ app?: string; /** A real page of the app, relative to the app, full of elements that are not controls. */ page: string; /** The ticket the gate chain is listed under, and whether this repo owns it: UIG-3 in Peek, UIG-4 in Ship. */ chain?: { ref: string; owner: boolean; }; /** The token lint configs the app has, relative to the app. */ tokenConfigs?: string[]; /** The part a hand-made column header should name (UIG-22): `Panel` since 0.37.0, `ContainerHeader` before. */ headers?: string[]; } export declare const APP_TICKET_TITLES: Record; export declare function appChecks(h: GateHelpers, { app, page, chain, tokenConfigs, headers }: AppCheckOptions): GateTicket[]; //# sourceMappingURL=app-checks.d.ts.map