@indiekit/endpoint-posts
Version:
Post management endpoint for Indiekit. View posts published by your Micropub endpoint and publish new posts to it.
33 lines (32 loc) • 611 B
JavaScript
export const statusTypes = {
deleted: {
color: "red",
text: "posts.status.deleted",
},
draft: {
color: "offset",
text: "posts.status.draft",
},
private: {
color: "offset-purple",
icon: "publicOff",
text: "posts.status.private",
},
public: {
color: "offset-purple",
icon: "public",
text: "posts.status.public",
},
published: {
color: "purple",
text: "posts.status.published",
},
syndicated: {
text: "posts.status.syndicated",
},
unlisted: {
color: "offset-purple",
icon: "unlisted",
text: "posts.status.unlisted",
},
};