UNPKG

@strapi/data-transfer

Version:

Data transfer capabilities for Strapi

10 lines 649 B
import type { Core } from '@strapi/types'; import type { ILink } from '../../../../../types'; /** * joinColumn relations (e.g. i18n `localizations`) store `document_id` on the * inverse side. Export emits that value as a string ref; restore must not run it * through the numeric id mapper. */ export declare const isDocumentIdJoinColumnTarget: (strapi: Core.Strapi, link: ILink, side: "left" | "right") => boolean; export declare const resolveLinkRef: (strapi: Core.Strapi, link: ILink, side: "left" | "right", mapID: (uid: string, id: number) => number | undefined) => number | string | undefined; //# sourceMappingURL=resolve-link-ref.d.ts.map