CloudBinaryParameters
Class: CloudBinaryParameters
Defined in: packages/core/src/services/cloudbinary.ts:8
Default binary parameters
Extends
Constructors
Constructor
new CloudBinaryParameters():
CloudBinaryParameters
Returns
CloudBinaryParameters
Inherited from
Properties
_maxFileSize
protected_maxFileSize:number
Defined in: packages/core/src/services/binary.service.ts:1103
max file size
Inherited from
models
models:
object
Defined in: packages/core/src/services/binary.service.ts:1111
Define the map of models
- indicates all models
key is a Store name the string[] represent all valids attributes to store files in * indicates all attributes
Index Signature
[key: string]: string[]
Inherited from
prefix?
optionalprefix?:string
Defined in: packages/core/src/services/cloudbinary.ts:9
type
type:
string
Defined in: packages/core/src/services/serviceparameters.ts:10
Type of the service
Inherited from
Accessors
maxFileSize
Get Signature
get maxFileSize():
number
Defined in: packages/core/src/services/binary.service.ts:1125
Get the max file size in bytes
Returns
number
the result number
Set Signature
set maxFileSize(
value):void
Defined in: packages/core/src/services/binary.service.ts:1118
Define the maximum filesize to accept as direct upload
Default
10 MB
Parameters
value
string | number
Returns
void
Inherited from
Methods
load()
load(
params):this
Defined in: packages/core/src/services/cloudbinary.ts:16
Load parameters with an empty prefix default
Parameters
params
any
the service parameters
Returns
this
this for chaining
Overrides
update()
update(
params?,delta):this
Defined in: packages/core/src/services/serviceparameters.ts:35
Update parameters and call watchers if a parameter was changed
Parameters
params?
any = {}
the service parameters
delta
any
the delta
Returns
this
this for chaining
Inherited from
with()
with(
callback):this
Defined in: packages/core/src/services/serviceparameters.ts:65
Watch for changes on the parameters and call watchers when a parameter is changed
Parameters
callback
(params) => void
the callback function
Returns
this
this for chaining