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
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
import { type CollectionSlug, type JoinFieldClient, type PaginatedDocs, type Where } from 'payload';
|
|
import React from 'react';
|
|
import type { DocumentDrawerProps } from '../DocumentDrawer/types.js';
|
|
import './index.scss';
|
|
type RelationshipTableComponentProps = {
|
|
readonly AfterInput?: React.ReactNode;
|
|
readonly allowCreate?: boolean;
|
|
readonly BeforeInput?: React.ReactNode;
|
|
readonly disableTable?: boolean;
|
|
readonly field: JoinFieldClient;
|
|
readonly fieldPath?: string;
|
|
readonly filterOptions?: Where;
|
|
readonly initialData?: PaginatedDocs;
|
|
readonly initialDrawerData?: DocumentDrawerProps['initialData'];
|
|
readonly Label?: React.ReactNode;
|
|
readonly parent?: {
|
|
collectionSlug: CollectionSlug;
|
|
id: number | string;
|
|
joinPath: string;
|
|
};
|
|
readonly relationTo: string | string[];
|
|
};
|
|
export type OnDrawerOpen = (id?: string, collectionSlug?: string) => void;
|
|
export declare const RelationshipTable: React.FC<RelationshipTableComponentProps>;
|
|
export {};
|
|
//# sourceMappingURL=index.d.ts.map |