UNPKG

@localazy/strapi-plugin

Version:

The official Strapi Plugin by Localazy.

19 lines (18 loc) 714 B
export default class EntryExclusionService { /** * Get entry exclusion state for a specific entry */ static getEntryExclusion(contentType: string, documentId: string): Promise<boolean>; /** * Set entry exclusion state for a specific entry */ static setEntryExclusion(contentType: string, documentId: string, isExcluded: boolean): Promise<boolean>; /** * Set exclusion state for multiple entries */ static setMultipleEntriesExclusion(contentType: string, documentIds: string[], isExcluded: boolean): Promise<void>; /** * Get all excluded entries for a content type */ static getContentTypeExclusions(contentType: string): Promise<string[]>; }