You've already forked agentic-coding-workflow
feat(config,workspace,user): jobs/notify config + workspace fetch repo + user ListAdmins
This commit is contained in:
@@ -102,6 +102,15 @@ type Credential struct {
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
// FetchTarget 是 workspace 包暴露给 jobs 模块的"周期 fetch 目标"投影。
|
||||
// owner_id 通过 JOIN projects 取,避免 workspaces 表加冗余列。
|
||||
type FetchTarget struct {
|
||||
ID uuid.UUID
|
||||
OwnerID uuid.UUID
|
||||
Name string
|
||||
MainPath string
|
||||
}
|
||||
|
||||
// Caller 表示发起请求的用户上下文。Service 据此判定鉴权与 holder 字符串。
|
||||
type Caller struct {
|
||||
UserID uuid.UUID
|
||||
|
||||
Reference in New Issue
Block a user