forked from mirror/misskey
wip
This commit is contained in:
parent
aab1c76981
commit
d9f3f0c972
@ -3,7 +3,7 @@
|
|||||||
* SPDX-License-Identifier: AGPL-3.0-only
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { query } from '@@/js/url.js';
|
import { query } from './url.js';
|
||||||
import * as Misskey from 'misskey-js';
|
import * as Misskey from 'misskey-js';
|
||||||
|
|
||||||
export class MediaProxy {
|
export class MediaProxy {
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
"js-built"
|
"js-built"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue": "3.4.37"
|
"vue": "3.4.37",
|
||||||
|
"misskey-js": "workspace:*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* Language manager for SW
|
* Language manager for SW
|
||||||
*/
|
*/
|
||||||
import { get, set } from 'idb-keyval';
|
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';
|
import type { Locale } from '../../../../locales/index.js';
|
||||||
|
|
||||||
class SwLang {
|
class SwLang {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
import { get } from 'idb-keyval';
|
import { get } from 'idb-keyval';
|
||||||
import * as Misskey from 'misskey-js';
|
import * as Misskey from 'misskey-js';
|
||||||
import type { PushNotificationDataMap } from '@/types.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 type { Locale } from '../../../locales/index.js';
|
||||||
import { createEmptyNotification, createNotification } from '@/scripts/create-notification.js';
|
import { createEmptyNotification, createNotification } from '@/scripts/create-notification.js';
|
||||||
import { swLang } from '@/scripts/lang.js';
|
import { swLang } from '@/scripts/lang.js';
|
||||||
|
@ -21,7 +21,8 @@
|
|||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": ["./src/*"],
|
||||||
|
"@@/*": ["../frontend-shared/*"]
|
||||||
},
|
},
|
||||||
"typeRoots": [
|
"typeRoots": [
|
||||||
"./node_modules/@types",
|
"./node_modules/@types",
|
||||||
|
13
pnpm-lock.yaml
generated
13
pnpm-lock.yaml
generated
@ -1257,6 +1257,9 @@ importers:
|
|||||||
|
|
||||||
packages/frontend-shared:
|
packages/frontend-shared:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
misskey-js:
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../misskey-js
|
||||||
vue:
|
vue:
|
||||||
specifier: 3.4.37
|
specifier: 3.4.37
|
||||||
version: 3.4.37(typescript@5.5.4)
|
version: 3.4.37(typescript@5.5.4)
|
||||||
@ -11808,8 +11811,8 @@ packages:
|
|||||||
vue-component-type-helpers@2.0.29:
|
vue-component-type-helpers@2.0.29:
|
||||||
resolution: {integrity: sha512-58i+ZhUAUpwQ+9h5Hck0D+jr1qbYl4voRt5KffBx8qzELViQ4XdT/Tuo+mzq8u63teAG8K0lLaOiL5ofqW38rg==}
|
resolution: {integrity: sha512-58i+ZhUAUpwQ+9h5Hck0D+jr1qbYl4voRt5KffBx8qzELViQ4XdT/Tuo+mzq8u63teAG8K0lLaOiL5ofqW38rg==}
|
||||||
|
|
||||||
vue-component-type-helpers@2.1.2:
|
vue-component-type-helpers@2.1.4:
|
||||||
resolution: {integrity: sha512-URuxnrOhO9lUG4LOAapGWBaa/WOLDzzyAbL+uKZqT7RS+PFy0cdXI2mUSh7GaMts6vtHaeVbGk7trd0FPJi65Q==}
|
resolution: {integrity: sha512-aVqB3KxwpM76cYRkpnezl1J62E/1omzHQfx1yuz7zcbxmzmP/PeSgI20NEmkdeGnjZPVzm0V9fB4ZyRu5BBj4A==}
|
||||||
|
|
||||||
vue-demi@0.14.7:
|
vue-demi@0.14.7:
|
||||||
resolution: {integrity: sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==}
|
resolution: {integrity: sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==}
|
||||||
@ -16439,7 +16442,7 @@ snapshots:
|
|||||||
ts-dedent: 2.2.0
|
ts-dedent: 2.2.0
|
||||||
type-fest: 2.19.0
|
type-fest: 2.19.0
|
||||||
vue: 3.4.37(typescript@5.5.4)
|
vue: 3.4.37(typescript@5.5.4)
|
||||||
vue-component-type-helpers: 2.1.2
|
vue-component-type-helpers: 2.1.4
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- encoding
|
- encoding
|
||||||
- prettier
|
- prettier
|
||||||
@ -16458,7 +16461,7 @@ snapshots:
|
|||||||
ts-dedent: 2.2.0
|
ts-dedent: 2.2.0
|
||||||
type-fest: 2.19.0
|
type-fest: 2.19.0
|
||||||
vue: 3.4.37(typescript@5.5.4)
|
vue: 3.4.37(typescript@5.5.4)
|
||||||
vue-component-type-helpers: 2.1.2
|
vue-component-type-helpers: 2.1.4
|
||||||
|
|
||||||
'@swc/cli@0.3.12(@swc/core@1.6.6)(chokidar@3.5.3)':
|
'@swc/cli@0.3.12(@swc/core@1.6.6)(chokidar@3.5.3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -24866,7 +24869,7 @@ snapshots:
|
|||||||
|
|
||||||
vue-component-type-helpers@2.0.29: {}
|
vue-component-type-helpers@2.0.29: {}
|
||||||
|
|
||||||
vue-component-type-helpers@2.1.2: {}
|
vue-component-type-helpers@2.1.4: {}
|
||||||
|
|
||||||
vue-demi@0.14.7(vue@3.4.37(typescript@5.5.4)):
|
vue-demi@0.14.7(vue@3.4.37(typescript@5.5.4)):
|
||||||
dependencies:
|
dependencies:
|
||||||
|
Loading…
Reference in New Issue
Block a user