@localazy/strapi-plugin
Version:
The official Strapi Plugin by Localazy.
22 lines (21 loc) • 631 B
TypeScript
import { Core } from '@strapi/strapi';
declare const EntryExclusionController: ({ strapi }: {
strapi: Core.Strapi;
}) => {
/**
* Get entry exclusion state
* GET /entry-exclusion/:contentType/:documentId
*/
getEntryExclusion(ctx: any): Promise<any>;
/**
* Set entry exclusion state
* PUT /entry-exclusion/:contentType/:documentId
*/
setEntryExclusion(ctx: any): Promise<any>;
/**
* Get all excluded entries for a content type
* GET /entry-exclusion/:contentType
*/
getContentTypeExclusions(ctx: any): Promise<any>;
};
export default EntryExclusionController;