Interface: ApiProtectionEntry
Defined in: core/protect.ts:16
One applied protection (type → level, plus expiry).
Indexable
[
type:string]:string|undefined
Extension-provided restriction types are carried through as string levels.
Properties
create?
optionalcreate?:string
Defined in: core/protect.ts:24
Create-protection level, when the create restriction is set.
edit?
optionaledit?:string
Defined in: core/protect.ts:18
Edit-protection level (right/group name), when the edit restriction is set.
expiry
expiry:
string
Defined in: core/protect.ts:30
Expiry for this restriction, or infinite.
move?
optionalmove?:string
Defined in: core/protect.ts:21
Move-protection level, when the move restriction is set.
upload?
optionalupload?:string
Defined in: core/protect.ts:27
Upload-protection level, when the upload restriction is set.