feat: OpenResty 增加默认扩展 (#6556)

This commit is contained in:
zhengkunwang
2024-09-23 18:32:20 +08:00
committed by GitHub
parent 3c0dca6992
commit 4720bda29b
12 changed files with 235 additions and 57 deletions
+10 -9
View File
@@ -31,22 +31,23 @@ export namespace Nginx {
export interface NginxBuildReq {
taskID: string;
mirror: string;
}
export interface NginxModule {
name: string;
script?: string;
packages?: string[];
enable: boolean;
params: string;
}
export interface NginxModuleUpdate {
operate: string;
name: string;
script?: string;
packages?: string;
enable: boolean;
params: string;
}
export interface NginxBuildConfig {
mirror: string;
modules: NginxModule[];
}
export interface NginxModuleUpdate extends NginxModule {
operate: string;
}
}