mirror of
https://github.com/caprover/caprover
synced 2026-09-25 16:15:34 +00:00
removed unused types
This commit is contained in:
@@ -1 +1 @@
|
||||
{"version":3,"file":"AppDefinition.js","sourceRoot":"","sources":["../../src/models/AppDefinition.ts"],"names":[],"mappings":"AAmDA,MAAe,kBAAkB;CAgChC;AAED,MAAM,OAAQ,SAAQ,kBAAkB;CAMvC;AAED,MAAM,YAAa,SAAQ,kBAAkB;CAQ5C"}
|
||||
{"version":3,"file":"AppDefinition.js","sourceRoot":"","sources":["../../src/models/AppDefinition.ts"],"names":[],"mappings":"AAsCA,MAAe,kBAAkB;CA6BhC;AAED,MAAM,OAAQ,SAAQ,kBAAkB;CAQvC;AAED,MAAM,YAAa,SAAQ,kBAAkB;CAQ5C"}
|
||||
@@ -1,16 +1,3 @@
|
||||
interface ISourceForImageCreationTarFile {
|
||||
pathToSrcTarballFile: string
|
||||
}
|
||||
|
||||
interface ISourceForImageCreationRepo {
|
||||
repoInfo: RepoInfo
|
||||
}
|
||||
|
||||
type ISourceForImageCreation =
|
||||
| ISourceForImageCreationRepo
|
||||
| ISourceForImageCreationTarFile
|
||||
| undefined
|
||||
|
||||
type IAllAppDefinitions = IHashMapGeneric<IAppDef>
|
||||
|
||||
interface IAppEnvVar {
|
||||
@@ -50,9 +37,6 @@ interface RepoInfoEncrypted {
|
||||
}
|
||||
|
||||
abstract class IAppDefinitionBase {
|
||||
public appName?: string
|
||||
public isAppBuilding?: boolean
|
||||
|
||||
public deployedVersion: number
|
||||
public notExposeAsWebApp: boolean
|
||||
public hasPersistentData: boolean
|
||||
@@ -89,6 +73,8 @@ class IAppDef extends IAppDefinitionBase {
|
||||
repoInfo: RepoInfo
|
||||
pushWebhookToken: string
|
||||
}
|
||||
public appName?: string
|
||||
public isAppBuilding?: boolean
|
||||
}
|
||||
|
||||
class IAppDefSaved extends IAppDefinitionBase {
|
||||
|
||||
Reference in New Issue
Block a user