This commit is contained in:
pa
2026-03-10 17:44:15 +09:00
parent 17b582c904
commit ff1529920b
237 changed files with 419 additions and 419 deletions

View File

@@ -7,7 +7,7 @@ vi.mock('../../../views/Feed/Feed.vue', () => ({
default: { template: '<div />' }
}));
vi.mock('../../../views/Feed/columns.jsx', () => ({ columns: [] }));
vi.mock('../../../plugin/router', () => ({
vi.mock('../../../plugins/router', () => ({
router: {
beforeEach: vi.fn(),
push: vi.fn(),

View File

@@ -1,7 +1,7 @@
import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
// Mock AppDebug
vi.mock('../../../service/appConfig', () => ({
vi.mock('../../../services/appConfig', () => ({
AppDebug: { endpointDomain: 'https://api.vrchat.cloud/api/1' }
}));
@@ -10,7 +10,7 @@ vi.mock('../../../views/Feed/Feed.vue', () => ({
default: { template: '<div />' }
}));
vi.mock('../../../views/Feed/columns.jsx', () => ({ columns: [] }));
vi.mock('../../../plugin/router', () => ({
vi.mock('../../../plugins/router', () => ({
default: { push: vi.fn(), currentRoute: { value: {} } }
}));

View File

@@ -5,7 +5,7 @@ vi.mock('../../../views/Feed/Feed.vue', () => ({
default: { template: '<div />' }
}));
vi.mock('../../../views/Feed/columns.jsx', () => ({ columns: [] }));
vi.mock('../../../plugin/router', () => ({
vi.mock('../../../plugins/router', () => ({
default: { push: vi.fn(), currentRoute: { value: {} } }
}));

View File

@@ -5,11 +5,11 @@ vi.mock('vue-sonner', () => ({
toast: { error: vi.fn() }
}));
vi.mock('../../../service/request', () => ({
vi.mock('../../../services/request', () => ({
$throw: vi.fn()
}));
vi.mock('../../../service/appConfig', () => ({
vi.mock('../../../services/appConfig', () => ({
AppDebug: { endpointDomain: 'https://api.vrchat.cloud/api/1' }
}));

View File

@@ -2,7 +2,7 @@ vi.mock('../../../views/Feed/Feed.vue', () => ({
default: {}
}));
vi.mock('../../../views/Feed/columns.jsx', () => ({ columns: [] }));
vi.mock('../../../plugin/router', () => ({
vi.mock('../../../plugins/router', () => ({
default: { push: vi.fn() }
}));

View File

@@ -13,7 +13,7 @@ vi.mock('../../../views/Feed/Feed.vue', () => ({
default: { template: '<div />' }
}));
vi.mock('../../../views/Feed/columns.jsx', () => ({ columns: [] }));
vi.mock('../../../plugin/router', () => ({
vi.mock('../../../plugins/router', () => ({
default: { push: vi.fn(), currentRoute: { value: {} } }
}));

View File

@@ -5,7 +5,7 @@ vi.mock('../../../views/Feed/Feed.vue', () => ({
default: { template: '<div />' }
}));
vi.mock('../../../views/Feed/columns.jsx', () => ({ columns: [] }));
vi.mock('../../../plugin/router', () => ({
vi.mock('../../../plugins/router', () => ({
default: { push: vi.fn(), currentRoute: { value: {} } }
}));

View File

@@ -4,7 +4,7 @@ vi.mock('../../../views/Feed/Feed.vue', () => ({
default: { name: 'Feed' }
}));
vi.mock('../../../views/Feed/columns.jsx', () => ({ columns: [] }));
vi.mock('../../../plugin/router', () => ({
vi.mock('../../../plugins/router', () => ({
default: { push: vi.fn(), currentRoute: { value: {} } }
}));

View File

@@ -26,7 +26,7 @@ vi.mock('../../../views/Feed/Feed.vue', () => ({
default: { template: '<div />' }
}));
vi.mock('../../../views/Feed/columns.jsx', () => ({ columns: [] }));
vi.mock('../../../plugin/router', () => ({
vi.mock('../../../plugins/router', () => ({
default: { push: vi.fn(), currentRoute: { value: {} } }
}));

View File

@@ -5,7 +5,7 @@ vi.mock('../../../views/Feed/Feed.vue', () => ({
default: { template: '<div />' }
}));
vi.mock('../../../views/Feed/columns.jsx', () => ({ columns: [] }));
vi.mock('../../../plugin/router', () => ({
vi.mock('../../../plugins/router', () => ({
default: { push: vi.fn(), currentRoute: { value: {} } }
}));

View File

@@ -10,7 +10,7 @@ vi.mock('../../../../views/Feed/Feed.vue', () => ({
default: { template: '<div />' }
}));
vi.mock('../../../../views/Feed/columns.jsx', () => ({ columns: [] }));
vi.mock('../../../../plugin/router', () => ({
vi.mock('../../../../plugins/router', () => ({
default: { push: vi.fn(), currentRoute: { value: {} } }
}));

View File

@@ -1,5 +1,5 @@
import { escapeTag } from './string';
import { i18n } from '../../../plugin/i18n';
import { i18n } from '../../../plugins/i18n';
const TIME_UNIT_KEYS = {
y: 'common.time_units.y',

View File

@@ -8,12 +8,12 @@ import {
THEME_COLORS,
THEME_CONFIG
} from '../../constants';
import { i18n } from '../../../plugin/i18n';
import { router } from '../../../plugin/router';
import { i18n } from '../../../plugins/i18n';
import { router } from '../../../plugins/router';
import { textToHex } from './string';
import { useAppearanceSettingsStore } from '../../../stores';
import configRepository from '../../../service/config.js';
import configRepository from '../../../services/config.js';
const THEME_COLOR_STORAGE_KEY = 'VRCX_themeColor';
const THEME_COLOR_STYLE_ID = 'app-theme-color-style';

View File

@@ -15,10 +15,10 @@ import {
} from './fileUtils';
import { escapeTag, replaceBioSymbols } from './base/string';
import { getFaviconUrl, replaceVrcPackageUrl } from './urlUtils';
import { AppDebug } from '../../service/appConfig.js';
import { AppDebug } from '../../services/appConfig.js';
import { compareUnityVersion } from './avatar';
import { getAvailablePlatforms } from './platformUtils';
import { i18n } from '../../plugin/i18n';
import { i18n } from '../../plugins/i18n';
import { queryRequest } from '../../api';
/**

View File

@@ -1,5 +1,5 @@
import { localeIncludes } from './base/string';
import removeConfusables, { removeWhitespace } from '../../service/confusables';
import removeConfusables, { removeWhitespace } from '../../services/confusables';
/**
* Tests whether a name matches a query using locale-aware comparison.

View File

@@ -1,7 +1,7 @@
import { toast } from 'vue-sonner';
import { $throw } from '../../service/request';
import { AppDebug } from '../../service/appConfig.js';
import { $throw } from '../../services/request';
import { AppDebug } from '../../services/appConfig.js';
import { extractFileId } from './index.js';
import { imageRequest } from '../../api';

View File

@@ -1,5 +1,5 @@
import { useFriendStore, useUserStore } from '../../stores';
import { database } from '../../service/database';
import { database } from '../../services/database';
/**
* @returns {Promise<void>}