**BREAKING:** - Type narrowing for `relationTo` props on filterOptions, relationship fields and upload fields - Type narrowing for arguments of lexical relationship, link and upload features
10 lines
310 B
TypeScript
10 lines
310 B
TypeScript
import type { RequiredDataFromCollection } from 'payload/types'
|
|
|
|
import type { ConditionalLogic } from '../../payload-types.js'
|
|
|
|
export const conditionalLogicDoc: RequiredDataFromCollection<ConditionalLogic> = {
|
|
text: 'Seeded conditional logic document',
|
|
toggleField: true,
|
|
fieldToToggle: 'spiderman',
|
|
}
|