Skip to content

Commit

Permalink
Revert "[8.x] [Fleet] use @kbn/config-schema in Fleet API (Part 1) (#…
Browse files Browse the repository at this point in the history
…193424)

Revert #193296

We decided to target 9.x only with these changes, as it makes the
response schema validation stricter and might include some changes that
can be considered breaking.

Relates #184685
  • Loading branch information
juliaElastic authored Sep 20, 2024
1 parent 808b48f commit 50942c8
Show file tree
Hide file tree
Showing 25 changed files with 234 additions and 1,596 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/common/types/models/agent_policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export interface FullAgentPolicyInputStream {
id: string;
data_stream: {
dataset: string;
type?: string;
type: string;
};
[key: string]: any;
}
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/fleet/common/types/models/package_policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export interface NewPackagePolicy {
privileges?: {
cluster?: string[];
};
[key: string]: any;
};
overrides?: { inputs?: { [key: string]: any } } | null;
}
Expand Down
Loading

0 comments on commit 50942c8

Please sign in to comment.