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
678 B
Plaintext
26 lines
678 B
Plaintext
import type { PaginatedDocs, SanitizedCollectionConfig } from 'payload';
|
|
import type { CompareOption } from '../Default/types.js';
|
|
export type Props = {
|
|
collectionSlug?: string;
|
|
docID?: number | string;
|
|
globalSlug?: string;
|
|
onChange: (val: CompareOption) => void;
|
|
versionFromID?: string;
|
|
versionFromOptions: CompareOption[];
|
|
};
|
|
type CLEAR = {
|
|
required: boolean;
|
|
type: 'CLEAR';
|
|
};
|
|
type ADD = {
|
|
collection: SanitizedCollectionConfig;
|
|
data: PaginatedDocs<any>;
|
|
type: 'ADD';
|
|
};
|
|
export type Action = ADD | CLEAR;
|
|
export type ValueWithRelation = {
|
|
relationTo: string;
|
|
value: string;
|
|
};
|
|
export {};
|
|
//# sourceMappingURL=types.d.ts.map |