UNPKG

@localazy/strapi-plugin

Version:

The official Strapi Plugin by Localazy.

13 lines (12 loc) 833 B
import type { ModelContentTransferSetup } from '../models/plugin/content-transfer-setup'; export declare const hasDynamicZoneKeySegment: (parsedKey: string[]) => boolean; export declare const getDynamicZoneKeySegment: (parsedKey: string[]) => string | undefined; export declare const getComponentNameFromDynamicZoneKeySegment: (dynamicZoneKeySegment: string) => string; export declare const getDynamicZoneKeySegmentIndex: (parsedKey: string[]) => number; export declare const getDynamicZonePropertyName: (parsedKey: string[]) => string | undefined; export declare enum ShouldSetDownloadedPropertyReturnType { YES = "yes", NO = "no", JSON = "json" } export declare const shouldSetDownloadedProperty: (modelContentTransferSetup: ModelContentTransferSetup, parsedKeyRest: string[]) => ShouldSetDownloadedPropertyReturnType;