wip
This commit is contained in:
parent
aab1c76981
commit
d9f3f0c972
6 changed files with 15 additions and 10 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
"js-built"
|
||||
],
|
||||
"dependencies": {
|
||||
"vue": "3.4.37"
|
||||
"vue": "3.4.37",
|
||||
"misskey-js": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@
|
|||
"isolatedModules": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
"@/*": ["./src/*"],
|
||||
"@@/*": ["../frontend-shared/*"]
|
||||
},
|
||||
"typeRoots": [
|
||||
"./node_modules/@types",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue