mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 13:53:52 +02:00
fix
This commit is contained in:
@@ -842,7 +842,7 @@
|
||||
} from '../../../shared/utils/imageUpload';
|
||||
import { favoriteRequest, miscRequest, userRequest, worldRequest } from '../../../api';
|
||||
import { Badge } from '../../ui/badge';
|
||||
import { database } from '../../../service/database.js';
|
||||
import { database } from '../../../service/database';
|
||||
import { formatJsonVars } from '../../../shared/utils/base/ui';
|
||||
|
||||
import ImageCropDialog from '../ImageCropDialog.vue';
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
import { avatarFavorites } from './database/avatarFavorites.js';
|
||||
import { avatarTags } from './database/avatarTags.js';
|
||||
import { feed } from './database/feed.js';
|
||||
import { friendFavorites } from './database/friendFavorites.js';
|
||||
import { friendLogCurrent } from './database/friendLogCurrent.js';
|
||||
import { friendLogHistory } from './database/friendLogHistory.js';
|
||||
import { gameLog } from './database/gameLog.js';
|
||||
import { memos } from './database/memos.js';
|
||||
import { moderation } from './database/moderation.js';
|
||||
import { mutualGraph } from './database/mutualGraph.js';
|
||||
import { notifications } from './database/notifications.js';
|
||||
import { tableAlter } from './database/tableAlter.js';
|
||||
import { tableFixes } from './database/tableFixes.js';
|
||||
import { tableSize } from './database/tableSize.js';
|
||||
import { worldFavorites } from './database/worldFavorites.js';
|
||||
import { avatarFavorites } from './avatarFavorites.js';
|
||||
import { avatarTags } from './avatarTags.js';
|
||||
import { feed } from './feed.js';
|
||||
import { friendFavorites } from './friendFavorites.js';
|
||||
import { friendLogCurrent } from './friendLogCurrent.js';
|
||||
import { friendLogHistory } from './friendLogHistory.js';
|
||||
import { gameLog } from './gameLog.js';
|
||||
import { memos } from './memos.js';
|
||||
import { moderation } from './moderation.js';
|
||||
import { mutualGraph } from './mutualGraph.js';
|
||||
import { notifications } from './notifications.js';
|
||||
import { tableAlter } from './tableAlter.js';
|
||||
import { tableFixes } from './tableFixes.js';
|
||||
import { tableSize } from './tableSize.js';
|
||||
import { worldFavorites } from './worldFavorites.js';
|
||||
|
||||
import sqliteService from './sqlite.js';
|
||||
import sqliteService from '../sqlite.js';
|
||||
|
||||
const dbVars = {
|
||||
userId: '',
|
||||
@@ -3,7 +3,7 @@ import {
|
||||
GROUP_EXACT_TYPES,
|
||||
getNotificationCategory,
|
||||
getNotificationTs
|
||||
} from '../notificationCategory';
|
||||
} from '../utils/notificationCategory';
|
||||
|
||||
describe('getNotificationCategory', () => {
|
||||
test('returns "other" for falsy type', () => {
|
||||
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
getNotificationMessage,
|
||||
getUserIdFromNoty,
|
||||
toNotificationText
|
||||
} from '../notificationMessage';
|
||||
} from '../utils/notificationMessage';
|
||||
|
||||
// Mock displayLocation to return a predictable string
|
||||
vi.mock('../utils', () => ({
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { resolveRef } from '../resolveRef';
|
||||
import { resolveRef } from '../utils/resolveRef';
|
||||
|
||||
describe('resolveRef', () => {
|
||||
const emptyDefault = { id: '', name: '' };
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useFriendStore, useUserStore } from '../../stores';
|
||||
import { database } from '../../service/database.js';
|
||||
import { database } from '../../service/database';
|
||||
|
||||
/**
|
||||
* @returns {Promise<void>}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { displayLocation } from './utils';
|
||||
import { displayLocation } from './locationParser';
|
||||
|
||||
/**
|
||||
* Extracts the notification title and body from a notification object.
|
||||
@@ -37,7 +37,7 @@ import { userRequest } from '../../api';
|
||||
import { watchState } from '../../service/watchState';
|
||||
|
||||
import configRepository from '../../service/config';
|
||||
import gameLogService from '../../service/gamelog.js';
|
||||
import gameLogService from '../../service/gameLog.js';
|
||||
|
||||
import * as workerTimers from 'worker-timers';
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
hasGroupPermission,
|
||||
replaceBioSymbols
|
||||
} from '../shared/utils';
|
||||
import { database } from '../service/database.js';
|
||||
import { database } from '../service/database';
|
||||
import { groupDialogFilterOptions } from '../shared/constants/';
|
||||
import { useGameStore } from './game';
|
||||
import { useInstanceStore } from './instance';
|
||||
|
||||
@@ -30,7 +30,7 @@ import {
|
||||
instanceContentSettings
|
||||
} from '../shared/constants';
|
||||
import { database } from '../service/database';
|
||||
import { resolveRef } from '../shared/resolveRef';
|
||||
import { resolveRef } from '../shared/utils/resolveRef';
|
||||
import { useAppearanceSettingsStore } from './settings/appearance';
|
||||
import { useFriendStore } from './friend';
|
||||
import { useGroupStore } from './group';
|
||||
|
||||
@@ -27,12 +27,12 @@ import {
|
||||
getNotificationMessage,
|
||||
getUserIdFromNoty as getUserIdFromNotyBase,
|
||||
toNotificationText
|
||||
} from '../../shared/notificationMessage';
|
||||
} from '../../shared/utils/notificationMessage';
|
||||
import { database, dbVars } from '../../service/database';
|
||||
import {
|
||||
getNotificationCategory,
|
||||
getNotificationTs
|
||||
} from '../../shared/notificationCategory';
|
||||
} from '../../shared/utils/notificationCategory';
|
||||
import { AppDebug } from '../../service/appConfig';
|
||||
import { createOverlayDispatch } from './overlayDispatch';
|
||||
import { useAdvancedSettingsStore } from '../settings/advanced';
|
||||
|
||||
@@ -2,7 +2,7 @@ import { extractFileId, extractFileVersion } from '../../shared/utils';
|
||||
import {
|
||||
getNotificationMessage,
|
||||
toNotificationText
|
||||
} from '../../shared/notificationMessage';
|
||||
} from '../../shared/utils/notificationMessage';
|
||||
|
||||
/**
|
||||
* Creates the overlay dispatch functions for the Notification store.
|
||||
|
||||
Reference in New Issue
Block a user