Skip to content

Documentation / @tenancy-node/core / PlatformApi

Interface: PlatformApi ​

Defined in: core/src/settings/settings-service.ts:69

Methods ​

get() ​

get(): Promise<PlatformInfo>

Defined in: core/src/settings/settings-service.ts:71

Marca y contacto (con salesNotifyTo).

Returns ​

Promise<PlatformInfo>


public() ​

public(): Promise<PublicPlatform>

Defined in: core/src/settings/settings-service.ts:73

Lo público, para la web comercial y GET /tenancy/platform.

Returns ​

Promise<PublicPlatform>


reload() ​

reload(): Promise<void>

Defined in: core/src/settings/settings-service.ts:82

Returns ​

Promise<void>


update() ​

update(patch, options?): Promise<PlatformInfo>

Defined in: core/src/settings/settings-service.ts:74

Parameters ​

patch ​

PlatformPatch

options? ​
by? ​

string | null

Returns ​

Promise<PlatformInfo>


upload() ​

upload(kind, body, extension, options?): Promise<PlatformInfo>

Defined in: core/src/settings/settings-service.ts:76

Guarda el logo o el favicon en el almacenamiento central (platform/…) y lo asigna.

Parameters ​

kind ​

"logo" | "favicon"

body ​

Uint8Array

extension ​

string

options? ​
by? ​

string | null

contentType? ​

string

Returns ​

Promise<PlatformInfo>

Publicado bajo la licencia MIT.