barsa-novin-ray-core 2.3.97 → 2.3.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts
CHANGED
|
@@ -2908,7 +2908,6 @@ interface UserNotificationSetting extends MetaobjectDataModel {
|
|
|
2908
2908
|
|
|
2909
2909
|
declare class ServiceWorkerNotificationService {
|
|
2910
2910
|
hasRegistration: boolean;
|
|
2911
|
-
private _logService;
|
|
2912
2911
|
private _swPush;
|
|
2913
2912
|
private _portalService;
|
|
2914
2913
|
private _notificationPermissionAllowed;
|
|
@@ -2916,9 +2915,12 @@ declare class ServiceWorkerNotificationService {
|
|
|
2916
2915
|
get isEnabled(): boolean;
|
|
2917
2916
|
closeNotifications(tags: string[]): Promise<void>;
|
|
2918
2917
|
showNotification(payload: ExNotificationPayload): Promise<void>;
|
|
2918
|
+
private init;
|
|
2919
2919
|
private handlePermission;
|
|
2920
2920
|
private permissionQuery;
|
|
2921
2921
|
private permissionError;
|
|
2922
|
+
private requestPermission;
|
|
2923
|
+
private registerServiceWorker;
|
|
2922
2924
|
private getSw;
|
|
2923
2925
|
private _isSupported;
|
|
2924
2926
|
private _isActionsSupported;
|