✨ feat(global): Add custom data
This commit is contained in:
@@ -22,6 +22,7 @@ export const useGlobalStore = create<GlobalStore>((set, get) => ({
|
||||
site_logo: '',
|
||||
keywords: '',
|
||||
custom_html: '',
|
||||
custom_data: '',
|
||||
},
|
||||
verify: {
|
||||
turnstile_site_key: '',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// @ts-ignore
|
||||
|
||||
|
||||
// API 更新时间:
|
||||
// API 唯一标识:
|
||||
import * as auth from './auth';
|
||||
|
||||
+7
@@ -659,6 +659,13 @@ declare namespace API {
|
||||
site_logo: string;
|
||||
keywords: string;
|
||||
custom_html: string;
|
||||
custom_data: string;
|
||||
};
|
||||
|
||||
type SiteCustomDataContacts = {
|
||||
email: string;
|
||||
telephone: string;
|
||||
address: string;
|
||||
};
|
||||
|
||||
type SortItem = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// @ts-ignore
|
||||
|
||||
|
||||
// API 更新时间:
|
||||
// API 唯一标识:
|
||||
import * as announcement from './announcement';
|
||||
|
||||
Vendored
+7
@@ -777,6 +777,13 @@ declare namespace API {
|
||||
site_logo: string;
|
||||
keywords: string;
|
||||
custom_html: string;
|
||||
custom_data: string;
|
||||
};
|
||||
|
||||
type SiteCustomDataContacts = {
|
||||
email: string;
|
||||
telephone: string;
|
||||
address: string;
|
||||
};
|
||||
|
||||
type SortItem = {
|
||||
|
||||
Reference in New Issue
Block a user