@stackend/api
Version:
JS bindings to api.stackend.com
37 lines • 1.13 kB
TypeScript
export declare type EditForumThreadActions = Edit | Set | AddQuote | ToggleEdit;
export declare const EDIT_FORUM_ENTRY_TEXT = "EDIT_FORUM_ENTRY_TEXT";
export declare const SET_FORUM_ENTRY_TEXT = "SET_FORUM_ENTRY_TEXT";
export declare const ADD_QUOTE = "ADD_QUOTE";
export declare const FORUM_THREAD_TOGGLE_EDIT = "FORUM_THREAD_TOGGLE_EDIT";
export declare type Edit = {
type: typeof EDIT_FORUM_ENTRY_TEXT;
text: string;
};
export declare type Set = {
type: typeof SET_FORUM_ENTRY_TEXT;
text: string;
};
export declare type AddQuote = {
type: typeof ADD_QUOTE;
quote: string;
};
export declare type ToggleEdit = {
type: typeof FORUM_THREAD_TOGGLE_EDIT;
forumPermalink: string;
editThreadId: number;
};
export declare type EditForumThreadState = {
text: string;
iteration: number;
quote: string;
editForumPermalink: string | undefined;
editThreadId: number;
};
declare const _default: (S: any, A: any) => {
text: string;
iteration: number;
quote: string;
editThreadId: number;
};
export default _default;
//# sourceMappingURL=editForumThreadReducer.d.ts.map