mirror of
https://github.com/unraid/api.git
synced 2025-12-30 21:19:49 -06:00
chore: fix lint issues
This commit is contained in:
@@ -13,7 +13,7 @@ import {
|
||||
createSlice,
|
||||
} from '@reduxjs/toolkit';
|
||||
import { PUBSUB_CHANNEL, pubsub } from '@app/core/pubsub';
|
||||
import { NotificationIni } from '@app/core/types/states/notification';
|
||||
import { type NotificationIni } from '@app/core/types/states/notification';
|
||||
|
||||
interface NotificationState {
|
||||
notifications: Record<string, Notification>;
|
||||
|
||||
@@ -21,7 +21,6 @@ import { ConnectResolver } from './connect/connect.resolver';
|
||||
import { ConnectService } from './connect/connect.service';
|
||||
import { idPrefixPlugin } from '@app/unraid-api/graph/id-prefix-plugin';
|
||||
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
ResolversModule,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { Test, type TestingModule } from '@nestjs/testing';
|
||||
import { NotificationsService } from './notifications.service';
|
||||
import { describe, it, expect, vi, beforeAll, afterEach, assert } from 'vitest';
|
||||
import { describe, it, expect, vi, beforeAll, afterEach } from 'vitest';
|
||||
import { existsSync } from 'fs';
|
||||
import {
|
||||
Importance,
|
||||
|
||||
@@ -17,7 +17,6 @@ import { basename, join } from 'path';
|
||||
import { Logger } from '@nestjs/common';
|
||||
import { batchProcess, isFulfilled, isRejected, unraidTimestamp } from '@app/utils';
|
||||
import { FSWatcher, watch } from 'chokidar';
|
||||
import { FileLoadStatus } from '@app/store/types';
|
||||
import { pubsub, PUBSUB_CHANNEL } from '@app/core/pubsub';
|
||||
import { fileExists } from '@app/core/utils/files/file-exists';
|
||||
import { encode as encodeIni } from 'ini';
|
||||
|
||||
Reference in New Issue
Block a user