/** * #modaction.ts * * Code generated by ts-proto. DO NOT EDIT. * @packageDocumentation */ import type { CommentV2 } from "./commentv2.js"; import type { PostV2 } from "./postv2.js"; import type { SubredditV2 } from "./subredditv2.js"; import type { UserV2 } from "./userv2.js"; export declare enum ModActionType { UNKNOWN = 0, REMOVE_POST = 1, REMOVE_COMMENT = 2, APPROVE_POST = 3, APPROVE_COMMENT = 4, EDIT_POST_FLAIR = 5, EDIT_USER_FLAIR = 6, LOCK_POST = 7, LOCK_COMMENT = 8, SPAM_POST = 9, SPAM_COMMENT = 10, DISTINGUISH_POST = 11, DISTINGUISH_COMMENT = 12, STICKY_POST = 13, STICKY_COMMENT = 14, UNRECOGNIZED = -1 } export type ModAction = { /** * Replaces the action_type enum. The same string used internally (e.g. "removelink") * Marking as optional only for typescript compatibility (public-api). */ action?: string | undefined; actionedAt?: string | undefined; subreddit?: SubredditV2 | undefined; moderator?: UserV2 | undefined; targetUser?: UserV2 | undefined; targetComment?: CommentV2 | undefined; targetPost?: PostV2 | undefined; id?: string | undefined; }; //# sourceMappingURL=modaction.d.ts.map