chore: fix import position
This commit is contained in:
parent
bbb49457f9
commit
9ce13d487b
16 changed files with 29 additions and 16 deletions
|
@ -6,6 +6,7 @@ import type { Packed } from '@/misc/schema';
|
|||
import { getNoteSummary } from '@/misc/get-note-summary.js';
|
||||
import type { SwSubscriptionsRepository } from '@/models/index.js';
|
||||
import { MetaService } from '@/core/MetaService.js';
|
||||
import { bindThis } from '@/decorators.js';
|
||||
|
||||
// Defined also packages/sw/types.ts#L14-L21
|
||||
type pushNotificationsTypes = {
|
||||
|
@ -37,7 +38,6 @@ function truncateNotification(notification: Packed<'Notification'>): any {
|
|||
|
||||
return notification;
|
||||
}
|
||||
import { bindThis } from '@/decorators.js';
|
||||
|
||||
@Injectable()
|
||||
export class PushNotificationService {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue