* feat: adds sortOptions property to relationship field * chore: fix lexical int tests * feat: simplifies logic & updates joi schema definition * feat: revert to default when searching in relationship select * fix types and joi schema * type adjustments --------- Co-authored-by: Alessio Gravili <alessio@bonfireleads.com> Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com>
14 lines
343 B
TypeScript
14 lines
343 B
TypeScript
import type { TextField } from '../../payload-types'
|
|
|
|
export const defaultText = 'default-text'
|
|
export const textFieldsSlug = 'text-fields'
|
|
|
|
export const textDoc: Partial<TextField> = {
|
|
text: 'Seeded text document',
|
|
localizedText: 'Localized text',
|
|
}
|
|
|
|
export const anotherTextDoc: Partial<TextField> = {
|
|
text: 'Another text document',
|
|
}
|