* fix: バックエンドのCSS読み込みの方法が悪いのを修正 * fix: 使用されないpreloadを削除 * Update Changelog * add comments
58 lines
1.5 KiB
TypeScript
58 lines
1.5 KiB
TypeScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
import type { Config } from '@/config.js';
|
|
|
|
export const comment = `<!--
|
|
_____ _ _
|
|
| |_|___ ___| |_ ___ _ _
|
|
| | | | |_ -|_ -| '_| -_| | |
|
|
|_|_|_|_|___|___|_,_|___|_ |
|
|
|___|
|
|
Thank you for using Misskey!
|
|
If you are reading this message... how about joining the development?
|
|
https://github.com/misskey-dev/misskey
|
|
|
|
-->`;
|
|
|
|
export const defaultDescription = '✨🌎✨ A interplanetary communication platform ✨🚀✨';
|
|
|
|
export type MinimumCommonData = {
|
|
version: string;
|
|
config: Config;
|
|
};
|
|
|
|
export type ViteFiles = {
|
|
entryJs: string | null;
|
|
css: string[];
|
|
modulePreloads: string[];
|
|
};
|
|
|
|
export type CommonData = MinimumCommonData & {
|
|
langs: string[];
|
|
instanceName: string;
|
|
icon: string | null;
|
|
appleTouchIcon: string | null;
|
|
themeColor: string | null;
|
|
serverErrorImageUrl: string;
|
|
infoImageUrl: string;
|
|
notFoundImageUrl: string;
|
|
instanceUrl: string;
|
|
now: number;
|
|
federationEnabled: boolean;
|
|
frontendViteFiles: ViteFiles | null;
|
|
frontendBootloaderJs: string | null;
|
|
frontendBootloaderCss: string | null;
|
|
frontendEmbedViteFiles: ViteFiles | null;
|
|
frontendEmbedBootloaderJs: string | null;
|
|
frontendEmbedBootloaderCss: string | null;
|
|
metaJson?: string;
|
|
clientCtxJson?: string;
|
|
};
|
|
|
|
export type CommonPropsMinimum<T = Record<string, any>> = MinimumCommonData & T;
|
|
|
|
export type CommonProps<T = Record<string, any>> = CommonData & T;
|