Fix frontend lint issues

This commit is contained in:
Tuan Dang
2025-04-30 19:44:56 -07:00
parent ae43435509
commit 83df0850ce
2 changed files with 5 additions and 6 deletions
+2 -3
View File
@@ -20,14 +20,13 @@ export type TSshHost = {
hostCertTtl: string; hostCertTtl: string;
loginMappings: TLoginMapping[]; loginMappings: TLoginMapping[];
}; };
export type TCreateSshHostDTO = { export type TCreateSshHostDTO = {
projectId: string; projectId: string;
hostname: string; hostname: string;
alias?: string; alias?: string;
userCertTtl?: string; userCertTtl?: string;
hostCertTtl?: string; hostCertTtl?: string;
loginMappings: TLoginMapping[]; loginMappings: Omit<TLoginMapping, "source">[];
}; };
export type TUpdateSshHostDTO = { export type TUpdateSshHostDTO = {
@@ -36,7 +35,7 @@ export type TUpdateSshHostDTO = {
alias?: string; alias?: string;
userCertTtl?: string; userCertTtl?: string;
hostCertTtl?: string; hostCertTtl?: string;
loginMappings?: TLoginMapping[]; loginMappings?: Omit<TLoginMapping, "source">[];
}; };
export type TDeleteSshHostDTO = { export type TDeleteSshHostDTO = {
+3 -3
View File
@@ -4,19 +4,19 @@ export type TSshHostGroup = {
id: string; id: string;
projectId: string; projectId: string;
name: string; name: string;
loginMappings: TLoginMapping[]; loginMappings: Omit<TLoginMapping, "source">[];
}; };
export type TCreateSshHostGroupDTO = { export type TCreateSshHostGroupDTO = {
projectId: string; projectId: string;
name: string; name: string;
loginMappings: TLoginMapping[]; loginMappings: Omit<TLoginMapping, "source">[];
}; };
export type TUpdateSshHostGroupDTO = { export type TUpdateSshHostGroupDTO = {
sshHostGroupId: string; sshHostGroupId: string;
name?: string; name?: string;
loginMappings?: TLoginMapping[]; loginMappings?: Omit<TLoginMapping, "source">[];
}; };
export type TDeleteSshHostGroupDTO = { export type TDeleteSshHostGroupDTO = {