UNPKG

@fourlights/strapi-plugin-deep-populate

Version:

This plugin provides a simple way of retrieving all nested objects in a single request.

5 lines (4 loc) 308 B
import type { Schema, UID } from "@strapi/strapi"; export declare const getRelations: <TSchema extends UID.Schema>(model: Schema.Schema<TSchema>) => [string, Schema.Attribute.AnyAttribute][]; export declare const isEmpty: (obj: object) => boolean; export declare const hasValue: (value: unknown) => boolean;