ServiceWorker: alphabetize type definitions

ci-review-rules
Alex Gleason 2022-05-26 15:16:54 -04:00
rodzic d111c4c2d2
commit b8cfb567d1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -21,28 +21,28 @@ declare const self: ServiceWorkerGlobalScope;
/** Soapbox notification data from push event. */
interface NotificationData {
access_token?: string,
preferred_locale: string,
count?: number,
hiddenBody?: string,
hiddenImage?: string,
id?: string,
preferred_locale: string,
url: string,
count?: number,
}
/** ServiceWorker Notification options with extra fields. */
interface ExtendedNotificationOptions extends NotificationOptions {
title: string,
data: NotificationData,
title: string,
}
/** Partial clone of ServiceWorker Notification with mutability. */
interface ClonedNotification {
body?: string,
image?: string,
actions?: NotificationAction[],
body?: string,
data: NotificationData,
title: string,
image?: string,
tag?: string,
title: string,
}
/** Status entitiy from the API (kind of). */