@apistudio/apim-cli
Version:
CLI for API Management Products
24 lines (19 loc) • 646 B
text/typescript
/**
* Copyright IBM Corp. 2024, 2025
*/
import { AiCodeAugmentationInfo } from './ai-augmentations-info.model.js';
// Saves the code augmentation for each file under the whole file path as key
export interface AiCodeAugmentationsGroup {
[filePath: string]: AiCodeAugmentations | null;
}
export interface AiCodeAugmentations {
isFileManuallyUpdated: boolean;
updatedSpec: unknown[];
diffs: AiCodeAugmentationDiffs;
}
// Saves the individual code augmentation (enhancement suggestion) with the spec file path as key
export interface AiCodeAugmentationDiffs {
[path: string]: {
augmentationInfo: AiCodeAugmentationInfo[];
};
}