@drift-agent/api-drift-engine 2.5.4 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export interface Hit {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
export interface ImpactOptions {
|
|
37
|
-
format?: "text" | "json" | "markdown";
|
|
37
|
+
format?: "text" | "json" | "markdown" | "github";
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/** Diff two OpenAPI 3.x schemas (YAML or JSON). */
|
|
@@ -51,5 +51,5 @@ export function compareGRPC(base: string, head: string): DiffResult;
|
|
|
51
51
|
* Returns Hit[] when format is "json" (default), otherwise a formatted string.
|
|
52
52
|
*/
|
|
53
53
|
export function impact(diffResult: DiffResult, scanDir?: string, options?: ImpactOptions & { format: "json" }): Hit[];
|
|
54
|
-
export function impact(diffResult: DiffResult, scanDir?: string, options?: ImpactOptions & { format: "text" | "markdown" }): string;
|
|
54
|
+
export function impact(diffResult: DiffResult, scanDir?: string, options?: ImpactOptions & { format: "text" | "markdown" | "github" }): string;
|
|
55
55
|
export function impact(diffResult: DiffResult, scanDir?: string, options?: ImpactOptions): Hit[] | string;
|
package/package.json
CHANGED