Merge branch 'master' of github.com:payloadcms/payload into feat/form-onchange
This commit is contained in:
@@ -66,6 +66,7 @@ const getBaseUploadFields = ({ config, collection }: Options): Field[] => {
|
||||
name: 'filename',
|
||||
label: 'File Name',
|
||||
type: 'text',
|
||||
index: true,
|
||||
admin: {
|
||||
readOnly: true,
|
||||
disabled: true,
|
||||
|
||||
@@ -4,6 +4,7 @@ import { Editor } from 'slate';
|
||||
import { PayloadRequest } from '../../express/types';
|
||||
import { Document } from '../../types';
|
||||
import { ConditionalDateProps } from '../../admin/components/elements/DatePicker/types';
|
||||
import { Description } from '../../admin/components/forms/FieldDescription/types';
|
||||
|
||||
export type FieldHook = (args: {
|
||||
value?: unknown,
|
||||
@@ -40,8 +41,6 @@ type Admin = {
|
||||
hidden?: boolean
|
||||
}
|
||||
|
||||
export type Description = string | ((value: Record<string, unknown>) => string);
|
||||
|
||||
export type Labels = {
|
||||
singular: string;
|
||||
plural: string;
|
||||
|
||||
Reference in New Issue
Block a user