rename: client -> frontend

This commit is contained in:
syuilo 2022-12-27 14:36:33 +09:00
parent db6fff6f26
commit 9384f5399d
592 changed files with 111 additions and 111 deletions

10
packages/frontend/@types/global.d.ts vendored Normal file
View file

@ -0,0 +1,10 @@
type FIXME = any;
declare const _LANGS_: string[][];
declare const _VERSION_: string;
declare const _ENV_: string;
declare const _DEV_: boolean;
declare const _PERF_PREFIX_: string;
declare const _DATA_TRANSFER_DRIVE_FILE_: string;
declare const _DATA_TRANSFER_DRIVE_FOLDER_: string;
declare const _DATA_TRANSFER_DECK_COLUMN_: string;

7
packages/frontend/@types/theme.d.ts vendored Normal file
View file

@ -0,0 +1,7 @@
declare module '@/themes/*.json5' {
import { Theme } from "@/scripts/theme";
const theme: Theme;
export default theme;
}

16
packages/frontend/@types/vue.d.ts vendored Normal file
View file

@ -0,0 +1,16 @@
/// <reference types="vue/macros-global" />
import type { $i } from '@/account';
import type { defaultStore } from '@/store';
import type { instance } from '@/instance';
import type { i18n } from '@/i18n';
declare module 'vue' {
interface ComponentCustomProperties {
$i: typeof $i;
$store: typeof defaultStore;
$instance: typeof instance;
$t: typeof i18n['t'];
$ts: typeof i18n['ts'];
}
}