Skip to main content

SealedFieldParameters

@webda/core


Class: SealedFieldParameters

Defined in: packages/core/src/models/sealed.model.ts:43

Policy of a SealedField attribute (models.<Model>.behaviors.<attribute> in the configuration)

Extends​

Constructors​

Constructor​

new SealedFieldParameters(): SealedFieldParameters

Returns​

SealedFieldParameters

Inherited from​

Parameters.constructor

Properties​

maxSize​

maxSize: number = 1048576

Defined in: packages/core/src/models/sealed.model.ts:48

Upper bound of a client-sealed envelope stored with set (ciphertext ct, base64url characters, 1 MiB by default): the server cannot read the value, its size is the only check it can make.

Minimum​

1

Methods​

load()​

load(params?): this

Defined in: packages/core/src/application/parameters.ts:22

Load raw parameters by assigning them onto this instance

Parameters​

params?​

any = {}

the service parameters

Returns​

this

this for chaining

Inherited from​

Parameters.load


update()​

update(params?, delta): this

Defined in: packages/core/src/application/parameters.ts:33

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​

Parameters.update


with()​

with(callback): this

Defined in: packages/core/src/application/parameters.ts:63

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

Inherited from​

Parameters.with