Skip to content

Commit

Permalink
完善类字段访问控制
Browse files Browse the repository at this point in the history
  • Loading branch information
lanyuanxiaoyao committed Nov 17, 2022
1 parent ca4af62 commit 8974a76
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -611,8 +611,8 @@ export abstract class ApplicationCacheImpl<P extends ProjectItemImpl> extends Ap
}

export abstract class ApplicationConfigImpl<P extends ProjectItemImpl> extends ApplicationImpl<P> {
readonly configFilename: string
config: string = ''
protected readonly configFilename: string
protected config: string = ''

constructor(id: string, name: string | NameGetter, homepage: string = '', icon: string, type: string, platform: Array<Platform>, group: string = 'default', description: string | DescriptionGetter = '', beta: boolean = false, configFilename: string) {
super(id, name, homepage, icon, type, platform, group, description, beta)
Expand Down Expand Up @@ -666,7 +666,7 @@ export abstract class ApplicationConfigImpl<P extends ProjectItemImpl> extends A

export abstract class ApplicationCacheConfigImpl<P extends ProjectItemImpl> extends ApplicationConfigImpl<P> implements ApplicationCache<P> {
cache: Array<P> = []
sign: string = ''
private sign: string = ''

abstract generateCacheProjectItems(context: Context): Promise<Array<P>>

Expand All @@ -689,7 +689,7 @@ export abstract class ApplicationCacheConfigImpl<P extends ProjectItemImpl> exte
}

export abstract class ApplicationConfigAndExecutorImpl<P extends ProjectItemImpl> extends ApplicationConfigImpl<P> {
executor: string = ''
protected executor: string = ''

override update(nativeId: string) {
super.update(nativeId)
Expand Down Expand Up @@ -738,7 +738,7 @@ export abstract class ApplicationConfigAndExecutorImpl<P extends ProjectItemImpl

export abstract class ApplicationCacheConfigAndExecutorImpl<P extends ProjectItemImpl> extends ApplicationConfigAndExecutorImpl<P> implements ApplicationCache<P> {
cache: Array<P> = []
sign: string = ''
private sign: string = ''

abstract generateCacheProjectItems(context: Context): Promise<Array<P>>

Expand Down

0 comments on commit 8974a76

Please sign in to comment.