添加元数据渲染

This commit is contained in:
dragon
2025-11-26 14:12:03 +08:00
parent 4ce6949d3d
commit 11a42961f3
6 changed files with 49 additions and 29 deletions

View File

@@ -31,6 +31,18 @@ declare global {
// @ts-ignore
const event: EventSystem;
//元数据
const meta:Meta;
interface Meta {
// 组织名称
org:string;
// 仓库名称
repo:string;
// 提交 id
commit:string;
}
// Request 相关类型
interface RequestObject {
method: string;