Skip to main content

AnyFileRepeater

<AnyFileRepeater field="files" label="Any upload" urlField="file.url" orderBy="order" />
AnyFileRepeaterProps
AnyFileRepeaterProps
Intersection of
PublicSingleKindFileRepeaterProps
PublicSingleKindFileRepeaterProps
Intersection of
SugaredRelativeEntityList
SugaredRelativeEntityList
expectedMutation
ExpectedRelationMutation
field*
| string| SugarableRelativeEntityList
initialEntityCount
number
isNonbearing
boolean
limit
number
offset
number
onBeforePersist*
| undefined| EntityListAccessor.BeforePersistHandler| Set<EntityListAccessor.BeforePersistHandler>
onBeforeUpdate*
| undefined| EntityListAccessor.BatchUpdatesHandler| Set<EntityListAccessor.BatchUpdatesHandler>
onChildBeforeUpdate*
| undefined| EntityAccessor.BatchUpdatesHandler| Set<EntityAccessor.BatchUpdatesHandler>
onChildInitialize*
| undefined| EntityAccessor.BatchUpdatesHandler| Set<EntityAccessor.BatchUpdatesHandler>
onChildUpdate*
| undefined| EntityAccessor.UpdateListener| Set<EntityAccessor.UpdateListener>
onInitialize*
| undefined| EntityListAccessor.BatchUpdatesHandler| Set<EntityListAccessor.BatchUpdatesHandler>
onPersistError*
| undefined| EntityListAccessor.PersistErrorHandler| Set<EntityListAccessor.PersistErrorHandler>
onPersistSuccess*
| undefined| EntityListAccessor.PersistSuccessHandler| Set<EntityListAccessor.PersistSuccessHandler>
onUpdate*
| undefined| EntityListAccessor.UpdateListener| Set<EntityListAccessor.UpdateListener>
orderBy
SugaredOrderBy
setOnCreate
SugaredSetOnCreate
CommonFileKindProps
CommonFileKindProps
Intersection of
PublicFileKind
PublicFileKind
Intersection of
Partial
InternalFileKind
InternalFileKind
acceptFile
| undefined| (options: AcceptFileOptions) => | boolean| Promise<AcceptArtifacts>
acceptMimeTypes
| null| string| string[]
baseEntity
string
children
React.ReactNode
childrenOutsideBaseEntity
boolean
renderFilePreview
(options: RenderFilePreviewOptions<AcceptArtifacts>) => React.ReactNode
renderUploadedFile
React.ReactNode
uploader
FileUploader<S3FileUploader.SuccessMetadata, FileUploadError>
FileUrlDataExtractorProps
FileUrlDataExtractorProps
urlField*
| string| SugaredRelativeSingleField
GenericFileMetadataExtractorProps
GenericFileMetadataExtractorProps
fileNameField
| string| SugaredRelativeSingleField
fileSizeField
| string| SugaredRelativeSingleField
fileTypeField
| string| SugaredRelativeSingleField
lastModifiedField
| string| SugaredRelativeSingleField
CommonFileKindProps
additionalExtractors
FileDataExtractor<unknown, S3FileUploader.SuccessMetadata, AcceptArtifacts>[]
SelectFileInputSelectionComponentProps
SelectFileInputSelectionComponentProps
fileSelectionComponent
React.ComponentType<& SFExtraProps& FileSelectionProps>
fileSelectionLabel
React.ReactNode
fileSelectionProps
SFExtraProps
FileInputPublicProps
FileInputPublicProps
Intersection of
Pick
FieldContainerProps
FieldContainerProps
Intersection of
FieldContainerProps
description
React.ReactNode
label*
React.ReactNode
labelDescription
React.ReactNode
ErrorListProps
AddEntityButtonProps
AddEntityButtonProps
addButtonComponent
React.ComponentType<any>
addButtonComponentExtraProps
addButtonProps
CreateNewEntityButtonProps
addButtonText
React.ReactNode
SelectFileInputPublicProps
SelectFileInputPublicProps
Intersection of
SelectEntityButtonProps
SelectEntityButtonProps
selectButtonComponent
React.ComponentType<any>
selectButtonComponentExtraProps
selectButtonProps
CreateNewEntityButtonProps
selectButtonText
React.ReactNode
SelectFileInputPublicProps
insertSelectedText
string
FileInputPublicProps
addButtonSubText
React.ReactNode
enableAddingNew
boolean
PublicSingleKindFileRepeaterProps
boxLabel
React.ReactNode
label*
React.ReactNode
sortableBy
SugaredFieldProps["field"]