feat: Feature/pro docs (#70)

* chore: merge main

* feat: update docs

* feat: remove coze-assistant

* feat: add watermark plugin

* feat: update preferences

* feat: update docs

---------

Co-authored-by: vince <vince292007@gmail.com>
This commit is contained in:
Vben
2024-07-28 14:29:05 +08:00
committed by GitHub
parent 14538f7ed5
commit 376fd17a61
225 changed files with 7731 additions and 1784 deletions

View File

@@ -1,12 +1,12 @@
import type { SupportedLanguagesType } from '@vben-core/typings';
export type SupportedLanguagesType = 'en-US' | 'zh-CN';
type ImportLocaleFn = () => Promise<{ default: Record<string, string> }>;
export type ImportLocaleFn = () => Promise<{ default: Record<string, string> }>;
type LoadMessageFn = (
export type LoadMessageFn = (
lang: SupportedLanguagesType,
) => Promise<Record<string, string>>;
interface LocaleSetupOptions {
export interface LocaleSetupOptions {
/**
* Default language
* @default zh-CN
@@ -23,10 +23,3 @@ interface LocaleSetupOptions {
*/
missingWarn?: boolean;
}
export type {
ImportLocaleFn,
LoadMessageFn,
LocaleSetupOptions,
SupportedLanguagesType,
};