UNPKG

strapi-plugin-comments

Version:
26 lines (25 loc) 777 B
import { LifeCycleHookName } from './types'; export declare const CONFIG_PARAMS: { readonly ENABLED_COLLECTIONS: "enabledCollections"; readonly APPROVAL_FLOW: "approvalFlow"; readonly ENTRY_LABEL: "entryLabel"; readonly MODERATOR_ROLES: "moderatorRoles"; readonly BAD_WORDS: "badWords"; readonly AUTHOR_BLOCKED_PROPS: "blockedAuthorProps"; }; export declare const APPROVAL_STATUS: { PENDING: string; APPROVED: string; REJECTED: string; }; export declare const AUTHOR_TYPE: { GENERIC: string; STRAPI: string; }; export declare const REGEX: { readonly uid: RegExp; readonly relatedUid: RegExp; readonly email: RegExp; readonly sorting: RegExp; }; export declare const LIFECYCLE_HOOKS: ReadonlyArray<LifeCycleHookName>;