{"version":3,"sources":["../../../src/window/clients/notification.ts"],"names":[],"mappings":"AAQO,MAAM,kBAAmB,CAAA;AAAA,EACrB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,KAAK,MAAoC,EAAA;AAC7C,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,gCAAA,EAAkC,MAAM,CAAA;AAAA;AAEnE","file":"notification.mjs","sourcesContent":["import { NotificationType } from '../types';\nimport { WindowClient } from '../window-client';\n\nexport interface ShowNotificationParameters {\n  message: string;\n  notificationType: NotificationType;\n}\n\nexport class NotificationClient {\n  readonly window: WindowClient;\n\n  constructor(client: WindowClient) {\n    this.window = client;\n  }\n\n  async show(params: ShowNotificationParameters) {\n    await this.window.send('notifications.showNotification', params);\n  }\n}\n"]}