/** * Schema augmentation patches for GitLab CI JSON Schema. * * The official GitLab CI schema sometimes has gaps, missing properties, * or incorrect types. Patches are applied after fetch but before parse * to fix these issues. */ /** * A targeted fix for a schema definition. */ export interface SchemaPatch { /** Human-readable description of what this patch fixes */ description: string; /** JSON path to the definition to patch (e.g. "definitions.job_template") */ path: string; /** Function that applies the patch to the definition */ apply(def: Record): void; } /** * Registry of known schema patches. */ export declare const schemaPatches: SchemaPatch[]; /** * Apply all registered patches to a parsed schema. * Modifies the schema in place. */ export declare function applyPatches(schema: Record): { applied: string[]; skipped: string[]; }; //# sourceMappingURL=patches.d.ts.map