Skip to main content

@webda/coreReadme | API


Class: CloudBinaryParameters

Default binary parameters

Extends

Constructors

new CloudBinaryParameters(params, service)

new CloudBinaryParameters(params, service): CloudBinaryParameters

Parameters

params: any

service: BinaryService<BinaryParameters, BinaryEvents>

Returns

CloudBinaryParameters

Overrides

BinaryParameters.constructor

Source

packages/core/src/services/cloudbinary.ts:11

Properties

expose?

expose?: Object

Expose the service to http

Deprecated

will be removed in 4.0

Type declaration

restrict?

restrict?: Object

Restrict some APIs

restrict.create?

restrict.create?: boolean

Restrict POST

restrict.delete?

restrict.delete?: boolean

Restrict DELETE

restrict.get?

restrict.get?: boolean

Restrict GET

restrict.metadata?

restrict.metadata?: boolean

Restrict update of metadata

url

url: string

URL to expose the service to

Inherited from

BinaryParameters.expose

Source

packages/core/src/services/binary.ts:486


map

map: Object

Define the map to Object collection

key is a Store name the string[] represent all valids attributes to store files in

Deprecated

Index signature

[key: string]: string[]

Inherited from

BinaryParameters.map

Source

packages/core/src/services/binary.ts:473


models

models: Object

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

BinaryParameters.models

Source

packages/core/src/services/binary.ts:481


openapi?

openapi?: OpenAPIWebdaDefinition

OpenAPI override

Schema Ignore

Inherited from

BinaryParameters.openapi

Source

packages/core/src/services/service.ts:260


prefix?

prefix?: string

Source

packages/core/src/services/cloudbinary.ts:9


type

type: string

Type of the service

Inherited from

BinaryParameters.type

Source

packages/core/src/services/service.ts:251


url?

url?: string

URL on which to serve the content

Inherited from

BinaryParameters.url

Source

packages/core/src/services/service.ts:255