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
1 line
776 B
Plaintext
1 line
776 B
Plaintext
{"version":3,"file":"types.js","names":[],"sources":["../../../src/elements/AddNewRelation/types.ts"],"sourcesContent":["import type { ValueWithRelation } from 'payload'\n\nexport type Props = {\n readonly Button?: React.ReactNode\n readonly path: string\n readonly relationTo: string | string[]\n readonly unstyled?: boolean\n} & SharedRelationshipInputProps\n\ntype SharedRelationshipInputProps =\n | {\n readonly hasMany: false\n readonly onChange: (value: ValueWithRelation, modifyForm?: boolean) => void\n readonly value?: null | ValueWithRelation\n }\n | {\n readonly hasMany: true\n readonly onChange: (value: ValueWithRelation[]) => void\n readonly value?: null | ValueWithRelation[]\n }\n"],"mappings":"AAEA","ignoreList":[]} |