Add config page (#49)

This commit is contained in:
AceDataCloud committed 2024-06-16 23:38:46 +08:00
1 parent 87e83f3432
commit bf01192bd2
786 files changed
+30678 -24247

No files matched your search

+1
View File
@@ -12,3 +12,4 @@ export * from './user';
export * from './service';
export * from './credential';
export * from './qrart';
export * from './site';
+37
View File
@@ -0,0 +1,37 @@
export interface ISiteFeatures {
chat?: any;
midjourney?: any;
chatdoc?: any;
qrart?: any;
}
export interface ISiteDistribution {
default_inviter_id?: string;
force_inviter_id?: string;
}
export interface ISiteAuth {}
export interface ISite {
id?: string;
origin?: string;
title?: string;
logo?: string;
favicon?: string;
keywords?: string[];
admins?: string[];
description?: string;
features?: ISiteFeatures;
distribution?: ISiteDistribution;
created_at?: string;
updated_at?: string;
metadata?: any;
tags?: string[];
}
export interface ISiteListResponse {
count: number;
items: ISite[];
}
export type ISiteDetailResponse = ISite;