Skip to content

Commit 41a03fb

Browse files
committed
feat: add types for aws-code-commit
1 parent eff3f81 commit 41a03fb

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/Shared/types.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,3 +292,27 @@ export enum AggregationKeys {
292292
Namespaces = 'Namespaces',
293293
}
294294
export type AggregationKeysType = keyof typeof AggregationKeys
295+
296+
export enum GitOpsAuthModeType {
297+
SSH = 'SSH',
298+
PASSWORD = 'PASSWORD',
299+
}
300+
301+
export interface BaseGitOpsType {
302+
authMode: GitOpsAuthModeType
303+
sshKey: string
304+
sshHost: string
305+
username: string
306+
}
307+
308+
export type GitOpsFieldKeyType =
309+
| 'host'
310+
| 'username'
311+
| 'token'
312+
| 'gitHubOrgId'
313+
| 'azureProjectName'
314+
| 'gitLabGroupId'
315+
| 'bitBucketWorkspaceId'
316+
| 'bitBucketProjectKey'
317+
| 'sshHost'
318+
| 'sshKey'

0 commit comments

Comments
 (0)