Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
21 lines
777 B
Plaintext
21 lines
777 B
Plaintext
import type { PayloadRequest, RelationshipField, RelationshipFieldDiffServerComponent, TypeWithID } from 'payload';
|
|
import { type I18nClient } from '@payloadcms/translations';
|
|
import './index.scss';
|
|
import React from 'react';
|
|
export type RelationshipValue = {
|
|
relationTo: string;
|
|
value: number | string | TypeWithID;
|
|
} | (number | string | TypeWithID);
|
|
export declare const Relationship: RelationshipFieldDiffServerComponent;
|
|
export declare const SingleRelationshipDiff: React.FC<{
|
|
field: RelationshipField;
|
|
i18n: I18nClient;
|
|
locale: string;
|
|
nestingLevel?: number;
|
|
parentIsLocalized: boolean;
|
|
polymorphic: boolean;
|
|
req: PayloadRequest;
|
|
valueFrom: RelationshipValue;
|
|
valueTo: RelationshipValue;
|
|
}>;
|
|
//# sourceMappingURL=index.d.ts.map |