Changed http auth saving structure

This commit is contained in:
Kasra Bigdeli
2019-03-13 22:50:03 -07:00
parent c8f49d8a06
commit 17bdae33db
2 changed files with 16 additions and 2 deletions
+10 -1
View File
@@ -54,7 +54,6 @@ interface IAppDefinitionBase {
hasPersistentData: boolean
hasDefaultSubDomainSsl: boolean
containerHttpPort?: number
httpBasicAuth?: string
captainDefinitionRelativeFilePath: string
forceSsl: boolean
nodeId?: string
@@ -76,6 +75,11 @@ interface IAppDef extends IAppDefinitionBase {
repoInfo: RepoInfo
pushWebhookToken: string
}
httpAuth?: {
user: string
password?: string
passwordHashed?: string
}
appName?: string
isAppBuilding?: boolean
}
@@ -88,4 +92,9 @@ interface IAppDefSaved extends IAppDefinitionBase {
pushWebhookToken: string
}
| undefined
httpAuth?: {
user: string
passwordHashed?: string
}
}