🏷️ Added undelete micropub scope
This commit is contained in:
parent
a92ac36077
commit
86f3b3d581
|
@ -26,11 +26,12 @@ var (
|
||||||
ScopeUndefined = Scope{uid: ""}
|
ScopeUndefined = Scope{uid: ""}
|
||||||
|
|
||||||
// https://indieweb.org/scope#Micropub_Scopes
|
// https://indieweb.org/scope#Micropub_Scopes
|
||||||
ScopeCreate = Scope{uid: "create"}
|
ScopeCreate = Scope{uid: "create"}
|
||||||
ScopeDelete = Scope{uid: "delete"}
|
ScopeDelete = Scope{uid: "delete"}
|
||||||
ScopeDraft = Scope{uid: "draft"}
|
ScopeDraft = Scope{uid: "draft"}
|
||||||
ScopeMedia = Scope{uid: "media"}
|
ScopeMedia = Scope{uid: "media"}
|
||||||
ScopeUpdate = Scope{uid: "update"}
|
ScopeUndelete = Scope{uid: "undelete"}
|
||||||
|
ScopeUpdate = Scope{uid: "update"}
|
||||||
|
|
||||||
// https://indieweb.org/scope#Microsub_Scopes
|
// https://indieweb.org/scope#Microsub_Scopes
|
||||||
ScopeBlock = Scope{uid: "block"}
|
ScopeBlock = Scope{uid: "block"}
|
||||||
|
@ -69,6 +70,7 @@ var uidsScopes = map[string]Scope{
|
||||||
ScopeMute.uid: ScopeMute,
|
ScopeMute.uid: ScopeMute,
|
||||||
ScopeProfile.uid: ScopeProfile,
|
ScopeProfile.uid: ScopeProfile,
|
||||||
ScopeRead.uid: ScopeRead,
|
ScopeRead.uid: ScopeRead,
|
||||||
|
ScopeUndelete.uid: ScopeUndelete,
|
||||||
ScopeUpdate.uid: ScopeUpdate,
|
ScopeUpdate.uid: ScopeUpdate,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue