This commit is contained in:
syuilo
2024-09-01 14:15:59 +09:00
parent aab1c76981
commit d9f3f0c972
6 changed files with 15 additions and 10 deletions

View File

@@ -3,7 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { query } from '@@/js/url.js';
import { query } from './url.js';
import * as Misskey from 'misskey-js';
export class MediaProxy {

View File

@@ -31,6 +31,7 @@
"js-built"
],
"dependencies": {
"vue": "3.4.37"
"vue": "3.4.37",
"misskey-js": "workspace:*"
}
}

View File

@@ -7,7 +7,7 @@
* Language manager for SW
*/
import { get, set } from 'idb-keyval';
import { I18n } from '../../../frontend/src/scripts/i18n.js';
import { I18n } from '@@/js/i18n.js';
import type { Locale } from '../../../../locales/index.js';
class SwLang {

View File

@@ -6,7 +6,7 @@
import { get } from 'idb-keyval';
import * as Misskey from 'misskey-js';
import type { PushNotificationDataMap } from '@/types.js';
import type { I18n } from '../../frontend/src/scripts/i18n.js';
import type { I18n } from '@@/js/i18n.js';
import type { Locale } from '../../../locales/index.js';
import { createEmptyNotification, createNotification } from '@/scripts/create-notification.js';
import { swLang } from '@/scripts/lang.js';

View File

@@ -21,7 +21,8 @@
"isolatedModules": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
"@/*": ["./src/*"],
"@@/*": ["../frontend-shared/*"]
},
"typeRoots": [
"./node_modules/@types",