import { ApplicationContribution, localStorageService } from '@difizen/mana-core'; import { inject, singleton } from '@difizen/mana-syringe'; import { NotificationService } from './notification/service'; @singleton({ contrib: [ApplicationContribution] }) export class ManaApplication implements ApplicationContribution { @inject(NotificationService) notificationService: NotificationService; initialize() { localStorageService.onDiskQuotaExceeded(() => { const toDispose = this.notificationService.info({ message: '浏览器缓存已满', description: