Skip to content

cozy-client / manifest

Namespace: manifest

Functions

areTermsValid

areTermsValid(terms): boolean

Parameters

Name Type
terms any

Returns

boolean

Defined in

packages/cozy-client/src/manifest.js:33


isPartnershipValid

isPartnershipValid(partnership): boolean

Parameters

Name Type
partnership any

Returns

boolean

Defined in

packages/cozy-client/src/manifest.js:37


sanitize

sanitize(manifest): any

Normalize app manifest, retrocompatibility for old manifests

Parameters

Name Type
manifest any

Returns

any

Defined in

packages/cozy-client/src/manifest.js:47


sanitizeCategories

sanitizeCategories(categories): any

Filters unauthorized categories. Defaults to [‘others’] if no suitable category.

Parameters

Name Type
categories any

Returns

any

Defined in

packages/cozy-client/src/manifest.js:26