Skip to content

Commit e3443ed

Browse files
committed
Update createManagedControlPlane.ts
1 parent 290c411 commit e3443ed

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

src/lib/api/types/crate/createManagedControlPlane.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,17 @@ import {
55
} from '../shared/keyNames';
66
import { Member } from '../shared/members';
77

8+
export type Annotations = Record<string, string>;
9+
export type Labels = Record<string, string>;
10+
811
export interface CreateManagedControlPlaneType {
912
apiVersion: string;
1013
kind: string;
1114
metadata: {
1215
name: string;
1316
namespace: string;
14-
annotations: {
15-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
16-
[annotation: string]: any;
17-
};
18-
labels: {
19-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
20-
[label: string]: any;
21-
};
17+
annotations: Annotations;
18+
labels: Labels;
2219
};
2320
spec: {
2421
members: Member[];

0 commit comments

Comments
 (0)