mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
* It is now possible to follow a post in order to receive updates about it * Notifications are now sent when updates are published * Post status changes are now tracked * Update sidebar now shows the post status history * Mark a comment as a post update using the comment form * ... more ...
14 lines
454 B
TypeScript
14 lines
454 B
TypeScript
import IPostStatusChange from "../../interfaces/IPostStatusChange";
|
|
|
|
export const POST_STATUS_CHANGE_SUBMITTED = 'POST_STATUS_CHANGE_SUBMITTED';
|
|
export interface PostStatusChangeSubmitted {
|
|
type: typeof POST_STATUS_CHANGE_SUBMITTED;
|
|
postStatusChange: IPostStatusChange;
|
|
}
|
|
|
|
export const postStatusChangeSubmitted = (
|
|
postStatusChange: IPostStatusChange
|
|
): PostStatusChangeSubmitted => ({
|
|
type: POST_STATUS_CHANGE_SUBMITTED,
|
|
postStatusChange,
|
|
}); |