feat(admin): Add application and rule management entries to localization files

This commit is contained in:
web@ppanel
2025-04-02 00:12:02 +07:00
parent ef153747bd
commit 8b43e69bfe
64 changed files with 11730 additions and 21 deletions
+11
View File
@@ -221,3 +221,14 @@ export async function nodeSort(body: API.NodeSortRequest, options?: { [key: stri
...(options || {}),
});
}
/** Get node tag list GET /v1/admin/server/tag/list */
export async function getNodeTagList(options?: { [key: string]: any }) {
return request<API.Response & { data?: API.GetNodeTagListResponse }>(
'/v1/admin/server/tag/list',
{
method: 'GET',
...(options || {}),
},
);
}
+12 -5
View File
@@ -257,7 +257,8 @@ declare namespace API {
type CreateRuleGroupRequest = {
name: string;
icon: string;
description: string;
tags: string[];
rules: string;
enable: boolean;
};
@@ -619,6 +620,10 @@ declare namespace API {
list: Server[];
};
type GetNodeTagListResponse = {
tags: string[];
};
type GetOrderListParams = {
page: number;
size: number;
@@ -1232,9 +1237,10 @@ declare namespace API {
type ServerRuleGroup = {
id: number;
name: string;
icon: string;
description: string;
name: string;
tags: string[];
rules: string;
enable: boolean;
created_at: number;
updated_at: number;
@@ -1574,9 +1580,10 @@ declare namespace API {
type UpdateRuleGroupRequest = {
id: number;
name: string;
icon: string;
description: string;
name: string;
tags: string[];
rules: string;
enable: boolean;
};
+3 -2
View File
@@ -639,9 +639,10 @@ declare namespace API {
type ServerRuleGroup = {
id: number;
name: string;
icon: string;
description: string;
name: string;
tags: string[];
rules: string;
enable: boolean;
created_at: number;
updated_at: number;