Sanity Library Reference Docs
Preparing search index...
sanity
index
Uploader
Type Alias Uploader<S>
Beta
Hidden
type
Uploader
<
S
extends
SchemaType
=
SchemaType
>
=
{
accepts
:
string
;
priority
:
number
;
type
:
string
;
upload
:
(
client
:
SanityClient
,
file
:
File
,
type
:
S
,
options
?:
UploadOptions
,
)
=>
Observable
<
UploadProgressEvent
>
;
}
Type Parameters
S
extends
SchemaType
=
SchemaType
Index
Properties
accepts
priority
type
upload
Properties
accepts
accepts
:
string
priority
priority
:
number
type
type
:
string
upload
upload
:
(
client
:
SanityClient
,
file
:
File
,
type
:
S
,
options
?:
UploadOptions
,
)
=>
Observable
<
UploadProgressEvent
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
accepts
priority
type
upload
Sanity Library Reference Docs
Loading...
Hidden