mirror of
https://github.com/halo-dev/docs.git
synced 2026-05-05 01:02:40 +08:00
717ee402f4
### What this PR does? 重构权限控制部分文档并调整相应结构 ```release-note None ```
804 B
804 B
export interface Attachment {
apiVersion: "storage.halo.run/v1alpha1"
kind: "Attachment"
metadata: {
annotations: {}
creationTimestamp: string
labels: {}
name: string // 附件的唯一标识
version: number
}
spec: {
displayName: string // 附件名称
groupName: string // 附件分组
mediaType: string // 附件类型
ownerName: string // 附件上传者
policyName: string // 附件存储策略
size: number // 附件大小
tags: Array<string>
}
status: {
permalink: string // 附件固定访问地址
}
}