Preparing search index...
The search index is not available
@terrestris/shogun-util
@terrestris/shogun-util
service/GenericFileService
GenericFileService
Class GenericFileService<T>
Abstract
Type Parameters
T
extends
default
Hierarchy (
view full
)
GenericService
GenericFileService
FileService
ImageFileService
Index
Constructors
constructor
Properties
base
Path
keycloak?
Methods
delete
find
All
find
One
get
Base
Path
get
Page
Url
upload
Constructors
Protected
constructor
new
Generic
File
Service
<
T
>
(
opts
)
:
GenericFileService
<
T
>
Type Parameters
T
extends
default
Parameters
opts
:
GenericServiceOpts
Returns
GenericFileService
<
T
>
Properties
Protected
Readonly
base
Path
base
Path
:
string
Protected
Optional
Readonly
keycloak
keycloak
?:
Keycloak
Methods
delete
delete
(
fileUuid
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
fileUuid
:
string
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
find
All
find
All
(
pageOpts
?
,
fetchOpts
?
)
:
Promise
<
Page
<
T
>
>
Parameters
Optional
pageOpts
:
PageOpts
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
Page
<
T
>
>
find
One
find
One
(
fileUuid
,
fetchOpts
?
)
:
Promise
<
Blob
>
Parameters
fileUuid
:
string
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
Blob
>
get
Base
Path
get
Base
Path
(
)
:
string
Returns
string
Protected
get
Page
Url
get
Page
Url
(
pageOpts
?
)
:
string
Parameters
Optional
pageOpts
:
PageOpts
Returns
string
upload
upload
(
file
,
fileSystem
?
,
fetchOpts
?
)
:
Promise
<
T
>
Parameters
file
:
File
fileSystem
:
boolean
= false
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
Path
keycloak
Methods
delete
find
All
find
One
get
Base
Path
get
Page
Url
upload
@terrestris/shogun-util
Loading...