@localazy/strapi-plugin
Version:
The official Strapi Plugin by Localazy.
21 lines (20 loc) • 622 B
TypeScript
import { FullPopulateObject } from '../utils/get-full-populate-object';
import type { UID } from '@strapi/strapi';
export declare enum ChosenPopulateParam {
LOC_UPLOAD_PLEVEL = "locUploadPLevel",
LOC_DOWNLOAD_PLEVEL = "locDownloadPLevel",
PLEVEL = "pLevel"
}
export type DeepPopulateHookEvent = {
model: {
uid: UID.ContentType;
};
params: {
locUploadPLevel?: number;
locDownloadPLevel?: number;
pLevel?: number;
populate?: FullPopulateObject;
};
};
declare const deepPopulateHook: (event: DeepPopulateHookEvent) => void;
export default deepPopulateHook;